Example #1
0
        private static void DoCombo()
        {
            AIHeroClient target = Cache.Enemies.Where(x => x.IsValidEntity()).MinOrDefault(x => x.Health);

            if (target == null)
            {
                return;
            }

            if (ComboMenu.GetCheckbox("useQ") && target.IsValidEntity() && Q.IsReady())
            {
                Q.Cast();
            }

            if (ComboMenu.GetCheckbox("useW") && target.IsValidEntity() && W.IsReady())
            {
                W.CastPrediction(target, PredictionMenu.GetCombobox("predictionW"));
            }

            if (ComboMenu.GetCheckbox("useE") && target.IsValidEntity() && E.IsReady())
            {
            }
            if (ComboMenu.GetCheckbox("useR") && target.IsValidEntity() && R.IsReady())
            {
            }
        }
Example #2
0
        private static void LoadMenu()
        {
            JinxMenu   = MainMenu.AddMenu("Sebby Jinx", "jinx");
            SpellsMenu = JinxMenu.AddSubMenu("Spells Menu", "spells");
            SpellsMenu.AddLabel("Q Settings");
            SpellsMenu.Add("autoQ", new CheckBox("Auto Q"));
            SpellsMenu.Add("Qharass", new CheckBox("Harass Q"));
            SpellsMenu.Add("farmQout", new CheckBox("Q farm out range AA"));
            SpellsMenu.Add("farmQ", new CheckBox("Farm Q"));
            SpellsMenu.Add("Mana", new Slider("LaneClear Q Mana", 80, 30));
            SpellsMenu.AddLabel("W Settings");
            SpellsMenu.Add("autoW", new CheckBox("Combo W"));
            SpellsMenu.AddLabel("Harass W");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                SpellsMenu.Add("wharass" + enemy.ChampionName, new CheckBox(enemy.BaseSkinName));
            }

            SpellsMenu.AddLabel("E Settings");
            SpellsMenu.Add("comboE", new CheckBox("Auto E in Combo BETA"));
            SpellsMenu.Add("autoE", new CheckBox("E on CC"));
            SpellsMenu.Add("AGC", new CheckBox("AntiGapcloserE"));
            SpellsMenu.Add("opsE", new CheckBox("OnProcessSpellCastE"));
            SpellsMenu.Add("tel", new CheckBox("Auto E teleport"));
            SpellsMenu.AddLabel("R Settings");
            SpellsMenu.Add("autoR", new CheckBox("Auto R"));
            SpellsMenu.Add("useR",
                           new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            SpellsMenu.Add("hitchanceR", new Slider("Hit Chance R", 0, 0, 2));
            SpellsMenu.Add("Rturret", new CheckBox("Don't R under turret"));
            SpellsMenu.AddLabel("Misc Settings");
            SpellsMenu.Add("manaDisable", new CheckBox("Disable mana manager in combo"));

            JungleStealMenu = JinxMenu.AddSubMenu("Jungle Steal", "JungleSteal");
            JungleStealMenu.AddLabel("Jungle Steal Settings");
            JungleStealMenu.Add("Rjungle", new CheckBox("R Jungle stealer"));
            JungleStealMenu.Add("Rdragon", new CheckBox("Dragon"));
            JungleStealMenu.Add("Rbaron", new CheckBox("Baron"));

            DrawingsMenu = JinxMenu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.AddSeparator();
            DrawingsMenu.Add("qRange", new CheckBox("Q range", false));
            DrawingsMenu.Add("wRange", new CheckBox("W range", false));
            DrawingsMenu.Add("eRange", new CheckBox("E range", false));
            DrawingsMenu.Add("rRange", new CheckBox("R range", false));
            DrawingsMenu.Add("noti", new CheckBox("Show notification", false));
            DrawingsMenu.Add("semi", new CheckBox("Semi-manual R target", false));
            DrawingsMenu.Add("onlyRdy", new CheckBox("Draw only ready spells"));

            PredictionMenu = JinxMenu.AddSubMenu("Prediction", "prediction");
            PredictionMenu.AddSeparator();
            PredictionMenu.Add("Wpred", new Slider("W Hitchance", 50));
            PredictionMenu.Add("Epred", new Slider("E Hitchance", 50));
            PredictionMenu.Add("Rpred", new Slider("R Hitchance", 50));
        }
