コード例 #1
0
        public static void MyMenu()
        {
            // Initialize the menu
            Main      = MainMenu.AddMenu("Annie", "Annie");
            Combo     = Main.AddSubMenu("Combo");
            Harass    = Main.AddSubMenu("Harass");
            LaneClear = Main.AddSubMenu("LaneClear");
            LastHit   = Main.AddSubMenu("LastHit");
            Misc      = Main.AddSubMenu("Misc");
            Draw      = Main.AddSubMenu("Draw");

            Combo.AddGroupLabel("Combo");
            _useQCombo = Combo.Add("comboUseQ", new CheckBox("Use Q"));
            _useWCombo = Combo.Add("comboUseW", new CheckBox("Use W"));
            _useRCombo = Combo.Add("comboUseR", new CheckBox("Use R"));

            Harass.AddGroupLabel("Harass");
            _useQHarass    = Harass.Add("harassUseQ", new CheckBox("Use Q"));
            _useWHarass    = Harass.Add("harassUseW", new CheckBox("Use W"));
            _farmingHarass = Harass.Add("farming", new CheckBox("Farm(op)"));
            _manaHarass    = Harass.Add("harassMana", new Slider("Maximum mana usage in percent ({0}%)", 40));

            LaneClear.AddGroupLabel("LaneClear");
            _useQLaneClear = LaneClear.Add("clearUseQ", new CheckBox("Use Q"));
            _useWLaneClear = LaneClear.Add("clearUseW", new CheckBox("Use W"));

            LastHit.AddGroupLabel("LastHit");
            _useQLastHit = LastHit.Add("lastUseQ", new CheckBox("Use Q"));

            _useEMisc   = Misc.Add("autoE", new CheckBox("Auto E"));
            _stacksMisc = Misc.Add("autoStacks", new CheckBox("Auto Stacks"));

            // Initialize the modes
            Draws.Initialize();
        }
コード例 #2
0
ファイル: MenuManager.cs プロジェクト: tekintr/Elobuddy
        public static void Initialize()
        {
            mainMenu    = MainMenu.AddMenu("TekinGaren", "mainMenu");
            Combo       = mainMenu.AddSubMenu("Combo", "ComboMenu");
            LaneClear   = mainMenu.AddSubMenu("LaneClear", "LaneClearMenu");
            LastHit     = mainMenu.AddSubMenu("LastHit", "LastHitMenu");
            JungleClear = mainMenu.AddSubMenu("JungleClear", "JungleClearMenu");
            KillSteal   = mainMenu.AddSubMenu("KillSteal", "KillStealMenu");
            Rendering   = mainMenu.AddSubMenu("Rendering", "RenderingMenu");
            Settings    = mainMenu.AddSubMenu("Settings", "SettingsMenu");

            mainMenu.AddGroupLabel("Created by TekinTR");
            mainMenu.AddLabel("Bu addon Garen icin tasarlandi.");
            mainMenu.AddLabel("Bug yada hatami buldun? Benimle iletisime gec.");

            Combo.AddGroupLabel("Combo Features");
            Combo.AddCheckBox("comboQ", "Kullan Q");
            Combo.AddCheckBox("comboE", "Kullan E");

            LaneClear.AddGroupLabel("LaneClear Features");
            LaneClear.AddCheckBox("laneQ", "Use Q", false);
            LaneClear.AddCheckBox("laneE", "Use E");

            LastHit.AddGroupLabel("LastHit Features");
            LastHit.AddCheckBox("lasthitQ", "Kullan Q");

            JungleClear.AddGroupLabel("JungleClear Features");
            JungleClear.AddCheckBox("jungleQ", "Kullan Q");
            JungleClear.AddCheckBox("jungleE", "Kullan E");

            KillSteal.AddGroupLabel("KillSteal Features");
            KillSteal.AddCheckBox("ksAA", "Oto atak ile KS");
            KillSteal.AddCheckBox("ksQ", "Q ile KS");
            KillSteal.AddCheckBox("ksR", "R ile KS");

            Rendering.AddGroupLabel("Rendering Features");
            //Rendering.AddCheckBox("renderP", "Render Player HP Bar");
            //Rendering.AddCheckBox("renderA", "Render Ally HP Bar");
            Rendering.AddCheckBox("renderE", "Dusman HP bar goster");
            Rendering.AddCheckBox("killable", "Goster 'Olucek' yazisi");
            Rendering.AddLabel("Rendering Configurations");
            Rendering.AddCheckBox("renderS_dmg", "Goster Skill hasari");
            Rendering.AddCheckBox("renderI_dmg", "Goster Item hasari");
            Rendering.AddSlider("renderAA", "Goster Basit Atak hasari", 2, 0, 5);
            //Rendering.AddCheckBox("renderS_heal", "Render Spell healing");
            //Rendering.AddCheckBox("renderI_heal", "Render Item healing");

            Settings.AddGroupLabel("Settings Features");
            Settings.AddCheckBox("cleanseQ", "Yavaslatma temizle Q", false);
            Settings.AddCheckBox("destroy", "Q ile yapilari yok et");
            Settings.AddSlider("percentQ", "Kaydet Q ks icin can yüzdesi iken >= ", 35, 0, 100);

            Settings.GetSliderObject("percentQ").OnValueChange += MenuManager_OnValueChange;;

            Console.WriteLine("MenuManager initialized.");
        }
コード例 #3
0
        public static void Initialize()
        {
            mainMenu    = MainMenu.AddMenu("AbsoluteGaren", "mainMenu");
            Combo       = mainMenu.AddSubMenu("Combo", "ComboMenu");
            LaneClear   = mainMenu.AddSubMenu("LaneClear", "LaneClearMenu");
            LastHit     = mainMenu.AddSubMenu("LastHit", "LastHitMenu");
            JungleClear = mainMenu.AddSubMenu("JungleClear", "JungleClearMenu");
            KillSteal   = mainMenu.AddSubMenu("KillSteal", "KillStealMenu");
            Rendering   = mainMenu.AddSubMenu("Rendering", "RenderingMenu");
            Settings    = mainMenu.AddSubMenu("Settings", "SettingsMenu");

            mainMenu.AddGroupLabel("Created by Counter");
            mainMenu.AddLabel("This addon is designed for the Champion, Garen.");
            mainMenu.AddLabel("Found a bug or error? Please contact me by PM on EloBuddy.");

            Combo.AddGroupLabel("Combo Features");
            Combo.AddCheckBox("Q", "Use Q");
            Combo.AddCheckBox("E", "Use E");

            LaneClear.AddGroupLabel("LaneClear Features");
            LaneClear.AddCheckBox("Q", "Use Q", false);
            LaneClear.AddCheckBox("E", "Use E");

            LastHit.AddGroupLabel("LastHit Features");
            LastHit.AddCheckBox("Q", "Use Q");

            JungleClear.AddGroupLabel("JungleClear Features");
            JungleClear.AddCheckBox("Q", "Use Q");
            JungleClear.AddCheckBox("E", "Use E");

            KillSteal.AddGroupLabel("KillSteal Features");
            KillSteal.AddCheckBox("AA", "KS with Basic Attack");
            KillSteal.AddCheckBox("Q", "KS with Q");
            KillSteal.AddCheckBox("R", "KS with R");

            Rendering.AddGroupLabel("Rendering Features");
            Rendering.AddCheckBox("player", "Render Player HP Bar");
            Rendering.AddCheckBox("enemy", "Render Enemy HP Bar");
            Rendering.AddCheckBox("killable", "Display 'Killable' text");
            Rendering.AddLabel("Rendering Configurations");
            Rendering.AddCheckBox("spell_dmg", "Render Spell damage");
            Rendering.AddCheckBox("item_dmg", "Render Item damage");
            Rendering.AddSlider("aa_dmg", "Render Basic Attack damage", 2, 0, 5);
            Rendering.AddCheckBox("item_heal", "Render Item healing");

            Settings.AddGroupLabel("Settings Features");
            Settings.AddCheckBox("cleanse", "Cleanse Slows with Q", false);
            Settings.AddCheckBox("destroy", "Destroy structures with Q");
            Settings.AddSlider("percentQ", "Save Q for ks when unit Health percent >= ", 35, 0, 100);

            Settings.GetSliderObject("percentQ").OnValueChange += PercentageQ_OnValueChange;

            Console.WriteLine("MenuManager initialized.");
        }
コード例 #4
0
        private static void Yuklendi(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ziggs")
            {
                return;
            }
            Bootstrap.Init(null);

            ZiggsMenu = MainMenu.AddMenu("BloodimirZiggs", "bloodimirziggs");
            ZiggsMenu.AddGroupLabel("Bloodimir.Ziggs");
            ZiggsMenu.AddSeparator();
            ZiggsMenu.AddLabel("Bloodimir Ziggs v1.0.0.0");

            ComboMenu = ZiggsMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            LaneJungleClear = ZiggsMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));


            LastHit = ZiggsMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));

            MiscMenu = ZiggsMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));

            SkinMenu = ZiggsMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 5));
            var sID        = new[] { "Default", "Mad Scientist", "Major", "Pool Party", "Snow Day", "Master Arcanist" };

            skinchange.DisplayName    = sID[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sID[changeArgs.NewValue];
            };
        }
