Ejemplo n.º 1
0
        public PitOfSaron(ProdMboxV2 mbox)
        {
            this.mbox = mbox;
            tank      = mbox.me;

            root = new Sequence(false, KaI_AddsBehaviour(), KaI_BossFightBehaviour());
        }
Ejemplo n.º 2
0
            public ArgentConfessorPaletress(TrialOfTheChampion totch)
            {
                this.totch = totch;
                this.mbox  = totch.mbox;

                root = new Sequence(true, ConfessorPaletressBehaviour().ToArray());
            }
Ejemplo n.º 3
0
            public GrandChampions(TrialOfTheChampion totch)
            {
                this.totch = totch;
                this.mbox  = totch.mbox;

                root = new Sequence(false, MountedCombatBehaviour(), NormalCombatBehaviour());
            }
Ejemplo n.º 4
0
        public GenericGroupManager(ProdMboxV2 mbox)
        {
            this.mbox             = mbox;
            tank                  = mbox.me;
            protectedPlayersGuids = mbox.Slaves.Select(c => c.Player.GUID);

            tauntAbility = GetTauntAbilityForTankClass(tank.Player.UnitClass);
        }
Ejemplo n.º 5
0
        public TrialOfTheChampion(ProdMboxV2 mbox)
        {
            this.mbox = mbox;

            tank = mbox.me;

            if (!mbox.masterAI)
            {
                mbox.GetCommand("ta").Invoke(mbox.me, new List <string>(new [] { "ma" }));
            }

            if (!mbox.slavesAI)
            {
                mbox.GetCommand("ta").Invoke(mbox.me, new List <string>(new[] { "sl" }));
            }

            if (!mbox.buffingAI)
            {
                mbox.GetCommand("ta").Invoke(mbox.me, new List <string>(new[] { "bu" }));
            }

            grpMgr = new GenericGroupManager(mbox);
            grpMgr.AutoTargetThreateners = false;

            eadricBhv    = new EadricThePure(this);
            paletressBhv = new ArgentConfessorPaletress(this);
            tbkBhv       = new TheBlackKnight(this);

            var paletress = mbox.me.ObjectManager.FirstOrDefault(obj =>
                                                                 obj.Type == GameObjectType.Unit && GetName(mbox.me.ControlInterface, obj) == ArgentConfessorPaletress.PaletressName);

            if (paletress != null)
            {
                Console.WriteLine("Running Paletress");
                root = paletressBhv;
            }
            else
            {
                grandChampionsBhv = new GrandChampions(this);
                Console.WriteLine("Running Champions");
                root = grandChampionsBhv;
            }
        }