Example #3
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Tristerino 1.0 by WodzuPL");
     ModesMenu.Initialize();
     ManaManagerMenu.Initialize();
     PredictionMenu.Initialize();
     DrawingMenu.Initialize();
     MiscMenu.Initialize();
 }
Example #4
0
 private static void PredictionMenuPage()
 {
     PredictionMenu = _myMenu.AddSubMenu("Prediction settings", "Prediction");
     PredictionMenu.AddGroupLabel("Prediction settings:");
     PredictionMenu.Add("Qpred", new Slider("Sec Q {0}(%) isabet sansi", 85));
     PredictionMenu.Add("Epred", new Slider("Sec E {0}(%) isabet sansi", 70));
     PredictionMenu.AddLabel("Work Only For Normal Q/E Logic");
     PredictionMenu.AddLabel(
         "Higher % ->Higher chance of spell landing on target but takes more time to get casted");
     PredictionMenu.AddLabel(
         "Lower % ->Faster casting but lower chance that the spell will land on your target. ");
 }
Example #5
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Marscovery Twitch");
     Menu.AddLabel("Hello!");
     Menu.AddLabel("Good Luck with Twitch.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #6
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Doctor Warwick");
     Menu.AddLabel("Otomatik Q");
     Menu.AddLabel("İyi Şanslar.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #7
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Warwick Feroz");
     Menu.AddLabel("Auto Q");
     Menu.AddLabel("buena suerte.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #8
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Doctor Warwick");
     Menu.AddLabel("Auto Q");
     Menu.AddLabel("Good Luck.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #9
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("DoctorMundo");
     Menu.AddLabel("Smart Q");
     Menu.AddLabel("Auto W.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     HealthManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #10
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("CH汉化-Doctor 小炮");
     Menu.AddLabel("Good Luck");
     Menu.AddLabel("Upvote for me if u like addon.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #11
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Welcome to VodkaTristana");
     Menu.AddLabel("Created by Haker");
     Menu.AddLabel("Feel free to send me any suggestions you might have.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #12
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("Twitch");
     Menu.AddLabel("Hola,disfruta!");
     Menu.AddLabel("buena suerte.");
     Menu.AddLabel("agregame en Las como TKM faker.");
     ModesMenu.Initialize();
     PredictionMenu.Initialize();
     ManaManagerMenu.Initialize();
     MiscMenu.Initialize();
     DrawingMenu.Initialize();
     DebugMenu.Initialize();
 }
Example #13
0
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            Menu.AddGroupLabel("Hosgeldiniz VodkaJanna");
            Menu.AddLabel("Yapimci by Haker");
            Menu.AddLabel("Turkce Ceviri TekinTR.");
            ModesMenu.Initialize();
            PredictionMenu.Initialize();
            var shielderSubMenu = Config.Menu.AddSubMenu("Shielder");

            Shielder.Shielder.Initialize(shielderSubMenu);
            ManaManagerMenu.Initialize();
            MiscMenu.Initialize();
            DrawingMenu.Initialize();
            DebugMenu.Initialize();
        }
Example #14
0
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            Menu.AddGroupLabel("Welcome to VodkaGalio");
            Menu.AddLabel("Created by Haker");
            Menu.AddLabel("Feel free to send me any suggestions you might have.");
            ModesMenu.Initialize();
            PredictionMenu.Initialize();
            var shielderSubMenu = Config.Menu.AddSubMenu("Shielder");

            Shielder.Shielder.Initialize(shielderSubMenu);
            ManaManagerMenu.Initialize();
            MiscMenu.Initialize();
            DrawingMenu.Initialize();
            DebugMenu.Initialize();
        }
Example #15
0
            static Modes()
            {
                Menu = SettingsMenus.Menu.AddSubMenu("Combo");
                Combo.Initialize();

                Menu = SettingsMenus.Menu.AddSubMenu("Harass");
                Harass.Initialize();

                Menu = SettingsMenus.Menu.AddSubMenu("LaneClear");
                LaneClear.Initialize();

                Menu = SettingsMenus.Menu.AddSubMenu("Drawing");
                DrawingMenu.Initialize();

                Menu = SettingsMenus.Menu.AddSubMenu("GapClose");
                GapCloseMenu.Initialize();

                Menu = SettingsMenus.Menu.AddSubMenu("Prediction");
                PredictionMenu.Initialize();

                Menu = SettingsMenus.Menu.AddSubMenu("Misc");
                SaveMeMenu.Initialize();
            }
Example #16
0
        public static void Initialize()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1200f);
            E = new Spell(SpellSlot.E, float.MaxValue);
            R = new Spell(SpellSlot.R, float.MaxValue);

            W.SetSkillshot(0.25f, 20f, 1200f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 299f, 1400f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 130f, 1600f, false, SkillshotType.SkillshotLine);

            Globals.ChampionMenu = Globals.RootMenu.AddSubMenu(ObjectManager.Me.Hero.ToString().ToUpper());

            PredictionMenu = Globals.ChampionMenu.AddSubMenu("PREDICTION");
            PredictionMenu.AddMenuCombobox("predictionW", "Prediction W", new[] { "Very High", "High", "Medium" }, 0);
            PredictionMenu.AddMenuCombobox("predictionR", "Prediction R", new[] { "Very High", "High", "Medium" }, 0);

            ComboMenu = Globals.ChampionMenu.AddSubMenu("COMBO");
            ComboMenu.AddSeparator("-SPELLS-");
            ComboMenu.AddMenuCheckbox("useQ", "Use Q", true);
            ComboMenu.AddMenuCheckbox("useW", "Use W", true);
            ComboMenu.AddMenuCheckbox("useE", "Use E", true);
            ComboMenu.AddMenuCheckbox("useR", "Use R", true);

            VisualsMenu = Globals.ChampionMenu.AddSubMenu("VISUALS");
            VisualsMenu.AddSeparator("-SPELLS-");
            VisualsMenu.AddMenuCheckbox("drawWhenRdy", "Draw Spells only when ready", true);
            VisualsMenu.AddMenuCheckbox("drawQ", "Draw Q", true);
            VisualsMenu.AddMenuCheckbox("drawW", "Draw W", true);
            VisualsMenu.AddMenuCheckbox("drawE", "Draw E", true);
            VisualsMenu.AddMenuCheckbox("drawR", "Draw R", true);

            InitializeEvents();

            Library.Extensions.PrintMessage("[T2IN1-REBORN-AIO]", " Ahri is loaded, have fun", "#27ae60");
        }
Example #17
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            {
                W.AllowedCollisionCount = 0;
            }
            E = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0);
            R = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250);
            R.AllowedCollisionCount = int.MaxValue;
            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion         = new Item(2003, 0);
            TotalBiscuit         = new Item(2010, 0);
            CorruptingPotion     = new Item(2033, 0);
            RefillablePotion     = new Item(2031, 0);
            HuntersPotion        = new Item(2032, 0);
            Teleport.OnTeleport += Teleport_OnTeleport;
            Thm = new Font(Drawing.Direct3DDevice,
                           new FontDescription
            {
                FaceName        = "Tahoma",
                Height          = 32,
                Weight          = FontWeight.Bold,
                OutputPrecision = FontPrecision.Default,
                Quality         = FontQuality.ClearType
            });


            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoSenpai Presents </font><font color=\"#ffffff\" > AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");
            Chat.Print("Version 2 Loaded 15/11/2016", Color.Chartreuse);
            Chat.Print("Gl And HF", Color.Aqua);


            Menu      = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settigns:");
            ComboMenu.Add("Qlogic", new ComboBox("Q Logic ", 0, "Normal", "After AA"));
            ComboMenu.Add("Wlogic", new ComboBox("W Logic ", 0, "Normal", "After AA"));
            ComboMenu.Add("CCE", new CheckBox("Auto W on Enemy CC"));
            ComboMenu.AddLabel("R Settings:");
            ComboMenu.Add("useRCombo", new CheckBox("Use R", false));
            ComboMenu.Add("Rlogic", new ComboBox("Ulty Logic ", 0, "EnemyHp", "HitCountEnemys"));
            ComboMenu.Add("Hp", new Slider("Use R Enemy Health {0}(%)", 45, 0, 100));
            ComboMenu.Add("Rcount", new Slider("If Ulty Hit {0} Enemy ", 2, 1, 5));
            ComboMenu.AddLabel("Use R Range Settigs For all Logic:");
            ComboMenu.Add("useRRange", new Slider("Use Ulty Max Range", 1800, 500, 2000));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));


            PredictionMenu = Menu.AddSubMenu("Prediction Settings", "Prediction");
            PredictionMenu.AddGroupLabel("Prediction Settings:");
            PredictionMenu.Add("Wpred", new Slider("Select W {0}(%) Hitchance", 70, 0, 100));
            PredictionMenu.Add("rpred", new Slider("Select Ulty {0}(%) Hitchance", 70, 0, 100));
            PredictionMenu.AddLabel("Work Only For Normal W Logic");
            PredictionMenu.AddLabel(
                "Higher % ->Higher chance of spell landing on target but takes more time to get casted");
            PredictionMenu.AddLabel(
                "Lower % ->Faster casting but lower chance that the spell will land on your target. ");

            VolleyMenu = Menu.AddSubMenu("Volley Settings", "Volley");
            VolleyMenu.AddGroupLabel("Volley Settings:");
            VolleyMenu.Add("Volley.castDragon",
                           new KeyBind("Send Volley to Dragon", false, KeyBind.BindTypes.HoldActive, 'U'));
            VolleyMenu.Add("Volley.castBaron",
                           new KeyBind("Send Volley to Baron/Rift Herald", false, KeyBind.BindTypes.HoldActive, 'I'));
            VolleyMenu.Add("Volley.sep1", new Separator());
            VolleyMenu.Add("Volley.enable", new CheckBox("Auto send Volleys", false));
            VolleyMenu.Add("Volley.noMode", new CheckBox("Only when no modes are active"));
            VolleyMenu.Add("Volley.mana", new Slider("Minimum {0}% mana to auto send E", 40));
            VolleyMenu.Add("Volley.locationLabel", new Label("Send Volleys to:"));
            (VolleyMenu.Add("Volley.baron", new CheckBox("Baron / Rift Herald"))).OnValueChange += VolleyLocation;
            (VolleyMenu.Add("Volley.dragon", new CheckBox("Dragon"))).OnValueChange             += VolleyLocation;

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings:");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Use W"));
            HarassMenu.Add("useWHarassMana", new Slider("W Mana {0}(%)", 70, 0, 100));
            HarassMenu.AddLabel("AutoHarass Settings:");
            HarassMenu.Add("autoWHarass", new CheckBox("Auto W for Harass", false));
            HarassMenu.Add("autoWHarassMana", new Slider("W Mana  {0}(%)", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Clear Settings:");
            JungleLaneMenu.Add("useWFarm", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWManalane", new Slider("W Mana {0}(%)", 70, 0, 100));
            JungleLaneMenu.AddLabel("Jungle Clear Settings:");
            // JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWMana", new Slider("W Mana {0}(%)", 70, 0, 100));

            FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings");
            FleeMenu.Add("FleeQ", new CheckBox("Use W"));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser Settings:");
            MiscMenu.Add("gapcloser", new CheckBox("Auto W for Gapcloser"));
            MiscMenu.AddLabel("Interrupter Settings:");
            MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter Using R"));
            MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 0, "High", "Medium", "Low"));
            MiscMenu.Add("distinter", new Slider("Use Ulty For interupt Max Range {0}", 1800, 1, 2500));
            MiscMenu.AddGroupLabel("Ks Settings:");
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));
            MiscMenu.Add("UseRks", new CheckBox("Use R ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health {0}(%) to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana {0}(%) to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health {0}(%) to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health {0}(%) ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health {0}(%) ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddLabel("QQs Settings");
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            foreach (var debuff in DeBuffsList)
            {
                ItemMenu.Add(debuff.ToString(), new CheckBox(debuff.ToString()));
            }

            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer"));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 9));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Recall Tracker");
            DrawMenu.Add("draw.Recall", new CheckBox("Chat Print"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));
            DrawMenu.Add("howaa", new CheckBox("How Many AA"));
            DrawMenu.Add("Rkill", new CheckBox("R kill "));

            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += OnGapcloser;
            Interrupter.OnInterruptableSpell += Interupthighlvl;
            Interrupter.OnInterruptableSpell += Interuptmediumlvl;
            Interrupter.OnInterruptableSpell += Interuptlowlvl;


            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
            DamageIndicator.Initialize(SpellDamage.GetRawDamage);
        }