コード例 #5
0
ファイル: Config.cs プロジェクト: freestyle1992/EB
        public static void CallMenu()
        {
            _disableAa = MainMenu.AddMenu("Support Mode", "SupportMode");
            _disableAa.AddGroupLabel("Support Mode");

            //Main = _disableAa.AddSubMenu("Main", "Main");
            _disableAa.AddGroupLabel("Global options");
            _disableAa.Add(
                "globalToggle", new KeyBind("Global enable/disable toggle", true, KeyBind.BindTypes.PressToggle));

            Harass = _disableAa.AddSubMenu("Harass", "Harass");
            Harass.AddGroupLabel("Options for Harass");
            Harass.Add("disableAAIH", new CheckBox("Disable AA on minions in Harass Mode", true));
            Harass.Add("stacksIH", new CheckBox("Still AA when we have shield stacks", false));
            Harass.Add("allyRangeH", new Slider("Allies in range x to disable AA in Harass Mode", 1400, 0, 5000));

            LaneClear = _disableAa.AddSubMenu("LaneClear", "LaneClear");
            LaneClear.AddGroupLabel("Options for LaneClear");
            LaneClear.Add("disableAAILC", new CheckBox("Disable AA on minions in LaneClear Mode", true));
            LaneClear.Add("stacksILC", new CheckBox("Still AA when we have shield stacks", false));
            LaneClear.Add("allyRangeLC", new Slider("Allies in range x to disable AA in LaneClear Mode", 1400, 0, 5000));
            LaneClear.Add("pushNoCS", new CheckBox("AA minions, but dont take CS", false));

            LastHit = _disableAa.AddSubMenu("LastHit", "LastHit");
            LastHit.AddGroupLabel("Options for LastHit");
            LastHit.Add("disableAAILH", new CheckBox("Disable AA on minions in LastHit Mode", true));
            LastHit.Add("stacksILH", new CheckBox("Still AA when we have shield stacks", false));
            LastHit.Add("allyRangeLH", new Slider("Allies in range x to disable AA in LastHit Mode", 1400, 0, 5000));

            Draw = _disableAa.AddSubMenu("Draw", "Draw");
            Draw.AddGroupLabel("Options for draw stuff");
            Draw.AddGroupLabel("Status Text");
            Draw.Add("globalDraw", new CheckBox("Draw the Status", true));
            Draw.Add("globaldrawX", new Slider("Relative X Position of the Status Text", 35, -200, 200));
            Draw.Add("globaldrawY", new Slider("Relative Y Position of the Status Text", -30, -200, 200));
        }
コード例 #6
0
ファイル: Config.cs プロジェクト: tekintr/Elobuddy
        public static void CallMenu()
        {
            _disableAa = MainMenu.AddMenu("Support Mode", "SupportMode");
            _disableAa.AddGroupLabel("Support Mode");

            //Main = _disableAa.AddSubMenu("Main", "Main");
            _disableAa.AddGroupLabel("Global options");
            _disableAa.Add(
                "globalToggle", new KeyBind("Genel Aktif/Pasif butonu", true, KeyBind.BindTypes.PressToggle));

            Harass = _disableAa.AddSubMenu("Harass", "Harass");
            Harass.AddGroupLabel("Options for Harass");
            Harass.Add("disableAAIH", new CheckBox("Minyona AA devre disi durtme modunda", true));
            Harass.Add("stacksIH", new CheckBox("Kalkan yukleri olsa bile minyona AA devre disi birak", false));
            Harass.Add("allyRangeH", new Slider("Harass Modunda AA devre disi birakmak icin x araliklarındaki müttefikler", 1400, 0, 5000));

            LaneClear = _disableAa.AddSubMenu("LaneClear", "LaneClear");
            LaneClear.AddGroupLabel("Options for LaneClear");
            LaneClear.Add("disableAAILC", new CheckBox("Oto atak devre disi birak minyon temizlemede", true));
            LaneClear.Add("stacksILC", new CheckBox("Kalkan yukleri olsa bile AA devre disi birak", false));
            LaneClear.Add("allyRangeLC", new Slider("LaneClear Modunda AA devre disi birakmak icin X mesafesindeki müttefikler", 1400, 0, 5000));
            LaneClear.Add("pushNoCS", new CheckBox("AA minyona, ama CS almayin", false));

            LastHit = _disableAa.AddSubMenu("LastHit", "LastHit");
            LastHit.AddGroupLabel("Options for LastHit");
            LastHit.Add("disableAAILH", new CheckBox("Oto atak devre disi birak minyona son vurusda", true));
            LastHit.Add("stacksILH", new CheckBox("Kalkan yukleri olsa bile AA devre disi birak", false));
            LastHit.Add("allyRangeLH", new Slider("LastHit Modunda AA devre disi birakmak için X mesafesindeki muttefikler", 1400, 0, 5000));

            Draw = _disableAa.AddSubMenu("Draw", "Draw");
            Draw.AddGroupLabel("Options for draw stuff");
            Draw.AddGroupLabel("Status Text");
            Draw.Add("globalDraw", new CheckBox("Durumu Goster", true));
            Draw.Add("globaldrawX", new Slider("Durum Metninin X Pozisyonu", 35, -200, 200));
            Draw.Add("globaldrawY", new Slider("Durum Metninin Y Pozisyonu", -30, -200, 200));
        }
コード例 #7
0
ファイル: Program.cs プロジェクト: Neafle/EloBuddy-1
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Vladimir")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 610);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, (int)250f, (int)1200f, (int)150f);
            var summoner1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            var summoner2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (summoner1.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if (summoner2.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }
            VladMenu = MainMenu.AddMenu("Bloodimir", "bloodimir");
            VladMenu.AddGroupLabel("Bloodimir.Bloodimir");
            VladMenu.AddSeparator();
            VladMenu.AddLabel("Bloodimir c what i did there?");

            ComboMenu = VladMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            DrawMenu = VladMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));

            LaneClear = VladMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCE", new CheckBox("Use E"));
            LaneClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = VladMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));

            MiscMenu = VladMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksignite", new CheckBox("Ks with Ignite", false));
            MiscMenu.AddSeparator();
            MiscMenu.Add("dodgew", new CheckBox("Use W to Dodge WIP"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("debug", new CheckBox("Debug", false));

            SkinMenu = VladMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 0, 0, 7));
            var sID        = new[]
            { "Default", "Count", "Marquius", "Nosferatu", "Vandal", "Blood Lord", "Soulstealer", "Academy" };

            skinchange.DisplayName    = sID[skinchange.CurrentValue];
            skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sID[changeArgs.NewValue];
                if (MiscMenu["debug"].Cast <CheckBox>().CurrentValue)
                {
                    Chat.Print("skin-changed");
                }
            };

            Game.OnTick    += Tick;
            Drawing.OnDraw += OnDraw;
        }
