コード例 #1
0
        public override void InitializeTasks()
        {
            base.InitializeTasks();
            DefenseTask.Enable();
            FlyerAttackTask.Enable();
            if (Tyr.Bot.BaseManager.Pocket != null)
            {
                ScoutProxyTask.Enable(Tyr.Bot.BaseManager.Pocket.BaseLocation.Pos);
            }
            WorkerSafetyTask.Enable();

            if (Tyr.Bot.EnemyRace == Race.Terran)
            {
                HideBaseTask.Enable();
            }
            else if (Tyr.Bot.EnemyRace == Race.Protoss)
            {
                WorkerScoutTask.Enable();
            }

            FlyerDestroyTask.Enable();
            if (Tyr.Bot.EnemyRace == Race.Protoss)
            {
                ProxySpotterTask.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();
            }
        }