Example #18
0
        void LoadMenu
            ()
        {
            Menu = MainMenu.AddMenu("Ezrealthetroll", "Ezrealthetroll");
            Menu.AddGroupLabel("EzreaL the Troll!");
            Menu.AddGroupLabel("Made by MeLoSenpai!");
            Menu.AddGroupLabel("Version 1 Hf Gl and dont troll!");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settigns:");
            ComboMenu.Add("Qlogic", new ComboBox("Mystic Shot Logic ", 0, "Normal", "After AA"));
            ComboMenu.Add("Wlogic", new ComboBox("Essence Flux Logic ", 0, "Normal", "After AA"));
            ComboMenu.AddLabel("R Settings:");
            ComboMenu.Add("useRCombo", new CheckBox("Use Trueshot Barrage", false));
            ComboMenu.Add("Rlogic", new ComboBox("Trueshot Barrage", 0, "EnemyHp", "HitCountEnemys"));
            ComboMenu.Add("Hp", new Slider("Use Trueshot Barrage if Enemy Health {0}(%)", 45, 0, 100));
            ComboMenu.Add("Rcount", new Slider("If Trueshot Barrage Hit {0} Enemy ", 2, 1, 5));
            ComboMenu.AddLabel("Use Trueshot Barrage Range Settigs For all Logic:");
            ComboMenu.Add("useRRange", new Slider("Use Trueshot Barrage Max Range", 1800, 500, 2000));
            ComboMenu.AddGroupLabel("Combo preferences:");
            ComboMenu.Add("E", new CheckBox("Use Arcane Shift"));
            ComboMenu.Add("CCQ", new CheckBox("Auto Mystic Shot on Enemy CC"));
            ComboMenu.Add("CCW", new CheckBox("Auto Essence Flux on Enemy CC"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "H".ToCharArray()[0]));

            EMenu = Menu.AddSubMenu("Arcane Shift");
            EMenu.AddGroupLabel("Arcane Shift Settings");
            ESafe    = EMenu.Add("Esafe", new CheckBox("Safe Point Check E"));
            EWall    = EMenu.Add("Ewall", new CheckBox("Check Wall"));
            ECorrect = EMenu.Add("Ecorrect", new CheckBox("Allow Correct to better"));
            ERange   = EMenu.Add("Erange", new Slider("Range eliminate {0}", 35, 0, 75));
            EMenu.Add("label",
                      new Label("The more value, the more easier for next a.a, the more dangerous, recommended 20~40"));
            EPath  = EMenu.Add("Epath", new CheckBox("Anti Enemy Path"));
            EKite  = EMenu.Add("Ekite", new CheckBox("Try to kite champ"));
            EGap   = EMenu.Add("Etogap", new CheckBox("Use Arcane Shift to Gapclose taget"));
            EGrass = EMenu.Add("Egrass", new CheckBox("Try Arcane Shift to Grass"));
            EMenu.AddSeparator();
            EMenu.AddGroupLabel("Arcane Shift Style Settings");
            var EStyle = EMenu.Add("E",
                                   new ComboBox("Arcane Shift Logic", 1, "Don't use E", "Auto Adc Kappa", "CursorPos", "Cursor (Smart)"));

            EStyle.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs args)
            {
                switch (args.NewValue)
                {
                case 1:
                {
                    ESafe.IsVisible          = true;
                    ESafe.CurrentValue       = true;
                    EWall.IsVisible          = true;
                    EWall.CurrentValue       = true;
                    ECorrect.IsVisible       = true;
                    ERange.IsVisible         = true;
                    EMenu["label"].IsVisible = true;
                    EPath.CurrentValue       = true;
                    EPath.IsVisible          = true;
                    EKite.CurrentValue       = true;
                    EKite.IsVisible          = true;
                    EGap.IsVisible           = true;
                    EGrass.IsVisible         = false;
                }
                break;

                case 2:
                {
                    ESafe.IsVisible          = false;
                    EWall.IsVisible          = false;
                    ECorrect.IsVisible       = false;
                    ERange.IsVisible         = false;
                    EMenu["label"].IsVisible = false;
                    EPath.IsVisible          = false;
                    EKite.IsVisible          = false;
                    EGap.IsVisible           = false;
                    EGrass.IsVisible         = false;
                }
                break;

                case 3:
                {
                    ESafe.CurrentValue       = true;
                    EWall.CurrentValue       = false;
                    ECorrect.IsVisible       = true;
                    ECorrect.CurrentValue    = true;
                    ERange.IsVisible         = false;
                    EMenu["label"].IsVisible = false;
                    EPath.IsVisible          = false;
                    EKite.IsVisible          = true;
                    EGap.IsVisible           = true;
                    EGrass.IsVisible         = true;
                }
                break;
                }
            };


            PredictionMenu = Menu.AddSubMenu("Prediction Settings", "Prediction");
            PredictionMenu.AddGroupLabel("Prediction Settings:");
            PredictionMenu.Add("Qpred", new Slider("Select Mystic Shot {0}(%) Hitchance", 80, 0, 100));
            PredictionMenu.Add("Wpred", new Slider("Select Essence Flux {0}(%) Hitchance", 80, 0, 100));
            PredictionMenu.Add("rpred", new Slider("Select Trueshot Barrage {0}(%) Hitchance", 80, 0, 100));
            PredictionMenu.AddLabel("Work Only For Normal Q/W And All R Logic");
            PredictionMenu.AddLabel(
                "Higher % ->Higher chance of spell landing on target but takes more time to get casted");
            PredictionMenu.AddLabel(
                "Lower % ->Faster casting but lower chance that the spell will land on your target. ");

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings:");
            HarassMenu.Add("useQHarass", new CheckBox("Use Mystic Shot"));
            HarassMenu.Add("useWHarass", new CheckBox("Use Essence Flux"));
            HarassMenu.Add("useWHarassMana", new Slider("Min Mana {0}(%)", 70, 0, 100));
            HarassMenu.AddLabel("AutoHarass Settings:");
            HarassMenu.Add("autoQHarass", new CheckBox("Auto Mystic Shot for Harass", false));
            HarassMenu.Add("autoWHarass", new CheckBox("Auto Essence Flux for Harass", false));
            HarassMenu.Add("autoWHarassMana", new Slider("Min Mana {0}(%)", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Clear Settings:");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Mystic Shot Last Hit"));
            JungleLaneMenu.Add("useQManalane", new Slider("Min Mana {0}(%)", 70, 0, 100));
            JungleLaneMenu.Add("UseQUnkillableMinion", new CheckBox("Use Mystic Shot Unkillable Minion"));
            JungleLaneMenu.Add("Unkillablemana", new Slider("Min Mana {0}(%)", 70, 0, 100));
            JungleLaneMenu.AddLabel("Jungle Clear Settings:");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Mystic Shot"));
            JungleLaneMenu.Add("useQMana", new Slider("Min Mana {0}(%)", 70, 0, 100));

            FleEMenu = Menu.AddSubMenu("Flee Settings", "FleEMenu");
            FleEMenu.Add("FleeE", new CheckBox("Use E"));

            KillsecureMenu = Menu.AddSubMenu("KillSecure Settings", "MiscSettings");
            KillsecureMenu.AddLabel("KillSecure Settings:");
            KillsecureMenu.Add("UseQks", new CheckBox("Use Mystic Shot ks"));
            KillsecureMenu.Add("UseWks", new CheckBox("Use Essence Flux ks"));
            KillsecureMenu.Add("UseRks", new CheckBox("Use Trueshot Barrage ks"));


            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health {0}(%) to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana {0}(%) to use potion", 20));
            AutoPotHealMenu.AddLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health {0}(%) to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.Add("StackTear", new CheckBox("Auto stack tear in Base", true));
            ItemMenu.AddLabel("Botrk settings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health {0}(%) ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health {0}(%) ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddLabel("QQs Settings");
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            foreach (var debuff in DeBuffsList)
            {
                ItemMenu.Add(debuff.ToString(), new CheckBox(debuff.ToString()));
            }

            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer"));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 9));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawQ", new CheckBox("Draw Mystic Shot Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw Essence Flux Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw Trueshot Barrage Range"));
            DrawMenu.AddLabel("Recall Tracker");
            DrawMenu.Add("draw.Recall", new CheckBox("Chat Print"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));
            DrawMenu.Add("howaa", new CheckBox("How Many AA"));
            DrawMenu.Add("Rkill", new CheckBox("Trueshot Barrage kill "));
        }