コード例 #8
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != Hero)
            {
                return;
            }
            Bootstrap.Init(null);
            Q       = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 1200, 80);
            W       = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 2200, 350);
            E       = new Spell.Targeted(SpellSlot.E, 800);
            R       = new Spell.Active(SpellSlot.R, 600);
            Exhaust = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);

            Talisman        = new Item((int)ItemId.Talisman_of_Ascension);
            Randuin         = new Item((int)ItemId.Randuins_Omen);
            Zhonia          = new Item((int)ItemId.Zhonyas_Hourglass);
            AbilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };

            MorgMenu = MainMenu.AddMenu("Bloodimir Morgana", "bmorgana");
            MorgMenu.AddGroupLabel("Bloodimir Morgana");
            MorgMenu.AddSeparator();
            MorgMenu.AddLabel("Bloodimir Morgana v2.1.0.0");

            ComboMenu = MorgMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));

            AutoCastMenu = MorgMenu.AddSubMenu("Auto Cast", "ac");
            AutoCastMenu.AddGroupLabel("Auto Cast");
            AutoCastMenu.AddSeparator();
            AutoCastMenu.Add("qd", new CheckBox("Auto Q Dashing"));
            AutoCastMenu.Add("qi", new CheckBox("Auto Q Immobile"));
            AutoCastMenu.Add("ar", new CheckBox("Auto R"));
            AutoCastMenu.Add("rslider", new Slider("Minimum people for Auto R", 2, 0, 5));

            QMenu = MorgMenu.AddSubMenu("Q Settings", "qsettings");
            QMenu.AddGroupLabel("Q Settings");
            QMenu.AddSeparator();
            QMenu.Add("qmin", new Slider("Min Range", 150, 0, (int)Q.Range));
            QMenu.Add("qmax", new Slider("Max Range", (int)Q.Range, 0, (int)Q.Range));
            QMenu.AddSeparator();
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Me.Team))
            {
                QMenu.Add("bind" + obj.ChampionName.ToLower(), new CheckBox("Bind " + obj.ChampionName));
            }
            QMenu.AddSeparator();
            QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction", false));
            QMenu.AddSeparator();
            QMenu.Add("intq", new CheckBox("Q to Interrupt"));

            SkinMenu = MorgMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 7));
            var sid        = new[] { "Default", "Exiled", "Sinful Succulence", "Blade Mistress", "Blackthorn", "Ghost Bride", "Victorius", "Lunar Wraith" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            MiscMenu = MorgMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("antigapcloser", new CheckBox("Anti Gapcloser"));
            MiscMenu.Add("talisman", new CheckBox("Use Talisman of Ascension"));
            MiscMenu.Add("randuin", new CheckBox("Use Randuin"));
            MiscMenu.Add("szhonya", new CheckBox("Smart Zhonya"));
            MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false));
            MiscMenu.AddSeparator();
            MiscMenu.Add("EAllies", new CheckBox("Auto E"));
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team == Me.Team))
            {
                MiscMenu.Add("shield" + obj.ChampionName.ToLower(), new CheckBox("Shield " + obj.ChampionName));
            }
            MiscMenu.AddSeparator();
            MiscMenu.Add("support", new CheckBox("Support Mode", false));
            MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Exhaust " + source.ChampionName, false));
            }

            DrawMenu = MorgMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA"));
            DrawMenu.Add("predictions", new CheckBox("Visualize Q Prediction"));

            LaneClear = MorgMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCW", new CheckBox("Use W"));

            LastHit = MorgMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q", false));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate                  += OnUpdate;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Obj_AI_Base.OnProcessSpellCast += Auto_EOnProcessSpell;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Drawing.OnDraw                 += delegate
            {
                if (!Me.IsDead)
                {
                    if (DrawMenu["drawr"].Cast <CheckBox>().CurrentValue&& R.IsLearned)
                    {
                        Circle.Draw(Color.Red, R.Range, Player.Instance.Position);
                    }
                    if (DrawMenu["draww"].Cast <CheckBox>().CurrentValue&& W.IsLearned)
                    {
                        Circle.Draw(Color.Purple, W.Range, Player.Instance.Position);
                    }
                    if (DrawMenu["drawe"].Cast <CheckBox>().CurrentValue&& E.IsLearned)
                    {
                        Circle.Draw(Color.Green, E.Range, Player.Instance.Position);
                    }
                    if (DrawMenu["drawaa"].Cast <CheckBox>().CurrentValue)
                    {
                        Circle.Draw(Color.Blue, Q.Range, Player.Instance.Position);
                    }
                    var predictedPositions = new Dictionary <int, Tuple <int, PredictionResult> >();
                    var predictions        = DrawMenu["predictions"].Cast <CheckBox>().CurrentValue;
                    var qRange             = DrawMenu["drawq"].Cast <CheckBox>().CurrentValue;

                    foreach (
                        var enemy in
                        EntityManager.Heroes.Enemies.Where(
                            enemy => QMenu["bind" + enemy.ChampionName].Cast <CheckBox>().CurrentValue&&
                            enemy.IsValidTarget(Q.Range + 150) &&
                            !enemy.HasBuffOfType(BuffType.SpellShield)))
                    {
                        var predictionsq = Q.GetPrediction(enemy);
                        predictedPositions[enemy.NetworkId] = new Tuple <int, PredictionResult>(Environment.TickCount,
                                                                                                predictionsq);
                        if (qRange && Q.IsLearned)
                        {
                            Circle.Draw(Q.IsReady() ? Color.Blue : Color.Red, Q.Range,
                                        Player.Instance.Position);
                        }

                        if (!predictions)
                        {
                            return;
                        }

                        foreach (var prediction in predictedPositions.ToArray())
                        {
                            if (Environment.TickCount - prediction.Value.Item1 > 2000)
                            {
                                predictedPositions.Remove(prediction.Key);
                                continue;
                            }

                            Circle.Draw(Color.Red, 75, prediction.Value.Item2.CastPosition);
                            Line.DrawLine(System.Drawing.Color.GreenYellow, Player.Instance.Position,
                                          prediction.Value.Item2.CastPosition);
                            Line.DrawLine(System.Drawing.Color.CornflowerBlue,
                                          EntityManager.Heroes.Enemies.Find(o => o.NetworkId == prediction.Key).Position,
                                          prediction.Value.Item2.CastPosition);
                            Drawing.DrawText(prediction.Value.Item2.CastPosition.WorldToScreen() + new Vector2(0, -20),
                                             System.Drawing.Color.LimeGreen,
                                             string.Format("Hitchance: {0}%", Math.Ceiling(prediction.Value.Item2.HitChancePercent)),
                                             10);
                        }
                    }
                    ;
                }
                ;
            };
        }
コード例 #9
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Evelynn")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q, 500);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 225);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, (int)250f, (int)1200f, (int)150f);
            var summoner1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            var summoner2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (summoner1.Name == "summonerdot")
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner1, 500);
            }
            else if (summoner2.Name == "summonerdot")
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner2, 500);
            }

            EveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve");
            EveMenu.AddGroupLabel("Bloodimir.Evelynn");
            EveMenu.AddSeparator();
            EveMenu.AddLabel("Bloodimir Evelynn V1.0.0.0");

            ComboMenu = EveMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            DrawMenu = EveMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));

            LaneJungleClear = EveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = EveMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));

            MiscMenu = EveMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("kse", new CheckBox("KS using E"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));

            SkinMenu = EveMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("skinid", new Slider("Skin", 0, 0, 4));
            var skinid     = new[]
            { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
                if (MiscMenu["debug"].Cast <CheckBox>().CurrentValue)
                {
                    Chat.Print("skin-changed");
                }
            };

            Game.OnTick    += Tick;
            Drawing.OnDraw += OnDraw;
        }
コード例 #10
0
ファイル: Program.cs プロジェクト: Bloodimir/Projects
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Vladimir")
                return;
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 610);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);
            if (HasSpell("summonerdot"))
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Zhonia = new Item((int) ItemId.Zhonyas_Hourglass);
            var flashSlot = Vlad.GetSpellSlotFromName("summonerflash");
            Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            VladMenu = MainMenu.AddMenu("Bloodimir", "bloodimir");
            VladMenu.AddGroupLabel("Bloodimir.Bloodimir");
            VladMenu.AddSeparator();
            VladMenu.AddLabel("Bloodimir c what i did there? version 1.0.5.2");

            ComboMenu = VladMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for Combo R", 2, 0, 5));
            DrawMenu = VladMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawe", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawr", new CheckBox("Draw R Range"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA Range"));

            LaneClear = VladMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCE", new CheckBox("Use E"));
            LaneClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = VladMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));

            HarassMenu = VladMenu.AddSubMenu("Harass Menu", "harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("hq", new CheckBox("Harass Q"));
            HarassMenu.Add("he", new CheckBox("Harass E"));
            HarassMenu.Add("autoh", new CheckBox("Auto Harass"));
            HarassMenu.Add("autohq", new CheckBox("Use Q on Auto Harass"));
            HarassMenu.Add("autohe", new CheckBox("Use E on Auto Harass"));


            MiscMenu = VladMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("kse", new CheckBox("KS with E"));
            MiscMenu.Add("zhonias", new CheckBox("Use Zhonia"));
            MiscMenu.Add("zhealth", new Slider("Auto Zhonia Health %", 8));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapcloserw", new CheckBox("Anti Gapcloser W"));
            MiscMenu.Add("gapcloserhp", new Slider("Gapcloser W Health %", 25));
            MiscMenu.AddSeparator();

            SkinMenu = VladMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 7));
            var sid = new[]
            {"Default", "Count", "Marquius", "Nosferatu", "Vandal", "Blood Lord", "Soulstealer", "Academy"};
            skinchange.DisplayName = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase<int> sender, ValueBase<int>.ValueChangeArgs changeArgs)
                {
                    sender.DisplayName = sid[changeArgs.NewValue];
                };

            Game.OnUpdate += Tick;
            Drawing.OnDraw += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
        }
