public override void InitializeTasks() { base.InitializeTasks(); DefenseTask.Enable(); DTAttackTask.Enable(); FlyerAttackTask.Enable(); ShieldBatteryTargetTask.Enable(); if (Bot.Main.BaseManager.Pocket != null) { ScoutProxyTask.Enable(Bot.Main.BaseManager.Pocket.BaseLocation.Pos); } }
public override void InitializeTasks() { base.InitializeTasks(); DefenseTask.Enable(); TimingAttackTask.Enable(); if (Bot.Main.TargetManager.PotentialEnemyStartLocations.Count > 1) { WorkerScoutTask.Enable(); } if (Bot.Main.BaseManager.Pocket != null) { ScoutProxyTask.Enable(Bot.Main.BaseManager.Pocket.BaseLocation.Pos); } ArmyObserverTask.Enable(); DTAttackTask.Enable(); }
public override void InitializeTasks() { base.InitializeTasks(); DefenseTask.Enable(); DTAttackTask.Enable(); Bot.Main.TaskManager.Add(new FlyerAttackTask() { RequiredSize = 4 }); Bot.Main.TaskManager.Add(new ShieldBatteryTargetTask()); KillOwnUnitTask.Enable(); if (Bot.Main.BaseManager.Pocket != null) { Bot.Main.TaskManager.Add(new ScoutProxyTask(Bot.Main.BaseManager.Pocket.BaseLocation.Pos)); } }
public override void InitializeTasks() { base.InitializeTasks(); DefenseTask.Enable(); TimingAttackTask.Enable(); if (Bot.Main.TargetManager.PotentialEnemyStartLocations.Count > 1) { WorkerScoutTask.Enable(); } if (Bot.Main.BaseManager.Pocket != null) { ScoutProxyTask.Enable(Bot.Main.BaseManager.Pocket.BaseLocation.Pos); } ArmyObserverTask.Enable(); ObserverScoutTask.Enable(); ArmyOracleTask.Enable(); SaveWorkersTask.Enable(); ObserverHunterTask.Enable(); DTAttackTask.Enable(); if (Defensive) { HuntProxyTask.Enable(); } ScoutTask.Enable(); ForceFieldRampTask.Enable(); if (ProxyPylon) { ProxyTask.Enable(new List <ProxyBuilding>() { new ProxyBuilding() { UnitType = UnitTypes.PYLON } }); ProxyTask.Task.UseEnemyNatural = true; } }