示例#1
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. ");
 }
示例#2
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 "));
        }
示例#3
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);
        }