예제 #1
0
 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);
     }
 }
예제 #2
0
 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();
 }
예제 #3
0
        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));
            }
        }
예제 #4
0
        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;
            }
        }