public override void InitializeTasks() { base.InitializeTasks(); DefenseTask.Enable(); TimingAttackTask.Enable(); //if (Tyr.Bot.TargetManager.PotentialEnemyStartLocations.Count > 1) WorkerScoutTask.Enable(); if (Bot.Main.BaseManager.Pocket != null) { ScoutProxyTask.Enable(Bot.Main.BaseManager.Pocket.BaseLocation.Pos); } ArmyObserverTask.Enable(); ArmyOracleTask.Enable(); TimedObserverTask.Enable(); SaveWorkersTask.Enable(); }
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; } }