Esempio n. 1
0
        public void InitMenu()
        {
            Menu = MainMenu.AddMenu(GCharname, GCharname);

            Menu.AddLabel("Version: " + GVersion);
            Menu.AddSeparator();
            Menu.AddLabel("By MrArticuno");

            DrawMenu = Menu.AddSubMenu("Draw - " + GCharname, GCharname + "Draw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.Add("drawReady", new CheckBox("Draw Only If The Spells Are Ready.", false));
            DrawMenu.Add("drawDisable", new CheckBox("Turn off all drawings"));
            DrawMenu.AddSeparator();
            //Q
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.AddColorItem("colorQ");
            DrawMenu.AddWidthItem("widthQ");
            //W
            DrawMenu.Add("drawW", new CheckBox("Draw W"));
            DrawMenu.AddColorItem("colorW");
            DrawMenu.AddWidthItem("widthW");
            //E
            DrawMenu.Add("drawE", new CheckBox("Draw E"));
            DrawMenu.AddColorItem("colorE");
            DrawMenu.AddWidthItem("widthE");
            //R
            DrawMenu.Add("drawR", new CheckBox("Draw R"));
            DrawMenu.AddColorItem("colorR");
            DrawMenu.AddWidthItem("widthR");

            ComboMenu = Menu.AddSubMenu("Combo - " + GCharname, GCharname + "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("comboQ", new CheckBox("Use Q", true));
            ComboMenu.Add("comboW", new CheckBox("Use W", true));
            ComboMenu.Add("comboE", new CheckBox("Use E", true));
            ComboMenu.Add("comboR", new CheckBox("Use R", true));
            ComboMenu.AddGroupLabel("Combo Misc");
            ComboMenu.Add("castWifQnotLand", new CheckBox("Use W if Q not land", true));
            ComboMenu.Add("disableAA", new CheckBox("Disable AA while combo", false));
            ComboMenu.AddLabel("This option overrides min enemies for R");
            ComboMenu.Add("flashCombo", new CheckBox("Flash R Combo if Killable", false));
            ComboMenu.Add("rsMinEnemiesForR", new Slider("Min Enemies Facing for cast R: ", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass - " + GCharname, GCharname + "Harass");
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("hsQ", new CheckBox("Use Q", true));
            HarassMenu.Add("hsW", new CheckBox("Use W", true));
            HarassMenu.Add("hsE", new CheckBox("Use E", true));
            HarassMenu.AddGroupLabel("Harass Misc");
            HarassMenu.Add("disableAAHS", new CheckBox("Disable AA while harass", false));
            HarassMenu.Add("hsPE", new CheckBox("Only E if poisoned", true));

            LaneClearMenu = Menu.AddSubMenu("Lane Clear - " + GCharname, GCharname + "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear");
            LaneClearMenu.Add("lcQ", new CheckBox("Use Q", true));
            LaneClearMenu.Add("lcW", new CheckBox("Use W", true));
            LaneClearMenu.Add("lcE", new CheckBox("Use E", true));
            LaneClearMenu.Add("lcKE", new CheckBox("Only E if killable", false));
            LaneClearMenu.Add("lcPE", new CheckBox("Only E if poisoned", true));

            LastHitMenu = Menu.AddSubMenu("Last Hit - " + GCharname, GCharname + "LastHit");
            LastHitMenu.AddGroupLabel("Last Hit");
            LastHitMenu.Add("lhQ", new CheckBox("Use Q", true));
            LastHitMenu.Add("lhW", new CheckBox("Use W", true));
            LastHitMenu.Add("lhE", new CheckBox("Use E", true));

            JungleClearMenu = Menu.AddSubMenu("Jungle Clear - " + GCharname, GCharname + "JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear");
            JungleClearMenu.Add("jcQ", new CheckBox("Use Q", true));
            JungleClearMenu.Add("jcW", new CheckBox("Use W", true));
            JungleClearMenu.Add("jcE", new CheckBox("Use E", true));
            JungleClearMenu.Add("jcKE", new CheckBox("Only E if killable", false));
            JungleClearMenu.Add("jcPE", new CheckBox("Only E if poisoned", true));


            MiscMenu = Menu.AddSubMenu("Misc - " + GCharname, GCharname + "Misc");
            MiscMenu.Add("skin", new Slider("Skin Changer: ", 1, 1, 5));
            MiscMenu.Add("poisonForE", new CheckBox("Only Cast E in Poisoned targets", true));
            MiscMenu.Add("miscDelayE", new Slider("Delay E Cast by: ", 150, 0, 500));
            MiscMenu.Add("ksOn", new CheckBox("Try to KS", true));
            MiscMenu.Add("miscAntiGapW", new CheckBox("Anti Gap Closer W", true));
            MiscMenu.Add("miscAntiGapR", new CheckBox("Anti Gap Closer R", true));
            MiscMenu.Add("miscAntiMissR", new CheckBox("Block R if Miss", true));
            MiscMenu.Add("miscMinHpAntiGap", new Slider("Min HP to Anti Gap Closer R: ", 40, 0, 100));
            MiscMenu.Add("miscInterruptDangerous", new CheckBox("Interrupt Dangerous Spells", true));
        }
Esempio n. 2
0
        /// <summary>
        /// Creates the Menu
        /// </summary>
        public static void Initialize()
        {
            ConfigMenu = MainMenu.AddMenu("LelBlanc", "LelBlanc");
            ConfigMenu.AddGroupLabel("Bu eklenti KarmaPanda tarafından yapıldı ve TekinTR tarafindan Turkce yapildi.");
            ConfigMenu.AddGroupLabel("Yetkisi olmayan izinsiz yeniden dağıtım, ciddi sonuçlar doğuracaktır.");
            ConfigMenu.AddGroupLabel("Bu eklentiyi kullandığınız ve eğlendiğiniz için tesekkür ederiz!");

            ComboMenu = ConfigMenu.AddSubMenu("Combo Menu", "cMenu");
            ComboMenu.AddLabel("Spell Settings");
            ComboMenu.Add("useQ", new CheckBox("Kullan Q"));
            ComboMenu.Add("useW", new CheckBox("Kullan W"));
            ComboMenu.Add("useReturn", new CheckBox("Kullan W Dönüs"));
            ComboMenu.Add("useE", new CheckBox("Kullan E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useQR", new CheckBox("Kullan QR"));
            ComboMenu.Add("useWR", new CheckBox("Kullan WR", false));
            ComboMenu.Add("useReturn2", new CheckBox("Kullan WR Dönüs", false));
            ComboMenu.Add("useER", new CheckBox("Kullan ER", false));
            ComboMenu.AddLabel("Extra Settings");
            ComboMenu.Add("mode", new ComboBox("Kombo Modu", 2, LogicModes));
            ComboMenu.AddLabel("Burst Logic Settings");
            ComboMenu.Add("minRange", new CheckBox("Kullan Q -> R sadece W menzilinde", false));

            HarassMenu = ConfigMenu.AddSubMenu("Harass Menu", "hMenu");
            HarassMenu.AddLabel("Spell Settings");
            HarassMenu.Add("useQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("useW", new CheckBox("Kullan W"));
            HarassMenu.Add("useReturn", new CheckBox("Kullan W Dönüs"));
            HarassMenu.Add("useE", new CheckBox("Kullan E"));
            HarassMenu.AddLabel("R Settings");
            HarassMenu.Add("useQR", new CheckBox("Kullan QR"));
            HarassMenu.Add("useWR", new CheckBox("Kullan WR", false));
            HarassMenu.Add("useReturn2", new CheckBox("Kullan WR Dönüs"));
            HarassMenu.Add("useER", new CheckBox("Kullan ER", false));
            HarassMenu.AddLabel("Extra Settings");
            HarassMenu.Add("mode", new ComboBox("Dürtme Modu", 1, LogicModes));
            HarassMenu.AddLabel("Burst Logic Settings");
            HarassMenu.Add("minRange", new CheckBox("Kullan Q -> R sadece W menzilinde", false));

            LaneClearMenu = ConfigMenu.AddSubMenu("Laneclear Menu", "lcMenu");
            LaneClearMenu.AddLabel("Spell Settings");
            LaneClearMenu.Add("useQ", new CheckBox("Kullan Q"));
            LaneClearMenu.Add("useW", new CheckBox("Kullan W"));
            LaneClearMenu.Add("sliderQ", new Slider("Kullan Q ölücekse {0} Minyon", 3, 1, 5));
            LaneClearMenu.Add("sliderW", new Slider("Kullan W ölücekse {0} Minyon", 3, 1, 5));

            /*JungleClearMenu = ConfigMenu.AddSubMenu("Jungleclear Menu", "jcMenu");
             * JungleClearMenu.AddLabel("Spell Settings");
             * JungleClearMenu.Add("useQ", new CheckBox("Use Q"));
             * JungleClearMenu.Add("useW", new CheckBox("Use W"));
             * JungleClearMenu.Add("useE", new CheckBox("Use E"));
             * JungleClearMenu.Add("sliderW", new Slider("Use W if Hit {0} Minions", 3, 1, 5));
             * JungleClearMenu.AddLabel("R Settings");
             * JungleClearMenu.Add("useQR", new CheckBox("Use QR"));
             * JungleClearMenu.Add("useWR", new CheckBox("Use WR"));
             * JungleClearMenu.Add("useER", new CheckBox("Use ER"));
             * JungleClearMenu.Add("sliderWR", new Slider("Use WR if Hit {0} Minions", 5, 1, 5));*/

            KillStealMenu = ConfigMenu.AddSubMenu("Killsteal Menu", "ksMenu");
            KillStealMenu.AddLabel("Spell Settings");
            KillStealMenu.Add("useQ", new CheckBox("Kullan Q"));
            KillStealMenu.Add("useW", new CheckBox("Kullan W"));
            KillStealMenu.Add("useReturn", new CheckBox("Kullan W Dönüs"));
            KillStealMenu.Add("useE", new CheckBox("Kullan E"));
            KillStealMenu.AddLabel("R Settings");
            KillStealMenu.Add("useQR", new CheckBox("Kullan QR"));
            KillStealMenu.Add("useWR", new CheckBox("Kullan WR"));
            KillStealMenu.Add("useReturn2", new CheckBox("Kullan WR Dönüs"));
            KillStealMenu.Add("useER", new CheckBox("Kullan ER"));
            KillStealMenu.AddLabel("Misc Settings");
            KillStealMenu.Add("useIgnite", new CheckBox("Kullan Tutustur"));
            KillStealMenu.Add("usePrediction", new CheckBox("Kullan Can tahmini", false));
            KillStealMenu.Add("toggle", new CheckBox("Öldürme sekli aktif"));

            DrawingMenu = ConfigMenu.AddSubMenu("Drawing Menu", "dMenu");
            DrawingMenu.AddLabel("Range Drawings");
            DrawingMenu.Add("drawQ", new CheckBox("Goster Q Menzili", false));
            DrawingMenu.Add("drawW", new CheckBox("Goster W Menzili", false));
            DrawingMenu.Add("drawE", new CheckBox("Goster E Menzili", false));
            DrawingMenu.AddLabel("DamageIndicator");
            DrawingMenu.Add("draw.Damage", new CheckBox("Goster Hasarimi"));
            DrawingMenu.Add("draw.Q", new CheckBox("Hesapla Q Hasarimi"));
            DrawingMenu.Add("draw.W", new CheckBox("Hesapla W Hasarimi"));
            DrawingMenu.Add("draw.E", new CheckBox("Hesapla E Hasarimi"));
            DrawingMenu.Add("draw.R", new CheckBox("Hesapla R Hasarimi"));
            DrawingMenu.Add("draw.Ignite", new CheckBox("Hesapla Tutustur Hasarimi"));

            MiscMenu = ConfigMenu.AddSubMenu("Misc Menu", "mMenu");
            MiscMenu.AddLabel("Miscellaneous");
            MiscMenu.Add("pet", new CheckBox("Klonu otomatik yürüt."));
        }
Esempio n. 3
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Yasuo)
            {
                return;
            }

            Menu = MainMenu.AddMenu("YasuoBuddy", "yasuobuddyfluxy");

            ComboMenu = Menu.AddSubMenu("Combo", "yasuCombo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("combo.Q", new CheckBox("Use Q"));
            ComboMenu.Add("combo.E", new CheckBox("Use E"));
            ComboMenu.Add("combo.stack", new CheckBox("Stack Q"));
            ComboMenu.Add("combo.leftclickRape", new CheckBox("Left Click Rape"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("combo.R", new CheckBox("Use R"));
            ComboMenu.Add("combo.RTarget", new CheckBox("Use R always on Selected Target"));
            ComboMenu.Add("combo.RKillable", new CheckBox("Use R Execute"));
            ComboMenu.Add("combo.MinTargetsR", new Slider("Use R Min Targets", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass", "yasuHarass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("harass.Q", new CheckBox("Use Q"));
            HarassMenu.Add("harass.E", new CheckBox("Use E"));
            HarassMenu.Add("harass.stack", new CheckBox("Stack Q"));

            FarmMenu = Menu.AddSubMenu("Farming Settings", "yasuoFarm");
            FarmMenu.AddGroupLabel("Farming Settings");
            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("LH.Q", new CheckBox("Use Q"));
            FarmMenu.Add("LH.E", new CheckBox("Use E"));

            FarmMenu.AddLabel("WaveClear");
            FarmMenu.Add("WC.Q", new CheckBox("Use Q"));
            FarmMenu.Add("WC.E", new CheckBox("Use E"));

            FarmMenu.AddLabel("Jungle");
            FarmMenu.Add("JNG.Q", new CheckBox("Use Q"));
            FarmMenu.Add("JNG.E", new CheckBox("Use E"));

            FleeMenu = Menu.AddSubMenu("Flee/Evade", "yasuoFlee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("Flee.E", new CheckBox("Use E"));
            FleeMenu.Add("Flee.stack", new CheckBox("Stack Q"));
            FleeMenu.AddGroupLabel("Evade Settings");
            FleeMenu.Add("Evade.E", new CheckBox("Use E to Evade"));
            FleeMenu.Add("Evade.W", new CheckBox("Use W to Evade"));

            EvadePlus.Program.Main(null);

            DrawMenu = Menu.AddSubMenu("Draw", "yasuoDraw");
            DrawMenu.AddGroupLabel("Draw Settings");

            DrawMenu.Add("Draw.Q", new CheckBox("Draw Q", false));
            DrawMenu.AddColourItem("Draw.Q.Colour");
            DrawMenu.AddSeparator();

            DrawMenu.Add("Draw.E", new CheckBox("Draw E", false));
            DrawMenu.AddColourItem("Draw.E.Colour");
            DrawMenu.AddSeparator();

            DrawMenu.Add("Draw.R", new CheckBox("Draw R", false));
            DrawMenu.AddColourItem("Draw.R.Colour");
            DrawMenu.AddSeparator();

            DrawMenu.AddLabel("When Spell is Down Colour = ");
            DrawMenu.AddColourItem("Draw.Down", 7);


            EventManager.Init();
            Game.OnTick += Game_OnTick;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 4
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Hecarim"))
            {
                return;
            }
            Chat.Print("Doctor's Hecarim Loaded!", Color.Orange);
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu      = MainMenu.AddMenu("Doctor's Hecarim", "Hecarim");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Aoe Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]", 40));

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear (Keep Passive Q)"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Use [R] KillSteal If Enemy Distance >", 100, 1, 1000));
            KillStealMenu.AddGroupLabel("Distance < 125 = Always ,Recommended Distance 500");

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawT", new CheckBox("Draw [E] Time"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Esempio n. 5
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ziggs")
            {
                return;
            }
            Bootstrap.Init(null);
            Q   = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Circular, 300, 1700, 130);
            _q2 = new Spell.Skillshot(SpellSlot.Q, 1125, SkillShotType.Circular, 250 + Q.CastDelay, 1700, 130);
            _q3 = new Spell.Skillshot(SpellSlot.Q, 1400, SkillShotType.Circular, 300 + _q2.CastDelay, 1700, 140);
            W   = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Circular, 250, 1750, 275);
            E   = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 500, 1750, 100);
            R   = new Spell.Skillshot(SpellSlot.R, 5300, SkillShotType.Circular, 2000, 1500, 500);

            if (HasSpell("summonerdot"))
            {
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            ZiggsMenu = MainMenu.AddMenu("BloodimirZiggs", "bloodimirziggs");
            ZiggsMenu.AddGroupLabel("Bloodimir Ziggs v2.0.2.0");
            ZiggsMenu.AddSeparator();
            ZiggsMenu.AddLabel("Bloodimir Ziggs v2.0.2.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.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));
            ComboMenu.Add("wslider", new Slider("Enemy Health Percentage to use W", 15));
            ComboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            HarassMenu = ZiggsMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            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"));

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

            DrawMenu = ZiggsMenu.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("drawaa", new CheckBox("Draw AA"));

            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"));
            MiscMenu.Add("gapw", new CheckBox("Anti Gapcloser W"));
            MiscMenu.Add("peel", new CheckBox("Peel From Melees"));

            FleeMenu = ZiggsMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleew", new CheckBox("Use W to mousePos"));

            PredMenu = ZiggsMenu.AddSubMenu("Prediction", "pred");
            PredMenu.AddGroupLabel("Q Hitchance");
            var qslider = PredMenu.Add("hQ", new Slider("Q HitChance", 2, 0, 2));
            var qMode   = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" };

            qslider.DisplayName = qMode[qslider.CurrentValue];

            qslider.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = qMode[changeArgs.NewValue];
            };
            PredMenu.AddGroupLabel("E Hitchance");
            var eslider = PredMenu.Add("hE", new Slider("E HitChance", 2, 0, 2));
            var eMode   = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" };

            eslider.DisplayName = eMode[eslider.CurrentValue];

            eslider.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = eMode[changeArgs.NewValue];
            };
            PredMenu.AddGroupLabel("W Hitchance");
            var wslider = PredMenu.Add("hW", new Slider("W HitChance", 1, 0, 2));
            var wMode   = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" };

            wslider.DisplayName = wMode[wslider.CurrentValue];

            wslider.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = wMode[changeArgs.NewValue];
            };
            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];
            };
            Game.OnUpdate                    += Game_OnTick;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnWndProc                   += Game_OnWndProc;
            Drawing.OnDraw                   += OnDraw;
        }
Esempio n. 6
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Yasuo)
            {
                return;
            }

            Menu = MainMenu.AddMenu("TheNewYasuo", "yasuobuddyfluxy");

            ComboMenu = Menu.AddSubMenu("Combo", "yasuCombo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("combo.Q", new CheckBox("Kullan Q"));
            ComboMenu.Add("combo.E", new CheckBox("Kullan E"));
            ComboMenu.Add("combo.EUnderTower", new CheckBox("Kule altında E", false));
            ComboMenu.Add("combo.stack", new CheckBox("Yük kas Q"));
            ComboMenu.Add("combo.leftclickRape", new CheckBox("Sol tuş odaklan"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Ultimate");
            ComboMenu.Add("combo.R", new CheckBox("Kullan R"));
            ComboMenu.Add("combo.RTarget", new CheckBox("Ryi sadece seçili hedef için uygunsa kullan"));
            ComboMenu.Add("combo.RKillable", new CheckBox("Kullan R KS"));
            ComboMenu.Add("combo.MinTargetsR", new Slider("Kullan R için en az düşman", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass", "yasuHarass");
            HarassMenu.AddGroupLabel("Dürtme");
            HarassMenu.Add("harass.Q", new CheckBox("Kullan Q"));
            HarassMenu.Add("harass.E", new CheckBox("Kullan E"));
            HarassMenu.Add("harass.stack", new CheckBox("Yük kas Q"));

            FarmMenu = Menu.AddSubMenu("Farming", "yasuoFarm");
            FarmMenu.AddGroupLabel("Farm");
            FarmMenu.AddLabel("Son Vuruş");
            FarmMenu.Add("LH.Q", new CheckBox("Kullan Q"));
            FarmMenu.Add("LH.E", new CheckBox("Kullan E"));
            FarmMenu.Add("LH.EUnderTower", new CheckBox("Kule altında E", false));

            FarmMenu.AddLabel("Lanetemizleme");
            FarmMenu.Add("WC.Q", new CheckBox("Kullan Q"));
            FarmMenu.Add("WC.E", new CheckBox("Kullan E"));
            FarmMenu.Add("WC.EUnderTower", new CheckBox("Kule altında E", false));

            FarmMenu.AddLabel("Orman");
            FarmMenu.Add("JNG.Q", new CheckBox("Kullan Q"));
            FarmMenu.Add("JNG.E", new CheckBox("Kullan E"));

            FleeMenu = Menu.AddSubMenu("Flee/Evade", "yasuoFlee");
            FleeMenu.AddGroupLabel("Flee");
            FleeMenu.Add("Flee.E", new CheckBox("Kullan E"));
            FleeMenu.Add("Flee.stack", new CheckBox("Yük kas  Q"));
            FleeMenu.AddGroupLabel("Evade");
            FleeMenu.Add("Evade.E", new CheckBox("Kaçmada E Kullan"));
            FleeMenu.Add("Evade.W", new CheckBox("Kaçarken W Kullan"));
            FleeMenu.Add("Evade.WDelay", new Slider("İnsancıl Gecikme (ms)", 0, 0, 1000));
            //
            FleeMenu.AddGroupLabel("WallJump");
            FleeMenu.Add("WJ", new KeyBind("Walljump Tuşu:", false, KeyBind.BindTypes.HoldActive, 'G'));
            FleeMenu.Add("DrawSpots", new CheckBox("Göster Walljump Yerleri"));
            //
            MiscSettings = Menu.AddSubMenu("Diversas/Misc");
            MiscSettings.AddGroupLabel("KS");
            MiscSettings.Add("KS.Q", new CheckBox("Kullan Q"));
            MiscSettings.Add("KS.E", new CheckBox("Kullan E"));
            MiscSettings.AddGroupLabel("Otomatik Q");
            MiscSettings.Add("Auto.Q3", new CheckBox("Kullan Q3"));
            MiscSettings.Add("Auto.Active", new KeyBind("Otomatik Q3 düşmana", true, KeyBind.BindTypes.PressToggle, 'M'));

            Program.Main(null);

            DrawMenu = Menu.AddSubMenu("Draw", "yasuoDraw");
            DrawMenu.AddGroupLabel("Gösterge Ayarları");

            DrawMenu.Add("Draw.Q", new CheckBox("Göster Q", true));
            DrawMenu.AddColourItem("Draw.Q.Colour");
            DrawMenu.AddSeparator();

            DrawMenu.Add("Draw.E", new CheckBox("Göster E", false));
            DrawMenu.AddColourItem("Draw.E.Colour");
            DrawMenu.AddSeparator();

            DrawMenu.Add("Draw.R", new CheckBox("Göster R", false));
            DrawMenu.AddColourItem("Draw.R.Colour");
            DrawMenu.AddSeparator();

            DrawMenu.AddLabel("Gerisayım rengi:", 4);
            DrawMenu.AddColourItem("Draw.Down", 7);

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            EEvader.Init();

            //

            E  = new Spell.Targeted(SpellSlot.E, 475);
            E2 = new Spell.Skillshot(SpellSlot.E, 475, EloBuddy.SDK.Enumerations.SkillShotType.Linear);


            //
        }
Esempio n. 7
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Varus")
            {
                return;
            }
            Bootstrap.Init(null);


            // Spell instances
            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1650, 4);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular);
            R = new Spell.Skillshot(SpellSlot.R, 1100, SkillShotType.Linear);

            //Menu Instances
            VarusMenu = MainMenu.AddMenu("xRP Varus", "xrpvarus");
            VarusMenu.AddGroupLabel("xRP-Varus");
            VarusMenu.AddSeparator();
            VarusMenu.AddGroupLabel("Made by: xRPdev");


            ComboMenu = VarusMenu.AddSubMenu("Combo", "sbtwcombo");
            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("R to Stun"));


            HarassMenu = VarusMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            MiscMenu = VarusMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("kse", new CheckBox("KS with E"));
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapr", new CheckBox("R on Gapcloser"));

            DrawMenu = VarusMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawAA", new CheckBox("Draw AutoAttack"));

            LaneClearMenu = VarusMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("LCQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("countM", new Slider("Min minions to Q", 3, 0, 6));
            LaneClearMenu.Add("LCE", new CheckBox("Use E"));
            LaneClearMenu.Add("countME", new Slider("Min minions to E", 3, 0, 6));



            Game.OnTick           += Tick;
            Drawing.OnDraw        += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
        }
Esempio n. 8
0
        public static void LoadMenu()
        {
            Bootstrap.Init(null);

            Menu = MainMenu.AddMenu("Lazy Lucian", "LazyLucian");
            Menu.AddGroupLabel("Lazy Lucian");
            Menu.AddLabel("by DamnedNooB");
            Menu.AddLabel("Transtlate Turkish-Çeviri TRAdana");
            Menu.AddSeparator();

            //-------------------------------------------------------------------------------------------------------------------

            /*
             *       _____                _             __  __
             *      / ____|              | |           |  \/  |
             *     | |     ___  _ __ ___ | |__   ___   | \  / | ___ _ __  _   _
             *     | |    / _ \| '_ ` _ \| '_ \ / _ \  | |\/| |/ _ \ '_ \| | | |
             *     | |___| (_) | | | | | | |_) | (_) | | |  | |  __/ | | | |_| |
             *      \_____\___/|_| |_| |_|_.__/ \___/  |_|  |_|\___|_| |_|\__,_|
             *
             *
             */

            ComboMenu = Menu.AddSubMenu("Kombo", "Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddLabel("Q - Işık Atışı");
            ComboMenu.Add("useQcombo", new CheckBox("Komboda Kullan"));
            ComboMenu.Add("useQextended", new CheckBox("Komboda Uzun Q Kullan(Minyon Arkasındakine vurur)"));
            ComboMenu.Add("qMana", new Slider("En az mana: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("W - İntikam Ateşi");
            ComboMenu.Add("useWaaRange", new CheckBox("AA da kullan - Menzili"));
            ComboMenu.Add("useWalways", new CheckBox("AA dışında Kullan  - Menzili"));
            ComboMenu.Add("wMana", new Slider("en az mana: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("E - Amansız Takip");
            ComboMenu.Add("useEcombo", new CheckBox("E mantığı Kullan"));
            ComboMenu.Add("useEmouse", new CheckBox("E yi Mouse yönünde Kullan"));
            ComboMenu.Add("eMana", new Slider("en az mana: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("R - İnfaz");
            ComboMenu.Add("useRkillable", new CheckBox("Hedef Öldürülebilir Olduğunda"));
            ComboMenu.Add("useRlock", new CheckBox("Hedefe Kilitlen"));
            //ComboMenu.Add("rMana", new Slider("Min Mana to use: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("Ek  Ayarlar (Kombo)");
            ComboMenu.Add("spellWeaving", new CheckBox("Pasifi Kullan (Işık Silahşoru)"));
            ComboMenu.Add("useYoumuu", new CheckBox("Kullan Youmuu's GhostBlade for The Culling"));

            //-------------------------------------------------------------------------------------------------------------------

            /*
             *      _    _                           __  __
             *     | |  | |                         |  \/  |
             *     | |__| | __ _ _ __ __ _ ___ ___  | \  / | ___ _ __  _   _
             *     |  __  |/ _` | '__/ _` / __/ __| | |\/| |/ _ \ '_ \| | | |
             *     | |  | | (_| | | | (_| \__ \__ \ | |  | |  __/ | | | |_| |
             *     |_|  |_|\__,_|_|  \__,_|___/___/ |_|  |_|\___|_| |_|\__,_|
             *
             *
             */

            HarassMenu = Menu.AddSubMenu("Dürtme", "Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.AddLabel("Q - Işık Atışı");
            HarassMenu.Add("useQharass", new CheckBox("Dürtmede Kullan"));
            HarassMenu.Add("useQextended", new CheckBox("Dürtmede Uzun Q Kullan(Minyon Arkasındakine vurur)"));
            HarassMenu.Add("qMana", new Slider("en az mana: ", 20, 1));
            HarassMenu.AddSeparator();

            HarassMenu.AddLabel("W - İntikam Ateşi");
            HarassMenu.Add("useWaaRange", new CheckBox("AA'da Kullanma - Menzil"));
            HarassMenu.Add("useWalways", new CheckBox("AA dışında Kullanma - Menzili"));
            HarassMenu.Add("wMana", new Slider("en az mana: ", 20, 1));
            HarassMenu.AddSeparator();

            HarassMenu.AddLabel("Ek Ayarlar (Dürtme)");
            //HarassMenu.Add("manaCheck", new CheckBox("")); // soon(TM)
            HarassMenu.Add("spellWeaving", new CheckBox("Pasifi Kullan (Işık Silahşoru)"));

            //-------------------------------------------------------------------------------------------------------------------

            /*
             *      ______                     __  __
             *     |  ____|                   |  \/  |
             *     | |__ __ _ _ __ _ __ ___   | \  / | ___ _ __  _   _
             *     |  __/ _` | '__| '_ ` _ \  | |\/| |/ _ \ '_ \| | | |
             *     | | | (_| | |  | | | | | | | |  | |  __/ | | | |_| |
             *     |_|  \__,_|_|  |_| |_| |_| |_|  |_|\___|_| |_|\__,_|
             *
             *
             */

            FarmMenu = Menu.AddSubMenu("Farm", "Farm");
            FarmMenu.AddGroupLabel("Farm Ayarları");
            FarmMenu.AddLabel("Q - Işık Atışı");
            FarmMenu.Add("useQfarm", new CheckBox("Lane Temizlerken Kullan"));
            FarmMenu.Add("qManaLane", new Slider("Lanetemizleme için gerekli mana % : ", 20, 1));
            FarmMenu.Add("qMinionsLane", new Slider("Laneclear için gereken minyon: ", 3, 1, 5));
            FarmMenu.AddSeparator();
            FarmMenu.Add("useQjungle", new CheckBox("Orman Temizlemede Kullan"));
            FarmMenu.Add("qManaJungle", new Slider("Orman Temizleme için gereken mana: ", 20, 1));
            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("W - İntikam Ateşi");
            FarmMenu.Add("useWfarm", new CheckBox("Lane Temizlerken Kullan"));
            FarmMenu.Add("wManaLane", new Slider("Lanetemizleme için gerekli mana: ", 20, 1));
            FarmMenu.AddSeparator();
            FarmMenu.Add("useWjungle", new CheckBox("Orman Temizlemede Kullan"));
            FarmMenu.Add("wManaJungle", new Slider("Orman Temizleme için gereken mana: ", 20, 1));
            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Ek Ayarlar (Farm)");
            FarmMenu.Add("spellWeaving", new CheckBox("Pasif Kullan (Işık Silahşoru)"));

            //-------------------------------------------------------------------------------------------------------------------

            /*
             *      __  __ _            __  __
             *     |  \/  (_)          |  \/  |
             *     | \  / |_ ___  ___  | \  / | ___ _ __  _   _
             *     | |\/| | / __|/ __| | |\/| |/ _ \ '_ \| | | |
             *     | |  | | \__ \ (__  | |  | |  __/ | | | |_| |
             *     |_|  |_|_|___/\___| |_|  |_|\___|_| |_|\__,_|
             *
             *
             */

            MiscMenu = Menu.AddSubMenu("Ek", "Misc");
            MiscMenu.AddGroupLabel("Ek Ayarlar");
            MiscMenu.AddLabel("Anti Gapcloser Ayarları");
            MiscMenu.Add("gapcloser", new CheckBox("E ile hedefi önleme"));
            MiscMenu.Add("gapcloserT", new CheckBox("E ile hedefi önle"));
            MiscMenu.AddSeparator();
            MiscMenu.AddGroupLabel("Diğer Ayarlar");
            MiscMenu.Add("useKs", new CheckBox("Kill Güvenliği -  Mnatığı"));

            //-------------------------------------------------------------------------------------------------------------------

            /*
             *      _____                       __  __
             *     |  __ \                     |  \/  |
             *     | |  | |_ __ __ ___      __ | \  / | ___ _ __  _   _
             *     | |  | | '__/ _` \ \ /\ / / | |\/| |/ _ \ '_ \| | | |
             *     | |__| | | | (_| |\ V  V /  | |  | |  __/ | | | |_| |
             *     |_____/|_|  \__,_| \_/\_/   |_|  |_|\___|_| |_|\__,_|
             *
             *
             */

            DrawMenu = Menu.AddSubMenu("Göster", "Draw");
            DrawMenu.AddGroupLabel("Gösterge Ayarları");
            DrawMenu.AddLabel("Büyü Menzili");
            DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawQextended", new CheckBox("Göster Uzun Q Menzili"));
            DrawMenu.Add("drawW", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("drawE", new CheckBox("Göster E Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));

            //-------------------------------------------------------------------------------------------------------------------

            /*
             *      ______               _
             *     |  ____|             | |
             *     | |____   _____ _ __ | |_ ___
             *     |  __\ \ / / _ \ '_ \| __/ __|
             *     | |___\ V /  __/ | | | |_\__ \
             *     |______\_/ \___|_| |_|\__|___/
             *
             *
             */

            Game.OnUpdate                  += Events.OnUpdate;
            Gapcloser.OnGapcloser          += Events.OnGapCloser;
            Obj_AI_Base.OnProcessSpellCast += Events.OnProcessSpellCast;
            Obj_AI_Base.OnSpellCast        += Events.OnCastSpell;
            Drawing.OnDraw                 += Events.OnDraw;
            //Orbwalker.OnPostAttack += Events.OnAfterAttack;
        }
Esempio n. 9
0
        // Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Pantheon"))
            {
                return;
            }
            Chat.Print("HTTF TopLane Series Loaded!", Color.White);
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Targeted(SpellSlot.W, 600);
            E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Cone, 250, 2000, 70);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 2000, SkillShotType.Circular);
            R.AllowedCollisionCount = int.MaxValue;
            Youmuu    = new Item(3142, 10);
            Botrk     = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil       = new Item(3144, 475f);
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("HTTF Pantheon", "Pantheon");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("CQ", new CheckBox("Use Q Combo"));
            ComboMenu.Add("CW", new CheckBox("Use W Combo"));
            ComboMenu.Add("CE", new CheckBox("Use E Combo"));

            ComboMenu.AddGroupLabel("Harass Settings");
            ComboMenu.Add("HQ", new CheckBox("Use Q Harass"));
            ComboMenu.Add("HW", new CheckBox("Use W Harass"));
            ComboMenu.Add("HE", new CheckBox("Use E Harass"));
            ComboMenu.Add("HM", new Slider("Mana Harass %", 50, 0, 100));
            ComboMenu.AddGroupLabel("Auto Harass Settings");
            ComboMenu.Add("AutoQ", new CheckBox("Auto Q Harass"));
            ComboMenu.Add("AutoM", new Slider("Mana Auto Harass", 60, 0, 100));
            ComboMenu.AddGroupLabel("Auto Q On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add("HarassQ" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            ComboMenu.AddGroupLabel("KillSteal Settings");
            ComboMenu.Add("ign", new CheckBox("Use Ignite KillSteal"));

            ClearMenu = Menu.AddSubMenu("Clear Settings", "Clear");
            ClearMenu.AddGroupLabel("Laneclear Settings");
            ClearMenu.Add("LQ", new CheckBox("Use Q Laneclear"));
            ClearMenu.Add("LW", new CheckBox("Use W Laneclear", false));
            ClearMenu.Add("LE", new CheckBox("Use E Laneclear", false));
            ClearMenu.Add("ME", new Slider("Min Hit Minions Use [E] LaneClear", 3, 1, 6));
            ClearMenu.Add("LM", new Slider("Mana LaneClear", 60, 0, 100));
            ClearMenu.AddGroupLabel("LastHit Settings");
            ClearMenu.Add("LHQ", new CheckBox("Use Q LastHit"));
            ClearMenu.Add("LHM", new Slider("Mana LastHit", 60, 0, 100));

            ClearMenu.AddGroupLabel("JungleClear Settings");
            ClearMenu.Add("JQ", new CheckBox("Use Q JungleClear"));
            ClearMenu.Add("JW", new CheckBox("Use W JungleClear"));
            ClearMenu.Add("JE", new CheckBox("Use E JungleClear"));
            ClearMenu.Add("JM", new Slider("Mana JungleClear", 20, 0, 100));


            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Use W Anti Gapcloser", false));
            Misc.Add("inter", new CheckBox("Use W Interupt"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("Draw", new CheckBox("Draw [Q/W/E]"));



            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnUnkillableMinion     += Orbwalker_CantLasthit;
            Spellbook.OnCastSpell            += OnCastSpell;
            Obj_AI_Base.OnProcessSpellCast   += AIHeroClient_OnProcessSpellCast;
            Obj_AI_Base.OnBuffLose           += BuffLose;
        }
Esempio n. 10
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Shen")
            {
                return;
            }


            Q = new Spell.Active(SpellSlot.Q, 200);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 610, SkillShotType.Linear, 500, 1600, 50);
            R = new Spell.Targeted(SpellSlot.R, 31000);
            var flashSlot = Shen.GetSpellSlotFromName("summonerflash");

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



            Menu = MainMenu.AddMenu("Shen HTTF", "Shen");


            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("QCast", new CheckBox("Use Q"));
            ComboMenu.Add("autow", new CheckBox("Use W"));
            ComboMenu.Add("useECombo", new CheckBox("Use E"));

            ComboMenu.AddGroupLabel("E Setting");
            ComboMenu.Add("eslider", new Slider("Minimum Enemy to Taunt", 1, 1, 5));
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != obj.Team))
            {
                ComboMenu.Add("taunt" + obj.ChampionName.ToLower(), new CheckBox("Taunt " + obj.ChampionName));
            }
            ComboMenu.Add("ekey", new KeyBind("use e key", false, KeyBind.BindTypes.HoldActive, 'N'));
            ComboMenu.Add("flashe", new KeyBind("Flash E", false, KeyBind.BindTypes.HoldActive, 'N'));

            ComboMenu.AddGroupLabel("R Setting");

            ComboMenu.Add("autoult", new CheckBox("Auto R On press key?"));
            ComboMenu.Add("rslider", new Slider("Health Percent for Ult", 20));
            ComboMenu.Add("ult", new KeyBind("ULT", false, KeyBind.BindTypes.HoldActive, 'R'));
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team == obj.Team))
            {
                ComboMenu.Add("ult" + obj.ChampionName.ToLower(), new CheckBox("Ult" + obj.ChampionName));
            }


            JungleLaneMenu = Menu.AddSubMenu("Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Clear");
            JungleLaneMenu.Add("LCQ", new CheckBox("Use Q"));
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("LCQ", new CheckBox("Use Q"));



            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.Add("TUT", new CheckBox("Auto Taunt Under Turret"));
            MiscMenu.Add("inte", new CheckBox("Interrupt E"));
            MiscMenu.AddGroupLabel("Flee Settings");
            MiscMenu.Add("fleee", new CheckBox("Use E"));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "DrawSettings");
            DrawMenu.Add("drawe", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawfe", new CheckBox("Draw Flash+E range"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate           += OnUpdate;
            AttackableUnit.OnDamage += OnDamage;
            Drawing.OnDraw          += OnDraw;
            Core.DelayAction(FlashE, 1);
        }
Esempio n. 11
0
        void LoadMenu
            ()
        {
            Menu = MainMenu.AddMenu("Ezrealthetroll", "Ezrealthetroll");
            Menu.AddGroupLabel("EzreaL the Troll!");
            Menu.AddGroupLabel("Made by MeLoSenpai!");
            Menu.AddGroupLabel("Version 1 Hf Gl and dont troll!");

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

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

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

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

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


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

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

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

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

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


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

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

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


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

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawQ", new CheckBox("Draw Mystic Shot Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw Essence Flux Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw Trueshot Barrage Range"));
            DrawMenu.AddLabel("Recall Tracker");
            DrawMenu.Add("draw.Recall", new CheckBox("Chat Print"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));
            DrawMenu.Add("howaa", new CheckBox("How Many AA"));
            DrawMenu.Add("Rkill", new CheckBox("Trueshot Barrage kill "));
        }
Esempio n. 12
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Poppy)
            {
                return;
            }


            Q = new Spell.Skillshot(SpellSlot.Q, 430, SkillShotType.Linear, 250, null, 100);
            Q.AllowedCollisionCount = int.MaxValue;
            W  = new Spell.Active(SpellSlot.W, 400);
            E  = new Spell.Targeted(SpellSlot.E, 425);
            E2 = new Spell.Skillshot(SpellSlot.E, 525, SkillShotType.Linear, 250, 1250);
            R  = new Spell.Chargeable(SpellSlot.R, 500, 1200, 4000, 250, int.MaxValue, 90);



            Menu = MainMenu.AddMenu("Poppy HTTF", "Poppy");


            ComboMenu = Menu.AddSubMenu("Kombo Ayarlari", "Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarlari");
            ComboMenu.Add("useQCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("useECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("useRcombo", new CheckBox("Kullan R"));
            ComboMenu.Add("combo.REnemies", new Slider("R kullanmak icin dusman sayisi", 1, 1, 5));
            ComboMenu.AddGroupLabel("Durtme Ayarlari");
            ComboMenu.Add("useQHarass", new CheckBox("Use Q"));
            ComboMenu.Add("useWHarassMana", new Slider("Durtmek icin enaz mana %", 70, 0, 100));
            ComboMenu.AddGroupLabel("E Ayarlari");
            ComboMenu.Add("useEwall", new CheckBox("Kullan E duvara her zaman?"));
            ComboMenu.Add("useEeq", new CheckBox("Kullan E kacarken ?"));

            JungleLaneMenu = Menu.AddSubMenu("Temizleme Ayarlari", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Koridor temizleme");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useWManalane", new Slider("Koridor temizleme icin enaz mana %", 70, 0, 100));
            JungleLaneMenu.AddLabel("Orman temizleme");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useWMana", new Slider("Orman temizleme icin enaz mana %", 70, 0, 100));


            MiscMenu = Menu.AddSubMenu("Karisik ayarlar", "KarisikAyarlar");
            MiscMenu.AddGroupLabel("Atilma onleyici ve skill enlleyici  ayarlari");
            MiscMenu.Add("gapcloser", new CheckBox("Otomatik W  Atilma yapana"));
            MiscMenu.Add("gapcloserE", new CheckBox("Otomatik E  Atilma yapana"));
            MiscMenu.Add("InterruptE", new CheckBox("Otomatik E  gelen skilli engellemede"));
            MiscMenu.Add("interruptR", new CheckBox("Otomatik R  gelen skilli engellemede"));
            MiscMenu.AddGroupLabel("Flee Settings");
            MiscMenu.Add("FleeW", new CheckBox("Use W"));



            DrawMenu = Menu.AddSubMenu("Cizim ayarlari");
            DrawMenu.AddGroupLabel("Cizim ayarlari");
            DrawMenu.Add("drawQ", new CheckBox("Goster Q Mesafesi"));
            DrawMenu.Add("drawW", new CheckBox("Goster W Mesafesi"));
            DrawMenu.Add("drawE", new CheckBox("Goster E Mesafesi"));
            DrawMenu.Add("drawR", new CheckBox("Goster R Mesafesi"));


            Game.OnUpdate += OnGameUpdate;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 13
0
        public static void Initialize()
        {
            var blitzcrank = EntityManager.Heroes.Allies.Any(x => x.ChampionName == "Blitzcrank");

            //Initialize the menu
            Menu = MainMenu.AddMenu("Kalista", "Kalista");
            Menu.AddGroupLabel("Welcome to Kalista!");

            //Combo
            ComboMenu = Menu.AddSubMenu("Combo");
            {
                ComboMenu.Add("combo.useQ", new CheckBox("Use Q"));
                ComboMenu.Add("combo.minManaQ", new Slider("Mininum {0}% mana to use Q", 40));
                ComboMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High");
                ComboMenu.Add("PredQ", new Slider("Q HitChance", 3, 1, 3));

                ComboMenu.Add("combo.sep1", new Separator());
                ComboMenu.Add("combo.useE", new CheckBox("Kill with E"));
                ComboMenu.Add("combo.gapClose", new CheckBox("Use minions/jungle to gap close"));

                ComboMenu.Add("combo.sep2", new Separator());
                ComboMenu.Add("combo.harassEnemyE", new CheckBox("Harass enemy with E when minion can die", false));
            }

            //Harass
            HarassMenu = Menu.AddSubMenu("Harass");
            {
                HarassMenu.Add("harass.useQ", new CheckBox("Use Q"));
                HarassMenu.Add("harass.minManaQ", new Slider("Mininum {0}% mana to use Q", 60));

                HarassMenu.Add("harass.sep1", new Separator());
                HarassMenu.Add("harass.harassEnemyE", new CheckBox("Harass enemy with E when minion can die"));
            }

            //LaneClear
            LaneMenu = Menu.AddSubMenu("LaneClear");
            {
                LaneMenu.Add("laneclear.useQ", new CheckBox("Use Q"));
                LaneMenu.Add("laneclear.minQ", new Slider("Mininum {0} minions to use Q", 3, 2, 10));
                LaneMenu.Add("laneclear.minManaQ", new Slider("Mininum {0}% mana to use Q", 30));

                LaneMenu.Add("laneclear.sep1", new Separator());
                LaneMenu.Add("laneclear.useE", new CheckBox("Use E"));
                LaneMenu.Add("laneclear.minE", new Slider("Mininum {0} minions to use E", 3, 2, 10));
                LaneMenu.Add("laneclear.minManaE", new Slider("Mininum {0}% mana to use E", 30));

                LaneMenu.Add("laneclear.sep2", new Separator());
                LaneMenu.Add("laneclear.harassEnemyE", new CheckBox("Harass enemy with E when minion can die"));
            }

            //JungleClear
            JungleMenu = Menu.AddSubMenu("JungleClear");
            {
                JungleMenu.Add("jungleclear.useE", new CheckBox("Kill jungle camps with E"));
                JungleMenu.Add("jungleclear.miniE", new CheckBox("Kill mini jungle monsters with E", false));
            }

            //Flee
            FleeMenu = Menu.AddSubMenu("Flee");
            {
                FleeMenu.Add("flee.attack", new CheckBox("Attack champions/minions/monsters"));
                FleeMenu.Add("flee.useJump", new CheckBox("Jump walls with Q on jump spots"));
            }

            //Sentinel
            SentinelMenu = Menu.AddSubMenu("Sentinel (W)");
            {
                SentinelMenu.Add("sentinel.castDragon", new KeyBind("Send sentinel to Dragon", false, KeyBind.BindTypes.HoldActive, 'U'));
                SentinelMenu.Add("sentinel.castBaron", new KeyBind("Send sentinel to Baron/Rift Herald", false, KeyBind.BindTypes.HoldActive, 'I'));

                SentinelMenu.Add("sentinel.sep1", new Separator());
                SentinelMenu.Add("sentinel.enable", new CheckBox("Auto send sentinels", false));
                SentinelMenu.Add("sentinel.noMode", new CheckBox("Only when no modes are active"));
                SentinelMenu.Add("sentinel.alert", new CheckBox("Alert when sentinel is taking damage"));
                SentinelMenu.Add("sentinel.mana", new Slider("Minimum {0}% mana to auto send W", 40));

                SentinelMenu.Add("sentinel.sep2", new Separator());
                SentinelMenu.Add("sentinel.locationLabel", new Label("Send sentinels to:"));
                (SentinelMenu.Add("sentinel.baron", new CheckBox("Baron / Rift Herald"))).OnValueChange += SentinelLocationsChanged;
                (SentinelMenu.Add("sentinel.dragon", new CheckBox("Dragon"))).OnValueChange             += SentinelLocationsChanged;
                (SentinelMenu.Add("sentinel.mid", new CheckBox("Mid brush"))).OnValueChange             += SentinelLocationsChanged;
                (SentinelMenu.Add("sentinel.blue", new CheckBox("Blue"))).OnValueChange += SentinelLocationsChanged;
                (SentinelMenu.Add("sentinel.red", new CheckBox("Red"))).OnValueChange   += SentinelLocationsChanged;
                Sentinel.RecalculateOpenLocations();
            }

            //Misc
            MiscMenu = Menu.AddSubMenu("Misc");
            {
                MiscMenu.Add("misc.labelSteal", new Label("Stealing: you don't have to hold any button"));
                MiscMenu.Add("misc.killstealE", new CheckBox("Killsteal with E"));
                MiscMenu.Add("misc.junglestealE", new CheckBox("Junglesteal with E"));

                MiscMenu.Add("misc.sep1", new Separator());
                MiscMenu.Add("misc.autoE", new CheckBox("Auto use E"));
                MiscMenu.Add("misc.autoEHealth", new Slider("Health below {0}% to auto use E", 10, 5, 25));

                MiscMenu.Add("misc.sep2", new Separator());
                MiscMenu.Add("misc.dmgReductionE", new Slider("Reduce E damage by {0}%", 10, 0, 25));

                MiscMenu.Add("misc.sep3", new Separator());
                MiscMenu.Add("misc.unkillableE", new CheckBox("Kill unkillable minions with E"));

                MiscMenu.Add("misc.sep4", new Separator());
                MiscMenu.Add("misc.useR", new CheckBox("Use R to save ally"));
                MiscMenu.Add("misc.healthR", new Slider("{0}% Health to save ally", 15, 5, 25));
            }

            //Items
            ItemMenu = Menu.AddSubMenu("Items");
            {
                var cutlass = Items.BilgewaterCutlass;
                ItemMenu.Add("item." + cutlass.ItemInfo.Name, new CheckBox("Use " + cutlass.ItemInfo.Name));
                ItemMenu.Add("item." + cutlass.ItemInfo.Name + "MyHp", new Slider("Your HP lower than {0}%", 80));
                ItemMenu.Add("item." + cutlass.ItemInfo.Name + "EnemyHp", new Slider("Enemy HP lower than {0}%", 80));
                ItemMenu.Add("item.sep", new Separator());

                var bork = Items.BladeOfTheRuinedKing;
                ItemMenu.Add("item." + bork.ItemInfo.Name, new CheckBox("Use " + bork.ItemInfo.Name));
                ItemMenu.Add("item." + bork.ItemInfo.Name + "MyHp", new Slider("Your HP lower than {0}%", 80));
                ItemMenu.Add("item." + bork.ItemInfo.Name + "EnemyHp", new Slider("Enemy HP lower than {0}%", 80));
            }

            //Balista
            if (blitzcrank)
            {
                BalistaMenu = Menu.AddSubMenu("Balista");
                {
                    BalistaMenu.Add("balista.use", new CheckBox("Use Balista"));

                    BalistaMenu.Add("balista.sep1", new Separator());
                    BalistaMenu.Add("balista.comboOnly", new CheckBox("Only use Balista in combo mode"));
                    BalistaMenu.Add("balista.distance", new Slider("Minimum distance between you and Blitzcrank: {0}", 400, 0, 1200));

                    BalistaMenu.Add("balista.sep2", new Separator());
                    BalistaMenu.Add("balista.label", new Label("Use Balista for:"));
                    foreach (var enemy in EntityManager.Heroes.Enemies)
                    {
                        BalistaMenu.Add("balista." + enemy.ChampionName, new CheckBox(enemy.ChampionName));
                    }
                }
            }

            //Drawings
            DrawMenu = Menu.AddSubMenu("Drawings");
            {
                DrawMenu.Add("draw.Q", new CheckBox("Draw Q range"));
                DrawMenu.Add("draw.W", new CheckBox("Draw W range", false));
                DrawMenu.Add("draw.E", new CheckBox("Draw E range"));
                DrawMenu.Add("draw.R", new CheckBox("Draw R range"));
                DrawMenu.Add("draw.enemyE", new CheckBox("Draw E damage on enemy healthbar"));
                DrawMenu.Add("draw.percentage", new CheckBox("Draw E damage percentage enemy"));
                DrawMenu.Add("draw.jungleE", new CheckBox("Draw E damage on jungle healthbar"));
                DrawMenu.Add("draw.killableMinions", new CheckBox("Draw E killable minions"));
                DrawMenu.Add("draw.stacks", new CheckBox("Draw E stacks enemy", false));
                DrawMenu.Add("draw.jumpSpots", new CheckBox("Draw jump spots"));
                if (blitzcrank)
                {
                    DrawMenu.Add("draw.balista", new CheckBox("Draw Balista range"));
                }
            }
        }
Esempio n. 14
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Corki addon");

            ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Gatling Gun (E) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Valkyrie (W) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Missile Barrage (R) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("Minimum stacks to use R", 1, 1, 7));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Allow collision on minions", false));
            ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Corki addon");

            HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Gatling Gun (E) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Missile Barrage (R) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear");
            LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Min minions killed to use Q", 2, 1, 6));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Gatling Gun (E) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Missile Barrage (R) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 6, 1, 7));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("Minimum minions hit to use R", 3, 1, 4));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon");

            JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Gatling Gun (E) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Missile Barrage (R) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 5, 1, 7));
            JungleClearMenu.AddSeparator(1);
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions.");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Corki addon");
            MiscMenu.AddLabel("Auto harass settings : ");
            MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled",
                         new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Use big bomb", false));
            MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("Auto harass enabled for : ");

            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString()));
            }

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Draw damage indicator on enemy HP bars"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Esempio n. 15
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Nasus"))
            {
                return;
            }
            Chat.Print("Doctor's Nasus Loaded!", Color.Orange);
            Chat.Print("Mercedes7", Color.Red);
            Q         = new Spell.Active(SpellSlot.Q);
            W         = new Spell.Targeted(SpellSlot.W, 600);
            E         = new Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Circular, 500, 20, 380);
            R         = new Spell.Active(SpellSlot.R);
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Nasus", "Nasus");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Low Hp"));
            ComboMenu.Add("Rhp", new Slider("Low Hp Use [R]", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("MHR", new Slider("Min Mana Harass", 50));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false));
            LaneClearMenu.Add("mine", new Slider("Min hit minions use [E]", 3, 1, 6));
            LaneClearMenu.Add("MLC", new Slider("Min Mana LaneClear", 10));
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("MLH", new Slider("Min Mana LastHit", 10));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("MJC", new Slider("Min Mana JungleClear", 10));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Drawing Settings", "Misc");
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawW", new CheckBox("[W] Range", false));
            Misc.Add("DrawE", new CheckBox("[E] Range", false));
            Misc.Add("Damage", new CheckBox("[Q] Damage Indicator [R]"));
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw     += Drawing_OnDraw;
            Game.OnUpdate      += Game_OnUpdate;
            Drawing.OnEndScene += Damage;
        }
