micro

package
v0.0.0-...-f38aecb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

Functions

func BansheeRetreat

func BansheeRetreat(u *scl.Unit) bool

func BansheesAttack

func BansheesAttack(u *scl.Unit) bool

func BansheesLogic

func BansheesLogic(us scl.Units)

func BattlecruiserCast

func BattlecruiserCast(u *scl.Unit, yamatoTargets map[api.UnitTag]int) bool

func BattlecruiserRetreat

func BattlecruiserRetreat(u *scl.Unit) bool

func BattlecruisersAttack

func BattlecruisersAttack(u *scl.Unit) bool

func BattlecruisersLogic

func BattlecruisersLogic(us scl.Units)

func CalcDamageScore

func CalcDamageScore(target *scl.Unit, mul float64) float64

func CycloneAttack

func CycloneAttack(u *scl.Unit) bool

func CycloneAttackFunc

func CycloneAttackFunc(u *scl.Unit, priority int, targets scl.Units) bool

func CycloneManeuver

func CycloneManeuver(u *scl.Unit) bool

func CyclonesLogic

func CyclonesLogic(us scl.Units)

func DefaultAttack

func DefaultAttack(u *scl.Unit) bool

func DefaultExplore

func DefaultExplore(u *scl.Unit) bool

func DefaultManeuver

func DefaultManeuver(u *scl.Unit) bool

func DefaultRetreat

func DefaultRetreat(u *scl.Unit) bool

func FindBestTarget

func FindBestTarget(u *scl.Unit, targets, friends scl.Units) *scl.Unit

func FlyingBuildings

func FlyingBuildings()

func GetDamageScore

func GetDamageScore(target *scl.Unit, targets scl.Units) float64

func GetDefensivePos

func GetDefensivePos(u *scl.Unit) point.Point

func GetHealingPoints

func GetHealingPoints() point.Points

func HellionAttack

func HellionAttack(u *scl.Unit) bool

func HellionMorph

func HellionMorph(u *scl.Unit) bool

todo: take old Maneuver() from repo if standard method isn't cool

func HellionsLogic

func HellionsLogic(us scl.Units)

func InitTargets

func InitTargets()

func LoadInBunker

func LoadInBunker(u *scl.Unit) bool

func MarauderAttack

func MarauderAttack(u *scl.Unit) bool

func MarauderStim

func MarauderStim(u *scl.Unit) bool

func MaraudersLogic

func MaraudersLogic(us scl.Units)

func MarineAttack

func MarineAttack(u *scl.Unit) bool

func MarineStim

func MarineStim(u *scl.Unit) bool

func MarinesLogic

func MarinesLogic(us scl.Units)

func MechRetreat

func MechRetreat()

func MedivacsLogic

func MedivacsLogic(us scl.Units)

func Micro

func Micro(b *bot.Bot)

func RavensLogic

func RavensLogic(us scl.Units)

func ReaperAttack

func ReaperAttack(u *scl.Unit, mfsPos, basePos point.Point) bool

func ReaperManeuver

func ReaperManeuver(u *scl.Unit) bool

func ReaperRetreat

func ReaperRetreat(u *scl.Unit) bool

func ReapersLogic

func ReapersLogic(us scl.Units)

func ReapersRetreatLogic

func ReapersRetreatLogic(us scl.Units)

func StaticDefense

func StaticDefense()

func TankAttack

func TankAttack(u *scl.Unit) bool

func TankManeuver

func TankManeuver(u *scl.Unit) bool

func TankMorph

func TankMorph(u *scl.Unit) bool

func TankRetreat

func TankRetreat(u *scl.Unit) bool

func TanksLogic

func TanksLogic(us scl.Units)

func ThorAttack

func ThorAttack(u *scl.Unit) bool

func ThorEvacs

func ThorEvacs()

func ThorMorph

func ThorMorph(u *scl.Unit) bool

func ThorRetreat

func ThorRetreat(u *scl.Unit) bool

func ThorsLogic

func ThorsLogic(us scl.Units)

func ThrowMine

func ThrowMine(u *scl.Unit, targets scl.Units) bool

func VikingExplore

func VikingExplore(u *scl.Unit) bool

func VikingsAttack

func VikingsAttack(u *scl.Unit) bool

func VikingsLogic

func VikingsLogic(us scl.Units)

func VikingsRetreat

func VikingsRetreat(u *scl.Unit) bool

func WidowMineManeuver

func WidowMineManeuver(u *scl.Unit) bool

func WidowMinesLogic

func WidowMinesLogic(us scl.Units)

func WidowMinesRetreatLogic

func WidowMinesRetreatLogic(us scl.Units)

func WorkerMoveFunc

func WorkerMoveFunc(u *scl.Unit, target *scl.Unit)

func WorkerRushDefence

func WorkerRushDefence()

Types

type TargetsTypes

type TargetsTypes struct {
	All                     scl.Units
	Flying                  scl.Units
	Ground                  scl.Units
	Armed                   scl.Units
	ArmedArmored            scl.Units
	ArmedFlying             scl.Units
	ArmedFlyingArmored      scl.Units
	ArmedGround             scl.Units
	ArmedGroundArmored      scl.Units
	ArmedGroundLight        scl.Units
	ArmedGroundNotBuildings scl.Units
	AntiAir                 scl.Units
	ReaperOk                scl.Units
	ReaperGood              scl.Units
	ForMines                scl.Units
	ForYamato               scl.Units
	MyGround                scl.Units // My units that can be damaged by my tanks with splash
}
var Targets TargetsTypes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL