예제 #1
0
        public async override Task <bool> CombatBuff()
        {
            // Auto Focus in PVP
            if (Globals.Pvp && PaladinSettings.Instance.AutoFocusUse && SpellBooks.Global.AutoFocus.AutoFocusMethod())
            {
                return(true);
            }

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

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

            // if (await MySpells.GuardianOfTheForgottenQueenMethod()) return true; // Honor Talent

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

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

            return(false);
        }
예제 #2
0
        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.BladeOfWrathMethod())
                    {
                        return(true);
                    }
                    if (await MySpells.JudgmentMethod())
                    {
                        return(true);
                    }

                    return(await MySpells.CrusaderStrikeMethod());
                }
            }

            if (!Globals.InCombat)
            {
                // allow hotkeys out of combat
                if (await MySpells.HotkeysMethod())
                {
                    return(true);
                }
            }

            return(await MySpells.BlessingsMethod());
        }
예제 #3
0
 public static void MyActivatorPage()
 {
     MyActivator = MyMenu.AddSubMenu("Items Settings", "Items");
     MyActivator.AddGroupLabel("Items usage:");
     MyActivator.AddSeparator();
     MyActivator.Add("items.sliderHP", new Slider("Use items when HP is lower than {0}(%)", 30, 1, 100));
     MyActivator.Add("items.enemiesinrange", new Slider("Use items when there are {0} enemies in range", 3, 1, 5));
     MyActivator.AddSeparator();
     MyActivator.AddLabel("Items avaible to use with Activator:");
     MyActivator.Add("talisman", new CheckBox("Use Talisman of Ascension"));
     MyActivator.Add("randuin", new CheckBox("Use Randuin"));
     MyActivator.Add("glory", new CheckBox("Use Righteous Glory"));
     MyActivator.Add("fotmountain", new CheckBox("Use Face of the Mountain"));
     MyActivator.Add("mikael", new CheckBox("Use Mikaels Crucible"));
     MyActivator.Add("ironsolari", new CheckBox("Use Locket of the Iron Solari"));
     MySpells = MyMenu.AddSubMenu("Spells Settings");
     MySpells.AddGroupLabel("Spells settings:");
     MySpells.Add("useexhaust", new CheckBox("Use Exhaust on:"));
     foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
     {
         MySpells.Add(source.ChampionName + "exhaust",
                      new CheckBox("Exhaust " + source.ChampionName, false));
     }
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Heal settings:");
     MySpells.Add("spells.Heal.Hp", new Slider("Use Heal when HP is lower than {0}(%)", 30, 1, 100));
     MySpells.AddGroupLabel("Ignite settings:");
     MySpells.Add("spell.Ignite.Use", new CheckBox("Use Ignite for KillSteal"));
     MySpells.Add("spells.Ignite.Focus", new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1, 100));
     MySpells.Add("spells.Ignite.Kill", new CheckBox("Use ignite if killable"));
 }
예제 #4
0
        public async override Task <bool> Combat()
        {
            if (Settings.EnableMovement || Settings.EnableFacing)
            {
                await MoveToTarget();
            }

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

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

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

            return(false);
        }
예제 #5
0
        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);
        }
예제 #6
0
        public async override Task <bool> Heal()
        {
            Globals.Update();

            if (await MySpells.DivineShieldMethod())
            {
                return(true);
            }
            if (await MySpells.LayOnHandsMethod())
            {
                return(true);
            }

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

            if (SpellManager.GlobalCooldown)
            {
                return(false);
            }

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

            if (await MySpells.BlessingOfProtectionMethod())
            {
                return(true);
            }
            if (await MySpells.BlessingOfSacrificeMethod())
            {
                return(true);
            }
            if (await MySpells.BlessingOfFreedomMethod())
            {
                return(true);
            }

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

            /*if (Settings.UseCleanse && await MySpells.CleanseMethod()) return true;*/

            return(false);
        }
