Esempio n. 1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Leblanc")
            {
                return;
            }
            Q           = new Spell.Targeted(SpellSlot.Q, 720);
            W           = new Spell.Skillshot(SpellSlot.W, 760, SkillShotType.Circular, int.MaxValue, 1450, 220);
            E           = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Linear, 0, 1650, 55);
            R           = new Spell.Targeted(SpellSlot.R, 720);
            IgniteSlot  = ObjectManager.Player.GetSpellSlotFromName("summonerdot");
            LeblancMenu = MainMenu.AddMenu("Lebranku", "Lebranku");
            ComboMenu   = LeblancMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.Add("showcomboinfo", new CheckBox("Show Combo Info"));
            ComboMenu.AddSeparator();
            StringList(ComboMenu, "ComboSetOption", "Combo", new[] { "Auto", "Q-R Combo", "W-R Combo", "E-R Combo" }, 1);
            StringList(ComboMenu, "ComboSetEHitCh", "E Hit", new[] { "Low", "Medium", "High", "Dashing", "Immobile" }, 0);
            ComboMenu.Add("ComboDblStun",
                          new KeyBind("Double Stun", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));

            HarassMenu = LeblancMenu.AddSubMenu("Harass", "harass");
            HarassMenu.Add("harassshowinfo", new CheckBox("Show Harass info"));
            HarassMenu.AddSeparator();
            HarassMenu.Add("useqharass", new CheckBox("Use Q"));
            HarassMenu.Add("HarassUseTQ",
                           new KeyBind("Use Q (toggle)", false, KeyBind.BindTypes.PressToggle, "J".ToCharArray()[0]));
            HarassMenu.Add("HarassManaQ", new Slider("Q Min. Mana Percent", 50, 100, 0));
            HarassMenu.Add("usewharass", new CheckBox("Use W"));
            HarassMenu.Add("HarassUseTW",
                           new KeyBind("Use W (toggle)", false, KeyBind.BindTypes.PressToggle, "K".ToCharArray()[0]));
            HarassMenu.Add("HarassManaW", new Slider("W Min. Mana Percent", 50, 100, 0));
            HarassMenu.Add("useeharass", new CheckBox("Use E"));
            HarassMenu.Add("HarassUseTE",
                           new KeyBind("Use E (toggle)", false, KeyBind.BindTypes.PressToggle, "L".ToCharArray()[0]));
            HarassMenu.Add("HarassManaE", new Slider("E Min. Mana Percent", 50, 100, 0));

            KillStealMenu = LeblancMenu.AddSubMenu("Kill Steal", "killsteal");
            KillStealMenu.AddSeparator();
            KillStealMenu.Add("KUse_q", new CheckBox("Use Q", false));
            KillStealMenu.Add("KUse_w", new CheckBox("Use W", false));
            KillStealMenu.Add("KUse_e", new CheckBox("Use E", false));
            KillStealMenu.AddSeparator();
            KillStealMenu.Add("KUse_q2", new CheckBox("Use RQ", false));
            KillStealMenu.Add("KUse_w2", new CheckBox("Use RW", false));
            KillStealMenu.Add("KUse_wr", new CheckBox("Use WR", false));
            KillStealMenu.Add("KUse_e2", new CheckBox("Use RE", false));

            DrawingsMenu = LeblancMenu.AddSubMenu("Drawings", "drawings");
            DrawingsMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawingsMenu.Add("draww", new CheckBox("Draw W"));
            DrawingsMenu.Add("drawe", new CheckBox("Draw E"));
            DrawingsMenu.Add("drawdamagebar", new CheckBox("Draw Damage Bar indicator"));
            DrawingsMenu.Add("activeerange", new CheckBox("Draw Active E range"));
            DrawingsMenu.Add("wqrange", new CheckBox("W+Q Range"));

            RunMenu = LeblancMenu.AddSubMenu("Run", "Runmenu");
            RunMenu.Add("RunUseW", new CheckBox("Use W"));
            RunMenu.Add("RunUseR", new CheckBox("Use R"));
            ExtrasMenu = LeblancMenu.AddSubMenu("Extras", "Extras");
            ExtrasMenu.Add("interruptspells", new CheckBox("Interrupt Spells"));

            Game.OnTick         += Game_OnTick;
            Game.OnUpdate       += Game_OnUpdate;
            Drawing.OnEndScene  += OnEndScene.Drawing_OnEndScene;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Interrupter.OnInterruptableSpell += Interrupter_OnPosibleToInterrupt;
        }
