コード例 #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
ファイル: MyMenu.cs プロジェクト: bananaraka/HesaEngine
        public static void Init()
        {
            menu = Menu.AddMenu("Azeryo'SINGED");

            Casual = menu.AddSubMenu("Default");
            Casual.AddSeparator("if no mod enabled");
            Casual.Add(new MenuCheckbox("Q", "Use 'smart' Q", true));
            Casual.Add(new MenuSlider("QMana", "min mana", 0, 100, 5));

            Combo = menu.AddSubMenu("Combo");
            Combo.Add(new MenuCheckbox("Q", "Use Q to poison").SetValue(true));
            Combo.Add(new MenuCheckbox("E", "Use 'smart' E").SetValue(true));
            Combo.Add(new MenuCheckbox("W", "Use 'smart' W").SetValue(true));
            Combo.Add(new MenuCheckbox("R", "Use 'smart' R").SetValue(true));

            LastHit = menu.AddSubMenu("LastHit");
            LastHit.Add(new MenuCheckbox("E", "Use 'smart' E").SetValue(true));
            LastHit.Add(new MenuCheckbox("Q", "Use 'smart' Q").SetValue(true));

            Harass = menu.AddSubMenu("Harass (E engage)");
            Harass.Add(new MenuCheckbox("Q", "Setup engages with 'smart' Q").SetValue(true));
            Harass.Add(new MenuSlider("QMana", "Min mana % to Q", 0, 100, 34));
            Harass.Add(new MenuCheckbox("E", "'smart' engages").SetValue(true));

            LaneClear = menu.AddSubMenu("LaneClear");
            LaneClear.Add(new MenuCheckbox("Q", "Use 'smart' Q").SetValue(true));
            LaneClear.Add(new MenuSlider("QMana", "Min mana% to Q", 0, 100, 38));

            KS = menu.AddSubMenu("KS");
            KS.Add(new MenuCheckbox("E", "Use E").SetValue(true));
            KS.Add(new MenuCheckbox("Q", "Use Q").SetValue(true));

            Singed.MyOrbwalker = new Orbwalker.OrbwalkerInstance(menu.AddSubMenu("Orbwalker"));
        }
コード例 #3
0
ファイル: MyChampion.cs プロジェクト: NoShurim/Buddys
        private static void Loading_OnComplete(EventArgs args)
        {
            if (Akali.Hero != Champion.Akali)
            {
                return;
            }
            Chat.Print("[Addon] [Champion] [Akali]", System.Drawing.Color.AliceBlue);

            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W, 275);
            E = new Spell.Active(SpellSlot.E, 300);
            R = new Spell.Targeted(SpellSlot.R, 700);
            //Comands

            //Events
            Orbwalker.OnPostAttack += OnPostAttack;
            Gapcloser.OnGapcloser  += OnGapcloser;
            Drawing.OnDraw         += OnDrawings;
            Game.OnTick            += Game_OnTick;

            Aka = MainMenu.AddMenu("Akali", "Akali");
            //Combo
            Combo = Aka.AddSubMenu("Combo");
            Combo.Add("Qc", new CheckBox("Use [Q] Combo"));
            Combo.Add("Wc", new CheckBox("Use [W] Combo"));
            Combo.Add("Ec", new CheckBox("Use [E] Combo"));
            Combo.Add("Rc", new CheckBox("Use [R] Combo"));
            //Harass
            Harass = Aka.AddSubMenu("Harass");
            Harass.Add("Hq", new CheckBox("Use [Q] Harass"));
            //LaneClear
            LaneClear = Aka.AddSubMenu("LaneClear");
            LaneClear.Add("Ql", new CheckBox("Use [Q] LaneClear"));
            LaneClear.Add("El", new CheckBox("Use [E] LaneClear"));
            LaneClear.AddSeparator();
            LaneClear.AddLabel("[Percent Mana]");
            LaneClear.Add("mana", new Slider("Percent Mana > %", 25, 0, 100));
            //LastHit
            LastHit = Aka.AddSubMenu("LastHit");
            LastHit.Add("Qlast", new CheckBox("Use [Q] LastHit"));
            //JungleClear
            JungleClear = Aka.AddSubMenu("JungleClear");
            JungleClear.Add("Qj", new CheckBox("Use [Q] Jungle"));
            JungleClear.Add("Ej", new CheckBox("Use [E] Jungle"));
            JungleClear.AddSeparator();
            JungleClear.AddLabel("[Percent Mana]");
            JungleClear.Add("manaj", new Slider("Percent Mana > % ", 25, 0, 100));
            //Misc
            Misc = Aka.AddSubMenu("Misc");
            Misc.Add("Rgap", new CheckBox("Use [R] GapClose"));
            Misc.Add("Fw", new CheckBox("Use Flee [W]"));
            Misc.Add("It", new CheckBox("Use Items"));
            //Draws
            Draws = Aka.AddSubMenu("Drawings");
            Draws.Add("Dq", new CheckBox("[Q] Draw"));
            Draws.Add("Dw", new CheckBox("[W] Draw", false));
            Draws.Add("De", new CheckBox("[E] Draw", false));
            Draws.Add("Dr", new CheckBox("[R] Draw"));
        }