Esempio n. 16
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.CreatSlotHitChance(SpellSlot.R);
                #endregion

                #region Insec
                InsecMenu = Menu.AddSubMenu("Insec", "UBAddons.Insec" + player.Hero, "UB" + player.Hero + " - Settings your insec below");
                {
                    InsecMenu.Add("UBAddons.Azir.Insec.Key", new KeyBind("Insec Key", true, KeyBind.BindTypes.HoldActive));
                    InsecMenu.Add("UBAddons.Azir.Insec.To", new ComboBox("Insec Target to", 0, "My Cursor", "My Turret", "My Ally", "Select Position"));
                }
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.Add("UBAddons.Azir.E.OnlyCanKill", new CheckBox("E to Killable Target only"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.CreatSlotComboBox(SpellSlot.R, 0, "Smart", "Ally", "Turret", "Push");
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    HarassMenu.CreatManaLimit();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.Add("UBAddons.Azir.W.Soldier", new Slider("Max soldier", 2, 1, 3));
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.Add("UBAddons.Insec.Position", new CheckBox("Draw Selected Position"));
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Esempio n. 17
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Lucian)
            {
                return;
            }


            Q  = new Spell.Targeted(SpellSlot.Q, 675);
            Q1 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 350, int.MaxValue, 75);
            W  = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Linear, 250, 1600, 100);
            E  = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Linear, 500, 2800, 110);

            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print("Lucian The Troll Loaded! Version 1.7 (15/6/2016)", Color.DeepSkyBlue);
            Chat.Print("Have Fun And Dont Feed Kappa!", Color.DeepSkyBlue);

            Menu = MainMenu.AddMenu("Lucian The Troll", "LucianTheTroll");
            Menu.AddGroupLabel("Lucian The Troll Version 1.7");
            Menu.AddLabel("Last Update 15/6/2016");
            Menu.AddLabel("Made By MeLoDaG");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddLabel("Combo Logic");
            ComboMenu.Add("ComboLogic",
                          new ComboBox(" ", 0, "AARange", "Normal"));
            ComboMenu.AddLabel("W Settings For Normal Logic");
            ComboMenu.Add("useWrange", new Slider("Min Range Use W", 500, 0, 1000));
            ComboMenu.AddLabel("E Settings");
            ComboMenu.Add("useEstartcombo", new CheckBox("Use E Start Combo", false));
            ComboMenu.Add("useEcombo", new CheckBox("Use E"));
            ComboMenu.Add("ELogic", new ComboBox(" ", 0, "Side", "Cursor"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("UseRcomboHp", new CheckBox("Use R"));
            ComboMenu.Add("Hp", new Slider("Use R Enemy Health %", 45, 0, 100));
            ComboMenu.Add("combo.REnemies", new Slider("Min Enemyes for R", 1, 1, 5));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));

            /*   Humanizer = Menu.AddSubMenu("Humanizer Settings", "Humanizer");
             * Humanizer.AddGroupLabel("Humanizer Settings");
             * Humanizer.AddLabel("For Better And smoothest 250");
             * Humanizer.AddLabel("For Faster 0");
             * Humanizer.Add("Humanizer", new Slider("Humanizer", 0, 0, 1000)); */

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q normal - Exted - Test"));
            HarassMenu.Add("useWHarass", new CheckBox("Use W"));
            HarassMenu.Add("useWHarassMana", new Slider("Min. Mana for Harass %", 70, 0, 100));
            HarassMenu.AddLabel("AutoHarass");
            HarassMenu.Add("autoQHarass", new CheckBox("Auto Q Exted  Harass", false));
            HarassMenu.Add("autoQHarassMana", new Slider("Min. Mana for Auto Harass%", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Jungle Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWFarm", new CheckBox("Use W"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Use E"));
            JungleLaneMenu.Add("useWManalane", new Slider("Min. Mana for Laneclear Spells %", 70, 0, 100));
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Use W"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleLaneMenu.Add("useWMana", new Slider("Min. Mana for Jungleclear Spells %", 70, 0, 100));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.AddGroupLabel("Botrk Settings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddGroupLabel("Auto QSS if :");
            ItemMenu.Add("Blind",
                         new CheckBox("Blind", false));
            ItemMenu.Add("Charm",
                         new CheckBox("Charm"));
            ItemMenu.Add("Fear",
                         new CheckBox("Fear"));
            ItemMenu.Add("Polymorph",
                         new CheckBox("Polymorph"));
            ItemMenu.Add("Stun",
                         new CheckBox("Stun"));
            ItemMenu.Add("Snare",
                         new CheckBox("Snare"));
            ItemMenu.Add("Silence",
                         new CheckBox("Silence", false));
            ItemMenu.Add("Taunt",
                         new CheckBox("Taunt"));
            ItemMenu.Add("Suppression",
                         new CheckBox("Suppression"));

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

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser  settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            MiscMenu.AddGroupLabel("Ks Settings");
            MiscMenu.Add("UseQks", new CheckBox("Use Q ks"));
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));
            MiscMenu.Add("UseRks", new CheckBox("Use R ks"));
            MiscMenu.Add("UseRksRange", new Slider("Use Ulty Max Range[KS]", 1000, 500, 1400));

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

            FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("FleeE", new CheckBox("Use E"));
            FleeMenu.Add("FleeW", new CheckBox("Use W"));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawQ.1", new CheckBox("Draw Q Extend Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));

            DamageIndicator.Initialize(GetRawDamage);
            Game.OnTick            += Game_OnTick;
            Game.OnUpdate          += OnGameUpdate;
            Orbwalker.OnPostAttack += OnAfterAttack;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapCloser;
            Drawing.OnDraw         += Drawing_OnDraw;
        }