Esempio n. 2
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("XinZhao"))
            {
                return;
            }
            Chat.Print("Doctor's Xinzhao Loaded!", Color.Orange);
            Chat.Print("Mercedes7", Color.Red);
            Q      = new Spell.Active(SpellSlot.Q);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Targeted(SpellSlot.E, 600);
            R      = new Spell.Active(SpellSlot.R, 500);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            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());
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil     = new Item(3144, 475f);
            Menu    = MainMenu.AddMenu("Xinzhao", "Xinzhao");
            Menu.AddSeparator();
            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.Add("DisE", new Slider("Use [E] If Enemy Distance >", 250, 0, 600));
            ComboMenu.Add("CTurret", new KeyBind("Dont Use [E] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("hydra", new CheckBox("Use [Hydra] Reset AA"));
            ComboMenu.Add("BOTRK", new CheckBox("Use [Botrk]"));
            ComboMenu.Add("ihp", new Slider("My HP Use BOTRK", 50));
            ComboMenu.Add("ihpp", new Slider("Enemy HP Use BOTRK", 50));

            Ulti = Menu.AddSubMenu("Ultimate Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Enemies In Count");
            Ulti.Add("ultiR", new CheckBox("Use [R] Enemies In Range"));
            Ulti.Add("MinR", new Slider("Min Enemies Use [R]", 2, 1, 5));
            Ulti.AddGroupLabel("Ultimate My HP");
            Ulti.Add("ultiR2", new CheckBox("Use [R] If My HP"));
            Ulti.Add("MauR", new Slider("My HP Use [R]", 40));

            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", false));
            HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));

            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("ManaJC", new Slider("Mana For JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] 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", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawR", new CheckBox("R Range"));
            Misc.Add("DrawE", new CheckBox("E Range"));
            Misc.Add("Damage", new CheckBox("Damage Indicator [R]"));
            Misc.Add("DrawTR", new CheckBox("Draw Text Under Turret"));
            Misc.AddGroupLabel("Interrupt Settings");
            Misc.Add("inter", new CheckBox("Use [R] Interupt"));

            Drawing.OnDraw                   += Drawing_OnDraw;
            Game.OnUpdate                    += Game_OnUpdate;
            Orbwalker.OnPostAttack           += ResetAttack;
            Interrupter.OnInterruptableSpell += Interupt;
            Drawing.OnEndScene               += Damage;
        }
Esempio n. 3
0
        static Kalista()
        {
            if (!Directory.Exists(appdata))
            {
                Directory.CreateDirectory(appdata);
            }

            if (!File.Exists(appdata + filename))
            {
                File.Create(appdata + filename);
                Created = true;
            }

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("SoulBound", "R Save Soul Bound");
            AutoMenu.CreateCheckBox("AutoR", "Auto R");
            AutoMenu.CreateCheckBox("EDeath", "E Before Death");
            AutoMenu.CreateCheckBox("AutoEBig", "Auto Use E Big Minions");
            AutoMenu.CreateCheckBox("AutoEUnKillable", "Auto Use E On UnKillable Minions", false);

            var balistahero = Ballistaheros.FirstOrDefault(a => EntityManager.Heroes.Allies.Any(b => a.Hero == b.Hero));

            if (balistahero != null)
            {
                AutoMenu.CreateCheckBox(balistahero.Hero.ToString(), "Use Ballista With " + balistahero.Hero);
                AutoMenu.CreateSlider(balistahero.Hero + "dis", "Min Distance To Use Ballista", 600, 0, 1100);
            }

            ComboMenu.CreateCheckBox("Gapclose", "Auto Attack Minions To GapClose");
            ComboMenu.CreateSlider("EKillCount", "Use E To Kill {0}+ Enemies Only", 1, 1, 6);

            HarassMenu.CreateCheckBox("Emin", "E Kill Minion For Harass");
            HarassMenu.CreateSlider("Estacks", "{0} Stacks to Use E", 5, 1, 25);

            LaneClearMenu.CreateSlider("Qhits", "Q Hit Count {0}", 3, 1, 15);
            LaneClearMenu.CreateSlider("Ekills", "E Kill Count {0}", 2, 1, 10);

            KillStealMenu.CreateCheckBox("ETransfer", "Stacks Transfer Killsteal (Q > E)");

            Orbwalker.OnUnkillableMinion   += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell          += Spellbook_OnCastSpell;
            Events.OnIncomingDamage        += Events_OnIncomingDamage;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnBuffGain         += Obj_AI_Base_OnBuffGain;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Events.OnGameEnd += Events_OnGameEnd;
        }
Esempio n. 4
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. 5
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Yasuo)
            {
                return;
            }

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

            ComboMenu = Menu.AddSubMenu("Kombo", "yasuCombo");
            ComboMenu.AddGroupLabel("Kombo Ayarlari");
            ComboMenu.Add("combo.Q", new CheckBox("Kullan Q"));
            ComboMenu.Add("combo.E", new CheckBox("Kullan E"));
            ComboMenu.Add("combo.stack", new CheckBox("Biriktir Q"));
            ComboMenu.Add("combo.leftclickRape", new CheckBox("Sol tiklama ile durt"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R Ayarlari");
            ComboMenu.Add("combo.R", new CheckBox("Kullan R"));
            ComboMenu.Add("combo.RTarget", new CheckBox("Kullan R secilen hedefe her zaman"));
            ComboMenu.Add("combo.RKillable", new CheckBox("Kullan R Olucek ise"));
            ComboMenu.Add("combo.MinTargetsR", new Slider("Kullan R Enaz dusman sayisi", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Durtme", "yasuHarass");
            HarassMenu.AddGroupLabel("Durtme Ayarlari");
            HarassMenu.Add("harass.Q", new CheckBox("Kullan Q"));
            HarassMenu.Add("harass.E", new CheckBox("Kullan E"));
            HarassMenu.Add("harass.stack", new CheckBox("Biriktir Q"));

            FarmMenu = Menu.AddSubMenu("Farm Ayarlari", "yasuoFarm");
            FarmMenu.AddGroupLabel("Farm Ayarlari");
            FarmMenu.AddLabel("SonVurus");
            FarmMenu.Add("LH.Q", new CheckBox("Kullan Q"));
            FarmMenu.Add("LH.E", new CheckBox("Kullan E"));
            FarmMenu.Add("LH.EUnderTower", new CheckBox("Kullan E Kule altinda", false));

            FarmMenu.AddLabel("DalgaTemizleme");
            FarmMenu.Add("WC.Q", new CheckBox("Kullan Q"));
            FarmMenu.Add("WC.E", new CheckBox("Kullan E"));
            FarmMenu.Add("WC.EUnderTower", new CheckBox("Kullan E Kule altinda", false));

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

            FleeMenu = Menu.AddSubMenu("Kacis/Evade", "yasuoFlee");
            FleeMenu.AddGroupLabel("Kacis Ayarlari");
            FleeMenu.Add("Flee.E", new CheckBox("Kullan E"));
            FleeMenu.Add("Flee.stack", new CheckBox("Biriktir Q"));
            FleeMenu.AddGroupLabel("Evade Ayarlari");
            FleeMenu.Add("Evade.E", new CheckBox("Kullan E skillden kacmak icin"));
            FleeMenu.Add("Evade.W", new CheckBox("Kullan W skillden kacmak icin"));
            FleeMenu.Add("Evade.WDelay", new Slider("Gecikme (ms)", 0, 0, 1000));

            MiscSettings = Menu.AddSubMenu("Karisik Ayarlar");
            MiscSettings.AddGroupLabel("Oldurme Ayarlari");
            MiscSettings.Add("KS.Q", new CheckBox("Kullan Q"));
            MiscSettings.Add("KS.E", new CheckBox("Kullan E"));
            MiscSettings.AddGroupLabel("Otomatik Q Ayarlari");
            MiscSettings.Add("Auto.Q3", new CheckBox("Kullan Q3"));
            MiscSettings.Add("Auto.Active", new KeyBind("Otomatik Q Dusmana", false, KeyBind.BindTypes.PressToggle, 'M'));

            Program.Main(null);

            DrawMenu = Menu.AddSubMenu("Cizimler", "yasuoDraw");
            DrawMenu.AddGroupLabel("Gosterge Ayarlari");

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

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

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

            DrawMenu.AddLabel("Asagidan rek secin = ");
            DrawMenu.AddColourItem("Draw.Down", 7);

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            EEvader.Init();
        }
Esempio n. 6
0
        /// <summary>
        /// Load when game starts.
        /// </summary>
        /// <param name="args"></param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            // Checks if Player is Teemo
            if (Player.Instance.BaseSkinName != ChampionName)
            {
                return;
            }

            Bootstrap.Init(null);

            Q = new Spell.Targeted(SpellSlot.Q, 680);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 300, SkillShotType.Circular, 500, 1000, 120);

            // Menu
            PandaTeemo = MainMenu.AddMenu("PandaTeemo", "PandaTeemo");
            PandaTeemo.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            PandaTeemo.AddGroupLabel(
                "Any unauthorized redistribution without credits will result in severe consequences.");
            PandaTeemo.AddGroupLabel("Thank you for using this addon and have a fun time!");

            // Combo Menu
            ComboMenu = PandaTeemo.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("qcombo", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("wcombo", new CheckBox("Use W in Combo"));
            ComboMenu.Add("rcombo", new CheckBox("Kite with R in Combo"));
            ComboMenu.Add("useqADC", new CheckBox("Use Q only on ADC during Combo", false));
            ComboMenu.Add("wCombat", new CheckBox("Use W if enemy is in range only"));
            ComboMenu.Add("rCharge", new Slider("Charges of R before using R", 2, 1, 3));
            ComboMenu.Add("checkCamo", new CheckBox("Prevents combo being activated while stealth in brush", false));

            // Harass Menu
            HarassMenu = PandaTeemo.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("qharass", new CheckBox("Harass with Q"));

            // LaneClear Menu
            LaneClearMenu = PandaTeemo.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("qclear", new CheckBox("LaneClear with Q", false));
            LaneClearMenu.Add("qManaManager", new Slider("Q Mana Manager", 50));
            LaneClearMenu.Add("attackTurret", new CheckBox("Attack Turret"));
            LaneClearMenu.Add("attackWard", new CheckBox("Attack Ward"));
            LaneClearMenu.Add("rclear", new CheckBox("LaneClear with R"));
            LaneClearMenu.Add("minionR", new Slider("Minion for R", 3, 1, 4));

            // JungleClear Menu
            JungleClearMenu = PandaTeemo.AddSubMenu("JungleClear", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("qclear", new CheckBox("JungleClear with Q"));
            JungleClearMenu.Add("rclear", new CheckBox("JungleClear with R"));
            JungleClearMenu.Add("qManaManager", new Slider("Q Mana Manager", 25));

            // Interrupter && Gapcloser
            InterruptMenu = PandaTeemo.AddSubMenu("Interrupt / Gapcloser", "Interrupt");
            InterruptMenu.AddGroupLabel("Interruptter and Gapcloser Setting");
            InterruptMenu.Add("intq", new CheckBox("Interrupt with Q"));
            InterruptMenu.Add("gapR", new CheckBox("Gapclose with R"));

            // KillSteal Menu
            KillStealMenu = PandaTeemo.AddSubMenu("KillSteal", "KSMenu");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KSQ", new CheckBox("KillSteal with Q"));
            KillStealMenu.Add("KSR", new CheckBox("KillSteal with R"));

            // Flee Menu
            FleeMenu = PandaTeemo.AddSubMenu("Flee Menu", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("w", new CheckBox("Use W while Flee"));
            FleeMenu.Add("r", new CheckBox("Use R while Flee"));
            FleeMenu.Add("rCharge", new Slider("Charges of R before using R", 2, 1, 3));

            // Drawing Menu
            DrawingMenu = PandaTeemo.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawingMenu.Add("colorBlind", new CheckBox("Colorblind Mode", false));
            DrawingMenu.Add("drawautoR", new CheckBox("Draw Important Shroom Areas"));
            DrawingMenu.Add("DrawVision", new Slider("Shroom Vision", 1500, 2500, 1000));

            // Debug Menu
            Debug = PandaTeemo.AddSubMenu("Debug", "debug");
            Debug.AddGroupLabel("Debug Settings");
            Debug.Add("debugdraw", new CheckBox("Draw Coords", false));
            Debug.Add("x", new Slider("Where to draw X", 500, 0, 3840));
            Debug.Add("y", new Slider("Where to draw Y", 500, 0, 2160));
            Debug.Add("debugpos", new CheckBox("Draw Custom Shroom Locations Coordinates"));

            // Misc
            MiscMenu = PandaTeemo.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("autoQ", new CheckBox("Automatic Q", false));
            MiscMenu.Add("autoW", new CheckBox("Automatic W", false));
            MiscMenu.Add("autoR", new CheckBox("Auto Place Shrooms in Important Places"));
            MiscMenu.Add("rCharge", new Slider("Charges of R before using R in AutoShroom", 2, 1, 3));
            MiscMenu.Add("autoRPanic", new KeyBind("Panic Key for Auto R", false, KeyBind.BindTypes.HoldActive, 84));
            MiscMenu.Add("customLocation", new CheckBox("Use Custom Location for Auto Shroom (Requires Reload)"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("checkAA", new CheckBox("Subtract Range for Q (checkAA)"));
            MiscMenu.Add("checkaaRange", new Slider("How many to subtract from Q Range (checkAA)", 100, 0, 180));

            // Events
            Game.OnTick += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Chat.Print("PandaTeemo EloBuddy Edition Loaded by KarmaPanda", Color.LightBlue);

            // Loads ShroomPosition
            Handler         = new FileHandler();
            ShroomPositions = new ShroomTables();
        }
Esempio n. 7
0
        public Orianna()
        {
            try
            {
                AIO.Initializers.Add(delegate
                {
                    _ballObject =
                        ObjectManager.Get <Obj_GeneralParticleEmitter>()
                        .FirstOrDefault(
                            o => o.IsValid && !o.IsDead && o.Name.Equals(BallName));
                });
                Q = new SpellBase(SpellSlot.Q, SpellType.Circular, 815)
                {
                    Speed = 1200,
                    Width = 80,
                    CollidesWithYasuoWall = false
                };
                Q.SetSourceFunction(() => Ball);
                W = new SpellBase(SpellSlot.W, SpellType.Self, 255);
                W.SetSourceFunction(() => Ball);
                W.SetRangeCheckSourceFunction(() => Ball);
                E = new SpellBase(SpellSlot.E, SpellType.Circular, 1095)
                {
                    Speed = 1800,
                    Width = 85,
                    MinHitChancePercent   = 45,
                    CollidesWithYasuoWall = false
                };
                E.SetSourceFunction(() => Ball);
                R = new SpellBase(SpellSlot.R, SpellType.Self, 400)
                {
                    CastDelay = 500
                };
                R.SetSourceFunction(() => Ball);
                R.SetRangeCheckSourceFunction(() => Ball);
                Spellbook.OnCastSpell += delegate(Spellbook sender, SpellbookCastSpellEventArgs args)
                {
                    if (sender.Owner.IsMe)
                    {
                        if (args.Slot == SpellSlot.R && MiscMenu.CheckBox("R.Block"))
                        {
                            args.Process = _hitR != 0 && !_ballIsMissile;
                        }
                    }
                };
                GameObject eTarget = null;
                Obj_AI_Base.OnProcessSpellCast += delegate(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args)
                {
                    if (sender.IsMe)
                    {
                        if (args.Slot == SpellSlot.E)
                        {
                            eTarget = args.Target;
                        }
                    }
                };
                GameObject.OnCreate += delegate(GameObject sender, EventArgs args)
                {
                    if (sender.Name.Equals(BallName))
                    {
                        _ballObject = sender;
                    }
                    else
                    {
                        var missile = sender as MissileClient;
                        if (missile != null && missile.SpellCaster != null && missile.SpellCaster.IsMe)
                        {
                            if (missile.SData.Name.Equals("orianaizuna") || missile.SData.Name.Equals("orianaredact"))
                            {
                                _ballObject = missile;
                            }
                        }
                    }
                };
                GameObject.OnDelete += delegate(GameObject sender, EventArgs args)
                {
                    var missile = sender as MissileClient;
                    if (missile != null && missile.SpellCaster != null && missile.SpellCaster.IsMe)
                    {
                        if (missile.SData.Name.Equals("orianaredact"))
                        {
                            _ballObject = eTarget;
                        }
                    }
                };
                Obj_AI_Base.OnPlayAnimation += delegate(Obj_AI_Base sender, GameObjectPlayAnimationEventArgs args)
                {
                    if (sender.IsMe && args.Animation.Equals("Prop"))
                    {
                        _ballObject = sender;
                    }
                };
                Gapcloser.OnGapcloser += delegate(AIHeroClient sender, Gapcloser.GapcloserEventArgs args)
                {
                    if (sender.IsAlly)
                    {
                        if (Target != null && AutomaticMenu.CheckBox("Gapcloser") &&
                            Ball.GetDistanceSqr(Target) > args.End.Distance(Target, true) &&
                            args.End.Distance(Target, true) < args.Sender.GetDistanceSqr(Target))
                        {
                            CastE(sender);
                        }
                    }
                };
                Dash.OnDash += delegate(Obj_AI_Base sender, Dash.DashEventArgs args)
                {
                    if (sender.IsAlly)
                    {
                        if (Target != null && AutomaticMenu.CheckBox("Gapcloser") &&
                            Ball.GetDistanceSqr(Target) > args.EndPos.Distance(Target, true) &&
                            args.EndPos.Distance(Target, true) < sender.GetDistanceSqr(Target))
                        {
                            CastE(sender);
                        }
                    }
                };
                Interrupter.OnInterruptableSpell +=
                    delegate(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs args)
                {
                    if (sender.IsEnemy)
                    {
                        if (AutomaticMenu.CheckBox("Interrupter"))
                        {
                            if (!Ball.InRange(args.Sender, R.Range))
                            {
                                ThrowBall(args.Sender);
                            }
                            else
                            {
                                CastR(args.Sender);
                            }
                        }
                    }
                };
                Obj_AI_Base.OnBasicAttack += delegate(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args)
                {
                    if (sender.IsEnemy && _canShield && args.Target != null && args.Target.IsMe)
                    {
                        if (sender.Type == GameObjectType.AIHeroClient)
                        {
                            if (sender.IsMelee)
                            {
                                CastE(MyHero);
                            }
                        }
                        else if (sender.Type == GameObjectType.obj_AI_Turret)
                        {
                            CastE(MyHero);
                        }
                    }
                };
                Obj_AI_Base.OnProcessSpellCast += delegate(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args)
                {
                    if (sender.IsEnemy && _canShield && args.Target != null && args.Target.IsMe)
                    {
                        if (sender.Type == GameObjectType.AIHeroClient)
                        {
                            CastE(MyHero);
                        }
                    }
                };

                Q.AddConfigurableHitChancePercent();
                R.AddConfigurableHitChancePercent();

                MenuManager.AddSubMenu("Combo");
                {
                    ComboMenu.AddValue("TeamFight",
                                       new Slider("Use TeamFight logic if enemies near is greater than {0}", 3, 1, 5));
                    ComboMenu.AddValue("Common", new GroupLabel("Common logic"));
                    ComboMenu.AddValue("Q", new CheckBox("Use Q"));
                    ComboMenu.AddValue("W", new CheckBox("Use W"));
                    ComboMenu.AddValue("E.Shield", new CheckBox("Use E on enemy spells"));
                    ComboMenu.AddValue("E.HealthPercent", new Slider("Use E if my % of health is less than {0}", 40));
                    ComboMenu.AddValue("1vs1", new GroupLabel("1 vs 1 logic"));
                    ComboMenu.AddValue("R.Killable", new CheckBox("Use R if target is killable"));
                    ComboMenu.AddValue("TeamFightLogic", new GroupLabel("TeamFight logic"));
                    ComboMenu.AddValue("Q.Hit", new Slider("Use Q if hit is greater than {0}", 2, 1, 5));
                    ComboMenu.AddValue("W.Hit", new Slider("Use W if hit is greater than {0}", 2, 1, 5));
                    ComboMenu.AddValue("R.Hit", new Slider("Use R if hit is greater than {0}", 3, 1, 5));
                }

                MenuManager.AddSubMenu("Harass");
                {
                    HarassMenu.AddValue("Q", new CheckBox("Use Q"));
                    HarassMenu.AddValue("W", new CheckBox("Use W"));
                    HarassMenu.AddValue("E.Shield", new CheckBox("Use E on enemy spells"));
                    HarassMenu.AddValue("E.HealthPercent", new Slider("Use E if my % of health is less than {0}", 40));
                    HarassMenu.AddValue("ManaPercent", new Slider("Minimum Mana Percent", 25));
                }

                MenuManager.AddSubMenu("Clear");
                {
                    ClearMenu.AddValue("LaneClear", new GroupLabel("LaneClear"));
                    {
                        ClearMenu.AddValue("LaneClear.Q", new Slider("Use Q if hit is greater than {0}", 4, 0, 10));
                        ClearMenu.AddValue("LaneClear.W", new Slider("Use W if hit is greater than {0}", 3, 0, 10));
                        ClearMenu.AddValue("LaneClear.E", new Slider("Use E if hit is greater than {0}", 6, 0, 10));
                        ClearMenu.AddValue("LaneClear.ManaPercent", new Slider("Minimum Mana Percent", 50));
                    }
                    ClearMenu.AddValue("LastHit", new GroupLabel("LastHit"));
                    {
                        ClearMenu.AddStringList("LastHit.Q", "Use Q", new[] { "Never", "Smartly", "Always" }, 1);
                        ClearMenu.AddValue("LastHit.ManaPercent", new Slider("Minimum Mana Percent", 50));
                    }
                    ClearMenu.AddValue("JungleClear", new GroupLabel("JungleClear"));
                    {
                        ClearMenu.AddValue("JungleClear.Q", new CheckBox("Use Q"));
                        ClearMenu.AddValue("JungleClear.W", new CheckBox("Use W"));
                        ClearMenu.AddValue("JungleClear.E", new CheckBox("Use E"));
                        ClearMenu.AddValue("JungleClear.ManaPercent", new Slider("Minimum Mana Percent", 20));
                    }
                }

                MenuManager.AddKillStealMenu();
                {
                    KillStealMenu.AddValue("Q", new CheckBox("Use Q"));
                    KillStealMenu.AddValue("W", new CheckBox("Use W"));
                    KillStealMenu.AddValue("E", new CheckBox("Use E"));
                    KillStealMenu.AddValue("R", new CheckBox("Use R", false));
                }

                MenuManager.AddSubMenu("Automatic");
                {
                    AutomaticMenu.AddValue("Gapcloser", new CheckBox("Use E on hero gapclosing / dashing"));
                    AutomaticMenu.AddValue("Interrupter", new CheckBox("Use R on channeling spells"));
                    AutomaticMenu.AddValue("E.Shield", new CheckBox("Use E on enemy spells"));
                    AutomaticMenu.AddValue("W.Hit", new Slider("Use W if hit is greater than {0}", 2, 1, 5));
                    AutomaticMenu.AddValue("R.Hit", new Slider("Use R if hit is greater than {0}", 3, 1, 5));
                }

                MenuManager.AddDrawingsMenu();
                {
                    var c = DrawingsMenu.AddValue("Ball", new CheckBox("Draw ball position"));
                    CircleManager.Circles.Add(new Circle(c, new ColorBGRA(0, 0, 255, 100), () => 120, () => true,
                                                         () => Ball)
                    {
                        Width = 3
                    });
                    Q.AddDrawings();
                    W.AddDrawings();
                    E.AddDrawings(false);
                    R.AddDrawings();
                }
                MenuManager.AddSubMenu("Misc");
                {
                    MiscMenu.AddValue("R.Block", new CheckBox("Block R if will not hit"));
                    if (EntityManager.Heroes.Enemies.Count > 0)
                    {
                        var enemiesAdded = new HashSet <string>();
                        MiscMenu.AddValue("BlackList.R", new GroupLabel("Don't use R on:"));
                        foreach (var enemy in EntityManager.Heroes.Enemies)
                        {
                            if (!enemiesAdded.Contains(enemy.ChampionName))
                            {
                                MiscMenu.AddValue("BlackList." + enemy.ChampionName,
                                                  new CheckBox(enemy.ChampionName, false));
                                enemiesAdded.Add(enemy.ChampionName);
                            }
                        }
                    }
                }
            }
            catch (Exception e)
            {
                AIO.WriteInConsole(e.ToString());
            }
        }
Esempio n. 8
0
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("//////////"))
            {
                return;
            }
            Chat.Print("Doctor's /// Loaded!", Color.Orange);
            Bootstrap.Init(null);
            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("CQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("CW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("CE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("CR", new CheckBox("Use [R] Combo"));

            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("HE", new CheckBox("Use [E] Harass"));
            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", false));
            LaneClearMenu.Add("LW", new CheckBox("Use [W] Laneclear", false));
            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));

            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("inter", new CheckBox("Use [R] Interupt"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawE", new CheckBox("Draw [E]"));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));

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

            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            //Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
            //Interrupter.OnInterruptableSpell += Interupt;
            //Orbwalker.OnPostAttack += ResetAttack;
        }
Esempio n. 9
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.W);
                Menu.CreatSlotHitChance(SpellSlot.E);
                Menu.Add(Variables.AddonName + "Syndra.QE.HitChance", new Slider("EQ hitchance prediction", 80));
                Menu.Add(Variables.AddonName + "Syndra.QE.Auto.Hit", new Slider("Auto E if stun {0} champ", 3, 1, 6));
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.Add(Variables.AddonName + ".QE.Enable", new CheckBox("Use Q-E"));
                    ComboMenu.Add(Variables.AddonName + ".WE.Enable", new CheckBox("Use W-E"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + 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.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E);
                    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.CreatSlotCheckBox(SpellSlot.W);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LastHitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "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", "UBAddons.Drawings" + player.Hero, "Settings your drawings below");
                {
                    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. 10
0
        public static void Dattenosa()
        {
            // Menu
            Menu = MainMenu.AddMenu("UB Kennen", "UBKennen");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");

            //ComboMenu
            ComboMenu = Menu.AddSubMenu("Combo");
            {
                ComboMenu.AddGroupLabel("Combo Settings");
                ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
                ComboMenu.Add("focus", new CheckBox("Priority Q on enemy has Passive Buff"));
                ComboMenu.Add("useWCombo", new CheckBox("Use W"));
                ComboMenu.Add("WHitCombo", new Slider("Only Use W if hit {0} enemy", 1, 1, 5));
                ComboMenu.Add("useECombo", new CheckBox("Use E", false));
                ComboMenu.Add("useRCombo", new CheckBox("Use R"));
                ComboMenu.Add("RHitCombo", new Slider("Least enemy to use R", 2, 1, 5));
                ComboMenu.AddSeparator();
            }

            //HarassMenu
            HarassMenu = Menu.AddSubMenu("Harass");
            {
                HarassMenu.AddGroupLabel("Harass Settings");
                HarassMenu.Add("useQ", new CheckBox("Use Q"));
                HarassMenu.Add("useW", new CheckBox("Use W"));
                HarassMenu.Add("Whit", new Slider("W when hit {0} enemy", 1, 1, 5));
                HarassMenu.Add("HrEnergyManager", new Slider("If energy below {0} stop harass", 0, 0, 200));
            }

            //LaneJungleClear Menu
            LaneClear = Menu.AddSubMenu("LaneClear");
            {
                LaneClear.AddGroupLabel("Laneclear Settings");
                LaneClear.Add("useQLc", new CheckBox("Use Q to laneclear", false));
                LaneClear.Add("useWLc", new CheckBox("Use W to laneclear", false));
                LaneClear.Add("WHitLc", new Slider("Only Use W if hit {0} minion(s)", 5, 1, 30));
                LaneClear.Add("useELc", new CheckBox("Use E to laneclear", false));
                LaneClear.Add("EnergyManager", new Slider("If energy below {0} stop use skill to laneclear", 0, 0, 200));
            }
            //JungleClear Menu
            JungleClear = Menu.AddSubMenu("JungleClear");
            {
                JungleClear.AddGroupLabel("Jungleclear Settings");
                JungleClear.Add("useQJc", new CheckBox("Use Q to jungleclear"));
                JungleClear.Add("useWJc", new CheckBox("Use W to jungleclear"));
                JungleClear.Add("useEJc", new CheckBox("Use E to jungleclear", false));
                JungleClear.Add("JcEnergyManager", new Slider("if energy below {0} stop Use skill to jungleclear", 0, 0, 200));
            }

            //LasthitMenu
            LasthitMenu = Menu.AddSubMenu("Lasthit");
            {
                LasthitMenu.Add("useQLh", new CheckBox("Use Q to lasthit"));
                LasthitMenu.Add("useWLh", new CheckBox("Use W to lasthit"));
            }

            //DrawMenu
            DrawMenu = Menu.AddSubMenu("Drawings");
            {
                DrawMenu.Add("draw", new CheckBox("Enable Drawings"));
                DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
                DrawMenu.Add("drawW", new CheckBox("Draw W"));
                DrawMenu.Add("drawR", new CheckBox("Draw R"));
                DrawMenu.Add("Time", new CheckBox("Passive Timer", false));
                DrawMenu.Add("dmg", new CheckBox("Draw Damage Indicator"));
                DrawMenu.Add("Color", new ColorPicker("Damage Indicator Color", Color.FromArgb(255, 255, 236, 0)));
            }

            //MiscMenu
            MiscMenu = Menu.AddSubMenu("MiscMenu");
            {
                MiscMenu.AddGroupLabel("Misc Settings");
                MiscMenu.AddLabel("Anti Gapcloser");
                MiscMenu.Add("useQAG", new CheckBox("Use Q to anti GapCloser"));
                MiscMenu.Add("useWAG", new CheckBox("Use W to anti Gapcloser"));
                MiscMenu.Add("useEAG", new CheckBox("Use E to anti Gapcloser"));

                MiscMenu.AddLabel("Killsteal Settings");
                MiscMenu.Add("useQKS", new CheckBox("Use Q to KS"));
                MiscMenu.Add("useWKS", new CheckBox("Use W to KS"));
            }
        }
Esempio n. 11
0
File: Brand.cs Progetto: jitart/adc
        static Brand()
        {
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1600, 120);
                W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 650, -1, 200);
                E = new Spell.Targeted(SpellSlot.E, 630);
                R = new Spell.Targeted(SpellSlot.R, 750);

                SpellList.Add(Q);
                SpellList.Add(W);
                SpellList.Add(E);
                SpellList.Add(R);

                Menuini    = MainMenu.AddMenu("Brand", "Brand");
                AutoMenu   = Menuini.AddSubMenu("Auto");
                ComboMenu  = Menuini.AddSubMenu("Combo");
                HarassMenu = Menuini.AddSubMenu("Harass");
                HarassMenu.AddGroupLabel("Harass");
                LaneClearMenu = Menuini.AddSubMenu("LaneClear");
                LaneClearMenu.AddGroupLabel("LaneClear");
                JungleClearMenu = Menuini.AddSubMenu("JungleClear");
                JungleClearMenu.AddGroupLabel("JungleClear");
                KillStealMenu = Menuini.AddSubMenu("Stealer");
                DrawMenu      = Menuini.AddSubMenu("Drawings");
                ColorMenu     = Menuini.AddSubMenu("Colors");

                foreach (var spell in SpellList.Where(s => s != E && s != R))
                {
                    Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low"));
                    Menuini.AddSeparator(0);
                }

                AutoMenu.AddGroupLabel("Auto Settings");
                AutoMenu.Add("AutoR", new Slider("Auto R AoE hit [{0}] Targets or more", 2, 1, 6));
                AutoMenu.Add("Gap", new CheckBox("Anti GapCloser"));
                AutoMenu.Add("Int", new CheckBox("Auto Interrupter"));
                AutoMenu.Add("Danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low"));
                AutoMenu.AddSeparator(0);
                AutoMenu.AddGroupLabel("Auto Hit Passive");
                AutoMenu.Add("AutoQ", new CheckBox("Auto Q Dotnate Passive"));
                AutoMenu.Add("AutoW", new CheckBox("Auto W Dotnate Passive", false));
                AutoMenu.Add("AutoE", new CheckBox("Auto E Dotnate Passive"));

                ComboMenu.AddGroupLabel("Combo Settings");
                ComboMenu.Add("Q", new CheckBox("Use Q"));
                ComboMenu.AddLabel("Extra Q Settings");
                ComboMenu.Add("Qp", new CheckBox("Q Only for stun"));
                ComboMenu.Add(Q.Slot + "mana", new Slider("Use Q if Mana% is more than [{0}%]", 10));
                ComboMenu.AddSeparator(1);

                ComboMenu.Add("W", new CheckBox("Use W"));
                ComboMenu.AddLabel("Extra W Settings");
                ComboMenu.Add("Wp", new CheckBox("W Only if target has brand passive", false));
                ComboMenu.Add(W.Slot + "mana", new Slider("Use W if Mana% is more than [{0}%]", 5));
                ComboMenu.AddSeparator(1);

                ComboMenu.Add("E", new CheckBox("Use E"));
                ComboMenu.AddLabel("Extra E Settings");
                ComboMenu.Add("Ep", new CheckBox("E Only if target has brand passive", false));
                ComboMenu.Add(E.Slot + "mana", new Slider("Use E if Mana% is more than [{0}%]", 15));
                ComboMenu.AddSeparator(1);

                ComboMenu.Add("RFinisher", new CheckBox("Use R Finisher"));
                ComboMenu.Add("RAoe", new CheckBox("Use R Aoe"));
                ComboMenu.Add("Rhit", new Slider("R AoE hit [{0}] Targets or more", 2, 1, 6));
                ComboMenu.Add(R.Slot + "mana", new Slider("Use R if Mana% is more than [{0}%]"));

                foreach (var spell in SpellList.Where(s => s.Slot != SpellSlot.R))
                {
                    HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    HarassMenu.AddSeparator(1);
                    LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    LaneClearMenu.AddSeparator(1);
                    JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot));
                    JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65));
                    JungleClearMenu.AddSeparator(1);
                }

                KillStealMenu.AddGroupLabel("KillSteal");
                foreach (var spell in SpellList)
                {
                    KillStealMenu.Add(spell.Slot + "ks", new CheckBox("Use " + spell.Slot));
                }

                KillStealMenu.AddSeparator(0);
                KillStealMenu.AddGroupLabel("JungleSteal");
                foreach (var spell in SpellList)
                {
                    KillStealMenu.Add(spell.Slot + "js", new CheckBox("Use " + spell.Slot));
                }

                DrawMenu.AddGroupLabel("Drawings");
                DrawMenu.Add("damage", new CheckBox("Draw Combo Damage"));
                DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health");
                DrawMenu.AddSeparator(1);
                foreach (var spell in SpellList)
                {
                    DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                    ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse));
                }

                Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
                Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
                Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
            }
            catch (Exception e)
            {
                Common.Log(e.ToString());
            }
        }
