Esempio n. 1
0
 public static Composite CreateShadowPriestRestBehavior()
 {
     return(new PrioritySelector(
                Spell.BuffSelf("Dispersion", ret => Me.ManaPercent < SingularSettings.Instance.MinMana && Me.IsSwimming),
                Rest.CreateDefaultRestBehaviour("Shadow Mend", "Resurrection"),
                Common.CreatePriestMovementBuffOnTank("Rest")
                ));
 }
Esempio n. 2
0
        public static Composite CreateHolyRest()
        {
            return(new PrioritySelector(
                       CreateHolyDiagnosticOutputBehavior("REST"),

                       // Heal self before resting. There is no need to eat while we have 100% mana
                       CreateHolyHealOnlyBehavior(true, false),
                       // Rest up damnit! Do this first, so we make sure we're fully rested.
                       Rest.CreateDefaultRestBehaviour(SingularRoutine.CurrentWoWContext == WoWContext.Normal ? "Flash Heal" : null, "Resurrection"),
                       // Make sure we're healing OOC too!
                       CreateHolyHealOnlyBehavior(false, false),
                       // now buff our movement if possible
                       Common.CreatePriestMovementBuffOnTank("Rest")
                       ));
        }
Esempio n. 3
0
        public static Composite CreateDiscRest()
        {
            return(new PrioritySelector(
                       new Decorator(
                           req => SingularRoutine.CurrentWoWContext != WoWContext.Normal,
                           CreateDiscDiagnosticOutputBehavior("REST")
                           ),

                       CreateSpiritShellCancel(),

                       Rest.CreateDefaultRestBehaviour(SingularRoutine.CurrentWoWContext == WoWContext.Normal ? "Flash Heal" : null, "Resurrection"),
                       CreateDiscOutOfCombatHeal(),
                       Common.CreatePriestMovementBuffOnTank("Rest")
                       ));
        }