コード例 #4
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Gapcloser.OnGapcloser += AntiGapCloser;
            Game.OnTick        += Game_OnTick;
            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Drawing_OnEndScene;
            Q = new Spell.Chargeable(SpellSlot.Q, 1000, 1600, 1300, 0, 1900, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1500, 235)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1250, SkillShotType.Linear, 250, 1950, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };
            if (User.ChampionName != "Varus")
            {
                return;
            }
            //Declaring


            //Drawings
            VarusMenu = MainMenu.AddMenu("Mighty Varus", "Mighty Varus");
            comboMenu = VarusMenu.AddSubMenu("Combo");
            comboMenu.Add("Q", new CheckBox("Use Q"));
            comboMenu.Add("E", new CheckBox("Use E"));
            comboMenu.Add("R", new CheckBox("Use R in combo"));
            comboMenu.Add("Rtargets", new Slider("R targets ", 1, 1, 5));
            //miscMenu.Add("Rgapclose", new CheckBox("R Anti-gapcloser"));
            //miscMenu.AddGroupLabel("E");
            //miscMenu.Add("Egapclose", new CheckBox("E Anti-gapcloser"));
            waveClear = VarusMenu.AddSubMenu("Wave Clear");
            waveClear.Add("Qwc", new CheckBox("Use Q"));
            waveClear.Add("Ewc", new CheckBox("Use E"));
            waveClear.Add("manawc", new Slider("Mana manager", 0));
            LastHit = VarusMenu.AddSubMenu("Last hit");
            LastHit.Add("Qlh", new CheckBox("Use Q to Last hit"));
            LastHit.Add("Elh", new CheckBox("Use E to Last hit"));
            LastHit.Add("manalh", new Slider("Mana manager", 0));
            harass = VarusMenu.AddSubMenu("Harass hit");
            harass.Add("QHarass", new CheckBox("Use Q to Harass"));
            harass.Add("QAuto", new CheckBox("Auto Q harass", false));
            harass.Add("EHarass", new CheckBox("Use E to Harass"));
            harass.Add("manaharass", new Slider("Mana manager", 0));
            Drawings = VarusMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("QDraw", new CheckBox("Draw Q Range (green)"));
            Drawings.Add("EDraw", new CheckBox("Draw E Range"));
            Drawings.Add("RDraw", new CheckBox("Draw R Range"));
        }
コード例 #5
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];
            };
        }