Esempio n. 12
0
 private static void Harassmenu()
 {
     HarassMenu = VMenu.AddSubMenu("Harass", "Harass");
     HarassMenu.Add("HarassCombo", new CheckBox("Harass Combo"));
     HarassMenu.Add("HarassMana", new Slider("Harass Combo Mana", 40));
 }
Esempio n. 13
0
        public override void Harass()
        {
            var target = TargetSelector.GetTarget(W.Range, DamageType.Physical);

            if (target == null || !target.IsKillable(W.Range))
            {
                return;
            }

            if (Q.IsReady() && target.IsKillable(Q.Range) && HarassMenu.CheckBoxValue(SpellSlot.Q) && HarassMenu.CompareSlider(Q.Slot + "mana", user.ManaPercent))
            {
                Q.Cast();
            }
            if (W.IsReady() && target.IsKillable(W.Range) && HarassMenu.CheckBoxValue(SpellSlot.W) && HarassMenu.CompareSlider(W.Slot + "mana", user.ManaPercent))
            {
                W.Cast(target);
            }
        }
Esempio n. 14
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Olaf"))
            {
                return;
            }
            Chat.Print("Olaf7 Loaded!", Color.Red);
            Chat.Print("Doctor7", Color.GreenYellow);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            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("Olaf7", "Olaf");
            Menu.AddGroupLabel("Olaf7");
            Menu.AddLabel(" Leave Feedback For Any Bugs ");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E]"));
            ComboMenu.Add("item", new CheckBox("Use [Item]"));

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

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]"));
            LaneClearMenu.Add("minq", new Slider("Min Minions Use [Q]", 3, 1, 6));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W]"));
            LaneClearMenu.Add("Wlc", new Slider("Health For [W] LaneClear", 80));
            LaneClearMenu.Add("ClearE", new CheckBox("Use [E]"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit"));
            LastHitMenu.Add("LastAA", new CheckBox("Only [E] If Out AA Range", false));
            LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false));
            LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60));


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

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.AddGroupLabel("Ultimate Setting");
            Misc.Add("Ulti", new CheckBox("Use Ultimate"));
            Misc.AddGroupLabel("Use [R] On");
            Misc.Add("stun", new CheckBox("Stuns"));
            Misc.Add("knockup", new CheckBox("Knock Ups"));
            Misc.Add("tunt", new CheckBox("Taunt"));
            Misc.Add("charm", new CheckBox("Charm", false));
            Misc.Add("snare", new CheckBox("Snare"));
            Misc.Add("sleep", new CheckBox("Sleep", false));
            Misc.Add("blind", new CheckBox("Blinds", false));
            Misc.Add("disarm", new CheckBox("Disarm", false));
            Misc.Add("fear", new CheckBox("Fear", false));
            Misc.Add("silence", new CheckBox("Silence", false));
            Misc.Add("frenzy", new CheckBox("Frenzy", false));
            Misc.Add("supperss", new CheckBox("Supperss", false));
            Misc.Add("slow", new CheckBox("Slows", false));
            Misc.Add("poison", new CheckBox("Poisons", false));
            Misc.Add("knockback", new CheckBox("Knock Backs", false));
            Misc.Add("nearsight", new CheckBox("NearSight", false));
            Misc.Add("poly", new CheckBox("Polymorph", false));

            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("KsIgnite", new CheckBox("Use [Ignite] KillSteal"));

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

            Drawings = Menu.AddSubMenu("Misc Settings", "Draw");
            Drawings.AddGroupLabel("Misc Setting");
            Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false));
            Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
