public PitOfSaron(ProdMboxV2 mbox) { this.mbox = mbox; tank = mbox.me; root = new Sequence(false, KaI_AddsBehaviour(), KaI_BossFightBehaviour()); }
public ArgentConfessorPaletress(TrialOfTheChampion totch) { this.totch = totch; this.mbox = totch.mbox; root = new Sequence(true, ConfessorPaletressBehaviour().ToArray()); }
public GrandChampions(TrialOfTheChampion totch) { this.totch = totch; this.mbox = totch.mbox; root = new Sequence(false, MountedCombatBehaviour(), NormalCombatBehaviour()); }
public GenericGroupManager(ProdMboxV2 mbox) { this.mbox = mbox; tank = mbox.me; protectedPlayersGuids = mbox.Slaves.Select(c => c.Player.GUID); tauntAbility = GetTauntAbilityForTankClass(tank.Player.UnitClass); }
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; } }