예제 #1
0
        public async override Task <bool> Combat()
        {
            if (Settings.AutoTarget)
            {
                AutoTarget();
            }

            if (Settings.EnableMovement || Settings.EnableFacing)
            {
                await MoveToTarget();
            }

            Globals.UpdateCombat();

            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.RebukeMethod())
            {
                return(true);
            }

            if (SpellManager.GlobalCooldownLeft.TotalMilliseconds > 200)
            {
                return(true);
            }

            if (await MySpells.HammerOfJusticeMethod())
            {
                return(true);
            }
            if (await MySpells.BlindingLightMethod())
            {
                return(true);
            }
            if (await MySpells.RepentanceMethod())
            {
                return(true);
            }

            if (await MySpells.HolyWrathMethod())
            {
                return(true);
            }

            if (await MySpells.WakeOfAshesMethod())
            {
                return(true);
            }

            if (await MySpells.HammerOfReckoningMethod())
            {
                return(true);
            }

            if (await MySpells.ExecutionSentenceMethod())
            {
                return(true);
            }

            if (await MySpells.JusticarsVengeanceMethod())
            {
                return(true);
            }

            if (await MySpells.HandOfHindranceMethod())
            {
                return(true);
            }

            if (await MySpells.DivineStormMethod())
            {
                return(true);
            }

            if (await MySpells.TemplarsVerdictMethod())
            {
                return(true);
            }

            if (await MySpells.ConsecrationMethod())
            {
                return(true);
            }

            if (await MySpells.BladeOfWrathMethod())
            {
                return(true);
            }

            if (await MySpells.JudgmentMethod())
            {
                return(true);
            }
            if (await MySpells.DivineHammerMethod())
            {
                return(true);
            }
            if (await MySpells.CrusaderStrikeMethod())
            {
                return(true);
            }

            return(false);
        }
예제 #2
0
        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);
        }