Esempio n. 15
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.W);
                Menu.CreatSlotHitChance(SpellSlot.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.Cassiopeia.E.Poison", new CheckBox("E only Poison", false));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.CreatSlotHitSlider(SpellSlot.R, 1, 1, 5);
                }
                #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.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.CreatSlotCheckBox(SpellSlot.E);
                    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, 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, null, false);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    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.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. 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.Add("UBAddons.Annie.E.Attack.Enable", new CheckBox("E on Enemy/Turret/Monster Attack"));
                Menu.Add("UBAddons.Annie.E.Spell.Enable", new CheckBox("E on Enemy spell"));
                Menu.Add("UBAddons.Annie.EQ.Enable", new CheckBox("E on On Q - CanStun"));
                Menu.CreatSlotHitChance(SpellSlot.W);
                Menu.CreatSlotHitChance(SpellSlot.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.R);
                    ComboMenu.CreatSlotHitSlider(SpellSlot.R, 2, 1, 5);
                }
                #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.CreatSlotHitSlider(SpellSlot.W, 1, 1, 5);
                    HarassMenu.CreatManaLimit();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun"));
                    LaneClearMenu.Add("UBAddons.Annie.Passive.Count.Buff", new Slider("Stop if my stacks", 3, 1, 4));
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below");
                {
                    JungleClearMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun", false));
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    JungleClearMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 6);
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region Lasthit
                LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LastHitMenu.CreatLasthitOpening();
                    LastHitMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun"));
                    LastHitMenu.Add("UBAddons.Annie.Passive.Count.Buff", new Slider("Stop if my stacks", 4, 1, 4));
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.W);
                    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.AddLabel("Will Check if only stun");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.AddLabel("[repeat] Will Check if only stun");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "Interrupter");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "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.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 override void Harass()
        {
            var target = TargetSelector.GetTarget(Q.Range, DamageType.Magical);

            if (target == null || !target.IsKillable(Q.Range))
            {
                return;
            }

            foreach (var spell in SpellList.Where(s => s.IsReady() && target.IsKillable(s.Range) && HarassMenu.CheckBoxValue(s.Slot) && HarassMenu.CompareSlider(s.Slot + "mana", user.ManaPercent)))
            {
                spell.Cast(target);
            }
        }