Esempio n. 18
0
        private static void Game_OnStart(EventArgs args)
        {
            if (!_Player.ChampionName.ToLower().Contains("vayne"))
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, int.MaxValue, SkillShotType.Linear);
            E = new Spell.Targeted(SpellSlot.E, 590);
            Condemn.ESpell = new Spell.Skillshot(SpellSlot.E, 590, SkillShotType.Linear, 250, 1250);
            R = new Spell.Active(SpellSlot.R);


            Menu = MainMenu.AddMenu("Vayne Buddy", "vBuddy");

            Menu.AddGroupLabel("Vayne Buddy");
            Menu.AddLabel("Version: " + "0.0.0.2");
            Menu.AddSeparator();
            Menu.AddLabel("By Fluxy ;)");
            Menu.AddSeparator();
            Menu.AddLabel("p.s. imeh is f****t");

            ComboMenu = Menu.AddSubMenu("Combo", "vBuddyCombo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useQKite", new CheckBox("Use Q to Kite Melee", false));
            ComboMenu.Add("useECombo", new CheckBox("Use E (Execute)"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useRCombo", new CheckBox("Use R", false));
            ComboMenu.Add("noRUnderTurret", new CheckBox("Disable R if Target is under enemy turret"));

            CondemnPriorityMenu = Menu.AddSubMenu("Auto Condemn", "vBuddyCondemnPriority");
            CondemnPriorityMenu.AddGroupLabel("Condemn Priority");
            foreach (var enem in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                var champValue = CondemnPriorityMenu.Add(enem.ChampionName + "priority",
                                                         new Slider(enem.ChampionName + ": ", 1, 1, 5));
                var enem1 = enem;
                champValue.OnValueChange += delegate
                {
                    champValue.DisplayName = enem1.ChampionName + ": " + PriorityValues[champValue.CurrentValue];
                };
                champValue.DisplayName = enem1.ChampionName + ": " + PriorityValues[champValue.CurrentValue];
            }
            CondemnPriorityMenu.AddSeparator();
            var sliderValue = CondemnPriorityMenu.Add("minSliderAutoCondemn",
                                                      new Slider("Min Priority for Auto Condemn: ", 2, 1, 5));

            sliderValue.OnValueChange += delegate
            {
                sliderValue.DisplayName = "Min Priority for Auto Condemn: " + PriorityValues[sliderValue.CurrentValue];
            };
            sliderValue.DisplayName = "Min Priority for Auto Condemn: " + PriorityValues[sliderValue.CurrentValue];
            CondemnPriorityMenu.Add("autoCondemnToggle",
                                    new KeyBind("Auto Condemn", false, KeyBind.BindTypes.PressToggle, 'H'));
            CondemnPriorityMenu.AddSeparator();

            CondemnMenu = Menu.AddSubMenu("Condemn", "vBuddyCondemn");
            CondemnMenu.AddGroupLabel("Condemn Settings");
            CondemnMenu.AddSeparator();
            CondemnMenu.Add("pushDistance", new Slider("Push Distance", 410, 350, 420));
            CondemnMenu.Add("condemnPercent", new Slider("Condemn Percent", 33, 1));
            CondemnMenu.AddSeparator();
            CondemnMenu.AddLabel("Active Mode Settings");
            CondemnMenu.Add("smartVsCheap",
                            new CheckBox("On (SMART CONDEMN (saves fps)) / OFF (360 degree check)", true));
            CondemnMenu.AddSeparator();
            CondemnMenu.Add("condemnCombo", new CheckBox("Condemn in Combo", true));
            CondemnMenu.Add("condemnComboTrinket", new CheckBox("Trinket Bush After E", true));
            CondemnMenu.Add("condemnHarass", new CheckBox("Condemn in Harass", true));

            HarassMenu = Menu.AddSubMenu("Harass", "vBuddyHarass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q", true));

            FarmMenu = Menu.AddSubMenu("Farming", "vBuddyFarm");
            FarmMenu.AddGroupLabel("Farming Settings");
            FarmMenu.Add("onlyTumbleToCursor", new CheckBox("Only Tumble To Cursor", false));
            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("useQLastHit", new CheckBox("Use Q Last", true));
            FarmMenu.AddLabel("WaveClear");
            FarmMenu.Add("useQWaveClear", new CheckBox("Use Q WaveClear", true));

            DrawMenu = Menu.AddSubMenu("Misc Menu", "vBuddyMisc");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawERange", new CheckBox("Draw E Range", false));
            DrawMenu.Add("condemnVisualiser", new CheckBox("Draw Condemn", false));
            DrawMenu.Add("drawStacks", new CheckBox("Draw W Stacks", false));
            DrawMenu.AddLabel("Misc");
            DrawMenu.Add("wallJumpKey", new KeyBind("Tumble Walls", false, KeyBind.BindTypes.HoldActive, 'Z'));
            DrawMenu.Add("condemnNextAA", new KeyBind("Condemn Next AA", false, KeyBind.BindTypes.PressToggle, 'E'));
            DrawMenu.AddLabel("Anti-Champions");
            DrawMenu.Add("antiKalista", new CheckBox("Anti-Kalista"));
            DrawMenu.Add("antiRengar", new CheckBox("Anti-Rengar"));

            InterruptorMenu = Menu.AddSubMenu("Interrupter", "InterruptorvBuddy");
            InterruptorMenu.AddGroupLabel("Interrupter Menu");
            InterruptorMenu.Add("enableInterrupter", new CheckBox("Enable Interrupter"));
            InterruptorMenu.AddSeparator();
            var dangerSlider        = InterruptorMenu.Add("dangerLevel", new Slider("Set Your Danger Level: ", 3, 1, 3));
            var dangerSliderDisplay = InterruptorMenu.Add("dangerLevelDisplay",
                                                          new Label("Danger Level: " + DangerSliderValues[dangerSlider.Cast <Slider>().CurrentValue - 1]));

            dangerSlider.Cast <Slider>().OnValueChange += delegate
            {
                dangerSliderDisplay.Cast <Label>().DisplayName =
                    "Danger Level: " + DangerSliderValues[dangerSlider.Cast <Slider>().CurrentValue - 1];
            };

            GapCloserMenu = Menu.AddSubMenu("Anti-GapClosers", "gapClosersvBuddy");
            GapCloserMenu.AddGroupLabel("Anti-GapCloser Menu");
            GapCloserMenu.Add("enableGapCloser", new CheckBox("Enable Anti-GapCloser"));

            Orbwalker.OnPreAttack            += Events.Orbwalker_OnPreAttack;
            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Events.Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Events.Interrupter_OnInterruptableSpell;
            Obj_AI_Base.OnProcessSpellCast   += AIHeroClient_OnProcessSpellCast;
            Obj_AI_Base.OnSpellCast          += Obj_AI_Base_OnSpellCast;
            Obj_AI_Base.OnBasicAttack        += Events.ObjAiBaseOnOnBasicAttack;
            GameObject.OnCreate              += Events.GameObject_OnCreate;
        }