コード例 #6
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Declaring
            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            A = new Spell.Skillshot(SpellSlot.Q, 1000, skillShotType: SkillShotType.Linear, castDelay: 250, spellSpeed: 1550, spellWidth: 75);
            Z = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (User.ChampionName != "Olaf")
            {
                return;
            }
            //Declaring


            //Drawings
            olafMenu  = MainMenu.AddMenu("Leeched Olaf", "Leeched Olaf");
            comboMenu = olafMenu.AddSubMenu("Combo");
            comboMenu.Add("A", new CheckBox("Use Q"));
            comboMenu.Add("Z", new CheckBox("Use W"));
            comboMenu.Add("E", new CheckBox("Use E"));
            waveClear = olafMenu.AddSubMenu("Wave Clear / Jungle Clear");
            waveClear.Add("Awc", new CheckBox("Use Q"));
            waveClear.Add("Wwc", new CheckBox("Use W"));
            waveClear.Add("Ewc", new CheckBox("Use E"));
            waveClear.Add("manawc", new Slider("Mana manager", 0));
            LastHit = olafMenu.AddSubMenu("Last hit");
            LastHit.Add("Alh", new CheckBox("Use Q to Last hit"));
            LastHit.Add("Elh", new CheckBox("Use E to Last hit"));
            LastHit.Add("manalh", new Slider("Mana manager", 0));
            harass = olafMenu.AddSubMenu("Harass hit");
            harass.Add("AHarass", new CheckBox("Use Q to Harass"));
            harass.Add("EHarass", new CheckBox("Use E to Harass"));
            harass.Add("manaharass", new Slider("Mana manager", 0));
            Flee = olafMenu.AddSubMenu("Flee");
            Flee.Add("Aflee", new CheckBox("Use Q to Flee"));
            Flee.Add("Rflee", new CheckBox("Use R to Flee (Cast when under CC)"));
            Flee.Add("HPflee", new Slider("Use R when under XX HP", 15));
            Drawings = olafMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("QDraw", new CheckBox("Draw Q Range"));
            Drawings.Add("EDraw", new CheckBox("Draw E Range", false));
            Drawings.Add("Axepos", new CheckBox("Draw Axe position"));

            Chat.Print("Leeched Olaf loaded successfully");
        }
コード例 #7
0
        public static void Init()
        {
            menu = Menu.AddMenu("Azeryo'Trynda");

            Perma = menu.AddSubMenu("Perma");
            Perma.Add(new MenuCheckbox("R", "Use R", true));
            Perma.Add(new MenuCheckbox("Q", "Use Q", true));

            Combo = menu.AddSubMenu("Combo");
            Combo.Add(new MenuCheckbox("E", "Use E").SetValue(true));
            Combo.Add(new MenuCheckbox("W", "Use W").SetValue(true));

            LastHit = menu.AddSubMenu("LastHit");
            LastHit.Add(new MenuCheckbox("E", "Use E").SetValue(true));

            LaneClear = menu.AddSubMenu("LaneClear");
            LaneClear.Add(new MenuCheckbox("E", "Use E").SetValue(true));

            KS = menu.AddSubMenu("KS");
            KS.Add(new MenuCheckbox("E", "Use E").SetValue(true));
        }
