public async override Task <bool> PreCombatBuff() { if (!StyxWoW.Me.IsAlive) { return(true); } if (PaladinSettings.Instance.AutoAttack && StyxWoW.Me.GotTarget && StyxWoW.Me.CurrentTarget.Attackable) { if (StyxWoW.Me.CurrentTarget.Distance <= 30 && StyxWoW.Me.CurrentTarget.InLineOfSight) { if (await MySpells.AvengersShieldMethod()) { return(true); } if (await MySpells.JudgmentMethod()) { return(true); } return(await MySpells.BlessedHammerMethod()); } } if (!StyxWoW.Me.IsActuallyInCombat) { // allow hotkeys out of combat if (await MySpells.HotkeysMethod()) { return(true); } } return(false); }
public async override Task <bool> Pull() { if (PaladinSettings.Instance.EnableMovement || PaladinSettings.Instance.EnableFacing) { await MoveToTarget(); } if (!StyxWoW.Me.GotTarget) { return(false); } if (await MySpells.AvengersShieldMethod()) { return(true); } if (await MySpells.JudgmentMethod()) { return(true); } return(await MySpells.BlessedHammerMethod()); }
public async override Task <bool> Combat() { if (Settings.AutoTarget) { AutoTarget(); } if (Settings.EnableMovement || Settings.EnableFacing) { await MoveToTarget(); } Globals.UpdateCombatProt(); if (!StyxWoW.Me.GotTarget) { return(false); } if (await MySpells.HotkeysMethod()) { return(true); } if (await MySpells.RacialsMethod()) { return(true); } if (await MySpells.TotemStompMethod()) { return(true); } if (Globals.Pvp && PvP.PvPCheck()) { return(true); } if (await MySpells.RacialsMethod()) { return(true); } if (await MySpells.TotemStompMethod()) { return(true); } // if (await MySpells.ShieldOfVirtue()) return true; // Honor Talent silence if (await MySpells.RebukeMethod()) { return(true); } if (await MySpells.HammerOfJusticeMethod()) { return(true); } if (await MySpells.BlindingLightMethod()) { return(true); } if (await MySpells.EyeOfTyrMethod()) { return(true); } if (await MySpells.AvengersShieldMethod()) { return(true); } if (await MySpells.JudgmentMethod()) { return(true); } if (await MySpells.ConsecrationMethod()) { return(true); } if (await MySpells.ShieldOfRighteousMethod()) { return(true); } if (await MySpells.BlessedHammerMethod()) { return(true); } if (await MySpells.HammerOfRighteousMethod()) { return(true); } return(false); }