예제 #7
0
 public static void MyActivatorPage()
 {
     MySpells = MyMenu.AddSubMenu("Spells Settings");
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Heal settings:");
     MySpells.Add("spells.Heal.Hp", new Slider("Use Heal when HP is lower than {0}(%)", 30, 1, 100));
     MySpells.AddGroupLabel("Ignite settings:");
     MySpells.Add("spells.Ignite.Focus", new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1, 100));
     MySpells.AddGroupLabel("Barrier settings:");
     MySpells.Add("spells.Barrier.Hp", new Slider("Use Barrier when HP is lower than {0}(%)", 10, 1, 100));
     MySpells.AddGroupLabel("Zhonya settings:");
     MySpells.Add("spells.Zhonya.Check", new CheckBox("Use Zhonya", false));
     MySpells.Add("spells.Zhonya.Hp", new Slider("Use Zhonya when HP is lower than {0}(%)", 10, 1, 100));
     MySpells.Add("spells.Zhonya.Enemies", new Slider("Use Zhonya when there are min {0} enemies", 3, 1, 5));
 }
예제 #8
0
        public async override Task <bool> PreCombatBuff()
        {
            if (await MySpells.BeaconOfLightMethod())
            {
                return(true);
            }

            if (!Globals.InCombat)
            {
                // allow hotkeys out of combat
                if (await MySpells.HotkeysMethod())
                {
                    return(true);
                }
            }

            return(false);
        }
예제 #9
0
        public async override Task <bool> CombatBuff()
        {
            // Auto Focus in PVP
            if (Globals.Pvp && PaladinSettings.Instance.AutoFocusUse && SpellBooks.Global.AutoFocus.AutoFocusMethod())
            {
                return(true);
            }

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

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

            return(false);
        }
예제 #10
0
 public static void MyActivatorPage()
 {
     MyActivator = MyMenu.AddSubMenu("Items Settings", "Items");
     MyActivator.AddLabel("Items avaible to use with Activator:");
     MyActivator.Add("talisman", new CheckBox("Use Talisman of Ascension"));
     MyActivator.Add("randuin", new CheckBox("Use Randuin"));
     MyActivator.Add("glory", new CheckBox("Use Righteous Glory"));
     MyActivator.Add("fotmountain", new CheckBox("Use Face of the Mountain"));
     MyActivator.Add("mikael", new CheckBox("Use Mikaels Crucible"));
     MyActivator.Add("ironsolari", new CheckBox("Use Locket of the Iron Solari"));
     MyActivator.Add("items.sliderHP", new Slider("Use items when HP is lower than {0}(%)", 30, 1, 100));
     MyActivator.Add("items.enemiesinrange", new Slider("Use items when there are {0} enemies in range", 3, 1, 5));
     MyActivator.Add("bilgewater", new CheckBox("Use Bilgewater Cutlass"));
     MyActivator.Add("bilgewater.HP", new Slider("Use Bilgewater Cutlass if hp is lower than {0}(%)", 60, 0, 100));
     MyActivator.Add("botrk", new CheckBox("Use Blade of The Ruined King"));
     MyActivator.Add("botrk.HP", new Slider("Use Blade of The Ruined King if hp is lower than {0}(%)", 60, 0, 100));
     MyActivator.Add("youmus", new CheckBox("Use Youmus Ghostblade"));
     MyActivator.Add("items.Youmuss.HP", new Slider("Use Youmuss Ghostblade if hp is lower than {0}(%)", 60, 1, 100));
     MyActivator.Add("youmus.Enemies", new Slider("Use Youmus Ghostblade when there are {0} enemies in range", 3, 1, 5));
     MyActivator.AddSeparator();
     MySpells = MyMenu.AddSubMenu("Spells Settings");
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Smite settings");
     MySpells.Add("SRU_Red", new CheckBox("Smite Red Buff"));
     MySpells.Add("SRU_Blue", new CheckBox("Smite Blue Buff"));
     MySpells.Add("SRU_Dragon", new CheckBox("Smite Dragon"));
     MySpells.Add("SRU_Baron", new CheckBox("Smite Baron"));
     MySpells.Add("SRU_Gromp", new CheckBox("Smite Gromp"));
     MySpells.Add("SRU_Murkwolf", new CheckBox("Smite Wolf"));
     MySpells.Add("SRU_Razorbeak", new CheckBox("Smite Bird"));
     MySpells.Add("SRU_Krug", new CheckBox("Smite Golem"));
     MySpells.Add("Sru_Crab", new CheckBox("Smite Crab"));
     MySpells.AddGroupLabel("Spells settings:");
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Heal settings:");
     MySpells.Add("spells.Heal.Hp", new Slider("Use Heal when HP is lower than {0}(%)", 30, 1, 100));
     MySpells.AddGroupLabel("Ignite settings:");
     MySpells.Add("spells.Ignite.Focus", new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1, 100));
 }