コード例 #8
0
        public static void CreateMenus()
        {
            menu = Menu.AddMenu("Azeryo'Cassio");

            Combo = menu.AddSubMenu("Combo");
            Combo.Add(new MenuCheckbox("Q", "Use Q to poison").SetValue(true));
            Combo.Add(new MenuSlider("Qmana", "Min mana percent to cast Q", 0, 100, 12));
            Combo.Add(new MenuCheckbox("W", "Use W if Q miss").SetValue(true));
            Combo.Add(new MenuCheckbox("E", "Use E").SetValue(true));
            Combo.Add(new MenuCheckbox("E", "Use E only if poisonned").SetValue(true));
            Combo.Add(new MenuCheckbox("R", "Use R").SetValue(true));
            Combo.Add(new MenuSlider("Rsensi", "Ultimate Sensibility in teamfight, recommended between 40 : (~1/2 enemies facing) to 80 : (~1/4 enemies facing)", 0, 100, 50));
            if (MySpells.Ignite != null)
            {
                Combo.Add(new MenuCheckbox("Ignite", "Use Ignite").SetValue(true));
            }

            LastHit = menu.AddSubMenu("LastHit");
            LastHit.Add(new MenuCheckbox("E", "Use E if minion is killable").SetValue(true));

            Harass = menu.AddSubMenu("Harass");
            Harass.Add(new MenuCheckbox("Q", "Poke with Q").SetValue(true));
            Harass.Add(new MenuSlider("QMana", "Min mana % to Q", 0, 100, 34));
            Harass.Add(new MenuCheckbox("E", "Follow up with E if poisonned").SetValue(true));

            LaneClear = menu.AddSubMenu("LaneClear");
            LaneClear.Add(new MenuCheckbox("Q", "Use Q ( champ first )").SetValue(true));
            LaneClear.Add(new MenuSlider("QMana", "Min mana% to Q", 0, 100, 59));
            LaneClear.Add(new MenuCheckbox("E", "Use E").SetValue(true));
            LaneClear.Add(new MenuCheckbox("Ep", "Use E only if poisonned").SetValue(true));
            LaneClear.Add(new MenuSlider("EMana", "Min mana% to E", 0, 100, 40));

            KS = menu.AddSubMenu("KS");
            KS.Add(new MenuCheckbox("E", "Use E").SetValue(true));
            KS.Add(new MenuCheckbox("Q", "Use Q").SetValue(true));
        }
コード例 #9
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));
        }
コード例 #10
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));
        }
コード例 #11
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;
        }
コード例 #12
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);
                        }
                    }
                    ;
                }
                ;
            };
        }
コード例 #13
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;
        }
コード例 #14
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;
        }
コード例 #15
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);
        }
コード例 #16
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;
            }
        }
コード例 #17
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;
        }
コード例 #18
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;
        }
コード例 #19
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;
        }