Esempio n. 18
0
        public override void Harass()
        {
            var target = TargetSelector.GetTarget(Q.Range, DamageType.Magical);

            if (target == null || !target.IsKillable(Q.Range))
            {
                return;
            }

            if (Q.IsReady() && HarassMenu.CheckBoxValue(Q.Slot) && HarassMenu.CompareSlider(Q.Slot + "mana", user.ManaPercent))
            {
                foreach (var passive in PassiveList.Where(p => p.Caster != null && p.Vital != null && p.Vital.IsValid && p.Caster.Equals(target)))
                {
                    var pos = target.ServerPosition.Extend(VitalPos(passive.Vital), 100).To3D();
                    Q.Cast(pos);
                }
            }
            if (target.IsKillable(E.Range) && E.IsReady() && HarassMenu.CheckBoxValue(E.Slot) && HarassMenu.CompareSlider(E.Slot + "mana", user.ManaPercent))
            {
                E.Cast();
            }
        }
Esempio n. 19
0
        public static void LoadMenu()
        {
            Home = Menu.AddMenu("Maniac" + ObjectManager.Me.Hero);

            //Main.Orb = new Orbwalker.OrbwalkerInstance(Home.AddSubMenu("Orbwalker"));

            ComboMenu = Home.AddSubMenu(Prefix + "Combo");
            ComboMenu.Add(new MenuCheckbox("useQ", "Use Q", true));
            ComboMenu.Add(new MenuCheckbox("useW", "Use W", true));
            ComboMenu.Add(new MenuCheckbox("useE", "Use E", true));
            ComboMenu.Add(new MenuCheckbox("useR", "Use R", true));
            ComboMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50));


            HarassMenu = Home.AddSubMenu(Prefix + "Harass");
            HarassMenu.Add(new MenuCheckbox("useQ", "Use Q", true));
            HarassMenu.Add(new MenuCheckbox("useW", "Use W", true));
            HarassMenu.Add(new MenuCheckbox("useE", "Use E", true));
            HarassMenu.Add(new MenuCheckbox("useR", "Use R", true));
            HarassMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50));


            LaneclearMenu = Home.AddSubMenu(Prefix + "Lane Clear");
            LaneclearMenu.Add(new MenuCheckbox("useQ", "Use Q", true));
            LaneclearMenu.Add(new MenuCheckbox("useW", "Use W", true));
            LaneclearMenu.Add(new MenuCheckbox("useE", "Use E", true));
            LaneclearMenu.Add(new MenuCheckbox("useR", "Use R", true));
            LaneclearMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50));


            LasthitMenu = Home.AddSubMenu(Prefix + "LastHit");
            LasthitMenu.Add(new MenuCheckbox("useQ", "Use Q", true));
            LasthitMenu.Add(new MenuCheckbox("useW", "Use W", true));
            LasthitMenu.Add(new MenuCheckbox("useE", "Use E", true));
            LasthitMenu.Add(new MenuCheckbox("useR", "Use R", true));
            LasthitMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 50));


            FleeMenu = Home.AddSubMenu(Prefix + "Flee");
            FleeMenu.Add(new MenuCheckbox("useQ", "Use Q", true));
            FleeMenu.Add(new MenuCheckbox("useW", "Use W", true));
            FleeMenu.Add(new MenuCheckbox("useE", "Use E", true));
            FleeMenu.Add(new MenuCheckbox("useR", "Use R", true));
            FleeMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 5));


            DrawingMenu = Home.AddSubMenu(Prefix + "Drawings");
            DrawingMenu.Add(new MenuCheckbox("enable", "Enable", true));
            DrawingMenu.Add(new MenuCheckbox("drawQ", "Draw Q", true));
            DrawingMenu.Add(new MenuCheckbox("drawW", "Draw W", true));
            DrawingMenu.Add(new MenuCheckbox("drawE", "Draw E", true));
            DrawingMenu.Add(new MenuCheckbox("drawR", "Draw R", true));


            KillstealMenu = Home.AddSubMenu(Prefix + "KillSteal");
            KillstealMenu.Add(new MenuCheckbox("enable", "Enable", true));
            KillstealMenu.Add(new MenuCheckbox("useQ", "Use Q", true));
            KillstealMenu.Add(new MenuCheckbox("useW", "Use W", true));
            KillstealMenu.Add(new MenuCheckbox("useE", "Use E", true));
            KillstealMenu.Add(new MenuCheckbox("useR", "Use R", true));
            KillstealMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 10));


            MiscMenu = Home.AddSubMenu(Prefix + "Misc");
            MiscMenu.Add(new MenuCheckbox("agQ", "AntiGapclose Q", true));
            MiscMenu.Add(new MenuCheckbox("agW", "AntiGapclose W", true));
            MiscMenu.Add(new MenuCheckbox("agE", "AntiGapclose E", true));
            MiscMenu.Add(new MenuCheckbox("agR", "AntiGapclose R", true));
            MiscMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 30));
            MiscMenu.Add(new MenuCheckbox("level", "Enable Spell Leveler", true));
            MiscMenu.Add(new MenuSlider("levelDelay", "Level UP Delay", 10, 1000, 200));
            MiscMenu.Add(new MenuCombo("levelFirst", "Level UP First", new[] { "Q", "W", "E" }));
            MiscMenu.Add(new MenuCombo("levelSecond", "Level UP Second", new[] { "Q", "W", "E" }, 1));
            MiscMenu.Add(new MenuCombo("levelThird", "Level UP Third", new[] { "Q", "W", "E" }, 2));
        }
