コード例 #1
0
 public override void InitializeTasks()
 {
     base.InitializeTasks();
     WorkerRushTask = CounterJensiii ? new WorkerRushJensiiTask() : new WorkerRushTask();
     Bot.Main.TaskManager.Add(WorkerRushTask);
     Bot.Main.TaskManager.Add(new FlyerAttackTask()
     {
         RequiredSize = 3
     });
     Bot.Main.TaskManager.Add(new ElevatorChaserTask());
     TimingAttackTask.Enable();
     RecallTask.Enable();
     DefenseTask.Enable();
 }
コード例 #2
0
        public override void InitializeTasks()
        {
            base.InitializeTasks();
            DefenseTask.Enable();
            FlyerAttackTask.Enable();
            if (Bot.Main.BaseManager.Pocket != null)
            {
                ScoutProxyTask.Enable(Bot.Main.BaseManager.Pocket.BaseLocation.Pos);
            }
            WorkerSafetyTask.Enable();
            WorkerScoutTask.Enable();
            RecallTask.Enable();

            FlyerDestroyTask.Enable();
            if (Bot.Main.EnemyRace == Race.Protoss)
            {
                ProxySpotterTask.Enable();
            }
        }