コード例 #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
ファイル: Program.cs プロジェクト: ncmp/L-
        private static void SetupMenu()
        {
            MainMenu = new Menu("TRUStInMyViktor", "TRUStInMyViktor", true).Attach();

            // Combo
            ComboMenu = MainMenu.Add(new Menu("Combo", "Combo"));
            ComboMenu.Add(new MenuBool("comboUseQ", "Use Q", true));
            ComboMenu.Add(new MenuBool("comboUseW", "Use W", true));
            ComboMenu.Add(new MenuBool("comboUseE", "Use E", true));
            ComboMenu.Add(new MenuBool("comboUseR", "Use R", true));
            ComboMenu.Add(new MenuBool("qAuto", "Dont autoattack without passive"));
            ComboMenu.Add(new MenuKeyBind("comboActive", "Combo key", System.Windows.Forms.Keys.Space, KeyBindType.Press));

            RMenu = MainMenu.Add(new Menu("RMenu", "R config"));
            RMenu.Add(new MenuList <string>("HitR", "Auto R if: ", new[] { "1 target", "2 targets", "3 targets", "4 targets", "5 targets" }));
            RMenu.Add(new MenuBool("AutoFollowR", "Auto Follow R"));
            RMenu.Add(new MenuSlider("rTicks", "Ultimate ticks to count", 2, 1, 14));


            RSolo = RMenu.Add(new Menu("RSolo", "R one target"));
            RSolo.Add(new MenuKeyBind("forceR", "Force R on target", System.Windows.Forms.Keys.T, KeyBindType.Press));
            RSolo.Add(new MenuBool("rLastHit", "1 target ulti"));

            foreach (var hero in GameObjects.EnemyHeroes)
            {
                RSolo.Add(new MenuBool("RU" + hero.ChampionName, "Use R on: " + hero.ChampionName));
            }

            TestFeatures = MainMenu.Add(new Menu("TestF", "Test features"));
            TestFeatures.Add(new MenuBool("spPriority", "Prioritize kill over dmg"));



            // Harass
            HarassMenu = MainMenu.Add(new Menu("Harass", "Harass"));
            HarassMenu.Add(new MenuBool("harassUseQ", "Use Q", true));
            HarassMenu.Add(new MenuBool("harassUseE", "Use E", true));
            HarassMenu.Add(new MenuSlider("harassMana", "Mana usage in percent (%)", 30));
            HarassMenu.Add(new MenuSlider("eDistance", "Harass range with E", maxRangeE, rangeE, maxRangeE));
            HarassMenu.Add(new MenuKeyBind("harassActive", "Harass active", System.Windows.Forms.Keys.C, KeyBindType.Press));


            // WaveClear
            WaveClear = MainMenu.Add(new Menu("WaveClear", "WaveClear"));
            WaveClear.Add(new MenuBool("waveUseQ", "Use Q", true));
            WaveClear.Add(new MenuBool("waveUseE", "Use E", true));
            WaveClear.Add(new MenuSlider("waveNumE", "Minions to hit with E", 2, 1, 10));
            WaveClear.Add(new MenuSlider("waveMana", "Mana usage in percent (%)", 30));

            WaveClear.Add(new MenuKeyBind("waveActive", "WaveClear active", System.Windows.Forms.Keys.G, KeyBindType.Press));
            WaveClear.Add(new MenuKeyBind("jungleActive", "JungleClear active", System.Windows.Forms.Keys.G, KeyBindType.Press));


            // LastHit
            LastHit = MainMenu.Add(new Menu("LastHit", "LastHit"));
            LastHit.Add(new MenuKeyBind("waveUseQLH", "Use Q", System.Windows.Forms.Keys.A, KeyBindType.Press));

            // Flee
            FleeMenu = MainMenu.Add(new Menu("Flee", "Flee"));
            FleeMenu.Add(new MenuKeyBind("FleeActive", "Flee mode", System.Windows.Forms.Keys.Z, KeyBindType.Press));

            // Misc
            MiscMenu = MainMenu.Add(new Menu("Misc", "Misc"));
            MiscMenu.Add(new MenuBool("rInterrupt", "Use R to interrupt dangerous spells", true));
            MiscMenu.Add(new MenuBool("wInterrupt", "Use W to interrupt dangerous spells", true));
            MiscMenu.Add(new MenuBool("autoW", "Use W to continue CC", true));
            MiscMenu.Add(new MenuBool("miscGapcloser", "Use W against gapclosers", true));


            // Drawings
            DrawMenu = MainMenu.Add(new Menu("Drawings", "Drawings"));

            DrawMenu.Add(new MenuBool("drawRangeQ", "Q range", true));
            DrawMenu.Add(new MenuColor("QRangeC", "Q range", SharpDX.ColorBGRA.FromRgba(0xBF3F3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeW", "W range", true));
            DrawMenu.Add(new MenuColor("WRangeC", "W range", SharpDX.ColorBGRA.FromRgba(0xBFBF3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeE", "E range", true));
            DrawMenu.Add(new MenuColor("ERangeC", "E range", SharpDX.ColorBGRA.FromRgba(0x3FBFBFFF)));
            DrawMenu.Add(new MenuBool("drawRangeEMax", "E max range", true));
            DrawMenu.Add(new MenuColor("ERangeC2", "E max range", SharpDX.ColorBGRA.FromRgba(0xBF7F3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeR", "R range", true));
            DrawMenu.Add(new MenuColor("RRangeC", "R range", SharpDX.ColorBGRA.FromRgba(0xBF3FBFFF)));
            DrawMenu.Add(new MenuBool("dmgdraw", "Draw dmg on healthbar"));
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);
        }
コード例 #22
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;
        }
コード例 #23
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);
        }
コード例 #24
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;
        }
コード例 #25
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;
        }
コード例 #26
0
ファイル: Veigar.cs プロジェクト: geramz/PortAIO
        private void Menu()
        {
            try
            {
                menu  = MainMenu.AddMenu("FreshBooster", "VEIGAERSASD");
                Combo = menu.AddSubMenu("Combo", "Combo");
                Combo.Add("Veigar_CUseQ", new CheckBox("Use Q"));
                Combo.Add("Veigar_CUseW", new CheckBox("Use W"));
                Combo.Add("Veigar_CUseE", new CheckBox("Use E"));
                Combo.Add("Veigar_CEMode", new ComboBox("E Mode", 0, "Cast at targ pos", "Edge Stun"));
                Combo.Add("Veigar_CUseR", new CheckBox("Use R"));
                Combo.Add("Veigar_CUseR_Select", new CheckBox("When can be Kill, Only use R"));
                //Combo.Add("buffer", new Slider("Buffer", 5, 0, 25));
                Combo.AddLabel("1 : Out of Range");
                Combo.AddLabel("2 : Impossible");
                Combo.AddLabel("3 : Low");
                Combo.AddLabel("4 : Medium");
                Combo.AddLabel("5 : High");
                Combo.AddLabel("6 : Very High");
                Combo.Add("Veigar_CUseQ_Hit", new Slider("Q HitChance", 3, 1, 6));

                Harass = menu.AddSubMenu("Harass", "Harass");
                Harass.Add("Veigar_HUseQ", new CheckBox("Use Q"));
                Harass.Add("Veigar_HUseW", new CheckBox("Use W - When target can't only move"));
                Harass.Add("Veigar_HUseE", new CheckBox("Use E - When target can't only move"));
                Harass.Add("Veigar_HManarate", new Slider("Mana %", 20));
                Harass.Add("Veigar_AutoHUseQ", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'T'));

                LastHit = menu.AddSubMenu("Last Hit", "Last Hit");
                LastHit.Add("Veigar_LHUseQ", new CheckBox("Use Q to Kill Minion"));

                LaneClear = menu.AddSubMenu("LaneClear", "LaneClear");
                LaneClear.Add("Veigar_LUseQ", new CheckBox("Use Q"));
                LaneClear.Add("Veigar_LUseQSet", new CheckBox("Use Q Only use lasthit to minion"));
                LaneClear.Add("Veigar_LManarate", new Slider("Mana %", 20));

                JungleClear = menu.AddSubMenu("JungleClear", "JungleClear");
                JungleClear.Add("Veigar_JUseQ", new CheckBox("Use Q"));
                JungleClear.Add("Veigar_JUseQSet", new CheckBox("Use Q Only use lasthit to minion"));
                JungleClear.Add("Veigar_JManarate", new Slider("Mana %", 20));

                KillSteal = menu.AddSubMenu("KillSteal", "KillSteal");
                KillSteal.Add("Veigar_KseQ", new CheckBox("Use Q"));
                KillSteal.Add("Veigar_KseW", new CheckBox("Use W"));
                KillSteal.Add("Veigar_KseR", new CheckBox("Use R"));

                Misc = menu.AddSubMenu("Misc", "Misc");
                Misc.Add("Veigar_LowerQ", new Slider("Lower Q Damage on Clearing : ", 25, 0, 100));
                Misc.Add("Veigar_Anti-GapCloser", new CheckBox("Anti GapCloser"));
                Misc.Add("Veigar_Interrupt", new CheckBox("E with Interrupt"));

                Draw = menu.AddSubMenu("Draw", "Draw");
                Draw.Add("Veigar_Draw_Q", new CheckBox("Draw Q", false));
                Draw.Add("Veigar_Draw_W", new CheckBox("Draw W", false));
                Draw.Add("Veigar_Draw_E", new CheckBox("Draw E", false));
                Draw.Add("Veigar_Draw_R", new CheckBox("Draw R", false));
            }
            catch (Exception)
            {
                if (NowTime() > ErrorTime)
                {
                    Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02");
                    ErrorTime = TickCount(10000);
                }
            }
        }
コード例 #27
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));
        }
コード例 #28
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;
        }