예제 #11
0
        public async override Task <bool> Pull()
        {
            if (PaladinSettings.Instance.EnableMovement || PaladinSettings.Instance.EnableFacing)
            {
                await MoveToTarget();
            }

            if (!StyxWoW.Me.GotTarget)
            {
                return(false);
            }

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

            return(await MySpells.CrusaderStrikeMethod());
        }
예제 #12
0
        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());
        }
예제 #13
0
        public async override Task <bool> Combat()
        {
            AutoTarget();

            Globals.UpdateCombat();

            if (!StyxWoW.Me.GotTarget || StyxWoW.Me.Mounted || StyxWoW.Me.IsDead || StyxWoW.Me.CurrentTarget == StyxWoW.Me || StyxWoW.Me.IsStealthed)
            {
                return(false);
            }

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

            // Main
            if (await MySpells.BloodBoilMethod())
            {
                return(true);
            }
            if (await MySpells.MarrowrendMethod())
            {
                return(true);
            }
            if (await MySpells.DeathAndDecayMethod())
            {
                return(true);
            }
            if (await MySpells.HeartStrikeMethod())
            {
                return(true);
            }

            return(false);
        }
예제 #14
0
        public async override Task <bool> CombatBuff()
        {
            if (Globals.Pvp && PaladinSettings.Instance.AutoFocusUse && SpellBooks.Global.AutoFocus.AutoFocusMethod())
            {
                return(true);
            }

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

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

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

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

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

            // Avenging Wrath, Holy Avenger, Tyrs Deliverance, Aura Mastery, Rule of Law,  46 Honor Talent

            return(false);
        }