Esempio n. 19
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Quinn addon");

            ComboMenu.AddLabel("Blinding Assault (Q) settings :");
            ComboMenu.Add("Plugins.Quinn.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Heightened Senses (W) settings :");
            ComboMenu.Add("Plugins.Quinn.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Vault (E) settings :");
            ComboMenu.Add("Plugins.Quinn.ComboMenu.UseE", new CheckBox("Use E"));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Quinn addon");

            HarassMenu.AddLabel("Blinding Assault (Q) settings :");
            HarassMenu.Add("Plugins.Quinn.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Quinn.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 75, 1));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Quinn addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false));
            var scanRange = LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Blinding Assault (Q) settings :");
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear"));
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.MinMinionsKilledForQ", new Slider("Min minions hit to use Q", 3, 1, 6));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear"));
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Quinn addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Quinn.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Vault (E) settings :");
            MiscMenu.Add("Plugins.Quinn.MiscMenu.EAgainstGapclosers", new CheckBox("Use E against gapclosers"));
            MiscMenu.Add("Plugins.Quinn.MiscMenu.EAgainstInterruptible", new CheckBox("Use E to interrupt"));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Quinn addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Blinding Assault (Q) settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawQ", new CheckBox("Draw Q range", false));
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Vault (E) settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
        /// <summary>
        ///     Initializes a new instance of the <see cref="Malzahar" /> class.
        /// </summary>
        public static void Execute()
        {
            if (ObjectManager.Player.ChampionName != "Malzahar")
            {
                return;
            }

            // Create spells
            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 500, int.MaxValue, 50);
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular, 500, int.MaxValue, 125);
            E = new Spell.Targeted(SpellSlot.E, 650);
            R = new Spell.Targeted(SpellSlot.R, 700);

            // Create Menu

            menuIni = MainMenu.AddMenu("Malzahar ", "Malzahar");
            menuIni.AddGroupLabel("Hoşgeldin Worst Malzahar addon!");
            menuIni.AddGroupLabel("Çeviri TRAdana");
            menuIni.AddGroupLabel("Genel Ayarlar");
            menuIni.Add("Ult", new CheckBox("Ulti kullan?"));
            menuIni.Add("Combo", new CheckBox("Kullan Combo?"));
            menuIni.Add("Harass", new CheckBox("Kullan Dürtme?"));
            menuIni.Add("LaneClear", new CheckBox("Kullan LaneTemizleme?"));
            menuIni.Add("KillSteal", new CheckBox("Kullan Kill Çalma?"));
            menuIni.Add("Misc", new CheckBox("Kullan Ek?"));
            menuIni.Add("Drawings", new CheckBox("Kullan Göstergeler?"));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ulti Ayarları");
            UltMenu.Add("gapcloserR", new CheckBox("Gapcloser için R"));
            UltMenu.Add("interruptR", new CheckBox("İnterrupt büyüleri için R"));
            UltMenu.Add("tower", new CheckBox("Dost kule altında otomatik R"));
            UltMenu.Add("R", new CheckBox("R ile öldürme"));
            UltMenu.Add("Rtower", new CheckBox("Düşman kule altında R kullanma"));
            UltMenu.Add("saveR", new CheckBox("R ile düşman dondur"));
            UltMenu.AddSeparator();
            UltMenu.AddGroupLabel("Ulti kullanma şu durumda:");
            foreach (var enemy in ObjectManager.Get<AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName);
                cb.CurrentValue = false;
                if (enemy.Team != Player.Instance.Team)
                {
                    UltMenu.Add("DontUlt" + enemy.BaseSkinName, cb);
                }
            }

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.Add("Q", new CheckBox("Kullan Q"));
            ComboMenu.Add("W", new CheckBox("Kullan W"));
            ComboMenu.Add("E", new CheckBox("Kullan E"));

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.Add("Q", new CheckBox("Kullan Q", false));
            HarassMenu.Add("W", new CheckBox("Kullan W", false));
            HarassMenu.Add("E", new CheckBox("Kullan E"));
            HarassMenu.Add("harassmana", new Slider("Harass Mana yardımcısı", 60, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("Farm Ayarları");
            LaneMenu.Add("Q", new CheckBox("Kullan Q", false));
            LaneMenu.Add("W", new CheckBox("Kullan W"));
            LaneMenu.Add("E", new CheckBox("Kullan E"));
            LaneMenu.Add("lanemana", new Slider("Farm Mana YARDIMCISI", 80, 0, 100));

            KillStealMenu = menuIni.AddSubMenu("Kill Steal");
            KillStealMenu.AddGroupLabel("Kill Çalma Ayarları");
            KillStealMenu.Add("Q", new CheckBox("KS'de Q Kullan"));
            KillStealMenu.Add("W", new CheckBox("KS'de W Kullan"));
            KillStealMenu.Add("E", new CheckBox("KS'de E Kullan"));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarları");
            MiscMenu.Add("gapcloserQ", new CheckBox("Gapcloser için Q"));
            MiscMenu.Add("interruptQ", new CheckBox("İnterrupt büyüleri için Q"));
            MiscMenu.Add("qcc", new CheckBox("CC düşmana Q"));
            MiscMenu.Add("wcc", new CheckBox("CC düşmana W"));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Gösterge Ayarları");
            DrawMenu.Add("Q", new CheckBox("Göster Q"));
            DrawMenu.Add("W", new CheckBox("Göster W"));
            DrawMenu.Add("E", new CheckBox("Göster E"));
            DrawMenu.Add("R", new CheckBox("Göster R"));

            Chat.Say("/D");

            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += DrawingOnOnDraw;
            Gapcloser.OnGapcloser += AntiGapcloserOnOnEnemyGapcloser;
            Interrupter.OnInterruptableSpell += InterrupterOnOnPossibleToInterrupt;
            Player.OnIssueOrder += PlayerIssue;
        }
Esempio n. 21
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Blitzcrank")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 925, SkillShotType.Linear, 250, 1800, 70);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R, 550);
            var FlashSlot = Blitz.GetSpellSlotFromName("summonerflash");

            Flash    = new Spell.Skillshot(FlashSlot, 32767, SkillShotType.Linear);
            Talisman = new Item((int)ItemId.Talisman_of_Ascension);

            BlitzMenu = MainMenu.AddMenu("BloodimirBlitz", "bloodimirblitz");
            BlitzMenu.AddGroupLabel("Bloodimir Blitzcrank");
            BlitzMenu.AddSeparator();
            BlitzMenu.AddLabel("Bloodimir Blitzcrank v1.0.2.0");

            ComboMenu = BlitzMenu.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", 2, 0, 5));
            ComboMenu.AddSeparator();
            ComboMenu.Add("flashq", new KeyBind("Flash Q", false, KeyBind.BindTypes.HoldActive, 'Y'));

            QMenu = BlitzMenu.AddSubMenu("Q Settings", "qsettings");
            QMenu.AddGroupLabel("Q Settings");
            QMenu.AddSeparator();
            QMenu.Add("qmin", new Slider("Min Range", 125, 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 != Blitz.Team))
            {
                QMenu.Add("grab" + obj.ChampionName.ToLower(), new CheckBox("Grab " + obj.ChampionName));
            }
            QMenu.AddSeparator();
            QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction / Disabled = High", false));
            QMenu.Add("intq", new CheckBox("Q to Interrupt"));
            QMenu.AddSeparator();

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

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 8));
            var sID        = new[]
            {
                "Default", "Rusty", "Goalkeeper", "Boom Boom", "Piltover Customs", "DefNotBlitz", "iBlitzCrank",
                "RiotCrank", "Battle Boss"
            };

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

            MiscMenu = BlitzMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("ksr", new CheckBox("KS with R"));
            MiscMenu.Add("LHE", new CheckBox("Last Hit E"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("support", new CheckBox("Support Mode"));
            MiscMenu.Add("fleew", new CheckBox("Use W Flee"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("talisman", new CheckBox("Use Talisman of Ascension"));


            DrawMenu = BlitzMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawfq", new CheckBox("Draw FlashQ"));
            DrawMenu.Add("predictions", new CheckBox("Visualize prediction"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate          += Tick;
            Orbwalker.OnPreAttack  += Orbwalker_OnPreAttack;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Core.DelayAction(FlashQ, 1);
            Drawing.OnDraw += delegate
            {
                if (DrawMenu["drawr"].Cast <CheckBox>().CurrentValue&& R.IsLearned)
                {
                    Drawing.DrawCircle(Blitz.Position, R.Range, System.Drawing.Color.LightBlue);
                }
                if (DrawMenu["drawfq"].Cast <CheckBox>().CurrentValue&& Q.IsLearned)
                {
                    Drawing.DrawCircle(Blitz.Position, 850 + 425, System.Drawing.Color.DarkBlue);
                }
                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["grab" + 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);
                    }
                }
                ;
            };
        }
Esempio n. 22
0
        public static void Load()
        {
            menuIni = MainMenu.AddMenu("千玗", "Kindred");
            menuIni.AddGroupLabel("欢迎使用最渣千玗脚本!");

            UltMenu = menuIni.AddSubMenu("大招");
            UltMenu.AddGroupLabel("大招设置");
            UltMenu.Add("Rally", new CheckBox("R 拯救队友 / 自身"));
            UltMenu.Add("Rallyh", new Slider("R 队友血量 %", 20, 0, 100));
            UltMenu.AddGroupLabel("不使用R: ");
            foreach (var ally in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(ally.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (ally.Team == ObjectManager.Player.Team)
                {
                    UltMenu.Add("DontUlt" + ally.BaseSkinName, cb);
                }
            }

            ComboMenu = menuIni.AddSubMenu("连招");
            ComboMenu.AddGroupLabel("连招设置");
            ComboMenu.Add("Q", new CheckBox("使用 Q"));
            ComboMenu.Add("W", new CheckBox("使用 W"));
            ComboMenu.Add("E", new CheckBox("使用 E"));
            ComboMenu.AddGroupLabel("额外设置");
            ComboMenu.Add("Qmode", new ComboBox("Q 模式", 0, "至目标", "至鼠标"));
            ComboMenu.Add("QW", new CheckBox("只Q 当W激活时", false));
            ComboMenu.Add("QAA", new CheckBox("不Q 当目标在普攻范围", false));
            ComboMenu.Add("Emark", new CheckBox("集火有 E的目标"));
            ComboMenu.Add("Pmark", new CheckBox("集火有 被标记的目标"));
            ComboMenu.Add("Pspells", new CheckBox("不攻击 R 中低于 15%血量的目标", false));

            HarassMenu = menuIni.AddSubMenu("骚扰");
            HarassMenu.AddGroupLabel("骚扰设置");
            HarassMenu.Add("Q", new CheckBox("使用 Q"));
            HarassMenu.Add("W", new CheckBox("使用 W", false));
            HarassMenu.Add("E", new CheckBox("使用 E"));

            LaneMenu = menuIni.AddSubMenu("清线");
            LaneMenu.AddGroupLabel("清线设置");
            LaneMenu.Add("Q", new CheckBox("使用 Q"));
            LaneMenu.Add("W", new CheckBox("使用 W", false));
            LaneMenu.Add("E", new CheckBox("使用 E", false));

            JungleMenu = menuIni.AddSubMenu("清野");
            JungleMenu.AddGroupLabel("清野设置");
            JungleMenu.Add("Q", new CheckBox("使用 Q"));
            JungleMenu.Add("W", new CheckBox("使用 W", false));
            JungleMenu.Add("E", new CheckBox("使用 E", false));

            FleeMenu = menuIni.AddSubMenu("逃跑");
            FleeMenu.AddGroupLabel("逃跑设置");
            FleeMenu.Add("Q", new CheckBox("使用 Q"));
            FleeMenu.Add("Qgap", new CheckBox("使用 Q 防突进"));

            ManaMenu = menuIni.AddSubMenu("蓝量控制器");
            ManaMenu.AddGroupLabel("骚扰");
            ManaMenu.Add("harassmana", new Slider("骚扰蓝量 %", 75, 0, 100));
            ManaMenu.AddGroupLabel("清线");
            ManaMenu.Add("lanemana", new Slider("清线蓝量 %", 60, 0, 100));

            DrawMenu = menuIni.AddSubMenu("线圈");
            DrawMenu.AddGroupLabel("线圈设置");
            DrawMenu.Add("Q", new CheckBox("显示 Q"));
            DrawMenu.Add("W", new CheckBox("显示 W"));
            DrawMenu.Add("E", new CheckBox("显示 E"));
            DrawMenu.Add("R", new CheckBox("显示 R"));
            DrawMenu.Add("debug", new CheckBox("调试", false));
        }
Esempio n. 23
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon");

            ComboMenu.AddLabel("Acid Hunter (Q) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Terror Capacitor (W) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Try to swap enemy pos under tower"));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon");

            HarassMenu.AddLabel("Acid Hunter (Q) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 40, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Acid Hunter (Q) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Urgot addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Acid Hunter (Q) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass",
                         new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !");
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Terror Capacitor (W) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Use R against gapclosers"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Use R to interrupt dangerous spells"));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Acid Hunter (Q) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Draw R range", false));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Other settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator");
        }
