Ejemplo n.º 1
0
        protected virtual void BuffRotation()
        {
            _foodManager.CheckIfEnoughFoodAndDrinks();
            _foodManager.CheckIfThrowFoodAndDrinks();
            _foodManager.CheckIfHaveManaStone();

            if (specialization.RotationType == Enums.RotationType.Party)
            {
                // PARTY Arcane Intellect
                WoWPlayer noAI = AIOParty.GroupAndRaid
                                 .Find(m => m.Mana > 0 && !m.HaveBuff(ArcaneIntellect.Name));
                if (noAI != null && cast.OnFocusUnit(ArcaneIntellect, noAI))
                {
                    return;
                }
            }

            // Dampen Magic
            if (!Me.HaveBuff("Dampen Magic") &&
                settings.UseDampenMagic &&
                DampenMagic.KnownSpell &&
                DampenMagic.IsSpellUsable &&
                cast.OnSelf(DampenMagic))
            {
                return;
            }
        }