Esempio n. 20
0
        public static void Execute()
        {
            // 2-Leveled settings
            var settingsType = (Self.Level >= HarassMenu.GetSliderValue("lateGameLevelSlider")) ? "LateGame" : "";

            // Get close minions
            var target = Targeting.Minions();

            // Check if target/self are valid for spells
            if (!States.SpellReady(target))
            {
                return;
            }

            // Farm with E
            if (E.IsReady() && LaneClearMenu.GetCheckBoxValue("eUse" + settingsType) &&
                Self.EnemiesWithinRange(ScanRange) == 0)
            {
                var postDashCursor = Dash.PostPosition(MousePosition);
                var postDashTarget = Dash.PostPosition(target.ServerPosition);

                // Only dash if no enemies close
                if (postDashTarget.EnemiesWithinRange(ScanRange) == 0 &&
                    postDashCursor.EnemiesWithinRange(ScanRange) == 0)
                {
                    // Check if should E to mouse or target
                    if (target.WithinRange(postDashCursor, EffectiveAttackRange))
                    {
                        Player.CastSpell(SpellSlot.E, MousePosition);
                    }
                    else if (target.WithinRange(postDashTarget, EffectiveAttackRange))
                    {
                        Player.CastSpell(SpellSlot.E, target);
                    }
                }
            }

            // Farm with Q
            if (Q.IsReady() && LaneClearMenu.GetCheckBoxValue("qUse" + settingsType))
            {
                var qMinions =
                    EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy,
                                                                    Self.ServerPosition, Q.Range);
                var aiMinions = qMinions as Obj_AI_Minion[] ?? qMinions.ToArray();

                foreach (var m in from m in aiMinions
                         let p = new Geometry.Polygon.Rectangle(Self.ServerPosition.To2D(), Self.ServerPosition.Extend(m.ServerPosition, QExtended.Range), 65)
                                 where aiMinions.Count(x => p.IsInside(x.ServerPosition)) >= LaneClearMenu.GetSliderValue("minQHits" + settingsType)
                                 select m)
                {
                    Q.Cast(m);
                    break;
                }
            }

            // Farm with W
            if (W.IsReady() && LaneClearMenu.GetCheckBoxValue("wUse" + settingsType))
            {
                var wMinions =
                    EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy,
                                                                    ObjectManager.Player.Position, AttackRange)
                    .FirstOrDefault(x => x.IsValidTarget(AttackRange));
                if (wMinions != null)
                {
                    W.Cast(wMinions);
                }
            }
        }
Esempio n. 21
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


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

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

            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.AddGroupLabel("R Logics");
            ComboMenu.Add("useRCombo", new CheckBox("Use R [Hp%]"));
            ComboMenu.Add("Hp", new Slider("Use R Enemy Health %", 45, 0, 100));
            ComboMenu.Add("useRComboENEMIES", new CheckBox("Use R[Count Enemy]"));
            ComboMenu.Add("Rcount", new Slider("R When Enemies >= ", 2, 1, 5));
            ComboMenu.Add("useRComboFinisher", new CheckBox("Use R [FinisherMode]"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("useRRange", new Slider("Use Ulty Max Range", 1000, 500, 2000));

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

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

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

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser & Interrupter settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto W for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.AddGroupLabel("Auto use skils CC Enemy");
            MiscMenu.Add("CCE", new CheckBox("Auto W on Enemy CC"));
            MiscMenu.AddGroupLabel("Ks Settings");
            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, 2000));

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

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            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("QQs Settings");
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));
            ItemMenu.AddGroupLabel("Qqs Utly");
            ItemMenu.Add("ZedUlt", new CheckBox("Zed R", true));
            ItemMenu.Add("VladUlt", new CheckBox("Vladimir R", true));
            ItemMenu.Add("FizzUlt", new CheckBox("Fizz R", true));
            ItemMenu.Add("MordUlt", new CheckBox("Mordekaiser R", true));
            ItemMenu.Add("PoppyUlt", new CheckBox("Poppy R", true));
            ItemMenu.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 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, 8));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.Add("ShowStatus", new CheckBox("ShowStatus"));
            DrawMenu.Add("AutoHarass", new CheckBox("AutoHarass"));

            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
        }
Esempio n. 22
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.Add("LH.EUnderTower", new CheckBox("Use E Under Tower", false));

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

            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"));
            FleeMenu.Add("Evade.WDelay", new Slider("Humanizer Delay (ms)", 0, 0, 1000));

            MiscSettings = Menu.AddSubMenu("Misc Settings");
            MiscSettings.AddGroupLabel("KillSteal Settings");
            MiscSettings.Add("KS.Q", new CheckBox("Use Q"));
            MiscSettings.Add("KS.E", new CheckBox("Use E"));
            MiscSettings.AddGroupLabel("Auto Q Settings");
            MiscSettings.Add("Auto.Q3", new CheckBox("Use Q3"));
            MiscSettings.Add("Auto.Active", new KeyBind("Auto Q Enemy", false, KeyBind.BindTypes.PressToggle, 'M'));

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

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            EEvader.Init();
        }
Esempio n. 23
0
 static Harass()
 {
     HarassMenu.AddGroupLabel("Harass");
     HarassMenu.Add("harassUseQ", new CheckBox("Use Q"));
     HarassMenu.Add("harassUseE", new CheckBox("Use E"));
 }