コード例 #11
0
ファイル: Program.cs プロジェクト: HentaiSlay/EloBuddyAddons
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Renekton")
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Active(SpellSlot.W);
            R = new Spell.Active(SpellSlot.R);

            menu = MainMenu.AddMenu("Unsigned Renekton", "Unsigned Renekton");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("CQ", new CheckBox("Use Q"));
            ComboMenu.Add("CW", new CheckBox("Use W"));
            ComboMenu.Add("CE", new CheckBox("Use E"));
            ComboMenu.Add("CR", new CheckBox("Use R"));
            ComboMenu.Add("CI", new CheckBox("Use Items"));

            LaneClear = menu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCSF", new CheckBox("Save Fury"));
            LaneClear.Add("LCQ", new CheckBox("Use Q"));
            LaneClear.Add("LCE", new CheckBox("Use E"));
            LaneClear.Add("LCI", new CheckBox("Use Items"));

            Harass = menu.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Harass Settings");
            Harass.Add("HQ", new CheckBox("Use Q"));
            Harass.Add("HW", new CheckBox("Use W"));
            Harass.Add("HE", new CheckBox("Use E"));
            Harass.Add("HI", new CheckBox("Use Items"));

            LastHit = menu.AddSubMenu("Last Hit", "lasthitmenu");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHSF", new CheckBox("Save Fury"));
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHE", new CheckBox("Use E", false));

            Killsteal = menu.AddSubMenu("Killsteal", "killstealmenu");
            Killsteal.AddGroupLabel("Killsteal Settings");
            Killsteal.Add("KSER", new CheckBox("Activate KS"));
            Killsteal.Add("KSQ", new CheckBox("Use Q"));
            Killsteal.Add("KSW", new CheckBox("Use W"));
            Killsteal.Add("KSE", new CheckBox("Use E"));
            Killsteal.Add("KSI", new CheckBox("Use Ignite"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DAA", new CheckBox("Draw AA"));
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DEE", new CheckBox("Draw Emp E"));

            SpellDataInst Sum1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            SpellDataInst Sum2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (Sum1.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if (Sum2.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #12
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Annie")
            {
                return;
            }

            //Hacks.AntiAFK = true;
            Bootstrap.Init(null);

            Q = new Spell.Targeted(SpellSlot.Q, 625, DamageType.Magical);
            W = new Spell.Skillshot(SpellSlot.W, 625, SkillShotType.Cone, 250, null, null, DamageType.Mixed)
            {
                ConeAngleDegrees = 50
            };
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 0, int.MaxValue, 290, DamageType.Magical);

            menu = MainMenu.AddMenu("Unsigned Annie", "UnsignedAnnie");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("R", new CheckBox("Use R"));
            //ComboMenu.Add("Flash Ult", new CheckBox("Flash R"));
            //ComboMenu.Add("Flash Ult People", new Slider("Flash R at x People: ", 4, 0, 5));
            ComboMenu.Add("Items", new CheckBox("Use Items"));
            ComboMenu.Add("Ignite", new CheckBox("Use Ignite"));

            LaneClear = menu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("Q", new CheckBox("Use Q"));
            LaneClear.Add("QForLastHit", new CheckBox("Use Q Only to Last Hit"));
            LaneClear.Add("W", new CheckBox("Use W"));

            Harass = menu.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Harass Settings");
            Harass.Add("Q", new CheckBox("Use Q"));
            Harass.Add("W", new CheckBox("Use W"));

            LastHit = menu.AddSubMenu("Last Hit", "lasthitmenu");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("Q", new CheckBox("Use Q"));
            LastHit.Add("W", new CheckBox("Use W", false));

            Killsteal = menu.AddSubMenu("Killsteal", "killstealmenu");
            Killsteal.AddGroupLabel("Killsteal Settings");
            Killsteal.Add("KS", new CheckBox("Activate Killsteal"));
            Killsteal.Add("Q", new CheckBox("Use Q"));
            Killsteal.Add("W", new CheckBox("Use W"));
            Killsteal.Add("R", new CheckBox("Use R", false));
            Killsteal.Add("Ignite", new CheckBox("Use Ignite"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("Q", new CheckBox("Draw Q/W"));
            DrawingsMenu.Add("R", new CheckBox("Draw R"));

            SettingsMenu = menu.AddSubMenu("Settings", "settingsmenu");
            SettingsMenu.AddGroupLabel("Settings");
            SettingsMenu.Add("Stack", new CheckBox("Prepare Stun at Base"));
            SettingsMenu.Add("Health Potions", new CheckBox("Auto-Use Health Potions"));
            SettingsMenu.Add("Tibbers Controller", new CheckBox("Auto-Control Tibbers"));
            SettingsMenu.Add("Auto R", new CheckBox("Auto Tibbers on 4 or more units (with stun)"));

            SpellDataInst Sum1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            SpellDataInst Sum2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (Sum1.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if (Sum2.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #13
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Renekton")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q, 225);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 450, SkillShotType.Linear);
            if (HasSpell("summonerdot"))
            {
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            _r               = new Spell.Active(SpellSlot.R);
            Tiamat           = new Item((int)ItemId.Tiamat_Melee_Only, 420);
            Hydra            = new Item((int)ItemId.Ravenous_Hydra_Melee_Only, 420);
            Botrk            = new Item(3153, 550f);
            Bilgewater       = new Item(3144, 475f);
            Youmuu           = new Item(3142, 10);
            _abilitySequence = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };

            _renekMenu = MainMenu.AddMenu("BloodimiRenekton", "bloodimirrenekton");
            _renekMenu.AddGroupLabel("Bloodimir.enekton çeviri tradana");
            _renekMenu.AddSeparator();
            _renekMenu.AddLabel("BloodimiRenekton v1.0.1.0");

            ComboMenu = _renekMenu.AddSubMenu("Kombo", "sbtw");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Q Kullan"));
            ComboMenu.Add("usecombow", new CheckBox("W Kullan"));
            ComboMenu.Add("usecomboe", new CheckBox("E Kullan"));
            ComboMenu.Add("useignite", new CheckBox("Tutuştur Kullan"));
            ComboMenu.Add("useitems", new CheckBox("İtemleri Kullan"));
            ComboMenu.Add("autoult", new CheckBox("Otomatik Ulti"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Health Percentage to Ult", 31));

            LaneJungleClear = _renekMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Ayarları");
            LaneJungleClear.Add("LCE", new CheckBox("E Kullan"));
            LaneJungleClear.Add("LCQ", new CheckBox("Q Kullan"));
            LaneJungleClear.Add("LCW", new CheckBox("W Kullan"));
            LaneJungleClear.Add("LCI", new CheckBox("İtemleri Kullan"));

            _drawMenu = _renekMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Gösterge");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Göster Q"));
            _drawMenu.Add("drawe", new CheckBox("Göster E"));

            LastHit = _renekMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Q Kullan"));
            LastHit.Add("LHW", new CheckBox("W Kullan"));
            LastHit.Add("LHI", new CheckBox("İtemleri Kullan"));

            _harassMenu = _renekMenu.AddSubMenu("Dürtme Menu", "harass");
            _harassMenu.AddGroupLabel("Dürtme Ayarları");
            _harassMenu.Add("hq", new CheckBox("Q Kullan"));
            _harassMenu.Add("hw", new CheckBox("W Kullan"));
            _harassMenu.Add("hi", new CheckBox("Dürtme İtemleri"));

            _miscMenu = _renekMenu.AddSubMenu("Ek Menu", "miscmenu");
            _miscMenu.AddGroupLabel("KS");
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("KS için Q kullan"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("intw", new CheckBox("W to Interrupt"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("gapclose", new CheckBox("W to Interrupt"));
            _miscMenu.Add("lvlup", new CheckBox("Büyüleri Otomatik Ver", false));

            _skinMenu = _renekMenu.AddSubMenu("Skin Değiştirici", "skin");
            _skinMenu.AddGroupLabel("İstediğin Görünümü Seç");

            var skinchange = _skinMenu.Add("sid", new Slider("Skin", 5, 0, 7));
            var sid        = new[]
            { "Classic", "Galactic", "Outback", "Bloodfury", "Rune Wars", "Scorched Earth", "Pool Party", "Prehistoric" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnUpdate += Tick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw         += OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Gapcloser.OnGapcloser  += OnGapClose;
        }
コード例 #14
0
ファイル: Program.cs プロジェクト: spall9/Bloodimir-
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Renekton")
            {
                return;
            }
            Bootstrap.Init(null);
            Q                = new Spell.Active(SpellSlot.Q, 225);
            W                = new Spell.Active(SpellSlot.W);
            E                = new Spell.Skillshot(SpellSlot.E, 450, SkillShotType.Linear);
            _r               = new Spell.Active(SpellSlot.R);
            Tiamat           = new Item((int)ItemId.Tiamat_Melee_Only, 420);
            Hydra            = new Item((int)ItemId.Ravenous_Hydra_Melee_Only, 420);
            Botrk            = new Item(3153, 550f);
            Bilgewater       = new Item(3144, 475f);
            Youmuu           = new Item(3142, 10);
            _abilitySequence = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };

            _renekMenu = MainMenu.AddMenu("BloodimiRenekton", "bloodimirrenekton");
            _renekMenu.AddGroupLabel("Bloodimir.enekton");
            _renekMenu.AddSeparator();
            _renekMenu.AddLabel("BloodimiRenekton v1.0.1.0");

            ComboMenu = _renekMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("useitems", new CheckBox("Use Items"));
            ComboMenu.Add("autoult", new CheckBox("Auto Ult"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Health Percentage to Ult", 31));

            LaneJungleClear = _renekMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("LCI", new CheckBox("Use Items"));

            _drawMenu = _renekMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Drawings");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Draw Q"));
            _drawMenu.Add("drawe", new CheckBox("Draw E"));

            LastHit = _renekMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHW", new CheckBox("Use W"));
            LastHit.Add("LHI", new CheckBox("Use Items"));

            _harassMenu = _renekMenu.AddSubMenu("Harass Menu", "harass");
            _harassMenu.AddGroupLabel("Harass Settings");
            _harassMenu.Add("hq", new CheckBox("Harass Q"));
            _harassMenu.Add("hw", new CheckBox("Harass W"));
            _harassMenu.Add("hi", new CheckBox("Harass Items"));

            _miscMenu = _renekMenu.AddSubMenu("Misc Menu", "miscmenu");
            _miscMenu.AddGroupLabel("KS");
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("KS with Q"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("intw", new CheckBox("W to Interrupt"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("gapclose", new CheckBox("W to Interrupt"));
            _miscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false));

            _skinMenu = _renekMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = _skinMenu.Add("sid", new Slider("Skin", 5, 0, 7));
            var sid        = new[]
            { "Classic", "Galactic", "Outback", "Bloodfury", "Rune Wars", "Scorched Earth", "Pool Party", "Prehistoric" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnUpdate += Tick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw         += OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Gapcloser.OnGapcloser  += OnGapClose;
        }
コード例 #15
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Vladimir")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 610);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);
            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Zhonia = new Item((int)ItemId.Zhonyas_Hourglass);
            var flashSlot = Vlad.GetSpellSlotFromName("summonerflash");

            Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            VladMenu = MainMenu.AddMenu("Bloodimir", "bloodimir");
            VladMenu.AddGroupLabel("Bloodimir.Bloodimir");
            VladMenu.AddSeparator();
            VladMenu.AddLabel("Bloodimir c what i did there? version 1.0.5.2");

            ComboMenu = VladMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Q Kullan"));
            ComboMenu.Add("usecomboe", new CheckBox("E Kullan"));
            ComboMenu.Add("usecombor", new CheckBox("R Kullan"));
            ComboMenu.Add("useignite", new CheckBox("Tutuştur Kullan"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("R için gerekli kişi sayısı", 2, 0, 5));
            DrawMenu = VladMenu.AddSubMenu("Gösterge", "drawings");
            DrawMenu.AddGroupLabel("Gösterge");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Göster Q Menzil"));
            DrawMenu.Add("drawe", new CheckBox("Göster E Menzil"));
            DrawMenu.Add("drawr", new CheckBox("Göster R Menzil"));
            DrawMenu.Add("drawaa", new CheckBox("Göster AA Menzil"));

            LaneClear = VladMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Ayarları");
            LaneClear.Add("LCE", new CheckBox("E Kullan"));
            LaneClear.Add("LCQ", new CheckBox("Q Kullan"));

            LastHit = VladMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Son VURUŞ Ayarları");
            LastHit.Add("LHQ", new CheckBox("Kullan Q"));

            HarassMenu = VladMenu.AddSubMenu("Harass Menu", "harass");
            HarassMenu.AddGroupLabel("Dürtme Settings");
            HarassMenu.Add("hq", new CheckBox("Dürtme Q"));
            HarassMenu.Add("he", new CheckBox("Dürtme E"));
            HarassMenu.Add("autoh", new CheckBox("Otomatik Dürtme"));
            HarassMenu.Add("autohq", new CheckBox("Dürtmede otomatik Q Kullan"));
            HarassMenu.Add("autohe", new CheckBox("Dürtmede otomatik E Kullan"));


            MiscMenu = VladMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Ek");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS için Q"));
            MiscMenu.Add("kse", new CheckBox("KS için E"));
            MiscMenu.Add("zhonias", new CheckBox("Zhonya Kullan"));
            MiscMenu.Add("zhealth", new Slider("Canım Şundan az ise Zhonya bas %", 8));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapcloserw", new CheckBox("Anti Gapcloser W"));
            MiscMenu.Add("gapcloserhp", new Slider("Gapcloser W Health %", 25));
            MiscMenu.AddSeparator();

            SkinMenu = VladMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("İstediğin Görünümü Seç");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 7));
            var sid        = new[]
            { "Default", "Count", "Marquius", "Nosferatu", "Vandal", "Blood Lord", "Soulstealer", "Academy" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnUpdate         += Tick;
            Drawing.OnDraw        += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
        }
コード例 #16
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Annie")
            {
                return;
            }
            Bootstrap.Init(null);
            Q       = new Spell.Targeted(SpellSlot.Q, 625);
            W       = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Cone, 500, int.MaxValue, 80);
            _e      = new Spell.Active(SpellSlot.E);
            _r      = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 200, int.MaxValue, 251);
            _zhonia = new Item((int)ItemId.Zhonyas_Hourglass);
            if (HasSpell("summonerdot"))
            {
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            _abilitySequence = new[] { 1, 2, 1, 2, 3, 4, 1, 1, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
            _exhaust         = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);
            var flashSlot = Annie.GetSpellSlotFromName("summonerflash");

            _flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            _annieMenu = MainMenu.AddMenu("BloodimirAnnie", "bloodimirannie");
            _annieMenu.AddGroupLabel("Bloodimir.Annie");
            _annieMenu.AddSeparator();
            _annieMenu.AddLabel("Bloodimir Annie V1.0.1.0");

            _comboMenu = _annieMenu.AddSubMenu("Combo", "sbtw");
            _comboMenu.AddGroupLabel("Combo Settings");
            _comboMenu.AddSeparator();
            _comboMenu.Add("usecomboq", new CheckBox("Use Q"));
            _comboMenu.Add("usecombow", new CheckBox("Use W"));
            _comboMenu.Add("usecomboe", new CheckBox("Use E "));
            _comboMenu.Add("usecombor", new CheckBox("Use R"));
            _comboMenu.Add("useignite", new CheckBox("Use Ignite (Auto)"));
            _comboMenu.Add("pilot", new CheckBox("Auto Pilot Tibbers"));
            _comboMenu.Add("comboOnlyExhaust", new CheckBox("Use Exhaust (Combo Only)"));
            _comboMenu.AddSeparator();
            _comboMenu.Add("rslider", new Slider("Minimum people for R", 2, 0, 5));
            _comboMenu.AddSeparator();
            _comboMenu.Add("flashr", new KeyBind("Flash R", false, KeyBind.BindTypes.HoldActive, 'Y'));
            _comboMenu.Add("flasher", new KeyBind("Ninja Flash E+R", false, KeyBind.BindTypes.HoldActive, 'N'));
            _comboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            _drawMenu = _annieMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Drawings");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Draw Q Range"));
            _drawMenu.Add("draww", new CheckBox("Draw W Range"));
            _drawMenu.Add("drawr", new CheckBox("Draw R Range"));
            _drawMenu.Add("drawaa", new CheckBox("Draw AA Range"));
            _drawMenu.Add("drawtf", new CheckBox("Draw Tibbers Flash Range"));

            LastHit = _annieMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("PLHQ", new CheckBox("Don't use Q farm if have stun"));

            LaneJungleClear = _annieMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("PLCQ", new CheckBox("Don't use Q farm if have stun"));

            _miscMenu = _annieMenu.AddSubMenu("Misc Menu", "miscmenu");
            _miscMenu.AddGroupLabel("MISC");
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("KS using Q"));
            _miscMenu.Add("ksw", new CheckBox("KS using W"));
            _miscMenu.Add("ksr", new CheckBox("KS using R"));
            _miscMenu.Add("ksignite", new CheckBox("KS using Ignite"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("estack", new CheckBox("Stack Passive E", false));
            _miscMenu.Add("wstack", new CheckBox("Stack Passive W ", false));
            _miscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                _miscMenu.Add(source.ChampionName + "exhaust",
                              new CheckBox("Exhaust " + source.ChampionName, false));
            }
            _miscMenu.AddSeparator();
            _miscMenu.Add("zhonias", new CheckBox("Use Zhonia"));
            _miscMenu.Add("zhealth", new Slider("Auto Zhonia Health %", 8));
            _miscMenu.AddSeparator();
            _miscMenu.Add("gapclose", new CheckBox("Gapcloser with Stun"));
            _miscMenu.Add("eaa", new CheckBox("Auto E on enemy AA's"));
            _miscMenu.Add("support", new CheckBox("Support Mode", false));
            _miscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells"));


            _skinMenu = _annieMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = _skinMenu.Add("skinid", new Slider("Skin", 8, 0, 9));
            var skinid     = new[]
            {
                "Default", "Goth", "Red Riding", "Annie in Wonderland", "Prom Queen", "Frostfire", "Franken Tibbers",
                "Reverse", "Panda", "Sweetheart"
            };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
            };
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnUpdate             += Tick;
            Drawing.OnDraw            += OnDraw;
            Gapcloser.OnGapcloser     += OnGapClose;
            Obj_AI_Base.OnBasicAttack += Auto_EOnBasicAttack;
            GameObject.OnCreate       += Obj_AI_Base_OnCreate;
            Orbwalker.OnPreAttack     += Support_Orbwalker;
            Core.DelayAction(Combo, 1);
            Core.DelayAction(TibbersFlash, 10);
        }
コード例 #17
0
        /// <summary>
        ///     Initialize Ezreal Config
        /// </summary>
        public Config()
        {
            try
            {
                Main = MainMenu.AddMenu("Shulepin™ | Ezreal", "Ezreal");
                {
                    Main.AddLabel("███████╗ ███████╗ ██████╗   ███████╗   █████╗   ██╗");
                    Main.AddLabel("██╔════════╝ ╚═════███╔╝  ██╔════██╗ ██╔════════╝ ██╔════██╗██╗", 0);
                    Main.AddLabel("█████╗             ███╔╝    ██████╔╝  █████╗     ███████║ ██╗", 25);
                    Main.AddLabel("██╔════╝            ███╔╝      ██╔════██╗ ██╔═════╝     ██╔════██║ ██╗", 0);
                    Main.AddLabel("██████╗    ███████╗ ██║      ██║ ███████╗██║      ██║ ███████╗", 25);
                    Main.AddLabel("╚══════════╝    ╚════════════╝ ╚══╝       ╚══╝  ╚═══════════╝  ╚══╝       ╚══╝ ╚════════════╝", 0);

                    Main.AddGroupLabel("Welcome Shulepin™ Ezreal");
                    Main.AddLabel("You can configure the addon on the left by navigating through the menu entries.");
                    Main.AddLabel("Any suggestions or feedback write in the topic on the forum");
                    Main.AddLabel("Thanks for using Ezreal addon.");

                    Combo = Main.AddSubMenu("» Combo");
                    {
                        Combo.AddGroupLabel("● Combo Settings ●");
                        Combo.Add("Style", new ComboBox("Combo Style", 1, new[] { "Normal", "Weaving" }));
                        Combo.AddGroupLabel("● Spell Settings ●");
                        Combo.Add("Q.Use", new CheckBox("Use Q", true));
                        Combo.Add("W.Use", new CheckBox("Use W", true));
                        Combo.Add("E.Use", new CheckBox("Use E", false));
                        Combo.Add("R.Use", new CheckBox("Use R", true));
                        Combo.Add("R.Mode", new ComboBox("R Mode", 0, new[] { "Enemy HP", "Hit Count Enemies" }));
                        Combo.Add("R.HP", new Slider("Min. HP(%) For R ({0}%)", 35, 0, 100));
                        Combo.Add("R.Count", new Slider("Min. Enemies For R ({0})", 3, 1, 5));
                        Combo.Add("R.Range", new Slider("Max R Range ({0})", 1500, 500, 5000));
                        Combo.AddLabel("Key Settings:");
                        Combo.Add("R.Force", new KeyBind("Force R Key", false, KeyBind.BindTypes.HoldActive, 'G'));
                        Combo.AddGroupLabel("● Mana Settings ●");
                        Combo.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 0, 0, 100));
                        Combo.Add("W.Mana", new Slider("Min. Mana For W [{0}%]", 30, 0, 100));
                        Combo.Add("E.Mana", new Slider("Min. Mana For E [{0}%]", 30, 0, 100));
                        Combo.Add("R.Mana", new Slider("Min. Mana For R [{0}%]", 0, 0, 100));
                        Combo.AddGroupLabel("● Prediction Settings ●");
                        Combo.Add("Q.Hit", new ComboBox("HitChance For Q", 2, new[] { "Low", "Medium", "High" }));
                        Combo.Add("W.Hit", new ComboBox("HitChance For W", 2, new[] { "Low", "Medium", "High" }));
                        Combo.Add("R.Hit", new ComboBox("HitChance For R", 2, new[] { "Low", "Medium", "High" }));
                    }

                    Harass = Main.AddSubMenu("» Harass");
                    {
                        Harass.AddGroupLabel("● Harass Settings ●");
                        Harass.Add("Enabled", new CheckBox("Enabled", true));
                        Harass.AddLabel("Use On:");
                        foreach (var enemy in EntityManager.Heroes.Enemies)
                        {
                            Harass.Add(enemy.ChampionName, new CheckBox(enemy.ChampionName, true));
                        }
                        Harass.AddGroupLabel("● Spell Settings ●");
                        Harass.Add("Q.Use", new CheckBox("Use Q", true));
                        Harass.Add("W.Use", new CheckBox("Use W", false));
                        Harass.AddGroupLabel("● Mana Settings ●");
                        Harass.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 50, 0, 100));
                        Harass.Add("W.Mana", new Slider("Min. Mana For W [{0}%]", 75, 0, 100));
                        Harass.AddGroupLabel("● Prediction Settings ●");
                        Harass.Add("Q.Hit", new ComboBox("HitChance For Q", 2, new[] { "Low", "Medium", "High" }));
                        Harass.Add("W.Hit", new ComboBox("HitChance For W", 2, new[] { "Low", "Medium", "High" }));
                    }

                    AutoHarass = Main.AddSubMenu("» Auto Harass");
                    {
                        AutoHarass.AddGroupLabel("● Auto Harass Settings ●");
                        AutoHarass.Add("Enabled", new CheckBox("Enabled", true));
                        AutoHarass.Add("AutoHarass.Key", new KeyBind("Toggle Key", true, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange += (sender, args) =>
                        {
                            AutoHarass.Get <CheckBox>("Enabled").CurrentValue = args.NewValue;
                        };
                        AutoHarass.AddLabel("Use On:");
                        foreach (var enemy in EntityManager.Heroes.Enemies)
                        {
                            AutoHarass.Add(enemy.ChampionName, new CheckBox(enemy.ChampionName, true));
                        }
                        AutoHarass.AddGroupLabel("● Spell Settings ●");
                        AutoHarass.Add("Q.Use", new CheckBox("Use Q", true));
                        AutoHarass.AddGroupLabel("● Mana Settings ●");
                        AutoHarass.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 50, 0, 100));
                        AutoHarass.AddGroupLabel("● Prediction Settings ●");
                        AutoHarass.Add("Q.Hit", new ComboBox("HitChance For Q", 2, new[] { "Low", "Medium", "High" }));
                    }

                    LastHit = Main.AddSubMenu("» Last Hit");
                    {
                        LastHit.AddGroupLabel("● Last Hit Settings ●");
                        LastHit.Add("Enabled", new CheckBox("Enabled", true));
                        LastHit.Add("Mode", new ComboBox("Last Hit Mode", 1, new[] { "Use Always As Possible", "Use On Unkillable Minion" }));
                        LastHit.AddGroupLabel("● Spell Settings ●");
                        LastHit.Add("Q.Use", new CheckBox("Use Q", true));
                        LastHit.AddGroupLabel("● Mana Settings ●");
                        LastHit.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 50, 0, 100));
                    }

                    LaneClear = Main.AddSubMenu("» Lane Clear");
                    {
                        LaneClear.AddGroupLabel("● Lane Clear Settings ●");
                        LaneClear.Add("Enabled", new CheckBox("Enabled", true));
                        LaneClear.AddGroupLabel("● Spell Settings ●");
                        LaneClear.Add("Q.Use", new CheckBox("Use Q", true));
                        LaneClear.AddGroupLabel("● Mana Settings ●");
                        LaneClear.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 50, 0, 100));
                    }

                    JungleClear = Main.AddSubMenu("» Jungle Clear");
                    {
                        JungleClear.AddGroupLabel("● Jungle Clear Settings ●");
                        JungleClear.Add("Enabled", new CheckBox("Enabled", true));
                        JungleClear.AddGroupLabel("● Spell Settings ●");
                        JungleClear.Add("Q.Use", new CheckBox("Use Q", true));
                        JungleClear.AddGroupLabel("● Mana Settings ●");
                        JungleClear.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 50, 0, 100));
                    }

                    KS = Main.AddSubMenu("» Kill Steal");
                    {
                        KS.AddGroupLabel("● Kill Steal Settings ●");
                        KS.Add("Enabled", new CheckBox("Enabled", true));
                        KS.AddLabel("Use On:");
                        foreach (var enemy in EntityManager.Heroes.Enemies)
                        {
                            KS.Add(enemy.ChampionName, new CheckBox(enemy.ChampionName, true));
                        }
                        KS.AddGroupLabel("● Spell Settings ●");
                        KS.Add("Q.Use", new CheckBox("Use Q", true));
                        KS.Add("W.Use", new CheckBox("Use W", false));
                        KS.Add("R.Use", new CheckBox("Use R", true));
                        KS.AddGroupLabel("● Mana Settings ●");
                        KS.Add("Q.Mana", new Slider("Min. Mana For Q [{0}%]", 0, 0, 100));
                        KS.Add("W.Mana", new Slider("Min. Mana For W [{0}%]", 0, 0, 100));
                        KS.Add("R.Mana", new Slider("Min. Mana For R [{0}%]", 0, 0, 100));
                        KS.AddGroupLabel("● Prediction Settings ●");
                        KS.Add("Q.Hit", new ComboBox("HitChance For Q", 2, new[] { "Low", "Medium", "High" }));
                        KS.Add("W.Hit", new ComboBox("HitChance For W", 2, new[] { "Low", "Medium", "High" }));
                        KS.Add("R.Hit", new ComboBox("HitChance For R", 2, new[] { "Low", "Medium", "High" }));
                    }

                    Flee = Main.AddSubMenu("» Flee");
                    {
                        Flee.AddGroupLabel("● Flee Settings ●");
                        Flee.Add("Enabled", new CheckBox("Enabled", true));
                        Flee.AddGroupLabel("● Spell Settings ●");
                        Flee.Add("E.Use", new CheckBox("Use E", true));
                    }

                    Draw = Main.AddSubMenu("» Drawings");
                    {
                        Draw.AddGroupLabel("● Draw Settings ●");
                        Draw.Add("Q.Draw", new CheckBox("Draw Q Range", true));
                        Draw.Add("W.Draw", new CheckBox("Draw W Range", true));
                        Draw.Add("E.Draw", new CheckBox("Draw E Range", true));
                        Draw.Add("R.Draw", new CheckBox("Draw R Range", false));
                        Draw.Add("AutoHarass.Status", new CheckBox("Draw Auto Harass Status", true));
                        Draw.AddGroupLabel("● Damage Indicator Settings ●");
                        Draw.Add("DamageIndicator.Enabled", new CheckBox("Enabled", false));
                    }

                    Misc = Main.AddSubMenu("» Miscellaneous");
                    {
                        Misc.AddGroupLabel("● Skin Changer ●");
                        Misc.Add("SkinChanger.Enabled", new CheckBox("Enabled", true));
                        Misc.Add("SkinChanger.ID", new ComboBox("Select Skin", 0, new[] { "Classic", "Nottingham Ezreal", "Striker Ezreal", "Frosted Ezreal", "Explorer Ezreal", "Pulsefire Ezreal", "TPA Ezreal", "Debonair Ezreal", "Ace of Spades Ezreal", "Arcade Ezreal", "Amethyst Chroma", "Meteorite Chroma", "Obsidian Chroma", "Pearl Chroma", "Rose Quartz Chroma", "Ruby Chroma", "Sandstone Chroma", "Striped Chroma" }));
                        Misc.AddGroupLabel("● Anti Gapcloser ●");
                        Misc.Add("E.Gap", new CheckBox("Use E", true));
                        Misc.AddGroupLabel("● Tear Stack ●");
                        Misc.Add("Tear.Use", new CheckBox("Enabled", true));
                        Misc.Add("Tear.Mana", new Slider("Min. Mana For Tear Stacking [{0}%]", 80, 0, 100));
                    }
                }

                Logging.AddEntry(LoggingEntryType.Debug, "@Config.cs: Menu class initialized");
            }
            catch (Exception e)
            {
                Logging.AddEntry(LoggingEntryType.Error, "@Config.cs: Can't initialize menu - {0}", e);
                throw;
            }
        }