예제 #15
0
 private static void MyActivatorPage()
 {
     MyActivator = MyMenu.AddSubMenu("Activator Settings", "Items");
     MyActivator.AddGroupLabel("Auto QSS if :");
     MyActivator.Add("Blind",
                     new CheckBox("Blind", false));
     MyActivator.Add("Charm",
                     new CheckBox("Charm"));
     MyActivator.Add("Fear",
                     new CheckBox("Fear"));
     MyActivator.Add("Polymorph",
                     new CheckBox("Polymorph"));
     MyActivator.Add("Stun",
                     new CheckBox("Stun"));
     MyActivator.Add("Snare",
                     new CheckBox("Snare"));
     MyActivator.Add("Silence",
                     new CheckBox("Silence", false));
     MyActivator.Add("Taunt",
                     new CheckBox("Taunt"));
     MyActivator.Add("Suppression",
                     new CheckBox("Suppression"));
     MyActivator.AddGroupLabel("Ults");
     MyActivator.Add("ZedUlt",
                     new CheckBox("Zed Ult"));
     MyActivator.Add("VladUlt",
                     new CheckBox("Vlad Ult"));
     MyActivator.Add("FizzUlt",
                     new CheckBox("Fizz Ult"));
     MyActivator.Add("MordUlt",
                     new CheckBox("Mordekaiser Ult"));
     MyActivator.Add("PoppyUlt",
                     new CheckBox("Poppy Ult"));
     MyActivator.AddGroupLabel("Items usage:");
     MyActivator.AddSeparator();
     MyActivator.Add("items.sliderHP",
                     new Slider("Use items when HP is lower than {0}(%)", 30, 1, 100));
     MyActivator.Add("items.enemiesinrange",
                     new Slider("Use items when there are {0} enemies in range", 3, 1, 5));
     MyActivator.AddSeparator();
     MyActivator.AddLabel("Items avaible to use with Activator:");
     MyActivator.Add("randuin",
                     new CheckBox("Use Randuin"));
     MyActivator.Add("glory",
                     new CheckBox("Use Righteous Glory"));
     MyActivator.Add("bilgewater",
                     new CheckBox("Use Bilgewater Cutlass"));
     MyActivator.Add("botrk",
                     new CheckBox("Use Blade of The Ruined King"));
     MyActivator.Add("youmus",
                     new CheckBox("Use Youmus Ghostblade"));
     MyActivator.Add("hydra",
                     new CheckBox("Use Hydra"));
     MyActivator.Add("tiamat",
                     new CheckBox("Use Tiamat"));
     MySpells = MyMenu.AddSubMenu("Spells Settings");
     MySpells.AddGroupLabel("Smite settings");
     MySpells.AddSeparator();
     MySpells.Add("SRU_Red",
                  new CheckBox("Smite Red Buff"));
     MySpells.Add("SRU_Blue",
                  new CheckBox("Smite Blue Buff"));
     MySpells.Add("SRU_Dragon",
                  new CheckBox("Smite Dragon"));
     MySpells.Add("SRU_Baron",
                  new CheckBox("Smite Baron"));
     MySpells.Add("SRU_Gromp",
                  new CheckBox("Smite Gromp"));
     MySpells.Add("SRU_Murkwolf",
                  new CheckBox("Smite Wolf"));
     MySpells.Add("SRU_Razorbeak",
                  new CheckBox("Smite Bird"));
     MySpells.Add("SRU_Krug",
                  new CheckBox("Smite Golem"));
     MySpells.Add("Sru_Crab",
                  new CheckBox("Smite Crab"));
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Heal settings:");
     MySpells.Add("spells.Heal.Hp",
                  new Slider("Use Heal when HP is lower than {0}(%)", 30, 1, 100));
     MySpells.AddGroupLabel("Ignite settings:");
     MySpells.Add("spell.Ignite.Use",
                  new CheckBox("Use Ignite for KillSteal"));
     MySpells.Add("spells.Ignite.Focus",
                  new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1, 100));
     MySpells.Add("spells.Ignite.Kill",
                  new CheckBox("Use ignite if killable"));
 }
예제 #16
0
        public async override Task <bool> Heal()
        {
            Globals.Update();

            if (await MySpells.DivineShieldMethod())
            {
                return(true);
            }
            if (await MySpells.ShieldOfVengeanceMethod())
            {
                return(true);
            }
            if (await MySpells.LayOnHandsMethod())
            {
                return(true);
            }

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

            if (Settings.HealthstoneUse && await Items.Healthstone())
            {
                return(true);
            }

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

            // Global Cooldown
            if (SpellManager.GlobalCooldown)
            {
                return(false);
            }

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

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

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

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

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

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

            /*if (Settings.UseCleanse && await MySpells.CleanseMethod()) return true;*/

            return(false);
        }
예제 #17
0
        public async override Task <bool> Heal()
        {
            Globals.Update();
            Globals.UpdateCombatHoly();

            if (Settings.AutoTarget)
            {
                AutoTarget();
            }

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

            // if (await MySpells.RacialsMethod()) return true;

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

            if (StyxWoW.Me.IsCasting)
            {
                return(false);
            }

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

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

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

            // Light of Martyr

            if (await MySpells.BestowFaithMethod())
            {
                return(true);                                    // TALENT
            }
            if (await MySpells.HolyShockMethod())
            {
                return(true);
            }

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

            // if (await MySpells.CleanseMethod()) return true;

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

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

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