public static Composite CreateShadowPriestRest() { return(new PrioritySelector( Spell.Resurrect("Resurrection"), Rest.CreateDefaultRestBehaviour() )); }
public static Composite CreateBalanceAndFeralDruidRest() { return(new PrioritySelector( CreateNonRestoHeals(), Rest.CreateDefaultRestBehaviour(), Spell.Resurrect("Revive") )); }
public static Composite CreateRestoShamanRest() { return(new PrioritySelector( CreateRestoShamanHealingBuffs(), CreateRestoShamanHealingOnlyBehavior(true), Rest.CreateDefaultRestBehaviour(), Spell.Resurrect("Ancestral Spirit"), CreateRestoShamanHealingOnlyBehavior(false, false) )); }
public static Composite CreateRogueRest() { return(new PrioritySelector( Spell.BuffSelf("Stealth", ret => StyxWoW.Me.HasAura("Food")), new Decorator( ret => StyxWoW.Me.HasAura("Vanish") && StyxWoW.Me.CurrentMap.IsContinent, new ActionAlwaysSucceed()), Rest.CreateDefaultRestBehaviour() )); }
public static Composite CreateElementalShamanRest() { return (new PrioritySelector( new Decorator( ret => !StyxWoW.Me.HasAura("Drink") && !StyxWoW.Me.HasAura("Food"), CreateElementalShamanHeal()), Rest.CreateDefaultRestBehaviour(), Spell.Resurrect("Ancestral Spirit") )); }
public static Composite CreateWarlockRest() { return(new PrioritySelector( new Decorator( ctx => StyxWoW.Me.CastingSpell != null && StyxWoW.Me.CastingSpell.Name.Contains("Summon") && StyxWoW.Me.GotAlivePet, new Action(ctx => SpellManager.StopCasting())), Spell.WaitForCast(false), Spell.BuffSelf("Life Tap", ret => StyxWoW.Me.ManaPercent < 80 && StyxWoW.Me.HealthPercent > 60 && !StyxWoW.Me.HasAnyAura("Drink", "Food")), Spell.BuffSelf("Soul Harvest", ret => (StyxWoW.Me.CurrentSoulShards <= 2 || StyxWoW.Me.HealthPercent <= 55) && !StyxWoW.Me.HasAnyAura("Drink", "Food")), Rest.CreateDefaultRestBehaviour() )); }
public static Composite CreateHolyPaladinRest() { return(new PrioritySelector( // Heal self before resting. There is no need to eat while we have 100% mana CreatePaladinHealBehavior(true), // Rest up damnit! Do this first, so we make sure we're fully rested. Rest.CreateDefaultRestBehaviour(), // Can we res people? Spell.Resurrect("Redemption"), // Make sure we're healing OOC too! CreatePaladinHealBehavior(false, false))); }
public static Composite CreateWarlockRest() { return(new PrioritySelector( new Decorator( ctx => StyxWoW.Me.CastingSpell != null && StyxWoW.Me.CastingSpell.Name == "Summon " + PetManager.WantedPet && StyxWoW.Me.GotAlivePet, new Action(ctx => SpellManager.StopCasting())), Spell.WaitForCast(true), Spell.BuffSelf("Life Tap", ret => StyxWoW.Me.ManaPercent < 80 && StyxWoW.Me.HealthPercent > 40), Spell.BuffSelf("Soul Harvest", ret => StyxWoW.Me.CurrentSoulShards < 2 || StyxWoW.Me.HealthPercent <= 55), Rest.CreateDefaultRestBehaviour() )); }
public static Composite CreateRestoDruidHealRest() { return(new PrioritySelector( Spell.WaitForCast(), // Heal self before resting. There is no need to eat while we have 100% mana CreateRestoDruidHealOnlyBehavior(true), // Rest up damnit! Do this first, so we make sure we're fully rested. Rest.CreateDefaultRestBehaviour(), // Can we res people? Spell.Resurrect("Revive"), // Make sure we're healing OOC too! CreateRestoDruidHealOnlyBehavior(false, false))); }