Esempio n. 24
0
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ashe"))
            {
                return;
            }
            Chat.Print("Doctor's Ashe Loaded!", Color.Orange);
            Q = new Spell.Active(SpellSlot.Q, 600);
            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            W.AllowedCollisionCount = 0;
            E = new Spell.Skillshot(SpellSlot.E, 10000, SkillShotType.Linear);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 250, 1600, 100);
            R.AllowedCollisionCount = -1;
            Botrk = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil   = new Item(3144, 475f);
            Thm   = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Doctor's Ashe", "Ashe");
            Menu.AddGroupLabel("Mercedes7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Reset AA"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboMode", new ComboBox("W Mode:", 1, "Fast [W]", "[W] Reset AA"));
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("KeepCombo", new CheckBox("Keep Mana For [R]", false));
            ComboMenu.AddGroupLabel("Ultimate Aoe Settings");
            ComboMenu.Add("RAoe", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("minRAoe", new Slider("Use [R] Aoe If Hit x Enemies", 2, 1, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'Y'));
            ComboMenu.AddGroupLabel("KillSteal Settings");
            ComboMenu.Add("RKs", new CheckBox("Use [R] KillSteal"));
            ComboMenu.Add("WKs", new CheckBox("Use [W] KillSteal"));
            ComboMenu.Add("RKb", new KeyBind("Semi Manual [R] KillSteal", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("KeepHarass", new CheckBox("Keep Mana For [R]", false));
            HarassMenu.Add("manaHarass", new Slider("Mana Harass", 50, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear");
            LaneClearMenu.AddGroupLabel("Laneclear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q] Laneclear", false));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W] Laneclear", false));
            LaneClearMenu.Add("minw", new Slider("Number Hit Minions Use [W]", 2, 1, 6));
            LaneClearMenu.Add("manaFarm", new Slider("Mana LaneClear", 60, 0, 100));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("jungleQ", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("jungleW", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("manaJung", new Slider("Mana JungleClear", 20, 0, 100));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Anti Gapcloser", false));
            Misc.Add("antiRengar", new CheckBox("Anti Rengar KhaZix", false));
            Misc.Add("inter", new CheckBox("Use [R] Interupt"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));
            Misc.Add("Notifications", new CheckBox("Alerter Can Kill With [R]"));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 6, "1", "2", "3", "4", "5", "6", "7", "8", "9"));

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            GameObject.OnCreate              += GameObject_OnCreate;
        }
Esempio n. 25
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Renekton"))
            {
                return;
            }
            Chat.Print("Renekton7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q       = new Spell.Active(SpellSlot.Q, 325);
            W       = new Spell.Active(SpellSlot.W);
            E       = new Spell.Skillshot(SpellSlot.E, 450, SkillShotType.Linear);
            R       = new Spell.Active(SpellSlot.R);
            Ignite  = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());

            Menu = MainMenu.AddMenu("Renekton7", "Renekton");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Reset AA", false));
            ComboMenu.Add("FastW", new CheckBox("Use [W] Fast"));
            ComboMenu.AddGroupLabel("Combo [E] Settings");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("ComboE2", new CheckBox("Use [E2] Combo"));
            ComboMenu.Add("Edis", new Slider("Distance Use [E2]", 250, 0, 450));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("hydra", new CheckBox("Use [Hydra] Reset AA"));

            Ulti = Menu.AddSubMenu("Ultimate Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Health Settings");
            Ulti.Add("ultiR", new CheckBox("Use [R] My Health"));
            Ulti.Add("MinR", new Slider("Min Health Use [R]", 50));
            Ulti.AddGroupLabel("Ultimate Enemies Count");
            Ulti.Add("ultiR2", new CheckBox("Use [R] Enemies In Range", false));
            Ulti.Add("MinE", new Slider("Min Enemies Use [R]", 3, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LHQ", new CheckBox("Use [Q] LastHit", false));
            LaneClearMenu.Add("LHW", new CheckBox("Use [W] LastHit", false));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsEQ", new CheckBox("Use [E-Q] KillSteal", false));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Skin Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("Q Range"));
            Misc.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnTick            += Game_OnTick;
            Orbwalker.OnPostAttack += ResetAttack;
        }
Esempio n. 26
0
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ekko"))
            {
                return;
            }
            Chat.Print("Victorious Ekko Loaded!", Color.White);
            EkkoREmitter            = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy"));
            Q                       = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Linear, 250, 2200, 60);
            Q.AllowedCollisionCount = int.MaxValue;
            W                       = new Spell.Skillshot(SpellSlot.W, 1600, SkillShotType.Circular, 1500, 500, 650);
            W.AllowedCollisionCount = int.MaxValue;
            E                       = new Spell.Active(SpellSlot.E, 450);
            R                       = new Spell.Active(SpellSlot.R, 375);
            Thm                     = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 16, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Victorious Ekko", "Ekko");
            Menu.AddGroupLabel("Mercedes7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("CQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("CW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("CW2", new CheckBox("Use [W] No Prediction", false));
            ComboMenu.Add("CE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("EMode", new ComboBox("Combo Mode:", 0, "E To Target", "E To Mouse"));
            ComboMenu.Add("CTurret", new KeyBind("Don't Use [E] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));

            Ulti = Menu.AddSubMenu("Ulti Settings", "Ulti");
            Ulti.AddGroupLabel("Ulti Settings");
            Ulti.Add("RKs", new CheckBox("Use [R] Ks"));
            Ulti.Add("RAoe", new CheckBox("Use [R] Aoe"));
            Ulti.Add("MinR", new Slider("Min Hit Enemies Use [R] Aoe", 3, 1, 5));
            Ulti.Add("REscape", new CheckBox("Use [R] Low Hp"));
            Ulti.Add("RHp", new Slider("Below MyHp Use [R]", 20));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HW2", new CheckBox("Use [W] No Prediction", false));
            HarassMenu.Add("HE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("HTurret", new CheckBox("Don't [E] Under Turret"));
            HarassMenu.Add("MinE", new Slider("Limit Enemies Around Target Use [E] Harass", 5, 1, 5));
            HarassMenu.Add("HM", new Slider("Mana Harass", 50, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear");
            LaneClearMenu.AddGroupLabel("Laneclear Settings");
            LaneClearMenu.Add("LQ", new CheckBox("Use [Q] Laneclear"));
            LaneClearMenu.Add("MinQ", new Slider("Min Hit Minions Use [Q] LaneClear", 3, 1, 6));
            LaneClearMenu.Add("LE", new CheckBox("Use [E] Laneclear", false));
            LaneClearMenu.Add("LM", new Slider("Mana LaneClear", 60, 0, 100));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("JQ", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("JW", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("JE", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JM", new Slider("Mana JungleClear", 20, 0, 100));

            KillSteals = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillSteals.Add("QKs", new CheckBox("Use [Q] Ks"));
            KillSteals.Add("EKs", new CheckBox("Use [E] Ks"));

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Misc.Add("inter", new CheckBox("Use [W] Interupt", false));
            Misc.Add("Qcc", new CheckBox("Use [Q] Immobile"));
            Misc.Add("QPassive", new CheckBox("Auto [Q] Enemies With 2 Stacks"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawE", new CheckBox("Draw [E]"));
            Misc.Add("DrawQ", new CheckBox("Draw [Q]"));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));
            Misc.Add("DrawR", new CheckBox("Draw [R]"));
            Misc.Add("DrawTR", new CheckBox("Status UnderTuret"));
            Misc.AddGroupLabel("Skins Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3"));

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnProcessSpellCast   += AIHeroClient_OnProcessSpellCast;
            GameObject.OnCreate              += Game_On_Create;
            GameObject.OnDelete              += Game_On_Delete;
        }
Esempio n. 27
0
        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);
        }
Esempio n. 28
0
        public static void Load()
        {
            #region Combo
            ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo"));
            SafeR     = ComboMenu.Add(new MenuSlider("SafeR", "Don't R Into x Enemies", 3, 0, 5));

            #endregion

            #region Harass
            HarassMenu = MainMenu.Add(new Menu("HarassMenu", "Harass"));
            AutoHarass = HarassMenu.Add(new MenuKeyBind("AutoHarass", "Auto Harass", Keys.T, KeyBindType.Toggle));
            HarassQ    = HarassMenu.Add(new MenuBool("HarassQ", "Harass Q"));
            #endregion

            #region Lane
            LaneMenu  = MainMenu.Add(new Menu("LaneMenu", "Lane"));
            StackQ    = LaneMenu.Add(new MenuBool("StackQ", "Stack Tear With Q"));
            StackMana = LaneMenu.Add(new MenuSlider("StackMana", "Stack Minimum Mana %", 50, 0, 100));
            LaneW     = LaneMenu.Add(new MenuBool("LaneW", "Laneclear W"));
            LaneE     = LaneMenu.Add(new MenuBool("LaneE", "Laneclear E"));
            LaneR     = LaneMenu.Add(new MenuBool("LaneR", "Laneclear R"));
            LaneMana  = LaneMenu.Add(new MenuSlider("LaneMana", "Lane Minimum Mana %", 50, 0, 100));
            #endregion

            #region Jungle
            JungleMenu = MainMenu.Add(new Menu("JungleMenu", "Jungle"));
            JungleQ    = JungleMenu.Add(new MenuBool("JungleQ", "Jungle Q"));
            JungleW    = JungleMenu.Add(new MenuBool("JungleW", "Jungle W"));
            JungleE    = JungleMenu.Add(new MenuBool("JungleE", "Jungle E"));
            JungleR    = JungleMenu.Add(new MenuBool("JungleR", "Jungle R"));
            #endregion

            #region Draw
            DrawMenu    = MainMenu.Add(new Menu("DrawMenu", "Draw"));
            DrawDmg     = DrawMenu.Add(new MenuBool("DrawDmg", "Draw Damage", true));
            DisableDraw = DrawMenu.Add(new MenuBool("DisableDraw", "Don't Draw"));
            DrawQ       = DrawMenu.Add(new MenuBool("DrawQ", "Q Range", true));
            DrawE       = DrawMenu.Add(new MenuBool("DrawE", "E Range"));
            DrawR       = DrawMenu.Add(new MenuBool("DrawR", "R Range", true));
            #endregion

            #region Killsteal
            KillstealMenu = MainMenu.Add(new Menu("KillstealMenu", "Killsteal"));
            KsQ           = KillstealMenu.Add(new MenuBool("KsQ", "Killsteal Q", true));
            KsW           = KillstealMenu.Add(new MenuBool("KsW", "Killsteal W", true));
            KsE           = KillstealMenu.Add(new MenuBool("KsE", "Killsteal E", true));
            KsR           = KillstealMenu.Add(new MenuBool("KsR", "Killsteal R", true));
            #endregion

            #region Trinket
            TrinketMenu = MainMenu.Add(new Menu("TrinketMenu", "Trinket"));
            BuyTrinket  = TrinketMenu.Add(new MenuBool("BuyTrinket", "Buy Trinket"));
            TrinketList = TrinketMenu.Add(new MenuList <string>("TrinketList", "Choose Trinket", new[] { "Oracle Alternation", "Farsight Alternation" }));
            #endregion

            #region Skin
            SkinMenu = MainMenu.Add(new Menu("SkinMenu", "Skin"));
            SkinList = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Festival Kassadin", "Deep One Kassadin", "Pre-Void Kassadin", "Harbinger Kassadin", "Cosmic Reaver Kassadin" }));
            #endregion

            MainMenu.Attach();
        }
Esempio n. 29
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                Menu.Add("UBAddons.Anivia.E.Auto", new CheckBox("Auto E if x2"));
                Menu.Add("UBAddons.Anivia.R.Auto", new CheckBox("Auto Turn off R"));
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.Add("UBAddons.Anivia.E.Only.Iced", new CheckBox("Only E if x2"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.Add("UBAddons.Anivia.E.Only.Iced", new CheckBox("Only E if x2"));
                    HarassMenu.CreatSlotCheckBox(SpellSlot.R);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.R, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.R, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.R);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.R);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Esempio n. 30
0
        private static void Menus()
        {
            DD = MainMenu.AddMenu("Zed", "Zed");
            //ComboMenu
            ComboMenu = DD.AddSubMenu("Combo");
            ComboMenu.AddLabel("Settings Combo");
            ComboMenu.Add("Key", new KeyBind("Forced [R]", false, KeyBind.BindTypes.HoldActive, (uint)'A'));
            ComboMenu.Add("UseG", new CheckBox("Use Ignite [Firts]"));
            ComboMenu.Add("Q", new CheckBox("Use [Q]"));
            ComboMenu.Add("W", new CheckBox("Use [W]"));
            ComboMenu.Add("E", new CheckBox("Use [E]"));
            ComboMenu.Add("ModeR", new ComboBox("ModSharp", 1, "Normal => [R]", "Static [R]"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic");
            ComboMenu.Add("Ql", new CheckBox("Use [Logic Q]"));
            ComboMenu.Add("Wl", new CheckBox("Use [Logic W]"));
            ComboMenu.Add("El", new CheckBox("Use [Logic E]"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic [Q]");
            ComboMenu.Add("Q2", new CheckBox("Fist [Q] Showdown"));
            ComboMenu.Add("Qp", new Slider("Use Prediction Lane > {0}", 50, 1));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic [W]");
            ComboMenu.Add("W2", new CheckBox("Fist [W] Showdown"));
            ComboMenu.Add("Wp", new Slider("Use Prediction Lane > {0}", 70, 1));
            ComboMenu.Add("We", new CheckBox("Use [W] To reach out to enemies"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic [E]");
            ComboMenu.Add("E2", new CheckBox("Fist [E] Showdown"));
            ComboMenu.Add("Ep", new Slider("Use Prediction Lane > {0}", 70, 1));
            //Auto
            Auto = DD.AddSubMenu("Auto");
            Auto.AddLabel("Settings Auto");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            //Farming
            Farming = DD.AddSubMenu("LaneClear");
            Farming.Add("Qf", new CheckBox("Use [Q] Farme"));
            Farming.Add("Wf", new CheckBox("Use [W] Farme"));
            Farming.Add("Ef", new CheckBox("Use [E] Farme"));
            Farming.AddSeparator();
            Farming.AddLabel("[Minion Settings]");
            Farming.Add("mini", new Slider("Minion Percent [W] > {0}", 3, 0, 6));
            Farming.AddSeparator();
            Farming.AddLabel("JungleClear");
            Farming.Add("Qj", new CheckBox("Use [Q]"));
            Farming.Add("Wj", new CheckBox("Use [W]"));
            Farming.Add("Ej", new CheckBox("Use [E]"));
            //Utimate
            Utimate = DD.AddSubMenu("Utimate [R]");
            Utimate.AddLabel("Settings Utimate");
            Utimate.Add("AutoR", new CheckBox("Use Auto[R]"));
            Utimate.Add("R", new CheckBox("[R] Utimate [Not use Spells]"));
            Utimate.Add("Rlife", new Slider("Target [R] > {0}", 75, 0));
            //KillSteal
            KillSteal = DD.AddSubMenu("KillSteal");
            //Draws
            Draws = DD.AddSubMenu("Drawings");
            Draws.Add("DQ", new CheckBox("[Q] Draws"));
            Draws.Add("DW", new CheckBox("[W] Draws"));
            Draws.Add("DE", new CheckBox("[E] Draws"));
            Draws.Add("DR", new CheckBox("[R] Draws"));

            Obj_AI_Base.OnBuffGain         += Showndows;
            Obj_AI_Base.OnPlayAnimation    += PlayerAnimation;
            Obj_AI_Base.OnProcessSpellCast += CastObjetcSpells;
            GameObject.OnCreate            += Create_ObJectic;
            GameObject.OnDelete            += Delete_Objectic;
            AttackableUnit.OnDamage        += DamageAutoAtack;
            Drawing.OnDraw += OnDraw_Firts;
            Game.OnTick    += GameOnTick;
            //Evade...
        }