コード例 #18
0
ファイル: Program.cs プロジェクト: unrealirc/EloBuddy
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Kennen")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, 250, 1700, 50);
            W  = new Spell.Active(SpellSlot.W);
            E  = new Spell.Active(SpellSlot.E);
            _r = new Spell.Active(SpellSlot.R, 565);
            if (HasSpell("summonerdot"))
            {
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            _kennenMenu = MainMenu.AddMenu("BloodimirKennen", "bloodimirkennen");
            _kennenMenu.AddGroupLabel("Bloodimir.Kennen");
            _kennenMenu.AddSeparator();
            _kennenMenu.AddLabel("Bloodimir Kennen V1.0.1.0");

            ComboMenu = _kennenMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E "));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite "));
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 2, 0, 5));

            _drawMenu = _kennenMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Drawings");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Draw Q"));
            _drawMenu.Add("draww", new CheckBox("Draw W"));

            LaneJungleClear = _kennenMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = _kennenMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHW", new CheckBox("Use W"));

            _miscMenu = _kennenMenu.AddSubMenu("Misc Menu", "miscmenu");
            _miscMenu.AddGroupLabel("KS");
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("KS using Q"));
            _miscMenu.Add("ksw", new CheckBox("KS using W"));

            _skinMenu = _kennenMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = _skinMenu.Add("skinid", new Slider("Skin", 1, 0, 6));
            var skinid     = new[] { "Default", "Deadly", "Swamp Master", "Karate", "Doctor", "Arctic Ops, Blood Moon" };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
                if (_miscMenu["debug"].Cast <CheckBox>().CurrentValue)
                {
                    Chat.Print("skin-changed");
                }
            };
            Game.OnUpdate  += Tick;
            Drawing.OnDraw += OnDraw;
        }