Esempio n. 24
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Malphite"))
            {
                return;
            }
            Chat.Print("Doctor's Malphite Yuklendi Ceviri TekinTR!", Color.Orange);
            Bootstrap.Init(null);
            Q   = new Spell.Targeted(SpellSlot.Q, 625);
            W   = new Spell.Active(SpellSlot.W, 250);
            E   = new Spell.Active(SpellSlot.E, 400);
            R   = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 700, 270);
            Thm = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Malphite", "Malphite");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Kombo Ayarlari", "Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarlari");
            ComboMenu.Add("ComboQ", new CheckBox("Kullan [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Kullan [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Kullan [E]"));
            ComboMenu.Add("DisQ", new Slider("Kullan [Q] dusman uzakligi >", 10, 0, 650));
            ComboMenu.AddLabel("[Q] Uzaklik < 125 = Herzaman [Q]");
            ComboMenu.AddGroupLabel("Ulti Ayarlari");
            ComboMenu.Add("ComboFQ", new KeyBind("Kullan [R] Secilen hedefe", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.Add("ComboR", new CheckBox("Kullan [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Kac dusmana isabet etsin [R] Aoe", 3, 1, 5));
            ComboMenu.AddGroupLabel("Buyu kesme Ayarlari");
            ComboMenu.Add("inter", new CheckBox("Kullan [R]", false));

            HarassMenu = Menu.AddSubMenu("Durtme Ayarlari", "Harass");
            HarassMenu.AddGroupLabel("Durtme Ayarlari");
            HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q] "));
            HarassMenu.Add("HarassW", new CheckBox("Kullan [W] "));
            HarassMenu.Add("HarassE", new CheckBox("Kullan [E] "));
            HarassMenu.Add("DisQ2", new Slider("Kullan [Q] dusman uzakligi >", 350, 0, 650));
            HarassMenu.AddLabel("[Q] Uzaklik < 125 = Herzaman [Q]");
            HarassMenu.Add("ManaQ", new Slider("Durtmek icin mana", 40));

            JungleClearMenu = Menu.AddSubMenu("Orman Ayarlari", "JungleClear");
            JungleClearMenu.AddGroupLabel("Orman Ayarlari");
            JungleClearMenu.Add("QJungle", new CheckBox("Kullan [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Kullan [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Kullan [E]"));
            JungleClearMenu.Add("JungleMana", new Slider("Orman Temizlemek icin mana", 20));

            LaneClearMenu = Menu.AddSubMenu("Koridor Ayarlari", "LaneClear");
            LaneClearMenu.AddGroupLabel("Koridor Temizleme Ayarlari");
            LaneClearMenu.Add("LaneClearQ", new CheckBox("Kullan [Q] "));
            LaneClearMenu.Add("LaneClearW", new CheckBox("Kullan [W] "));
            LaneClearMenu.Add("LaneClearE", new CheckBox("Kullan [E] "));
            LaneClearMenu.Add("ManaLC", new Slider("Koridor temizlemek icin mana", 50));
            LaneClearMenu.AddGroupLabel("SonVurus Ayarlari");
            LaneClearMenu.Add("LastHitQ", new CheckBox("Kullan [Q] SonVurus"));
            LaneClearMenu.Add("ManaLH", new Slider("SonVurus icin mana", 50));

            KillStealMenu = Menu.AddSubMenu("Oldurme Ayarlari", "KillSteal");
            KillStealMenu.AddGroupLabel("Oldurme Ayarlari");
            KillStealMenu.Add("KsQ", new CheckBox("Kullan [Q] Oldururken"));
            KillStealMenu.Add("KsE", new CheckBox("Kullan [E] Oldururken"));
            KillStealMenu.Add("ign", new CheckBox("Kullan [Tutustur] Oldururken"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ulti Ayarlari");
            KillStealMenu.Add("KsR", new CheckBox("Kullan [R] Oldururken"));
            KillStealMenu.Add("minKsR", new Slider("En az uzaklik [R] ile oldurmek icin", 100, 1, 1000));
            KillStealMenu.Add("RKb", new KeyBind("[R] Yari otomatik tusu", false, KeyBind.BindTypes.HoldActive, 'Y'));
            KillStealMenu.AddGroupLabel("Onerilen uzaklik 600");

            Drawings = Menu.AddSubMenu("Cizim ayarlari", "Draw");
            Drawings.AddGroupLabel("Cizim ayarlari");
            Drawings.Add("DrawQ", new CheckBox("[Q] Menzilini Goster"));
            Drawings.Add("DrawE", new CheckBox("[E] Menzilini Goster"));
            Drawings.Add("DrawR", new CheckBox("[R] Menzilini Goster"));
            Drawings.Add("DrawRhit", new CheckBox("[R] isabet sayisini Goster"));
            Drawings.Add("Notifications", new CheckBox("[R] ile Oldurulebilir uyarisini goster"));
            Drawings.Add("Draw_Disabled", new CheckBox("Cizimleri kapat"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Esempio n. 25
0
        public static void LoadMenu()
        {
            Bootstrap.Init(null);

            Menu = MainMenu.AddMenu("Lazy Lucian", "LazyLucian");
            Menu.AddGroupLabel("Lazy Lucian");
            Menu.AddLabel("by DamnedNooB");
            Menu.AddSeparator();

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

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

            ComboMenu = Menu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddLabel("Q - Piercing Light");
            ComboMenu.Add("useQcombo", new CheckBox("Use in Combo"));
            ComboMenu.Add("useQextended", new CheckBox("Use extended Q in Combo"));
            ComboMenu.Add("qMana", new Slider("Min Mana to use: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("W - Ardent Blaze");
            ComboMenu.Add("useWaaRange", new CheckBox("Use in AA - Range"));
            ComboMenu.Add("useWalways", new CheckBox("Use out of AA - Range"));
            ComboMenu.Add("wMana", new Slider("Min Mana to use: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("E - Relentless Pursuit");
            ComboMenu.Add("useEcombo", new CheckBox("Use E Logic"));
            ComboMenu.Add("useEmouse", new CheckBox("Use E to Mouse"));
            ComboMenu.Add("eMana", new Slider("Min Mana to use: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("R - The Culling");
            ComboMenu.Add("useRkillable", new CheckBox("Use if target is killable"));
            ComboMenu.Add("useRlock", new CheckBox("Lock on Target"));
            //ComboMenu.Add("rMana", new Slider("Min Mana to use: ", 20, 1));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("Misc Settings (Combo)");
            ComboMenu.Add("spellWeaving", new CheckBox("Use Passive (Spellweaving)"));
            ComboMenu.Add("useYoumuu", new CheckBox("Use Youmuu's GhostBlade for The Culling"));

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

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

            HarassMenu = Menu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddLabel("Q - Piercing Light");
            HarassMenu.Add("useQharass", new CheckBox("Use in Harass"));
            HarassMenu.Add("useQextended", new CheckBox("Use extended Q in Harass"));
            HarassMenu.Add("qMana", new Slider("Min Mana to use: ", 20, 1));
            HarassMenu.AddSeparator();

            HarassMenu.AddLabel("W - Ardent Blaze");
            HarassMenu.Add("useWaaRange", new CheckBox("Use in AA - Range"));
            HarassMenu.Add("useWalways", new CheckBox("Use out of AA - Range"));
            HarassMenu.Add("wMana", new Slider("Min Mana to use: ", 20, 1));
            HarassMenu.AddSeparator();

            HarassMenu.AddLabel("Misc Settings (Harass)");
            //HarassMenu.Add("manaCheck", new CheckBox("")); // soon(TM)
            HarassMenu.Add("spellWeaving", new CheckBox("Use Passive (Spellweaving)"));

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

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

            FarmMenu = Menu.AddSubMenu("Farm", "Farm");
            FarmMenu.AddGroupLabel("Farm Settings");
            FarmMenu.AddLabel("Q - Piercing Light");
            FarmMenu.Add("useQfarm", new CheckBox("Use in LaneClear"));
            FarmMenu.Add("qManaLane", new Slider("Min Mana to use in LaneClear: ", 20, 1));
            FarmMenu.Add("qMinionsLane", new Slider("Min Minions to use in LaneClear: ", 3, 1, 5));
            FarmMenu.AddSeparator();
            FarmMenu.Add("useQjungle", new CheckBox("Use in JungleClear"));
            FarmMenu.Add("qManaJungle", new Slider("Min Mana to use in JungleClear: ", 20, 1));
            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("W - Ardent Blaze");
            FarmMenu.Add("useWfarm", new CheckBox("Use in LaneClear"));
            FarmMenu.Add("wManaLane", new Slider("Min Mana to use in LaneClear: ", 20, 1));
            FarmMenu.AddSeparator();
            FarmMenu.Add("useWjungle", new CheckBox("Use in JungleClear"));
            FarmMenu.Add("wManaJungle", new Slider("Min Mana to use in JungleClear: ", 20, 1));
            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Misc Settings (Farm)");
            FarmMenu.Add("spellWeaving", new CheckBox("Use Passive (Spellweaving)"));

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

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

            MiscMenu = Menu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Miscellaneous Settings");
            MiscMenu.AddLabel("Anti Gapcloser Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Use E - to avoid non targeted"));
            MiscMenu.Add("gapcloserT", new CheckBox("Use E - to avoid targeted"));
            MiscMenu.AddSeparator();
            MiscMenu.AddGroupLabel("Other Settings");
            MiscMenu.Add("useKs", new CheckBox("Use KillSecure - Logic"));

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

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

            DrawMenu = Menu.AddSubMenu("Draw", "Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.AddLabel("Spell Ranges");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawQextended", new CheckBox("Draw Extended Q 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"));

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

            /*
             *      ______               _
             *     |  ____|             | |
             *     | |____   _____ _ __ | |_ ___
             *     |  __\ \ / / _ \ '_ \| __/ __|
             *     | |___\ 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. 26
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Kog'Maw addon");

            ComboMenu.AddLabel("Caustic Spittle (Q) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseQ", new CheckBox("Kullan Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseW", new CheckBox("Kullan W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Void Ooze (E) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseE", new CheckBox("Kullan E"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseEVsGapclosers", new CheckBox("Atilma yapanlara E kullan"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Living Artillery (R) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseROnlyToKs", new CheckBox("Kullan R sadece oldururken"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RHitChancePercent",
                          new Slider("R hitchance percent : {0}", 60));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RAllowedStacks",
                          new Slider("Allowed stacks amount to use", 2, 0, 10));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RMaxHealth", new Slider("R icin en dusuk dusman saglik yuzdesi", 60));
            ComboMenu.AddSeparator(2);
            ComboMenu.AddLabel(
                "Minimum health percent to cast R on target. If use R only to kill steal is selected this opction will\nbe ignored.");
            ComboMenu.AddSeparator(5);

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

            HarassMenu.AddLabel("Caustic Spittle (Q) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseQ",
                           new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseW", new CheckBox("Kullan W"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseW", new Slider("Gereken en az mana ({0}%) W kullanmak icin", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Living Artillery (R) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR", new CheckBox("Kullan R"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.RAllowedStacks", new Slider("Kac yuke kadar izin verilsin", 2, 0, 10));

            HarassMenu.AddLabel("Use R on :");
            foreach (var aiHeroClient in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR." + aiHeroClient.Hero, new CheckBox(aiHeroClient.Hero.ToString()));
            }

            FarmingMenu = MenuManager.Menu.AddSubMenu("Farm");
            FarmingMenu.AddGroupLabel("Farm settings for Kog'Maw addon");

            FarmingMenu.AddLabel("Caustic Spittle (Q) settings :");
            FarmingMenu.Add("Plugins.KogMaw.FarmingMenu.UseQOnUnkillableMinion", new CheckBox("Oldurulemiyecek minyonlara Q kullan"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Kog'Maw addon");

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

            DrawingsMenu.AddLabel("Caustic Spittle (Q) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQ", new CheckBox("Goster Q", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawW", new CheckBox("Goster W"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawWColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("Void Ooze (E) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawE", new CheckBox("Goster E", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawEColor", new CheckBox("Renk sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("Living Artillery (R) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawR", new CheckBox("Goster R"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Esempio n. 27
0
        public override void Harass()
        {
            if (EntityManager.Heroes.Enemies.Any(e => RendCount(e) >= HarassMenu.SliderValue("Estacks") && e.IsKillable(E.Range)) && E.IsReady() && HarassMenu.CheckBoxValue(SpellSlot.E) && HarassMenu.CompareSlider("Emana", user.ManaPercent))
            {
                if (HarassMenu.CheckBoxValue("Emin"))
                {
                    if (EntityManager.MinionsAndMonsters.EnemyMinions.Any(e => EKill(e) && e.IsKillable(E.Range)) || EntityManager.MinionsAndMonsters.GetJungleMonsters().Any(e => EKill(e) && e.IsKillable(E.Range)))
                    {
                        E.Cast();
                    }
                }
                else
                {
                    E.Cast();
                }
            }

            var target = TargetSelector.GetTarget(Q.Range, DamageType.Physical);

            if (target == null || !target.IsKillable(Q.Range))
            {
                return;
            }

            if (HarassMenu.CheckBoxValue(Q.Slot) && Q.IsReady() && HarassMenu.CompareSlider("Qmana", user.ManaPercent))
            {
                QCast(target);
            }
        }
Esempio n. 28
0
        public override void Harass()
        {
            var Qtarget = Q.GetTarget();
            var Wtarget = W.GetTarget();
            var Etarget = E.GetTarget();

            if (SelectBall(Etarget) == null)
            {
                Etarget = EntityManager.Heroes.Enemies.OrderByDescending(TargetSelector.GetPriority).FirstOrDefault(t => (BallsList.Any() ? BallsList.Any(b => b.IsInRange(t, Eball.Range) && E.IsInRange(b)) : t.IsKillable(1200)) && t.IsKillable());
            }

            if (Etarget != null && Q.IsReady() && E.IsReady() && HarassMenu.CheckBoxValue("QE") && HarassMenu.CompareSlider("Emana", user.ManaPercent))
            {
                QE(Etarget);
            }

            if (Wtarget != null && W.IsReady() && Wtarget.IsKillable(W.Range) && HarassMenu.CheckBoxValue(SpellSlot.W) && HarassMenu.CompareSlider("Wmana", user.ManaPercent))
            {
                WCast(Wtarget);
                return;
            }
            if (Qtarget != null && Q.IsReady() && Qtarget.IsKillable(Q.Range) && HarassMenu.CheckBoxValue(SpellSlot.Q) && HarassMenu.CompareSlider("Qmana", user.ManaPercent))
            {
                Q.Cast(Qtarget, 30);
                return;
            }
            if (Etarget != null && E.IsReady() && HarassMenu.CheckBoxValue(SpellSlot.E) && HarassMenu.CompareSlider("Emana", user.ManaPercent))
            {
                if (SelectBall(Etarget) != null && E.IsInRange(SelectBall(Etarget)))
                {
                    Eball.Cast(SelectBall(Etarget));
                    return;
                }
                if (Etarget.IsKillable(E.Range) && user.HealthPercent <= 20)
                {
                    E.Cast(Etarget, 25);
                }
            }
        }
Esempio n. 29
0
        public static void LoadMenu()
        {
            Bootstrap.Init(null);

            Menu = MainMenu.AddMenu("Lazy Graves", "LazyGraves");
            Menu.AddGroupLabel("Lazy Graves");
            Menu.AddLabel("by DamnedNooB");
            Menu.AddSeparator();

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

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

            ComboMenu = Menu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddLabel("Q - BuckShot");
            ComboMenu.Add("useQ", new CheckBox("Use Q Logic"));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("W - Smoke Grenade");
            ComboMenu.Add("useW", new CheckBox("Use W Logic"));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("E - True Grit");
            ComboMenu.Add("useE", new CheckBox("Use Logic"));
            ComboMenu.Add("useEreload", new CheckBox("Use to reload"));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("Boom");
            ComboMenu.Add("useQR", new CheckBox("Use Fast Q-R Combo"));
            ComboMenu.Add("useR", new CheckBox("Use to kill"));
            ComboMenu.AddSeparator();

            ComboMenu.AddLabel("Misc");
            ComboMenu.Add("disableAA", new CheckBox("Disable AA if Collision"));

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

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

            HarassMenu = Menu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");

            HarassMenu.AddLabel("Q - Buckshot");
            HarassMenu.Add("useQ", new CheckBox("Use in Harass"));
            HarassMenu.Add("qMana", new Slider("Min Mana to use: ", 20, 1));
            HarassMenu.AddSeparator();

            HarassMenu.AddLabel("W - Smoke Grenade");
            HarassMenu.Add("useW", new CheckBox("Use in AA - Range"));
            HarassMenu.Add("wMana", new Slider("Min Mana to use: ", 20, 1));
            HarassMenu.AddSeparator();

            //HarassMenu.AddLabel("E - True Grit");
            //HarassMenu.Add("useEreload", new CheckBox("Use to reload"));
            //HarassMenu.Add("eMana", new Slider("Min Mana to use: ", 20, 1));
            HarassMenu.AddSeparator();


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

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

            FarmMenu = Menu.AddSubMenu("Farm", "Farm");
            FarmMenu.AddGroupLabel("Farm Settings");

            FarmMenu.AddLabel("Q - Buckshot");
            FarmMenu.Add("useQlane", new CheckBox("Use in LaneClear"));
            FarmMenu.Add("qManaLane", new Slider("Min Mana to use in LaneClear: ", 20, 1));
            FarmMenu.Add("qMinionsLane", new Slider("Min Minions to use in LaneClear: ", 3, 1, 6));
            FarmMenu.AddSeparator();

            FarmMenu.Add("useQjungle", new CheckBox("Use in JungleClear"));
            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("E - True Grit");
            FarmMenu.Add("useEreload", new CheckBox("Use in LaneClear"));
            FarmMenu.Add("eManaLane", new Slider("Min Mana to use in LaneClear: ", 20));
            FarmMenu.AddSeparator();

            /*
             * FarmMenu.Add("useEjungle", new CheckBox("Use in JungleClear"));
             * FarmMenu.AddSeparator();
             */

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

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

            MiscMenu = Menu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Miscellaneous Settings");
            MiscMenu.AddLabel("Anti Gapcloser Settings");

            MiscMenu.Add("gapcloserW", new CheckBox("Use W - Smoke Grenade on Gapcloser"));
            MiscMenu.Add("gapcloserE", new CheckBox("Use E - True Grit against Gapcloser"));
            MiscMenu.AddSeparator();


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

            /*
             *      _____                       __  __
             *     |  __ \                     |  \/  |
             *     | |  | |_ __ __ ___      __ | \  / | ___ _ __  _   _
             *     | |  | | '__/ _` \ \ /\ / / | |\/| |/ _ \ '_ \| | | |
             *     | |__| | | | (_| |\ V  V /  | |  | |  __/ | | | |_| |
             *     |_____/|_|  \__,_| \_/\_/   |_|  |_|\___|_| |_|\__,_|
             *
             *
             */
            /*
             *          DrawMenu = Menu.AddSubMenu("Draw", "Draw");
             *          DrawMenu.AddGroupLabel("Draw Settings");
             *          DrawMenu.AddLabel("Spell Ranges");
             *          DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
             *          DrawMenu.Add("drawQextended", new CheckBox("Draw Extended Q 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"));
             */
            //-------------------------------------------------------------------------------------------------------------------

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

            Game.OnUpdate           += Events.OnUpdate;
            Orbwalker.OnPostAttack  += Events.OnPostAttack;
            Orbwalker.OnPreAttack   += Events.OnPreAttack;
            Obj_AI_Base.OnSpellCast += Events.OnSpellCast;
            Gapcloser.OnGapcloser   += Events.OnGapCloser;
        }
Esempio n. 30
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Elise)
            {
                return;
            }

            Menu = MainMenu.AddMenu("Elise Buddy", "EliseBuddy");

            ComboMenu = Menu.AddSubMenu("Combo", "eliseCombo");
            ComboMenu.Add("comboR", new CheckBox("R"));
            ComboMenu.AddLabel("Human");
            ComboMenu.Add("comboHumanQ", new CheckBox("Human Q"));
            ComboMenu.Add("comboHumanW", new CheckBox("Human W"));
            ComboMenu.Add("comboHumanE", new CheckBox("Human E"));
            ComboMenu.AddLabel("Spider");
            ComboMenu.Add("comboSpiderQ", new CheckBox("Spider Q"));
            ComboMenu.Add("comboSpiderW", new CheckBox("Spider W"));
            ComboMenu.Add("comboSpiderE", new CheckBox("Spider E"));
            ComboMenu.Add("antiGapcloser", new CheckBox("Anti-Gapcloser"));


            HarassMenu = Menu.AddSubMenu("Harass", "eliseharass");
            HarassMenu.AddLabel("Human");
            HarassMenu.Add("harassHumanQ", new CheckBox("Human Q"));
            HarassMenu.Add("harassHumanW", new CheckBox("Human W"));
            HarassMenu.Add("harassHumanE", new CheckBox("Human E"));
            HarassMenu.AddLabel("Spider");
            HarassMenu.Add("harassSpiderQ", new CheckBox("Spider Q"));
            HarassMenu.Add("harassSpiderW", new CheckBox("Spider W"));
            HarassMenu.Add("harassSpiderE", new CheckBox("Spider E"));


            FarmMenu = Menu.AddSubMenu("Farm", "elisefarm");

            FarmMenu.AddGroupLabel("Last Hit");
            FarmMenu.AddLabel("Human");
            FarmMenu.Add("lhHumanQ", new CheckBox("Human Q"));
            FarmMenu.AddLabel("Spider");
            FarmMenu.Add("lhSpiderQ", new CheckBox("Spider Q"));

            FarmMenu.AddGroupLabel("Wave Clear");
            FarmMenu.AddLabel("Human");
            FarmMenu.Add("wcHumanQ", new CheckBox("Human Q"));
            FarmMenu.AddLabel("Spider");
            FarmMenu.Add("wcSpiderQ", new CheckBox("Spider Q"));

            FarmMenu.AddGroupLabel("Jungle");
            FarmMenu.Add("jungleR", new CheckBox("R"));
            FarmMenu.AddLabel("Human");
            FarmMenu.Add("jgHumanQ", new CheckBox("Human Q"));
            FarmMenu.Add("jgHumanW", new CheckBox("Human W"));
            FarmMenu.AddLabel("Spider");
            FarmMenu.Add("jgSpiderQ", new CheckBox("Spider Q"));
            FarmMenu.Add("jgSpiderW", new CheckBox("Spider W"));

            DrawMenu = Menu.AddSubMenu("Drawing", "drawelise");
            DrawMenu.Add("drawHumanQ", new CheckBox("Human Q", false));
            DrawMenu.Add("drawHumanW", new CheckBox("Human W", false));
            DrawMenu.Add("drawHumanE", new CheckBox("Human E", false));
            DrawMenu.Add("drawSpiderQ", new CheckBox("Spider Q", false));
            DrawMenu.Add("drawSpiderE", new CheckBox("Spider E", false));


            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnTick    += Game_OnTick;
            Obj_AI_Base.OnProcessSpellCast += EliseSpellManager.Obj_AI_Base_OnProcessSpellCast;
            Events.Init();
        }