コード例 #19
0
ファイル: Program.cs プロジェクト: tekintr/Elobuddy
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Annie")
            {
                return;
            }
            Bootstrap.Init(null);
            Q                = new Spell.Targeted(SpellSlot.Q, 625);
            W                = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Cone, 500, int.MaxValue, 80);
            _e               = new Spell.Active(SpellSlot.E);
            _r               = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 200, int.MaxValue, 251);
            _zhonia          = new Item((int)ItemId.Zhonyas_Hourglass);
            _abilitySequence = new[] { 1, 2, 1, 2, 3, 4, 1, 1, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
            _exhaust         = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);
            var flashSlot = Annie.GetSpellSlotFromName("summonerflash");

            _flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            _annieMenu = MainMenu.AddMenu("BloodimirAnnie", "bloodimirannie");
            _annieMenu.AddGroupLabel("Bloodimir.Annie");
            _annieMenu.AddSeparator();
            _annieMenu.AddLabel("Ceviri TekinTR V1.0.1.0");

            _comboMenu = _annieMenu.AddSubMenu("Combo", "sbtw");
            _comboMenu.AddGroupLabel("Combo Settings");
            _comboMenu.AddSeparator();
            _comboMenu.Add("usecomboq", new CheckBox("Kullan Q"));
            _comboMenu.Add("usecombow", new CheckBox("Kullan W"));
            _comboMenu.Add("usecomboe", new CheckBox("Kullan E "));
            _comboMenu.Add("usecombor", new CheckBox("Kullan R"));
            _comboMenu.Add("pilot", new CheckBox("Otomatik Yonet Tibbers"));
            _comboMenu.Add("comboOnlyExhaust", new CheckBox("Bitkinlik (Sadece Komboda)"));
            _comboMenu.AddSeparator();
            _comboMenu.Add("rslider", new Slider("Dusman sayisi R", 2, 0, 5));
            _comboMenu.AddSeparator();
            _comboMenu.Add("flashr", new KeyBind("Sicra R", false, KeyBind.BindTypes.HoldActive, 'Y'));
            _comboMenu.Add("flasher", new KeyBind("Ninja Sicra E+R", false, KeyBind.BindTypes.HoldActive, 'N'));
            _comboMenu.Add("waitAA", new CheckBox("Bitirmek icin AA bekle", false));

            _drawMenu = _annieMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Drawings");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Goster Q Menzili"));
            _drawMenu.Add("draww", new CheckBox("Goster W Menzili"));
            _drawMenu.Add("drawr", new CheckBox("Goster R Menzili"));
            _drawMenu.Add("drawaa", new CheckBox("Goster AA Menzili"));
            _drawMenu.Add("drawtf", new CheckBox("Goster Tibbers Sicra menzili"));

            LastHit = _annieMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Kullan Q"));
            LastHit.Add("PLHQ", new CheckBox("Stun varsa minyona Q kullanma"));

            LaneJungleClear = _annieMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Kullan Q"));
            LaneJungleClear.Add("LCW", new CheckBox("Kullan W"));
            LaneJungleClear.Add("PLCQ", new CheckBox("Stun varsa minyona Q kullanma"));

            _miscMenu = _annieMenu.AddSubMenu("Misc Menu", "miscmenu");
            _miscMenu.AddGroupLabel("MISC");
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("Q Kullan KS"));
            _miscMenu.Add("ksw", new CheckBox("W Kullan KS"));
            _miscMenu.Add("ksr", new CheckBox("R Kullan KS"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("estack", new CheckBox("Pasif Biriktir E", false));
            _miscMenu.Add("wstack", new CheckBox("Pasif Biriktir W ", false));
            _miscMenu.Add("useexhaust", new CheckBox("Bitkinlik Kullan"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                _miscMenu.Add(source.ChampionName + "exhaust",
                              new CheckBox("Exhaust " + source.ChampionName, false));
            }
            _miscMenu.AddSeparator();
            _miscMenu.Add("zhonias", new CheckBox("Zonya Kullan"));
            _miscMenu.Add("zhealth", new Slider("Oto zonya icin HP %", 8));
            _miscMenu.AddSeparator();
            _miscMenu.Add("gapclose", new CheckBox("Atilma yapana Oto stun"));
            _miscMenu.Add("eaa", new CheckBox("Oto E dusman AA'larina"));
            _miscMenu.Add("support", new CheckBox("Destek Modu", false));
            _miscMenu.Add("lvlup", new CheckBox("Otomatik Seviye atlat skill"));


            _skinMenu = _annieMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = _skinMenu.Add("skinid", new Slider("Skin", 8, 0, 9));
            var skinid     = new[]
            {
                "Default", "Goth", "Red Riding", "Annie in Wonderland", "Prom Queen", "Frostfire", "Franken Tibbers",
                "Reverse", "Panda", "Sweetheart"
            };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
            };
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnUpdate             += Tick;
            Drawing.OnDraw            += OnDraw;
            Gapcloser.OnGapcloser     += OnGapClose;
            Obj_AI_Base.OnBasicAttack += Auto_EOnBasicAttack;
            GameObject.OnCreate       += Obj_AI_Base_OnCreate;
            Orbwalker.OnPreAttack     += Support_Orbwalker;
            Core.DelayAction(Combo, 1);
            Core.DelayAction(TibbersFlash, 10);
        }
コード例 #20
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ryze")
            {
                return;
            }

            //Hacks.AntiAFK = true;
            Bootstrap.Init(null);

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1700, 100, DamageType.Magical);
            W = new Spell.Targeted(SpellSlot.W, 615, DamageType.Magical);
            E = new Spell.Targeted(SpellSlot.E, 615, DamageType.Magical);
            R = new Spell.Skillshot(SpellSlot.R, 1750, SkillShotType.Circular);

            menu = MainMenu.AddMenu("Unsigned Ryze", "UnsignedRyze");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("QU", new CheckBox("Use Q"));
            ComboMenu.Add("WU", new CheckBox("Use W"));
            ComboMenu.Add("EU", new CheckBox("Use E"));
            //ComboMenu.Add("RU", new CheckBox("Use R"));
            ComboMenu.Add("IU", new CheckBox("Use Items"));
            //ComboMenu.Add("IgU", new CheckBox("Use Ignite"));

            LaneClear = menu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCQ", new CheckBox("Use Q"));
            LaneClear.Add("LCE", new CheckBox("Use E"));

            Harass = menu.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Harass Settings");
            Harass.Add("HQ", new CheckBox("Use Q"));
            Harass.Add("HE", new CheckBox("Use E"));

            LastHit = menu.AddSubMenu("Last Hit", "lasthitmenu");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHE", new CheckBox("Use E"));

            Killsteal = menu.AddSubMenu("Killsteal", "killstealmenu");
            Killsteal.AddGroupLabel("Killsteal Settings");
            Killsteal.Add("KSER", new CheckBox("Activate Killsteal"));
            Killsteal.Add("KSQ", new CheckBox("Use Q"));
            Killsteal.Add("KSW", new CheckBox("Use W"));
            Killsteal.Add("KSE", new CheckBox("Use E"));
            Killsteal.Add("KSI", new CheckBox("Use Ignite"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DWE", new CheckBox("Draw W/E"));
            DrawingsMenu.Add("DR", new CheckBox("Draw R"));

            SettingsMenu = menu.AddSubMenu("Settings", "settingsmenu");
            SettingsMenu.AddGroupLabel("Settings");
            SettingsMenu.Add("SHM", new CheckBox("Auto-Use Mana and Health Potions"));
            SettingsMenu.Add("ST", new CheckBox("Stack Tear in Base"));

            SpellDataInst Sum1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            SpellDataInst Sum2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (Sum1.Name == "SummonerDot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if (Sum2.Name == "SummonerDot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Chat.Print(Sum1.Name);
            Chat.Print(Sum2.Name);
        }
コード例 #21
0
ファイル: Config.cs プロジェクト: freestyle1992/EB
        public static void CallMenu()
        {
            Cassop = MainMenu.AddMenu("Cassiopeia", "cass");
            Cassop.AddGroupLabel("Cassiopeia by mztikk");

            Combo = Cassop.AddSubMenu("Combo", "combo");
            Combo.AddGroupLabel("Options for Combo");
            Combo.Add("useQInCombo", new CheckBox("Use Q"));
            Combo.Add("useWInCombo", new CheckBox("Use W"));
            Combo.Add("useEInCombo", new CheckBox("Use E"));
            Combo.Add("useRInCombo", new CheckBox("Use R"));
            Combo.Add("comboEonP", new CheckBox("E only on poisoned"));
            Combo.Add("humanEInCombo", new CheckBox("Humanize E casts"));
            Combo.Add("comboWonlyCD", new CheckBox("W only on Q CD and no Poison"));
            Combo.Add("comboMinR", new Slider("Min enemis to hit for R", 3, 1, 5));
            Combo.Add("comboNoAA", new CheckBox("Disable AA on Heroes in Combo", false));
            Combo.AddGroupLabel("Options for Flash R Combo");
            Combo.Add("comboFlashR", new CheckBox("Flash R Combo on killable", false));
            Combo.Add("maxEnFlash", new Slider("Max enemies around target to Flash R", 2, 0, 4));

            Harass = Cassop.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Options for Harass");
            Harass.Add("useQInHarass", new CheckBox("Use Q"));
            Harass.Add("useWInHarass", new CheckBox("Use W", false));
            Harass.Add("useEInHarass", new CheckBox("Use E"));
            Harass.Add("harassEonP", new CheckBox("E only on poisoned"));
            Harass.Add("humanEInHarass", new CheckBox("Humanize E casts"));
            Harass.Add("harassWonlyCD", new CheckBox("W only on Q CD and no Poison"));
            Harass.Add("manaToHarass", new Slider("Min Mana % to Harass", 40));
            Harass.AddSeparator();
            Harass.AddGroupLabel("Options for Auto Harass");
            Harass.Add("autoQHarass", new CheckBox("Auto Q"));
            Harass.Add("autoWHarass", new CheckBox("Auto W", false));
            Harass.Add("autoEHarass", new CheckBox("Auto E", false));
            Harass.Add("autoHarassEonP", new CheckBox("E only on poisoned"));
            Harass.Add("humanEInAutoHarass", new CheckBox("Humanize E casts"));
            Harass.Add("dontAutoHarassInBush", new CheckBox("Dont Auto Harass in Bush"));
            Harass.Add("dontAutoHarassTower", new CheckBox("Dont Auto Harass under Tower"));
            Harass.Add("manaToAutoHarass", new Slider("Min Mana % to Auto Harass", 60));

            LaneClear = Cassop.AddSubMenu("LaneClear", "laneclear");
            LaneClear.AddGroupLabel("Options for LaneClear");
            LaneClear.Add("useQInLC", new CheckBox("Use Q", false));
            LaneClear.Add("useWInLC", new CheckBox("Use W"));
            LaneClear.Add("useEInLC", new CheckBox("Use E"));
            LaneClear.Add("laneEonP", new CheckBox("E only on poisoned"));
            LaneClear.Add("minQInLC", new Slider("Min Enemies to Hit for Q", 3, 1, 9));
            LaneClear.Add("minWInLC", new Slider("Min Enemies to Hit for W", 3, 1, 9));
            LaneClear.Add("useManaEInLC", new CheckBox("Use Mana Threshhold", false));
            LaneClear.Add("manaEInLC", new Slider("If Mana below this ignore poison for E LastHit", 30, 1));
            LaneClear.Add("manaToLC", new Slider("Min Mana % to LaneClear", 20));

            JungleClear = Cassop.AddSubMenu("JungleClear", "jungleclear");
            JungleClear.AddGroupLabel("Options for JungleClear");
            JungleClear.Add("useQInJC", new CheckBox("Use Q"));
            JungleClear.Add("useWInJC", new CheckBox("Use W"));
            JungleClear.Add("useEInJC", new CheckBox("Use E"));
            JungleClear.Add("jungEonP", new CheckBox("E only on poisoned"));
            JungleClear.Add("manaToJC", new Slider("Min Mana % to JungleClear", 10));

            LastHit = Cassop.AddSubMenu("LastHit", "lasthit");
            LastHit.AddGroupLabel("Options for LastHit");
            LastHit.Add("useEInLH", new CheckBox("Use E"));
            LastHit.Add("lastEonP", new CheckBox("E only on poisoned", false));

            Interrupter = Cassop.AddSubMenu("Interrupter", "Interrupter");
            Interrupter.AddGroupLabel("Options for Interrupter");
            Interrupter.Add("bInterrupt", new CheckBox("Interrupt spells with R"));
            Interrupter.Add("dangerL", new ComboBox("Min DangerLevel to interrupt", 2, "Low", "Medium", "High"));

            Gapclose = Cassop.AddSubMenu("Anti GapCloser", "AntiGapCloser");
            Gapclose.AddGroupLabel("Options for Anti GapClose");
            Gapclose.Add("qGapclose", new CheckBox("Anti GapClose with Q", false));

            // Gapclose.Add("wGapclose", new CheckBox("Anti GapClose with W"));
            Misc = Cassop.AddSubMenu("Misc", "misc");
            Misc.AddGroupLabel("Misc Options");
            Misc.Add("antiMissR", new CheckBox("Block R Casts if they miss/don't face"));
            Misc.Add("assistedR", new KeyBind("Assisted R", false, KeyBind.BindTypes.HoldActive, 'R'));
            Misc.Add(
                "eLastHit",
                new CheckBox("Use E to kill unkillable (AA)" + Environment.NewLine + "minions while LastHit"));
            Misc.Add("eKillSteal", new CheckBox("Use E to Killsteal"));
            Misc.Add("humanDelay", new Slider("Humanize", 30, 1, 500));
            Misc.AddSeparator(5);
            Misc.Add("clearE", new CheckBox("Automatically kill poisoned minions with E", false));
            Misc.Add("manaClearE", new Slider("Min Mana % to Auto E", 10));
            Misc.Add("tearStackQ", new CheckBox("Use Q to stack Tear passively", false));
            Misc.Add("manaTearStack", new Slider("Min Mana % to stack Tear", 50));
        }
コード例 #22
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Kennen")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, (int)250f, (int)1700f, (int)50f);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R, 565);

            KennenMenu = MainMenu.AddMenu("BloodimirKennen", "bloodimirkennen");
            KennenMenu.AddGroupLabel("Bloodimir.Kennen");
            KennenMenu.AddSeparator();
            KennenMenu.AddLabel("Bloodimir Kennen V1.0.0.0");

            ComboMenu = KennenMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E "));
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 2, 0, 5));

            DrawMenu = KennenMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));

            LaneJungleClear = KennenMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = KennenMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHW", new CheckBox("Use W"));

            MiscMenu = KennenMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("ksw", new CheckBox("KS using W"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));

            SkinMenu = KennenMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("skinid", new Slider("Skin", 1, 0, 5));
            var skinid     = new[] { "Default", "Deadly", "Swamp Master", "Karate", "Doctor", "Arctic Ops" };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
                if (MiscMenu["debug"].Cast <CheckBox>().CurrentValue)
                {
                    Chat.Print("skin-changed");
                }
            };
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnTick    += Tick;
            Drawing.OnDraw += OnDraw;
        }