Esempio n. 1
0
        public static void Execute()
        {
            if (player.ChampionName != "Karthus")
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Circular, 1000, int.MaxValue, 160);
            Q2 = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Circular, 650, int.MaxValue, 100);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Circular, 500, int.MaxValue, 70);
            E = new Spell.Active(SpellSlot.E, 510);
            R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Circular, 3000, int.MaxValue, int.MaxValue);

            menuIni = MainMenu.AddMenu("Karthus", "Karthus");
            menuIni.AddGroupLabel("Welcome to the Worst Karthus addon!");
            menuIni.AddGroupLabel("Global Settings");
            menuIni.Add("Ultimate", new CheckBox("Use Ultimate?"));
            menuIni.Add("Combo", new CheckBox("Use Combo?"));
            menuIni.Add("Harass", new CheckBox("Use Harass?"));
            menuIni.Add("LastHit", new CheckBox("Use Last Hit?"));
            menuIni.Add("LaneClear", new CheckBox("Use Lane Clear?"));
            menuIni.Add("JungleClear", new CheckBox("Use Jungle Clear?"));
            menuIni.Add("KillSteal", new CheckBox("Use Kill Steal?"));
            menuIni.Add("Misc", new CheckBox("Use Misc?"));
            menuIni.Add("Drawings", new CheckBox("Use Drawings?"));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.Add("UltKS", new CheckBox("Ultimate KillSteal R", false));
            UltMenu.Add("UltMode", new ComboBox("Ult Logic", 0, "Kappa Logic"));
            UltMenu.AddGroupLabel("Kappa Ultimate Logic Settings");
            UltMenu.Add("RnearE", new CheckBox("Block Ult when Enemies Near My Champion?"));
            UltMenu.Add("RnearEn", new Slider("Min Enemies Near to block Cast R", 1, 1, 5));
            UltMenu.Add("Rranged", new Slider("Range to detect Enemies to block Cast R", 1600, 100, 3000));
            UltMenu.AddLabel("Recommended Range (1600 >)");

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("CUse_Q", new CheckBox("Use Q"));
            ComboMenu.Add("CUse_W", new CheckBox("Use W"));
            ComboMenu.Add("CUse_E", new CheckBox("Use E"));
            ComboMenu.Add("CUse_AA", new CheckBox("Disable AA", false));
            ComboMenu.Add("CEPercent", new Slider("Use E Mana %", 30, 0, 100));
            ComboMenu.AddSeparator();
            ComboMenu.Add("CE_Auto_False", new CheckBox("Auto E"));
            ComboMenu.AddLabel("E auto false when target isn't valid");

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HUse_Q", new CheckBox("Use Q"));
            HarassMenu.Add("HUse_E", new CheckBox("Use E"));
            HarassMenu.Add("HEPercent", new Slider("Use E Mana %", 30, 0, 100));
            HarassMenu.Add("HUse_AA", new CheckBox("Disable AA", false));
            HarassMenu.Add("E_LastHit", new CheckBox("Use E lasthit"));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HE_Auto_False", new CheckBox("Auto E"));
            HarassMenu.AddLabel("E auto false when target isn't valid");

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("FUse_Q", new CheckBox("Use Q"));
            LaneMenu.Add("FQPercent", new Slider("Use Q Mana %", 30, 0, 100));
            LaneMenu.AddSeparator();
            LaneMenu.AddGroupLabel("JungleClear Settings");
            LaneMenu.Add("JUse_Q", new CheckBox("Use Q"));
            LaneMenu.Add("JQPercent", new Slider("Use Q Mana %", 30, 0, 100));
            LaneMenu.AddSeparator();
            LaneMenu.AddGroupLabel("LastHit Settings");
            LaneMenu.Add("LUse_Q", new CheckBox("Use Q"));
            LaneMenu.Add("LAA", new CheckBox("Disable AA if Q is Ready", false));
            LaneMenu.Add("LHQPercent", new Slider("Use Q Mana %", 30, 0, 100));
            /*
            JungleMenu = menuIni.AddSubMenu("JungleClear");
            JungleMenu.Add("JUse_Q", new CheckBox("Use Q"));
            JungleMenu.Add("JQPercent", new Slider("Use Q Mana %", 30, 0, 100));

            LhMenu = menuIni.AddSubMenu("Last Hit");
            LhMenu.AddGroupLabel("LastHit Settings");
            LhMenu.Add("LUse_Q", new CheckBox("Use Q"));
            */

            KillStealMenu = menuIni.AddSubMenu("Kill Steal");
            KillStealMenu.AddGroupLabel("Kill Steal Settings");
            KillStealMenu.Add("KS", new CheckBox("Kill Steal Q"));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("NotifyUlt", new CheckBox("Ult Notify"));
            MiscMenu.Add("ping", new CheckBox("Ping(Local) on Killable Enemy"));
            MiscMenu.Add("DeadCast", new CheckBox("Dead Cast"));
            MiscMenu.Add("SaveR", new CheckBox("Save Mana for R"));
            MiscMenu.Add("gapcloser", new CheckBox("Anti-GapCloser"));
            MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("Draw_Q", new CheckBox("Draw Q"));
            DrawMenu.Add("Draw_W", new CheckBox("Draw W"));
            DrawMenu.Add("Draw_E", new CheckBox("Draw E"));
            DrawMenu.Add("Rranged", new CheckBox("Draw Min Enemies InRange to Cast R"));
            DrawMenu.Add("Rtarget", new CheckBox("Draw R Target"));
            DrawMenu.Add("Track", new CheckBox("Track Enemies Health"));

            Game.OnUpdate += Zigzag;
            Game.OnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGap;
        }
Esempio n. 2
0
        public void InitMenu()
        {
            Menu = MainMenu.AddMenu(GCharname, GCharname);

            Menu.AddLabel("Version: " + GVersion);
            Menu.AddSeparator();
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpell;
            Menu.AddLabel("By MrArticuno");

            DrawMenu = Menu.AddSubMenu("Draw - " + GCharname, GCharname + "Draw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.Add("drawDisable", new CheckBox("Turn off all drawings", false));
            DrawMenu.Add("drawAARange", new CheckBox("Draw Auto Attack Range", true));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range", true));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range", true));
            DrawMenu.Add("drawTumblePos", new CheckBox("Draw Tumble Pos", true));
            DrawMenu.Add("wallTumble", new KeyBind("Wall Tumble", false, KeyBind.BindTypes.HoldActive, 'W'));
            DrawMenu.Add("drawCondemnPos", new CheckBox("Draw Condemn Position", true));

            ComboMenu = Menu.AddSubMenu("Combo - " + GCharname, GCharname + "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("comboQ", new CheckBox("Use Q", true));
            ComboMenu.Add("comboE", new CheckBox("Use E", true));
            ComboMenu.Add("comboFE", new CheckBox("Finisher E", false));
            ComboMenu.Add("comboR", new CheckBox("Use R", true));
            ComboMenu.Add("minEnemiesInRange", new Slider("Min enemies in range for R: ", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass - " + GCharname, GCharname + "Harass");
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("hsQ", new CheckBox("Use Q", true));
            HarassMenu.Add("hsE", new CheckBox("Use E", true));
            HarassMenu.Add("minManaPercent", new Slider("Min Mana Percent to use Skills: ", 50, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Lane Clear - " + GCharname, GCharname + "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear");
            LaneClearMenu.Add("lcQ", new CheckBox("Use Q", true));
            LaneClearMenu.Add("minManaPercent", new Slider("Min Mana Percent to use Skills: ", 50, 0, 100));

            LastHitMenu = Menu.AddSubMenu("Last Hit - " + GCharname, GCharname + "LastHit");
            LastHitMenu.AddGroupLabel("Last Hit");
            LastHitMenu.Add("lhQ", new CheckBox("Use Q", true));
            LastHitMenu.Add("minManaPercent", new Slider("Min Mana Percent to use Skills: ", 50, 0, 100));

            MiscMenu = Menu.AddSubMenu("Misc - " + GCharname, GCharname + "Misc");
            MiscMenu.Add("miscAntiGapQ", new CheckBox("Anti Gap Closer Q", true));
            MiscMenu.Add("miscAntiGapE", new CheckBox("Anti Gap Closer E", true));
            MiscMenu.Add("miscInterruptDangerous", new CheckBox("Try Interrupt Dangerous Spells", true));

            MiscMenu.AddGroupLabel("Condemn Options");
            MiscMenu.Add("fastCondemn",
                         new KeyBind("Fast Condemn HotKey", false, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.AddGroupLabel("Auto Condemn");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add("dnCondemn" + enemy.ChampionName.ToLower(), new CheckBox("Don't Condemn " + enemy.ChampionName, false));
            }
            MiscMenu.AddGroupLabel("Priority Condemn");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add("priorityCondemn" + enemy.ChampionName.ToLower(), new Slider(enemy.ChampionName + " Priority", 1, 1, 5));
            }
            MiscMenu.Add("condenmErrorMargin", new Slider("Subtract Condemn Push by: ", 20, 0, 100));
            MiscMenu.Add("QMinDist", new Slider("Min Distance for Q: ", 375, 325, 525));
        }
Esempio n. 3
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Twitch"))
            {
                return;
            }
            Chat.Print("Twitch7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 1550, 275);
            W.AllowedCollisionCount = int.MaxValue;
            E      = new Spell.Active(SpellSlot.E, 1200);
            R      = new Spell.Active(SpellSlot.R);
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil    = new Item(3144, 475f);
            Youmuu = new Item(3142, 10);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Twitch7", "Twitch");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.AddGroupLabel("Combo [E] Settings");
            ComboMenu.Add("ComboE", new CheckBox("Spell [E]"));
            ComboMenu.Add("MinEC", new Slider("Min Stacks Use [E]", 5, 0, 6));
            ComboMenu.AddGroupLabel("Combo [E] On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add("combo" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassW", new CheckBox("Use [W]", false));
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]", false));
            HarassMenu.Add("HminQ", new Slider("Min Enemies Use [Q]", 2, 0, 5));
            HarassMenu.AddGroupLabel("Harass [E] Settings");
            HarassMenu.Add("HarassE", new CheckBox("Use [E]"));
            HarassMenu.Add("HminE", new Slider("Min Stacks Use [E]", 5, 0, 6));
            HarassMenu.AddGroupLabel("Harass [E] On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ELH", new CheckBox("Only Use [E] LastHit", false));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 40));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 30));
            JungleClearMenu.AddGroupLabel("[E] Settings");
            JungleClearMenu.Add("EDragon", new CheckBox("Use [E] Ks"));
            JungleClearMenu.AddSeparator();
            JungleClearMenu.Add("jungleSRU_Baron", new CheckBox("Baron"));
            JungleClearMenu.Add("jungleSRU_Dragon_Elder", new CheckBox("Elder Dragon"));
            JungleClearMenu.Add("jungleSRU_Dragon_Air", new CheckBox("Air Dragon"));
            JungleClearMenu.Add("jungleSRU_Dragon_Earth", new CheckBox("Fire Dragon"));
            JungleClearMenu.Add("jungleSRU_Dragon_Fire", new CheckBox("Earth Dragon"));
            JungleClearMenu.Add("jungleSRU_Dragon_Water", new CheckBox("Water Dragon"));
            JungleClearMenu.Add("jungleSRU_Red", new CheckBox("Red"));
            JungleClearMenu.Add("jungleSRU_Blue", new CheckBox("Blue"));

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

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Misc Settings");
            Misc.Add("AntiGap", new CheckBox("Use [W] AntiGapcloser"));
            Misc.Add("FleeQ", new CheckBox("Use [Q] Flee"));
            Misc.Add("FleeW", new CheckBox("Use [W] Flee"));
            Misc.AddGroupLabel("Use [E] Enemy Out Range");
            Misc.Add("ERanh", new CheckBox("Use [E] If Enemy Escape", false));
            Misc.Add("ERanhs", new Slider("Min Stacks Use [E]", 6, 1, 6));
            Misc.AddGroupLabel("Skin Changer");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 7, "Default", "1", "2", "3", "4", "5", "6", "7"));
            Misc.AddGroupLabel("Draw Settings");
            Misc.Add("DrawW", new CheckBox("[W] Range"));
            Misc.Add("DrawE", new CheckBox("[E] Range"));
            Misc.Add("Damage", new CheckBox("Damage Indicator"));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            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));
            Items.AddGroupLabel("Qss Settings");
            Items.Add("Qss", new CheckBox("Use Qss"));
            Items.AddGroupLabel("Qss On CC");
            Items.Add("stun", new CheckBox("Stuns"));
            Items.Add("rot", new CheckBox("Root"));
            Items.Add("tunt", new CheckBox("Taunt"));
            Items.Add("snare", new CheckBox("Snare"));
            Items.Add("charm", new CheckBox("Charm", false));
            Items.Add("slow", new CheckBox("Slows", false));
            Items.Add("blind", new CheckBox("Blinds", false));
            Items.Add("fear", new CheckBox("Fear", false));
            Items.Add("silence", new CheckBox("Silence", false));
            Items.Add("supperss", new CheckBox("Supperss", false));
            Items.Add("poly", new CheckBox("Polymorph", false));
            Items.Add("delay", new Slider("Humanizer Qss Delay", 0, 0, 1500));

            Drawing.OnDraw        += Drawing_OnDraw;
            Drawing.OnEndScene    += Damage;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
Esempio n. 4
0
        private static void Menu()
        {
            try
            {
                _Menu = MainMenu.AddMenu("Blitzcrank", "Blitzcrank");

                ComboMenu = _Menu.AddSubMenu("Combo", "Combo");
                ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("Use Q"));
                ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("Use W"));
                ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("Use E"));
                ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("Use R"));
                ComboMenu.Add("Blitzcrank_CUse_FlashQ", new KeyBind("Flash Q", false, KeyBind.BindTypes.HoldActive, 'T'));
                ComboMenu.AddSeparator();
                ComboMenu.AddLabel("1 : Low");
                ComboMenu.AddLabel("2 : Medium");
                ComboMenu.AddLabel("3 : High");
                ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q HitChance", 3, 1, 3));

                HarassMenu = _Menu.AddSubMenu("Harass", "Harass");
                HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("Use Q"));
                HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("Use W"));
                HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("Use E"));
                HarassMenu.Add("Blitzcrank_AManarate", new Slider("Mana %", 20));

                KSMenu = _Menu.AddSubMenu("KillSteal", "KillSteal");
                KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("Use Q"));
                KSMenu.Add("Blitzcran_KUse_R", new CheckBox("Use R"));

                MiscMenu = _Menu.AddSubMenu("Misc", "Misc");
                MiscMenu.AddGroupLabel("Grab Settings");
                foreach (var enemy in ObjectManager.Get <AIHeroClient>())
                {
                    if (enemy.Team != Player.Team)
                    {
                        MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.NetworkId,
                                     new Slider("Grab Mode (0 : Enable | 1 : Don't | 2 : Auto) " + enemy.ChampionName, 0, 0, 2));
                        MiscMenu.AddSeparator();
                    }
                }
                MiscMenu.AddSeparator();
                MiscMenu.AddGroupLabel("Interrupt Settings");
                MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("Use Q"));
                MiscMenu.Add("Blitzcrank_InterE", new CheckBox("Use E"));
                MiscMenu.Add("Blitzcrank_InterR", new CheckBox("Use R"));
                MiscMenu.AddSeparator();
                MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("Grab to dashing enemy"));

                DrawMenu = _Menu.AddSubMenu("Draw", "Draw");
                DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("Use Q", false));
                DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("Use R", false));
                DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("Use Damage Indicator"));
            }
            catch (Exception)
            {
                if (FreshCommon.NowTime() > ErrorTime)
                {
                    Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02");
                    ErrorTime = FreshCommon.TickCount(10000);
                }
            }
        }
Esempio n. 5
0
        private static void Load()
        {
            if (GameObjects.Player.ChampionName != "Viktor")
            {
                return;
            }

            Me = GameObjects.Player;

            Q  = new Spell(SpellSlot.Q, 600f);
            W  = new Spell(SpellSlot.W, 700f);
            E  = new Spell(SpellSlot.E, 525f);
            E2 = new Spell(SpellSlot.E, 525f + 700f);
            R  = new Spell(SpellSlot.R, 700f);

            W.SetSkillshot(0.5f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E2.SetSkillshot(0.25f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Q.DamageType   = W.DamageType = E.DamageType = E2.DamageType = R.DamageType = DamageType.Magical;
            W.MinHitChance = E.MinHitChance = E2.MinHitChance = R.MinHitChance = HitChance.High;

            Ignite = Me.GetSpellSlot("SummonerDot");

            Chat.Print(Me.ChampionName + " : This is Old Version and i dont update it anymore, Please Use Flowers' Series!");

            Menu = new Menu("NightMoon", "Flowers' Viktor", true).Attach();

            Menu.Add(new MenuSeparator("OLD", "This Is Old Version and i dont update it"));
            Menu.Add(new MenuSeparator("OLD1", "Please Use Flowers' Series"));

            ComboMenu      = Menu.Add(new Menu("Combo", "Combo"));
            ComboQ         = ComboMenu.Add(new MenuBool("ComboQ", "Use Q", true));
            ComboW         = ComboMenu.Add(new MenuBool("ComboW", "Use W", true));
            ComboWSmart    = ComboMenu.Add(new MenuBool("ComboWSmart", "Solo W Cast", false));
            ComboWMin      = ComboMenu.Add(new MenuSlider("ComboWMin", "Min Enemies to Cast W", 2, 1, 5));
            ComboE         = ComboMenu.Add(new MenuBool("ComboE", "Use E", true));
            ComboR         = ComboMenu.Add(new MenuBool("ComboR", "Use R", true));
            ComboROnlyKill = ComboMenu.Add(new MenuBool("ComboROnlyKill", "Only Use R In Can Kill Enemy(1v1)", true));
            ComboRCounts   = ComboMenu.Add(new MenuSlider("ComboRCounts", "Or Counts Enemies >= (6 is off)", 3, 2, 6));
            ComboIgnite    = ComboMenu.Add(new MenuBool("ComboIgnite", "Use Ignite", true));

            HarassMenu = Menu.Add(new Menu("Harass", "Harass"));
            HarassQ    = HarassMenu.Add(new MenuBool("HarassQ", "Use Q", true));
            HarassE    = HarassMenu.Add(new MenuBool("HarassE", "Use E", true));
            HarassMana = HarassMenu.Add(new MenuSlider("HarassMana", "Min Harass ManaPercent", 40));

            LaneClearMenu = Menu.Add(new Menu("LaneClear", "Lane Clear"));
            LaneClearQ    = LaneClearMenu.Add(new MenuBool("LaneClearQ", "Use Q", true));
            LaneClearE    = LaneClearMenu.Add(new MenuBool("LaneClearE", "Use E", true));
            LaneClearEMin = LaneClearMenu.Add(new MenuSlider("LaneClearEMin", "Use E Clear Min", 3, 1, 7));
            LaneClearMana = LaneClearMenu.Add(new MenuSlider("LaneClearMana", "Min LaneClear ManaPercent", 40));

            JungleClearMenu = Menu.Add(new Menu("JungleClear", "Jungle Clear"));
            JungleClearQ    = JungleClearMenu.Add(new MenuBool("JungleClearQ", "Use Q", true));
            JungleClearE    = JungleClearMenu.Add(new MenuBool("JungleClearE", "Use E", true));
            JungleClearMana = JungleClearMenu.Add(new MenuSlider("JungleClearMana", "Min JungleClear ManaPercent", 40));

            KillStealMenu = Menu.Add(new Menu("Kill Steal", "Kill Steal"));
            KSQ           = KillStealMenu.Add(new MenuBool("KSQ", "Use Q", true));
            KSE           = KillStealMenu.Add(new MenuBool("KSE", "Use E", true));


            var FleeMenu = Menu.Add(new Menu("Flee", "Flee"));

            {
                FleeMenu.Add(new MenuBool("Q", "Use Q", true));
                FleeMenu.Add(new MenuKeyBind("Key", "Key", System.Windows.Forms.Keys.Z, KeyBindType.Press));
            }


            MiscMenu    = Menu.Add(new Menu("Misc", "Misc"));
            GapcloserW  = MiscMenu.Add(new MenuBool("AutoWInMePos", "Use W | Anti Gapcloser", true));
            InterruptW  = MiscMenu.Add(new MenuBool("SmartW", "Use W | Interrupt", true));
            AutoFollowR = MiscMenu.Add(new MenuBool("AutoFollowR", "Auto R Follow", true));

            DrawMenu   = Menu.Add(new Menu("Drawings", "Drawings"));
            DrawQ      = DrawMenu.Add(new MenuBool("DrawQ", "Draw Q"));
            DrawW      = DrawMenu.Add(new MenuBool("DrawW", "Draw W"));
            DrawE      = DrawMenu.Add(new MenuBool("DrawE", "Draw E"));
            DrawEMax   = DrawMenu.Add(new MenuBool("DrawEMax", "Draw E Max Range"));
            DrawR      = DrawMenu.Add(new MenuBool("DrawR", "Draw R"));
            DrawDamage = DrawMenu.Add(new MenuBool("DrawDamage", "Draw Combo Damage", true));
            DrawTarget = DrawMenu.Add(new MenuBool("DrawTarget", "Draw Target", true));

            Game.OnUpdate                  += OnUpdate;
            Events.OnGapCloser             += OnGapCloser;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Drawing.OnDraw                 += OnDraw;
        }
Esempio n. 6
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("大嘴 连招 设置");

            ComboMenu.AddLabel("Q 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseEVsGapclosers", new CheckBox("使用E反突进"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseROnlyToKs", new CheckBox("仅抢人头使用R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RHitChancePercent",
                          new Slider("R 命中率 : {0}", 60));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RAllowedStacks",
                          new Slider("允许使用的数量", 2, 0, 10));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RMaxHealth", new Slider("使用R对敌人最低血量百分比", 60));
            ComboMenu.AddSeparator(2);
            ComboMenu.AddLabel(
                "使用R对目标最低血量百分比. 如果仅对抢人头使用R 该选项将被忽略.");
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("大嘴 骚扰 设置");

            HarassMenu.AddLabel("Q 设置 :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseQ",
                           new Slider("最小蓝 百分比 ({0}%) 使用Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("W 设置 :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseW", new Slider("最小蓝 百分比 ({0}%) 使用W", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("R 设置 :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.RAllowedStacks", new Slider("允许使用的数量", 2, 0, 10));

            HarassMenu.AddLabel("小妹妹汉化 !");
            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("大嘴 发育 设置");

            FarmingMenu.AddLabel("Q 设置  :");
            FarmingMenu.Add("Plugins.KogMaw.FarmingMenu.UseQOnUnkillableMinion", new CheckBox("使用Q对杀不死的小兵"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("大嘴 线圈 设置");

            DrawingsMenu.AddLabel("基本设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("只在技能准备好的时候画出线圈"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawInfos",
                             new CheckBox("画出信息"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Q 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQ", new CheckBox("Q线圈", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("W 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawW", new CheckBox("W线圈"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("E 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawE", new CheckBox("E线圈", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

            DrawingsMenu.AddLabel("R 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawR", new CheckBox("R线圈"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Esempio n. 7
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("MonkeyKing"))
            {
                return;
            }
            Chat.Print("Doctor's Wukong Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q      = new Spell.Active(SpellSlot.Q, 300);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Targeted(SpellSlot.E, 650);
            R      = new Spell.Active(SpellSlot.R, 375);
            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);
            Menu   = MainMenu.AddMenu("Doctor's Wukong", "Doctor's Wukong");
            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", false));
            ComboMenu.Add("DisE", new Slider("Use [E] If Enemy Distance >=", 250, 0, 650));
            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"));

            Ulti = Menu.AddSubMenu("Ultimate Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Enemies In Count");
            Ulti.Add("ultiR", new CheckBox("Use [R] Aoe"));
            Ulti.Add("MinR", new Slider("Min Enemies Use [R] Aoe", 2, 1, 5));
            Ulti.Add("follow", new CheckBox("Auto Move To Target While [R]", false));
            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));
            Ulti.Add("wulti", new CheckBox("Use [W] If My HP <"));
            Ulti.Add("MauW", new Slider("My HP Use [W]", 40));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] 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("ELC", new CheckBox("Use [E] 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("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("KsQ", new CheckBox("Use [Q] KillSteal", false));
            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"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawR", new CheckBox("[R] Range"));
            Misc.Add("DrawE", new CheckBox("[E] Range"));
            Misc.Add("DrawTR", new CheckBox("Status UnderTurret"));
            Misc.AddGroupLabel("Interrupt/Anti Gap Settings");
            Misc.Add("inter", new CheckBox("Use [R] Interupt"));
            Misc.Add("AntiGap", new CheckBox("Use [W] Anti Gapcloser"));

            Drawing.OnDraw                   += Drawing_OnDraw;
            Game.OnUpdate                    += Game_OnUpdate;
            Orbwalker.OnPostAttack           += ResetAttack;
            Interrupter.OnInterruptableSpell += Interupt;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }
Esempio n. 8
0
        public static void Execute()
        {
            if (player.ChampionName != ChampName)
            {
                return;
            }

            //Ability Information - Range - Variables.
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);

            menuIni = MainMenu.AddMenu("CH汉化-奥拉夫", "Olaf");
            menuIni.AddGroupLabel("欢迎使用'最渣'奥拉夫脚本!");
            menuIni.AddGroupLabel("全局设定");
            menuIni.Add("Ult", new CheckBox("加载 大招?"));
            menuIni.Add("Items", new CheckBox("加载 物品?"));
            menuIni.Add("Combo", new CheckBox("加载 连招?"));
            menuIni.Add("Harass", new CheckBox("加载 骚扰?"));
            menuIni.Add("LaneClear", new CheckBox("加载 清线?"));
            menuIni.Add("LastHit", new CheckBox("加载 尾兵?"));
            menuIni.Add("JungleClear", new CheckBox("加载 清野?"));
            menuIni.Add("KillSteal", new CheckBox("加载 抢头?"));
            menuIni.Add("Misc", new CheckBox("加载 杂项?"));
            menuIni.Add("Drawings", new CheckBox("加载 线圈?"));

            ItemsMenu = menuIni.AddSubMenu("物品");
            ItemsMenu.AddGroupLabel("物品设置");
            ItemsMenu.Add("useGhostblade", new CheckBox("使用 幽梦"));
            ItemsMenu.Add("UseBOTRK", new CheckBox("使用 破败"));
            ItemsMenu.Add("UseBilge", new CheckBox("使用 弯刀"));
            ItemsMenu.Add("eL", new Slider("敌人血量% 时使用", 65, 0, 100));
            ItemsMenu.Add("oL", new Slider("自身血量% 时使用", 65, 0, 100));

            UltMenu = menuIni.AddSubMenu("大招 [BETA]");
            UltMenu.AddGroupLabel("大招设置");
            UltMenu.Add("UseR", new CheckBox("使用 R"));
            UltMenu.AddLabel("R 使用设置:");
            UltMenu.Add("blind", new CheckBox("致盲?", false));
            UltMenu.Add("charm", new CheckBox("魅惑?"));
            UltMenu.Add("disarm", new CheckBox("无力?", false));
            UltMenu.Add("fear", new CheckBox("恐惧?"));
            UltMenu.Add("frenzy", new CheckBox("狂暴?", false));
            UltMenu.Add("silence", new CheckBox("沉默?", false));
            UltMenu.Add("snare", new CheckBox("禁锢?"));
            UltMenu.Add("sleep", new CheckBox("睡眠?"));
            UltMenu.Add("stun", new CheckBox("晕眩?"));
            UltMenu.Add("supperss", new CheckBox("压制?"));
            UltMenu.Add("slow", new CheckBox("减速?", false));
            UltMenu.Add("knockup", new CheckBox("击飞?"));
            UltMenu.Add("knockback", new CheckBox("击退?"));
            UltMenu.Add("nearsight", new CheckBox("视野丢失?", false));
            UltMenu.Add("root", new CheckBox("监禁?"));
            UltMenu.Add("tunt", new CheckBox("嘲讽?"));
            UltMenu.Add("poly", new CheckBox("变形?"));
            UltMenu.Add("poison", new CheckBox("中毒?", false));
            UltMenu.Add("hp", new Slider("只在血量低于 X% 使用", 25, 0, 100));
            UltMenu.Add("human", new Slider("人性化延迟", 150, 0, 1500));
            UltMenu.Add("Rene", new Slider("附近敌人数量使用 R", 1, 0, 5));
            UltMenu.Add("enemydetect", new Slider("附近敌人探测距离", 1000, 0, 2000));
            UltMenu.AddLabel("大招逻辑: 会使用大招,当你有以上勾选状态,并且血量低于以上选择,切有 X 名敌人在附近时!才会使用大招。");

            ComboMenu = menuIni.AddSubMenu("连招");
            ComboMenu.AddGroupLabel("连招设置");
            ComboMenu.Add("UseQ", new CheckBox("使用 Q"));
            ComboMenu.Add("UseW", new CheckBox("使用 W"));
            ComboMenu.Add("UseE", new CheckBox("使用 E"));

            HarassMenu = menuIni.AddSubMenu("骚扰");
            HarassMenu.AddGroupLabel("骚扰设置");
            HarassMenu.Add("hQ", new CheckBox("使用 Q"));
            HarassMenu.Add("hQ2", new CheckBox("使用 短距离 Q"));
            HarassMenu.Add("hQA", new CheckBox("使用 自动 Q", false));
            HarassMenu.Add("hW", new CheckBox("使用 W", false));
            HarassMenu.Add("hE", new CheckBox("使用 E"));
            HarassMenu.Add("harassmana", new Slider("骚扰蓝量限制", 60, 0, 100));

            LaneMenu = menuIni.AddSubMenu("农兵");
            LaneMenu.AddGroupLabel("清线设置");
            LaneMenu.Add("laneQ", new CheckBox("使用 Q"));
            LaneMenu.Add("fE", new CheckBox("使用 E 尾兵"));
            LaneMenu.Add("laneW", new CheckBox("使用 W"));
            LaneMenu.Add("laneE", new CheckBox("使用 E", false));
            LaneMenu.Add("femana", new Slider("使用 (E) 血量限制", 75, 0, 100));
            LaneMenu.Add("lanemana", new Slider("农兵蓝量限制", 80, 0, 100));
            LaneMenu.AddGroupLabel("清野设置");
            LaneMenu.Add("jungleQ", new CheckBox("使用 Q"));
            LaneMenu.Add("jE", new CheckBox("使用 E 尾兵"));
            LaneMenu.Add("jungleW", new CheckBox("使用 W"));
            LaneMenu.Add("jungleE", new CheckBox("使用 E", false));
            LaneMenu.Add("jemana", new Slider("使用 (E) 血量限制", 75, 0, 100));
            LaneMenu.Add("junglemana", new Slider("清野蓝量限制", 80, 0, 100));

            KillStealMenu = menuIni.AddSubMenu("抢头");
            KillStealMenu.AddGroupLabel("抢头设置");
            KillStealMenu.Add("ksQ", new CheckBox("抢头 Q"));
            KillStealMenu.Add("ksE", new CheckBox("抢头 E"));

            MiscMenu = menuIni.AddSubMenu("杂项");
            MiscMenu.AddGroupLabel("杂项设置");
            MiscMenu.Add("gapcloser", new CheckBox("使用 Q 防突进"));
            MiscMenu.Add("gapclosermana", new Slider("防突进蓝量", 25, 0, 100));

            DrawMenu = menuIni.AddSubMenu("线圈");
            DrawMenu.AddGroupLabel("线圈设置");
            DrawMenu.Add("Qdraw", new CheckBox("显示 Q"));
            DrawMenu.Add("Edraw", new CheckBox("显示 E"));
            DrawMenu.Add("Rdraw", new CheckBox("显示 R 探测范围"));
            DrawMenu.Add("AxeDraw", new CheckBox("显示 斧头位置"));

            Drawing.OnDraw        += OnDraw;
            Game.OnUpdate         += Game_OnGameUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGap;
            GameObject.OnCreate   += GameObject_OnCreate;
            GameObject.OnDelete   += GameObject_OnDelete;
        }
Esempio n. 9
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Thm = new Font(Drawing.Direct3DDevice,
                           new FontDescription
            {
                FaceName        = "Tahoma",
                Height          = 32,
                Weight          = FontWeight.Bold,
                OutputPrecision = FontPrecision.Default,
                Quality         = FontQuality.ClearType
            });
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            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=\"#580dd9\" >MeloSenpai Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");

            Chat.Print("Hf Gl enjoy!!", Color.Aqua
                       );


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeloSenpai");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.Add("Qlogic", new ComboBox("Q Logic ", 0, "Always", "If 3 Stacks"));
            ComboMenu.AddLabel("E Settings");
            ComboMenu.Add("ELogic", new ComboBox("E Logic ", 0, "Normal", "After AA"));
            ComboMenu.AddLabel("R Settings:");
            ComboMenu.Add("useRCombo", new CheckBox("Use R", false));
            ComboMenu.Add("Rlogic", new ComboBox("Ulty Logic ", 0, "EnemyHp", "HitCountEnemys"));
            ComboMenu.Add("Hp", new Slider("Use R Enemy Health {0}(%)", 45, 0, 100));
            ComboMenu.Add("Rcount", new Slider("If Ulty Hit {0} Enemy ", 2, 1, 5));
            ComboMenu.Add("rpred", new Slider("Select Ulty {0}(%) Hitchance", 70, 0, 100));
            ComboMenu.AddLabel("Use R Range Settigs For all Logic:");
            ComboMenu.Add("useRRange", new Slider("Use Ulty Max Range", 1800, 500, 2000));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo preferences:");
            ComboMenu.Add("useWComboFocus", new CheckBox("Focus Target W"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Use Ignite If Combo Killable"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Use E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.AddLabel("Auto Skills On CC Enemy");
            MiscMenu.Add("CCQ", new CheckBox("Auto Q on Enemy CC"));
            MiscMenu.AddLabel("KillSteal Settings");
            MiscMenu.Add("UseRKs", new CheckBox("Use R Ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % 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));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            foreach (var debuff in DeBuffsList)
            {
                ItemMenu.Add(debuff.ToString(), new CheckBox(debuff.ToString()));
            }
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


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

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));
            DrawMenu.Add("howaa", new CheckBox("How Many AA"));
            DrawMenu.Add("Rkill", new CheckBox("R kill "));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Orbwalker.OnPostAttack           += OnAfterAttack;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
Esempio n. 10
0
File: Karma.cs Progetto: tekintr/AIO
        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);
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.Add("UBAddons.Karma.R.Q.Enabe", new CheckBox("Use R-Q"));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.Add("UBAddons.Karma.R.W.MyHP", new Slider("R-W if my HP below", 25));
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.Add("UBAddons.Karma.R.E.Ally", new Slider("R-E if Shield", 3, 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.Add("UBAddons.Karma.R.W.MyHP", new Slider("R-W if my HP below", 25));
                    HarassMenu.CreatSlotCheckBox(SpellSlot.R);
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

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

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

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "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. 11
0
 private static void Harassmenu()
 {
     HarassMenu = VMenu.AddSubMenu("骚扰", "Harass");
     HarassMenu.Add("HarassCombo", new CheckBox("骚扰连招"));
     HarassMenu.Add("HarassMana", new Slider("骚扰连招蓝量", 40));
 }
Esempio n. 12
0
        private static void Loading_OnComplete(EventArgs args)
        {
            if (Jax.Hero != Champion.Jax)
            {
                return;
            }
            Chat.Print("[Addon] [Champion] [Jax]", System.Drawing.Color.AliceBlue);

            Bootstrap.Init(null);
            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }
            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Targeted(SpellSlot.Q, 700);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 187);
            R = new Spell.Active(SpellSlot.R);

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

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("QCombo", new CheckBox("Use Q"));
            ComboMenu.Add("WCombo", new CheckBox("Use W"));
            ComboMenu.Add("ECombo", new CheckBox("Use E"));
            ComboMenu.Add("RCombo", new CheckBox("Use R"));
            ComboMenu.Add("useTiamat", new CheckBox("Use Items"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("QHarass", new CheckBox("Use Q"));
            HarassMenu.Add("WHarass", new CheckBox("Use W"));
            HarassMenu.Add("EHarass", new CheckBox("Use E"));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Clear");
            FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 35, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear"));
            FarmingMenu.Add("ElaneclearMana", new Slider("Mana < %", 60, 0, 100));

            FarmingMenu.AddLabel("Jungle Clear");
            FarmingMenu.Add("QJungleClear", new CheckBox("Use Q in Jungle"));
            FarmingMenu.Add("QJungleClearMana", new Slider("Mana < %", 60, 0, 100));
            FarmingMenu.Add("WJungleClear", new CheckBox("Use W in Jungle"));
            FarmingMenu.Add("WJungleClearMana", new Slider("Mana < %", 30, 0, 100));
            FarmingMenu.Add("EJungleClear", new CheckBox("Use E in Jungle"));
            FarmingMenu.Add("EJungleClearMana", new Slider("Mana < %", 30, 0, 100));

            FarmingMenu.AddLabel("Last Hit Settings");
            FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit"));
            FarmingMenu.Add("Wlasthit", new CheckBox("Use W LastHit"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 35, 0, 100));


            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!"));
                SmiteMenu.AddLabel("Smite Usage");
                SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite"));
                SmiteMenu.Add("Red?", new CheckBox("Red"));
                SmiteMenu.Add("Blue?", new CheckBox("Blue"));
                SmiteMenu.Add("Dragon?", new CheckBox("Dragon"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Auto");
            MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("autoQ", new CheckBox("Use Auto Q to Flee/Escape"));
            MiscMenu.Add("autoE", new CheckBox("Use Auto E"));
            MiscMenu.Add("autoECount", new Slider("Enemy Count ", 3, 1, 5));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Items");
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings");
            MiscMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100));

            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Use Health Potion"));
            MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Use Mana Potion"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions"));
            MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 65, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 65, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Draw AA Range"));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;

            Chat.Print("Perrrrrrrrrfect Addon", System.Drawing.Color.Red);
        }
Esempio n. 13
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Corki addon");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Esempio n. 14
0
        /// <summary>
        /// Creates the Menu
        /// </summary>
        public static void Initialize()
        {
            ConfigMenu = MainMenu.AddMenu("LelBlanc", "LelBlanc");
            ConfigMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            ConfigMenu.AddGroupLabel(
                "Any unauthorized redistribution without credits will result in severe consequences.");
            ConfigMenu.AddGroupLabel("Thank you for using this addon and have a fun time!");

            ComboMenu = ConfigMenu.AddSubMenu("Combo Menu", "cMenu");
            ComboMenu.AddLabel("Spell Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useReturn", new CheckBox("Use W Return"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useQR", new CheckBox("Use QR"));
            ComboMenu.Add("useWR", new CheckBox("Use WR", false));
            ComboMenu.Add("useReturn2", new CheckBox("Use WR Return", false));
            ComboMenu.Add("useER", new CheckBox("Use ER", false));
            ComboMenu.AddLabel("Extra Settings");
            ComboMenu.Add("mode", new ComboBox("Combo Modes", 2, LogicModes));
            ComboMenu.AddLabel("Burst Logic Settings");
            ComboMenu.Add("minRange", new CheckBox("Use Q -> R only if W is in range", false));

            HarassMenu = ConfigMenu.AddSubMenu("Harass Menu", "hMenu");
            HarassMenu.AddLabel("Spell Settings");
            HarassMenu.Add("useQ", new CheckBox("Use Q"));
            HarassMenu.Add("useW", new CheckBox("Use W"));
            HarassMenu.Add("useReturn", new CheckBox("Use W Return"));
            HarassMenu.Add("useE", new CheckBox("Use E"));
            HarassMenu.AddLabel("R Settings");
            HarassMenu.Add("useQR", new CheckBox("Use QR"));
            HarassMenu.Add("useWR", new CheckBox("Use WR", false));
            HarassMenu.Add("useReturn2", new CheckBox("Use WR Return"));
            HarassMenu.Add("useER", new CheckBox("Use ER", false));
            HarassMenu.AddLabel("Extra Settings");
            HarassMenu.Add("mode", new ComboBox("Harass Modes", 1, LogicModes));
            HarassMenu.AddLabel("Burst Logic Settings");
            HarassMenu.Add("minRange", new CheckBox("Use Q -> R only if W is in range", false));

            LaneClearMenu = ConfigMenu.AddSubMenu("Laneclear Menu", "lcMenu");
            LaneClearMenu.AddLabel("Spell Settings");
            LaneClearMenu.Add("useQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("useW", new CheckBox("Use W"));
            LaneClearMenu.Add("sliderQ", new Slider("Use Q if Kill {0} Minions", 3, 1, 5));
            LaneClearMenu.Add("sliderW", new Slider("Use W if Kill {0} Minions", 3, 1, 5));

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

            KillStealMenu = ConfigMenu.AddSubMenu("Killsteal Menu", "ksMenu");
            KillStealMenu.AddLabel("Spell Settings");
            KillStealMenu.Add("useQ", new CheckBox("Use Q"));
            KillStealMenu.Add("useW", new CheckBox("Use W"));
            KillStealMenu.Add("useReturn", new CheckBox("Use W Return"));
            KillStealMenu.Add("useE", new CheckBox("Use E"));
            KillStealMenu.AddLabel("R Settings");
            KillStealMenu.Add("useQR", new CheckBox("Use QR"));
            KillStealMenu.Add("useWR", new CheckBox("Use WR"));
            KillStealMenu.Add("useReturn2", new CheckBox("Use WR Return"));
            KillStealMenu.Add("useER", new CheckBox("Use ER"));
            KillStealMenu.AddLabel("Misc Settings");
            KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite"));
            KillStealMenu.Add("usePrediction", new CheckBox("Use Health Prediction", false));
            KillStealMenu.Add("toggle", new CheckBox("Enable Kill Steal"));

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

            MiscMenu = ConfigMenu.AddSubMenu("Misc Menu", "mMenu");
            MiscMenu.AddLabel("Miscellaneous");
            MiscMenu.Add("pet", new CheckBox("Automatic Clone Movement"));
        }
Esempio n. 15
0
// Menu

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

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

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

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

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

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

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Misc.Add("inter", new CheckBox("Use [W] Interupt", false));
            Misc.Add("Qcc", new CheckBox("Use [Q] Immobile"));
            Misc.Add("QPassive", new CheckBox("Auto [Q] Enemies With 2 Stacks"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawE", new CheckBox("Draw [E]"));
            Misc.Add("DrawQ", new CheckBox("Draw [Q]"));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));
            Misc.Add("DrawR", new CheckBox("Draw [R]"));
            Misc.Add("DrawTR", new CheckBox("Status UnderTuret"));

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnProcessSpellCast   += AIHeroClient_OnProcessSpellCast;
            GameObject.OnCreate              += Game_On_Create;
            GameObject.OnDelete              += Game_On_Delete;
        }
Esempio n. 16
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Vladimir"))
            {
                return;
            }
            Chat.Print("Doctor's Vladimir Loaded!", Color.Orange);
            Chat.Print("Mercedes7", Color.Red);
            Q      = new Spell.Targeted(SpellSlot.Q, 600);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Active(SpellSlot.E, 600);
            R      = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Thn    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu      = MainMenu.AddMenu("Doctor's Vladimir", "Vladimir");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddLabel("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("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.AddLabel("Use [R] Aoe");
            ComboMenu.Add("ComboR2", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Use [R] Aoe Enemies >=", 2, 1, 5));
            ComboMenu.AddLabel("Auto [Q-W] Low HP");
            ComboMenu.Add("Wtoggle", new CheckBox("Auto [W] Low MyHp"));
            ComboMenu.Add("minHealth", new Slider("Use [W] My Hp <", 20));
            ComboMenu.Add("AutoQ", new CheckBox("Auto [Q] Low MyHp On Enemies", false));
            ComboMenu.Add("AutoQm", new CheckBox("Auto [Q] Low MyHp On Minions", false));
            ComboMenu.Add("healthQ", new Slider("Auto [Q] MyHp <", 30));
            ComboMenu.AddLabel("Use [W] Dodge Spell");
            ComboMenu.Add("dodge", new CheckBox("Use [W] Dodge"));
            ComboMenu.Add("antiGap", new CheckBox("Use [W] Anti Gap"));
            ComboMenu.Add("healthgap", new Slider("Use [W] AntiGap My Hp <", 50));

            Evade = Menu.AddSubMenu("Spell Dodge Settings", "Evade");
            Evade.AddGroupLabel("Dodge Settings");
            foreach (var enemies in EntityManager.Heroes.Enemies.Where(a => a.Team != Player.Instance.Team))
            {
                Evade.AddGroupLabel(enemies.BaseSkinName);
                {
                    foreach (var spell in enemies.Spellbook.Spells.Where(a => a.Slot == SpellSlot.Q || a.Slot == SpellSlot.W || a.Slot == SpellSlot.E || a.Slot == SpellSlot.R))
                    {
                        if (spell.Slot == SpellSlot.Q)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.W)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.E)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.R)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                    }
                }
            }

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("Autoqh", new KeyBind("Auto [Q] Harass", false, KeyBind.BindTypes.PressToggle, 'T'));

            LaneClearMenu = Menu.AddSubMenu("Clear Settings", "LaneClear");
            LaneClearMenu.AddLabel("Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("minE", new Slider("Min Hit Minions Use [E]", 3, 1, 6));
            LaneClearMenu.AddLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.AddLabel("JungleClear Settings");
            LaneClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            LaneClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));

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

            Drawings = Menu.AddSubMenu("Drawings Settings", "Draw");
            Drawings.AddLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawE", new CheckBox("[E] Range"));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawAT", new CheckBox("Draw Auto Harass"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;
        }
Esempio n. 17
0
File: Program.cs Progetto: ncmp/L-
        private static void SetupMenu()
        {
            MainMenu = new Menu("TRUStInMyViktor", "TRUStInMyViktor", true).Attach();

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

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


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

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

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



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


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

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


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

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

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


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

            DrawMenu.Add(new MenuBool("drawRangeQ", "Q range", true));
            DrawMenu.Add(new MenuColor("QRangeC", "Q range", SharpDX.ColorBGRA.FromRgba(0xBF3F3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeW", "W range", true));
            DrawMenu.Add(new MenuColor("WRangeC", "W range", SharpDX.ColorBGRA.FromRgba(0xBFBF3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeE", "E range", true));
            DrawMenu.Add(new MenuColor("ERangeC", "E range", SharpDX.ColorBGRA.FromRgba(0x3FBFBFFF)));
            DrawMenu.Add(new MenuBool("drawRangeEMax", "E max range", true));
            DrawMenu.Add(new MenuColor("ERangeC2", "E max range", SharpDX.ColorBGRA.FromRgba(0xBF7F3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeR", "R range", true));
            DrawMenu.Add(new MenuColor("RRangeC", "R range", SharpDX.ColorBGRA.FromRgba(0xBF3FBFFF)));
            DrawMenu.Add(new MenuBool("dmgdraw", "Draw dmg on healthbar"));
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);
        }
Esempio n. 18
0
        private static void OnLoad()
        {
            Menu = MainMenu.AddMenu("Aatrox", "Aatrox");
            Menu.AddLabel("Ported from BrianSharp - Berb");
            Menu.AddSeparator();

            ComboMenu = Menu.AddSubMenu("Combo");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("R", new CheckBox("Use R"));
            ComboMenu.Add("RHpU", new Slider("-> If Enemy Hp <", 60));
            ComboMenu.Add("RCountA", new Slider("-> Or Enemy >=", 2, 1, 5));
            ComboMenu.AddSeparator();

            HarassMenu = Menu.AddSubMenu("Harass");
            HarassMenu.Add("AutoE", new KeyBind("Auto E", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.Add("AutoEHpA", new Slider("-> If Hp >=", 50));
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add("QHpA", new Slider("-> If Hp >=", 20));
            HarassMenu.Add("E", new CheckBox("Use E"));
            HarassMenu.AddSeparator();

            ClearMenu = Menu.AddSubMenu("Clear");
            ClearMenu.Add("Q", new CheckBox("Use Q"));
            ClearMenu.Add("W", new CheckBox("Use W"));
            ClearMenu.Add("WPriority", new CheckBox("-> Priority Heal"));
            ClearMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50));
            ClearMenu.Add("E", new CheckBox("Use E"));
            ClearMenu.Add("Item", new CheckBox("Use Tiamat/Hydra Item"));
            ClearMenu.AddSeparator();

            FleeMenu = Menu.AddSubMenu("Flee");
            FleeMenu.Add("Q", new CheckBox("Use Q"));
            FleeMenu.Add("E", new CheckBox("Use E"));
            FleeMenu.AddSeparator();

            KSMenu = Menu.AddSubMenu("Kill Steal");
            KSMenu.Add("Q", new CheckBox("Use Q"));
            KSMenu.Add("E", new CheckBox("Use E"));
            KSMenu.Add("Smite", new CheckBox("Use Smite"));
            KSMenu.Add("Ignite", new CheckBox("Use Ignite"));
            KSMenu.AddSeparator();

            GapMenu = Menu.AddSubMenu("Anti Gap Closer");
            GapMenu.Add("Q", new CheckBox("Use Q"));
            foreach (
                var spell in
                AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName)))
            {
                GapMenu.Add(spell.ChampionName + "_" + spell.Slot,
                            new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName));
            }
            GapMenu.AddSeparator();

            IntMenu = Menu.AddSubMenu("Interrupt");
            IntMenu.Add("Q", new CheckBox("Use Q"));
            foreach (
                var spell in
                Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName)))
            {
                IntMenu.Add(spell.ChampionName + "_" + spell.Slot,
                            new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName));
            }
            IntMenu.AddSeparator();

            SmiteMenu = Menu.AddSubMenu("Smite Mob");
            SmiteMenu.Add("Smite", new CheckBox("Use Smite"));
            SmiteMenu.Add("Auto", new CheckBox("-> Auto Smite"));
            SmiteMenu.Add("Baron", new CheckBox("-> Baron Nashor"));
            SmiteMenu.Add("Dragon", new CheckBox("-> Dragon"));
            SmiteMenu.Add("Red", new CheckBox("-> Red Brambleback"));
            SmiteMenu.Add("Blue", new CheckBox("-> Blue Sentinel"));
            SmiteMenu.Add("Krug", new CheckBox("-> Ancient Krug"));
            SmiteMenu.Add("Gromp", new CheckBox("-> Gromp"));
            SmiteMenu.Add("Raptor", new CheckBox("-> Crimson Raptor"));
            SmiteMenu.Add("Wolf", new CheckBox("-> Greater Murk Wolf"));
            SmiteMenu.AddSeparator();

            DrawMenu = Menu.AddSubMenu("Drawings");
            DrawMenu.Add("Q", new CheckBox("Use Q"));
            DrawMenu.Add("E", new CheckBox("Use E"));
            DrawMenu.Add("R", new CheckBox("Use R"));
            DrawMenu.AddSeparator();

            Q  = new Spell(SpellSlot.Q, 650);
            Q2 = new Spell(SpellSlot.Q, 650);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 1075);
            R  = new Spell(SpellSlot.R, 550);
            Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle);
            Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine);

            Tiamat = ItemData.Tiamat_Melee_Only.GetItem();
            Hydra  = ItemData.Ravenous_Hydra_Melee_Only.GetItem();

            foreach (
                var spell in
                myHero.Spellbook.Spells.Where(
                    i =>
                    i.Name.ToLower().Contains("smite") &&
                    (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2)))
            {
                Smite = spell.Slot;
            }
            Ignite = myHero.GetSpellSlot("summonerdot");

            Game.OnTick                       += OnTick;
            Gapcloser.OnGapcloser             += Gapcloser_OnGapcloser;
            Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt;
            Drawing.OnDraw                    += OnDraw;
        }
Esempio n. 19
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Jinx addon");

            ComboMenu.AddLabel("Switcheroo! (Q) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Zap! (W) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.WMinDistanceToTarget", new Slider("Minimum distance to target to cast", 800, 0, 1500));
            ComboMenu.AddLabel("Cast W only if distance from player to target i higher than desired value.");
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Flame Chompers! (E) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.AutoE", new CheckBox("Automated E usage on certain spells"));
            ComboMenu.AddLabel("Automated E usage fires traps on enemy champions that are Teleporting or are in Zhonyas.\nIt also searchs for spells with long cast time " +
                               "like Caitlyn's R or Malzahar's R");
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Super Mega Death Rocket! (R) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddLabel("Fires R on best target in range when keybind is active.");
            ComboMenu.AddSeparator(5);
            var keybindRange = ComboMenu.Add("Plugins.Jinx.ComboMenu.RRangeKeybind", new Slider("Maximum range to enemy to cast R while keybind is active", 1100, 300, 5000));

            keybindRange.OnValueChange += (a, b) =>
            {
                _changingkeybindRange = true;
                Core.DelayAction(() =>
                {
                    if (!keybindRange.IsLeftMouseDown && !keybindRange.IsMouseInside)
                    {
                        _changingkeybindRange = false;
                    }
                }, 2000);
            };

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

            HarassMenu.AddLabel("Switcheroo! (Q) settings :");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Zap! (W) settings :");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW", new CheckBox("Auto harass with W"));
            HarassMenu.AddLabel("Enables auto harass on enemy champions.");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1));
            HarassMenu.AddSeparator(5);
            HarassMenu.AddLabel("W harass enabled for :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

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

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

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

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

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

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Jinx addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableInterrupter", new CheckBox("Cast E against interruptible spells", false));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableAntiGapcloser", new CheckBox("Cast E against gapclosers"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.WKillsteal", new CheckBox("Cast W to killsteal"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillsteal", new CheckBox("Cast R to killsteal"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillstealMaxRange", new Slider("Maximum range to enemy to cast R for killsteal", 8000, 0, 20000));

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

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

            DrawingsMenu.AddLabel("Switcheroo! (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRange", new CheckBox("Draw Q rockets range"));
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRangeColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

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

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

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Esempio n. 20
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            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=\"#580dd9\" >MeLoDag Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeLoDag");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Ayarları");
            ComboMenu.Add("useQComboAlways", new CheckBox("Her zaman Q kullan"));
            ComboMenu.Add("useQCombo", new CheckBox("Q için yük say", false));
            ComboMenu.Add("StackCount", new Slider("Q yükü >= ", 3, 1, 3));
            ComboMenu.AddLabel("E Ayarları");
            ComboMenu.Add("useEComboAlways", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Ayarları");
            ComboMenu.Add("useRCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("Rcount", new Slider("R için gereken düşman >= ", 1, 1, 5));
            ComboMenu.Add("UseRcomboHP", new CheckBox("R yi düşmanın canına göre kullan"));
            ComboMenu.Add("RHP", new Slider("R kullanmak için gereken düşman canı >= ", 50));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Kombo özellikleri:");
            ComboMenu.Add("useWComboFocus", new CheckBox("W hedefe odakla"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Tutuştur kullan hedef ölecekse"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Kullan E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Temizleme");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Kullan E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Orman Temizleme");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Kullan E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Ayarları");
            MiscMenu.Add("gapcloser", new CheckBox("Otomatik Q Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Otomatik R Interrupter"));
            MiscMenu.AddLabel("Otomatik büyü kullanma hedefe(CC)");
            MiscMenu.Add("CCQ", new CheckBox("Otomatik hedefe Q (CC)"));
            MiscMenu.AddLabel("Killçalma ayarları");
            MiscMenu.Add("UseQks", new CheckBox("Q ile çal"));
            MiscMenu.Add("UseRKs", new CheckBox("R ile çal"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Otomatik Pot Kullanımı");
            AutoPotHealMenu.Add("potion", new CheckBox("Kullan İksir"));
            AutoPotHealMenu.Add("potionminHP", new Slider("İksir için Canım şundan az", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("İksir için manam şundan az", 20));
            AutoPotHealMenu.AddGroupLabel("Otomatik iyileştirme kullan");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan"));
            AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme için benim canım", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Kullan Mahvolmuş kılıcı"));
            ItemMenu.Add("useBotrkMyHP", new Slider("Canım < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Kullan QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Sabitse", true));
            ItemMenu.Add("Blind", new CheckBox("Körse", true));
            ItemMenu.Add("Charm", new CheckBox("Çekiliyorsa(ahri)", true));
            ItemMenu.Add("Suppression", new CheckBox("Durmuşsa", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true));
            ItemMenu.Add("Taunt", new CheckBox("Alay ediliyorsa", true));
            ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false));
            ItemMenu.Add("QssDelay", new Slider("QSS gecikmesi(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Değiştrici", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan", false));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawE", new CheckBox("Göster E Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));
            DrawMenu.AddLabel("Hasar Tespitçisi");
            DrawMenu.Add("healthbar", new CheckBox("Can barı gösterimi"));
            DrawMenu.Add("percent", new CheckBox("Hasarı yüzde olarak göster"));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
Esempio n. 21
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ekko")
            {
                return;
            }
            Bootstrap.Init(null);

            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Skillshot(SpellSlot.Q, 750, SkillShotType.Linear, 250, 2200, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1620, SkillShotType.Circular, 500, 1000, 500);
            E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Linear, 250, int.MaxValue, 1);
            R = new Spell.Active(SpellSlot.R, 400);

            EkkoUlt = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy"));

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

            ComboMenu = Menu.AddSubMenu("Combo");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("QCombo", new CheckBox("Use Q"));
            ComboMenu.Add("WCombo", new CheckBox("Use W"));
            ComboMenu.Add("ECombo", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("SafeR", new CheckBox("Auto R is Dying"));
            ComboMenu.Add("SafeRHP", new Slider("HP < %", 10, 1, 50));
            ComboMenu.Add("AutoR", new CheckBox("Auto R in Enemy Count", false));
            ComboMenu.Add("AutoRCount", new Slider("Enemy Count >=", 3, 1, 5));
            ComboMenu.Add("BaseR", new CheckBox("Base to Lane", false));

            HarassMenu = Menu.AddSubMenu("Harass");
            HarassMenu.Add("QHarass", new CheckBox("Use Q"));
            HarassMenu.Add("QHarassMana", new Slider("Mana > %", 45, 0, 100));
            HarassMenu.Add("WHarass", new CheckBox("Use W"));
            HarassMenu.Add("WHarassMana", new Slider("Mana > %", 45, 0, 100));
            HarassMenu.Add("EHarass", new CheckBox("Use E"));
            HarassMenu.Add("EHarassMana", new Slider("Mana > %", 45, 0, 100));

            FarmingMenu = Menu.AddSubMenu("FarmSettings");
            FarmingMenu.AddLabel("Lane Clear");
            FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana > %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear", false));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana > %", 35, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear"));
            FarmingMenu.Add("ElaneclearMana", new Slider("Mana > %", 60, 0, 100));

            FarmingMenu.AddLabel("Jungle Clear");
            FarmingMenu.Add("QJungleClear", new CheckBox("Use Q in Jungle"));
            FarmingMenu.Add("QJungleClearMana", new Slider("Mana > %", 30, 0, 100));
            FarmingMenu.Add("WJungleClear", new CheckBox("Use W in Jungle"));
            FarmingMenu.Add("WJungleClearMana", new Slider("Mana > %", 30, 0, 100));
            FarmingMenu.Add("EJungleClear", new CheckBox("Use E in Jungle"));
            FarmingMenu.Add("EJungleClearMana", new Slider("Mana > %", 30, 0, 100));

            FarmingMenu.AddLabel("Last Hit Settings");
            FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana > %", 35, 0, 100));

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

            MiscMenu = Menu.AddSubMenu("Misc");
            MiscMenu.AddLabel("Auto");
            MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("FleeE", new CheckBox("Use E to Flee/Escape"));
            MiscMenu.Add("autoW", new CheckBox("Auto W in Enemy Count"));
            MiscMenu.Add("autoWCount", new Slider("Enemy Count ", 3, 1, 5));
            MiscMenu.Add("autoWStunned", new CheckBox("Auto W Stunned Enemy"));
            MiscMenu.Add("Interrupter", new CheckBox("Interrupt Spells With W"));
            MiscMenu.Add("Gapcloser", new CheckBox("Gapclose Spells With Q,W"));

            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal"));
            MiscMenu.Add("Rkill", new CheckBox("Use R KillSteal"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Use Health Potion"));
            MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Use Mana Potion"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions"));
            MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 65, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 65, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawQ", new CheckBox("Draw 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"));

            Game.OnTick                    += Game_OnTick;
            Drawing.OnDraw                 += Drawing_OnDraw;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
            Dash.OnDash                    += Unit_OnDash;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;

            Chat.Print("Time Breaker Ekko", System.Drawing.Color.ForestGreen);
            Chat.Print("v0.0.0.1", System.Drawing.Color.AliceBlue);
            Chat.Print("centilmen50", System.Drawing.Color.Red);
        }
Esempio n. 22
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Trundle"))
            {
                return;
            }
            Chat.Print("Trundle7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q       = new Spell.Active(SpellSlot.Q);
            W       = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 0, 2000, 900);
            E       = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 80);
            R       = new Spell.Targeted(SpellSlot.R, 650);
            Ignite  = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil     = new Item(3144, 475f);

            Menu = MainMenu.AddMenu("Trundle7", "Trundle");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.AddGroupLabel("Combo [E] Settings");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("ekc", new Slider("Min Distance Use [E]", 300, 1, 1000));
            ComboMenu.AddGroupLabel("Ultimate Health Settings");
            ComboMenu.Add("ultiR", new CheckBox("Use [R] My Health"));
            ComboMenu.Add("MinR", new Slider("Min Health Use [R]", 60));
            ComboMenu.AddGroupLabel("Use [R] On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add("useRCombo" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            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("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("MHR", new Slider("Min Mana Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false));
            LaneClearMenu.Add("MLC", new Slider("Min Mana LaneClear", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lasthit Settings");
            LaneClearMenu.Add("LHQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("MLH", new Slider("Min Mana Lasthit", 60));

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

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

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("hydra", new CheckBox("Use [Hydra] Reset AA"));
            Items.Add("titanic", new CheckBox("Use [Titanic]"));
            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", "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"));
            Misc.AddGroupLabel("Interrupt Settings");
            Misc.Add("inter", new CheckBox("Use [E] Interupt"));
            Misc.Add("AntiGap", new CheckBox("Use [E] Anti Gapcloser"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawW", new CheckBox("W Range"));
            Misc.Add("DrawE", new CheckBox("E Range", false));
            Misc.Add("DrawR", new CheckBox("R Range", false));

            Drawing.OnDraw                   += Drawing_OnDraw;
            Game.OnTick                      += Game_OnTick;
            Orbwalker.OnPostAttack           += ResetAttack;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Esempio n. 23
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("MasterYi"))
            {
                return;
            }
            Chat.Print("Doctor's Yi Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q         = new Spell.Targeted(SpellSlot.Q, 625);
            W         = new Spell.Active(SpellSlot.W);
            E         = new Spell.Active(SpellSlot.E);
            R         = new Spell.Active(SpellSlot.R);
            Botrk     = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil       = new Item(3144, 475f);
            Youmuu    = new Item(3142, 10);
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Yi", "Yi");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Count Enemies Around"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 1, 5));
            ComboMenu.AddGroupLabel("Use [W] Low HP");
            ComboMenu.Add("WLowHp", new CheckBox("Use [W] Low Hp"));
            ComboMenu.Add("minHealth", new Slider("Use [W] My Hp <=", 25));
            ComboMenu.AddGroupLabel("Use [Q] Dodge Spell");
            ComboMenu.Add("dodge", new CheckBox("Use [Q] Dodge"));
            ComboMenu.Add("antiGap", new CheckBox("Use [Q] Anti Gap"));
            ComboMenu.Add("delay", new Slider("Use [Q] Dodge Delay", 1, 1, 1000));

            Evade = Menu.AddSubMenu("Spell Dodge Settings", "Evade");
            Evade.AddGroupLabel("Dodge Settings");
            foreach (var enemies in EntityManager.Heroes.Enemies.Where(a => a.Team != Player.Instance.Team))
            {
                Evade.AddGroupLabel(enemies.BaseSkinName);
                {
                    foreach (var spell in enemies.Spellbook.Spells.Where(a => a.Slot == SpellSlot.Q || a.Slot == SpellSlot.W || a.Slot == SpellSlot.E || a.Slot == SpellSlot.R))
                    {
                        if (spell.Slot == SpellSlot.Q)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.W)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.E)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.R)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                    }
                }
            }

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

            LaneClearMenu = Menu.AddSubMenu("Clear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("mine", new Slider("Min x Minions Killable Use Q", 3, 1, 4));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));
            LaneClearMenu.AddGroupLabel("JungleClear Settings");
            LaneClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            LaneClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            LaneClearMenu.Add("MnJungle", new Slider("Mana JungleClear", 30));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            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));

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

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;
            Orbwalker.OnPostAttack         += ResetAttack;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;
        }
Esempio n. 24
0
        /// <summary>
        /// Called when the game starts.
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 70, 1300)
            {
                AllowedCollisionCount = 1
            };
            W  = new Spell.Skillshot(SpellSlot.W, 1075, SkillShotType.Linear, 250, 150, 1200);
            E  = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Circular, 250, 275, 950);
            E2 = new Spell.Active(SpellSlot.E);
            R  = new Spell.Skillshot(SpellSlot.R, 3300, SkillShotType.Circular, 1000, 150, int.MaxValue)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

            ComboMenu = LuxMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Combo using Q"));
            ComboMenu.Add("useE", new CheckBox("Combo using E"));
            ComboMenu.Add("useR", new CheckBox("Combo using R"));
            ComboMenu.Add("sliderR", new Slider("Amount of Enemies before casting R", 3, 1, 5));
            ComboMenu.AddLabel("Prediction Settings");
            ComboMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            ComboMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            ComboMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            HarassMenu = LuxMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQ", new CheckBox("Harass using Q"));
            HarassMenu.Add("useE", new CheckBox("Harass using E"));
            HarassMenu.AddLabel("Prediction Settings");
            HarassMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            HarassMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            HarassMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            LaneClearMenu = LuxMenu.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("useQ", new CheckBox("Lane Clear using Q", false));
            LaneClearMenu.Add("useE", new CheckBox("Lane Clear using E"));
            LaneClearMenu.Add("useR", new CheckBox("Mentally Retarded Mode (Use R)", false));
            LaneClearMenu.Add("useQs", new Slider("Minions before Q", 1, 1, 2));
            LaneClearMenu.Add("useEs", new Slider("Minions before E", 3, 1, 6));
            LaneClearMenu.Add("useRs", new Slider("Minions before R", 4, 1, 10));

            KillStealMenu = LuxMenu.AddSubMenu("KillSteal", "KillSteal");
            KillStealMenu.AddGroupLabel("Kill Steal Settings");
            KillStealMenu.Add("useQ", new CheckBox("Kill Steal using Q"));
            KillStealMenu.Add("useE", new CheckBox("Kill Steal using E"));
            KillStealMenu.Add("useR", new CheckBox("Kill Steal using R"));
            KillStealMenu.AddLabel("Prediction Settings");
            KillStealMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            KillStealMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            KillStealMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            MiscMenu = LuxMenu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Mana Manager Settings");
            MiscMenu.Add("manaQ", new Slider("Mana Manager Q", 25));
            MiscMenu.Add("manaW", new Slider("Mana Manager W", 25));
            MiscMenu.Add("manaE", new Slider("Mana Manager E", 25));
            MiscMenu.Add("manaR", new Slider("Mana Manager R", 25));
            MiscMenu.Add("disableC", new CheckBox("Disable Mana Manager in Combo"));
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("useW", new CheckBox("Automatically Cast W"));
            MiscMenu.Add("useM", new CheckBox("Use W only on Modes"));
            MiscMenu.Add("hpW", new Slider("HP % before W", 25));
            MiscMenu.AddLabel("Who to use W on?");
            var allies = EntityManager.Heroes.Allies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);

            foreach (var a in allies)
            {
                MiscMenu.Add("autoW_" + a.BaseSkinName, new CheckBox("Auto W " + a.BaseSkinName));
            }
            MiscMenu.Add("autoW_" + Player.Instance.BaseSkinName, new CheckBox("Auto W Self"));

            DrawingMenu = LuxMenu.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawingMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawingMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawingMenu.AddGroupLabel("DamageIndicator");
            DrawingMenu.Add("draw.Damage", new CheckBox("Use Damage Indicator"));
            DrawingMenu.Add("draw.Q", new CheckBox("Draw Q Damage"));
            DrawingMenu.Add("draw.W", new CheckBox("Draw W Damage", false));
            DrawingMenu.Add("draw.E", new CheckBox("Draw E Damage"));
            DrawingMenu.Add("draw.R", new CheckBox("Draw R Damage"));

            Chat.Print("StarBuddy - Lux by KarmaPanda", System.Drawing.Color.DeepPink);

            Indicator            = new DamageIndicator.DamageIndicator();
            Game.OnUpdate       += Game_OnUpdate;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnDraw      += Drawing_OnDraw;
        }
Esempio n. 25
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (Player.BaseSkinName != "Brand")
            {
                return;
            }

            menuIni = MainMenu.AddMenu("Brand", "Brand");
            menuIni.AddGroupLabel("Welcome to the Worst Brand addon!");
            menuIni.AddGroupLabel("Global Settings");
            menuIni.Add("Combo", new CheckBox("Use Combo?"));
            menuIni.Add("Harass", new CheckBox("Use Harass?"));
            menuIni.Add("Farm", new CheckBox("Use Farm?"));
            menuIni.Add("KillSteal", new CheckBox("Use Kill Steal?"));
            menuIni.Add("Misc", new CheckBox("Use Misc?"));
            menuIni.Add("Drawings", new CheckBox("Use Drawings?"));

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("blaze", new CheckBox("Use E before Q"));
            ComboMenu.Add("useR", new CheckBox("Use R"));
            ComboMenu.Add("Rhit", new Slider("AoE R Casting", 2, 1, 5));
            ComboMenu.AddLabel("Ult logic: It will prefer to Cast AoE ult over killable enemy.");

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQ", new CheckBox("Use Q"));
            HarassMenu.Add("useW", new CheckBox("Use W"));
            HarassMenu.Add("useE", new CheckBox("Use E"));
            HarassMenu.Add("mana", new Slider("Harass Mana Manager", 60, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("Farm Settings");
            LaneMenu.Add("useQ", new CheckBox("Use Q", false));
            LaneMenu.Add("useW", new CheckBox("Use W"));
            LaneMenu.Add("useE", new CheckBox("Use E"));
            LaneMenu.Add("mana", new Slider("Farm Mana Manager", 80, 0, 100));

            KillStealMenu = menuIni.AddSubMenu("Kill Steal");
            KillStealMenu.AddGroupLabel("Kill Steal Settings");
            KillStealMenu.Add("ksQ", new CheckBox("Kill Steal Q"));
            KillStealMenu.Add("ksW", new CheckBox("Kill Steal W"));
            KillStealMenu.Add("ksE", new CheckBox("Kill Steal E"));
            KillStealMenu.Add("ksR", new CheckBox("Kill Steal R", false));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapclose", new CheckBox("Anti-GapCloser"));
            MiscMenu.Add("interrupt", new CheckBox("Auto Interupter"));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("drawW", new CheckBox("Draw W"));
            DrawMenu.Add("drawE", new CheckBox("Draw E"));
            DrawMenu.Add("drawR", new CheckBox("Draw R"));
            DrawMenu.Add("drawDamage", new CheckBox("Draw Healthbar Damage"));
            DrawMenu.Add("drawKill", new CheckBox("Draw Killable"));

            _Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1600, 120);
            _W  = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 850, -1, 250);
            _W2 = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 850, -1, 125);
            _E  = new Spell.Targeted(SpellSlot.E, 640);
            _R  = new Spell.Targeted(SpellSlot.R, 750);

            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Interrupter.OnInterruptableSpell += OnInterruptableTarget;
            Gapcloser.OnGapcloser            += OnEnemyGapcloser;
        }
Esempio n. 26
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Yasou.Hero != Champion.Yasuo)
            {
                return;
            }

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

            ComboMenu = Menu.AddSubMenu("Combo", "yasuCombo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("combo.Q", new CheckBox("Use Q"));
            ComboMenu.Add("combo.E", new CheckBox("Use E"));
            //ComboMenu.Add("combo.ToMouse", new CheckBox("Dash to Mouse", false));
            ComboMenu.Add("combo.stack", new CheckBox("Stack/Stackar Q"));
            ComboMenu.Add("combo.leftclickRape", new CheckBox("Left Click Rape"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Ultimate");
            ComboMenu.Add("combo.R", new CheckBox("Use R"));
            ComboMenu.Add("combo.RTarget", new CheckBox("Use R always on Selected TargetUsar R sempre no alvo selecionado"));
            ComboMenu.Add("combo.RKillable", new CheckBox("Use R KS"));
            ComboMenu.Add("combo.MinTargetsR", new Slider("Use R Min Targets/Alvos Minimos para ultar", 2, 1, 5));

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

            FarmMenu = Menu.AddSubMenu("Farming", "yasuoFarm");
            FarmMenu.AddGroupLabel("Farming");
            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/Debaixo da Torre", 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/Debaixo da Torre", 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");
            FleeMenu.Add("Flee.E", new CheckBox("Use E"));
            FleeMenu.Add("Flee.stack", new CheckBox("Stack/Stackar Q"));
            FleeMenu.AddGroupLabel("Evade");
            FleeMenu.Add("Evade.E", new CheckBox("Use E para desviar/to Evade"));
            FleeMenu.Add("Evade.W", new CheckBox("Use  W para desviar/to Evade"));
            FleeMenu.Add("Evade.WDelay", new Slider("Humanizer Delay (ms)", 0, 0, 1000));
            //
            FleeMenu.AddGroupLabel("WallJump");
            FleeMenu.Add("WJ", new KeyBind("Walljump Key:", false, KeyBind.BindTypes.HoldActive, 'G'));
            FleeMenu.Add("DrawSpots", new CheckBox("Draw Walljump spots"));
            //
            MiscSettings = Menu.AddSubMenu("Diversas/Misc");
            MiscSettings.AddGroupLabel("KS");
            MiscSettings.Add("KS.Q", new CheckBox("Use Q"));
            MiscSettings.Add("KS.E", new CheckBox("Use E"));
            MiscSettings.AddGroupLabel("Auto Q");
            MiscSettings.Add("Auto.Q3", new CheckBox("Use Q3"));
            MiscSettings.Add("Auto.Active", new KeyBind("Auto Q Inimigo/Enemy", true, KeyBind.BindTypes.PressToggle, 'M'));

            Program.Main(null);

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

            DrawMenu.Add("Draw.Q", new CheckBox("Draw Q", true));
            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("CoolDown Colour/Cor:", 4);
            DrawMenu.AddColourItem("Draw.Down", 7);

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

            //

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


            //
        }
Esempio n. 27
0
        public static void OnLoad_Complete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ashe")
            {
                return;
            }
            Bootstrap.Init(null);


            Q = new Spell.Active(SpellSlot.Q, (uint)Rangeauto, Physical);
            W = new Spell.Skillshot(SpellSlot.W, 1200, Cone);
            E = new Spell.Skillshot(SpellSlot.E, 4500, Linear, 250, 1400, 1, Physical);
            R = new Spell.Skillshot(SpellSlot.R, 3000, Linear, 250, 1600, 120, Physical);


            AsheMenu = MainMenu.AddMenu("xRP Ashe", "SBTW Ashe");
            AsheMenu.AddGroupLabel("xRP-Ashe 2.0");
            AsheMenu.AddSeparator();
            AsheMenu.AddLabel("Made by: xRPdev/Fixed by Beadwarf");

            ComboMenu = AsheMenu.AddSubMenu("Combo Mode");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQ", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("countP", new CheckBox("Wait Passive Count to Cast Q"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useW", new CheckBox("Use W in Combo"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useR", new CheckBox("Use R in combo"));
            ComboMenu.Add("hpPercent", new Slider("Minimum Hp % to stun", 15));

            PotionMenu = AsheMenu.AddSubMenu("Potions Manager");
            PotionMenu.AddGroupLabel("Potions Settings");
            PotionMenu.AddSeparator();
            PotionMenu.Add("useHP", new CheckBox("Use Health Potion"));
            PotionMenu.Add("hpbar", new Slider("Minimum Health Percent", 75));
            PotionMenu.AddSeparator();

            ItensMenu = AsheMenu.AddSubMenu("Itens Settings");
            ItensMenu.AddGroupLabel("itens settings");
            ItensMenu.AddSeparator();
            ItensMenu.Add("useER", new CheckBox("use Botrk in Combo"));
            ItensMenu.Add("hpPorcent", new Slider("Enemy Health Porcent to use Botrk", 30));
            ItensMenu.Add("mehpPorcent", new Slider("My Health Porcent to use Botrk", 50));
            ItensMenu.AddSeparator();
            ItensMenu.Add("useYommus", new CheckBox("Use yommus in Combo"));


            HarassMenu = AsheMenu.AddSubMenu("Harass Mode");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQ", new CheckBox("Use Q in harass"));
            HarassMenu.Add("countP", new CheckBox("Wait passive count to cast Q in harass"));
            HarassMenu.AddSeparator();
            HarassMenu.Add("useW", new CheckBox("Use W in harass"));

            FarmMenu = AsheMenu.AddSubMenu("LaneClear Mode");
            FarmMenu.AddGroupLabel("Farm Settings");
            FarmMenu.AddSeparator();
            FarmMenu.Add("farmQ", new CheckBox("Use Q to farm"));
            FarmMenu.Add("countP", new CheckBox("Wait Passive Count to Cast Q in laneClear"));
            FarmMenu.AddSeparator();
            FarmMenu.Add("farmW", new CheckBox("Use W to farm"));
            FarmMenu.Add("countM", new Slider("Min Minions to cast W", 5));

            MiscMenu = AsheMenu.AddSubMenu("Misc Settings");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.AddSeparator();
            MiscMenu.Add("autoE", new CheckBox("Cast E when lost target"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("useQjungle", new CheckBox("Jungle Steal Q"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapr", new CheckBox("W in gapcloser"));
            MiscMenu.Add("intr", new CheckBox("Interrupter with R"));

            DrawMenu = AsheMenu.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawW", new CheckBox("Draw Q range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E range"));
            DrawMenu.Add("drawAA", new CheckBox("Draw Auto Attack range"));

            Game.OnTick                      += Tick;
            Drawing.OnDraw                   += OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }
Esempio n. 28
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (User.ChampionName != "Veigar")
            {
                return;
            }

            Q = new Spell.Skillshot(spellSlot: SpellSlot.Q, spellRange: 950, skillShotType: SkillShotType.Linear, castDelay: 250, spellSpeed: 1750, spellWidth: 70)
            {
                AllowedCollisionCount = 1
            };

            W = new Spell.Skillshot(spellSlot: SpellSlot.W, spellRange: 900, skillShotType: SkillShotType.Linear, castDelay: 250, spellSpeed: null, spellWidth: 225)
            {
                AllowedCollisionCount = int.MaxValue
            };

            E = new Spell.Skillshot(spellSlot: SpellSlot.E, spellRange: 1125, skillShotType: SkillShotType.Circular, castDelay: 750, spellSpeed: null, spellWidth: 80);

            R = new Spell.Targeted(spellSlot: SpellSlot.R, spellRange: 650);

            FreigMenu = MainMenu.AddMenu("Freigar", "Freigar");

            ComboMenu = FreigMenu.AddSubMenu("Combo");

            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("CQMobile", new CheckBox("Use Q even if target is not stunned"));
            ComboMenu.Add("CQHitChance", new Slider("Q Hitchance for Combo: ", 3, 1, 5));
            ComboMenu.AddLabel("1 = Low 2 = Average 3 = Medium 4 = High 5 = Immobile");
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("CWMobile", new CheckBox("Use W even if target is not stunned", false));
            ComboMenu.Add("ManaCW", new Slider("Block W at mana%: ", 5));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("CEHitChance", new Slider("E Hitchance for Combo: ", 4, 1, 5));
            ComboMenu.AddLabel("1 = Low 2 = Average 3 = Medium 4 = High 5 = Immobile");
            ComboMenu.Add("EMove", new Slider("E Effective Range:", 375, 350, 425));
            ComboMenu.AddLabel("How much adjustment for E placement. Higher will try to stun at longer range, but lower");
            ComboMenu.AddLabel("is more likely to stun.");
            ComboMenu.Add("R", new CheckBox("Use R"));
            ComboMenu.Add("RSafe", new Slider("Reduce R Calculation Damage by:", 5, 0, 50));
            ComboMenu.AddLabel("This is just for safety in case the calculations are too high and R doesn't kill the target");
            ComboMenu.AddLabel("(for pussies only)");


            HarassMenu = FreigMenu.AddSubMenu("Harass");

            HarassMenu.Add("HQ", new CheckBox("Use Q"));
            HarassMenu.Add("HQMobile", new CheckBox("Use Q even if target is not stunned"));
            HarassMenu.Add("HQHitChance", new Slider("Q Hitchance for Harass: ", 4, 1, 5));
            HarassMenu.AddLabel("1 = Low 2 = Average 3 = Medium 4 = High 5 = Immobile");
            HarassMenu.Add("HW", new CheckBox("Use W", false));
            HarassMenu.Add("HWMobile", new CheckBox("Use W even if target is not stunned", false));
            HarassMenu.Add("ManaHW", new Slider("Block W at mana%: ", 5));
            HarassMenu.Add("HE", new CheckBox("Use E", false));
            HarassMenu.Add("HEHitChance", new Slider("E Hitchance for Harass: ", 4, 1, 5));
            HarassMenu.AddLabel("1 = Low 2 = Average 3 = Medium 4 = High 5 = Immobile");
            HarassMenu.Add("HEMove", new Slider("E in Harass Effective Range:", 375, 350, 425));
            HarassMenu.AddLabel("How much adjustment for E placement. Higher will try to stun at longer range, but lower");
            HarassMenu.AddLabel("is more likely to stun.");

            LastHitMenu = FreigMenu.AddSubMenu("Q Stack");

            LastHitMenu.Add("LHQ", new CheckBox("Use Q to Last Hit"));
            LastHitMenu.Add("ManaLHQ", new Slider("Mana % for Last Hit Q: ", 30, 0, 100));
            LastHitMenu.Add("DoubleQ", new CheckBox("Only if Q kills two:", false));

            LaneClearMenu = FreigMenu.AddSubMenu("Lane Clear");

            LaneClearMenu.Add("LCQ", new CheckBox("Use Q to Clear", false));
            LaneClearMenu.Add("LCW", new CheckBox("Use W to Clear", false));
            LaneClearMenu.Add("LCNumW", new Slider("Only if W hits at least X enemy minions:", 4, 1, 5));

            DrawMenu = FreigMenu.AddSubMenu("Draws");

            DrawMenu.Add("usedraw", new CheckBox("Enable Drawings", true));
            DrawMenu.Add("IfReady", new CheckBox("Draw Only If Spell is Ready", false));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
            DrawMenu.Add("drawW", new CheckBox(" Draw W", false));
            DrawMenu.Add("drawE", new CheckBox(" Draw E", true));
            DrawMenu.Add("drawR", new CheckBox(" Draw R", false));
            DrawMenu.Add("DrawBar", new CheckBox("Draw Ready Damage on Healthbar:", true));

            if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue)
            {
                Drawing.OnDraw += Game_OnDraw;
            }
            DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
            {
                if (vargs.NewValue)
                {
                    Drawing.OnDraw += Game_OnDraw;
                }
                else
                {
                    Drawing.OnDraw -= Game_OnDraw;
                }
            };

            DamageIndicator.Initialize(Program.GetFullDmg);
            DamageIndicator.DrawingColor = System.Drawing.Color.LawnGreen;

            Game.OnTick += Game_OnTick;
        }
Esempio n. 29
0
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Tristana"))
            {
                return;
            }
            Chat.Print("Doctor's Tristana Yuklendi Ceviri TekinTR!", Color.Orange);
            uint level = (uint)Player.Instance.Level;

            Q   = new Spell.Active(SpellSlot.Q);
            W   = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180);
            E   = new Spell.Targeted(SpellSlot.E, 550 + level * 7);
            R   = new Spell.Targeted(SpellSlot.R, 550 + level * 7);
            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 Tristana", "Tristana");
            SpellMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            SpellMenu.AddGroupLabel("Combo Settings");
            SpellMenu.Add("ComboQ", new CheckBox("Kullan [Q] Kombo"));
            SpellMenu.Add("ComboE", new CheckBox("Kullan [E] Kombo"));
            SpellMenu.AddGroupLabel("Kombo [E] Uzerinde");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                SpellMenu.Add("useECombo" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            SpellMenu.AddGroupLabel("KillSteal Settings");
            SpellMenu.Add("ERKs", new CheckBox("Oldururken [ER]"));
            SpellMenu.Add("RKs", new CheckBox("Otomatik [R] Oldururken"));
            SpellMenu.Add("RKb", new KeyBind(" Yarı otomatik [R] Oldururken", false, KeyBind.BindTypes.HoldActive, 'R'));
            SpellMenu.AddGroupLabel("[W] Oldurme Ayari");
            SpellMenu.Add("WKs", new CheckBox("Kullan [W] KillSteal", false));
            SpellMenu.Add("CTurret", new CheckBox("Kullanma [W] kule altinda oldurme"));
            SpellMenu.Add("Attack", new Slider("Kullan [W] oldurme eger mumkunse x atak ile", 2, 1, 6));
            SpellMenu.Add("MinW", new Slider("Kullan [W] oldurme yakindaki dusman sayisi <=", 2, 1, 5));
            SpellMenu.AddLabel("Surekli kullan [W] oldurme yakindaki dusman sayisi = 5");

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q] Durtme", false));
            HarassMenu.Add("HarassE", new CheckBox("Kullan [E] Durtme"));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Kullan [E] Uzerinde");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("HarassE" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }
            HarassMenu.Add("manaHarass", new Slider("Durtmek icin enaz mana", 50, 0, 100));

            LaneMenu = Menu.AddSubMenu("Laneclear Settings", "Clear");
            LaneMenu.AddGroupLabel("Laneclear Settings");
            LaneMenu.Add("ClearQ", new CheckBox("Kullan [Q] Koridortemizleme", false));
            LaneMenu.Add("ClearE", new CheckBox("Kullan [E] Koridortemizleme", false));
            LaneMenu.Add("manaFarm", new Slider("Koridortemizleme icin enaz mana", 50, 0, 100));

            JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleMenu.AddGroupLabel("JungleClear Settings");
            JungleMenu.Add("jungleQ", new CheckBox("Kullan [Q] Orman"));
            JungleMenu.Add("jungleE", new CheckBox("Kullan [E] Orman"));
            JungleMenu.Add("jungleW", new CheckBox("Kullan [W] Orman", false));
            JungleMenu.Add("manaJung", new Slider("Orman icin enaz mana", 50, 0, 100));

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Atilma onleyicisi", false));
            Misc.Add("antiRengar", new CheckBox("Anti Rengar"));
            Misc.Add("antiKZ", new CheckBox("Anti Kha'Zix"));
            Misc.Add("inter", new CheckBox("Kullan [R] Engelleme", false));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Cizimleri kapat", false));
            Misc.Add("DrawE", new CheckBox("Goster atak menzili"));
            Misc.Add("DrawW", new CheckBox("Goster [W]", false));
            Misc.Add("Notifications", new CheckBox("Oldurulebilicek varsa beni uyar [R]"));

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            GameObject.OnCreate              += GameObject_OnCreate;
        }
Esempio n. 30
0
        /// <summary>
        /// Creates the Menu
        /// </summary>
        public static void Initialize()
        {
            ConfigMenu = MainMenu.AddMenu("LeBlanc", "LeBlanc");

            ComboMenu = ConfigMenu.AddSubMenu("Combo Menu", "cMenu");
            ComboMenu.AddLabel("Spell Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useReturn", new CheckBox("Use W Return"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useQR", new CheckBox("Use QR"));
            ComboMenu.Add("useWR", new CheckBox("Use WR", false));
            ComboMenu.Add("useReturn2", new CheckBox("Use WR Return", false));
            ComboMenu.Add("useER", new CheckBox("Use ER", false));
            ComboMenu.AddLabel("Extra Settings");
            ComboMenu.Add("mode", new ComboBox("Combo Modes", 0, LogicModes));
            ComboMenu.AddLabel("Burst Logic Settings");
            ComboMenu.Add("minRange", new CheckBox("Use Q -> R only if W is in range", false));

            HarassMenu = ConfigMenu.AddSubMenu("Harass Menu", "hMenu");
            HarassMenu.AddLabel("Spell Settings");
            HarassMenu.Add("useQ", new CheckBox("Use Q"));
            HarassMenu.Add("useW", new CheckBox("Use W"));
            HarassMenu.Add("useReturn", new CheckBox("Use W Return"));
            HarassMenu.Add("useE", new CheckBox("Use E"));
            HarassMenu.AddLabel("R Settings");
            HarassMenu.Add("useQR", new CheckBox("Use QR"));
            HarassMenu.Add("useWR", new CheckBox("Use WR", false));
            HarassMenu.Add("useReturn2", new CheckBox("Use WR Return"));
            HarassMenu.Add("useER", new CheckBox("Use ER", false));
            HarassMenu.AddLabel("Extra Settings");
            HarassMenu.Add("mode", new ComboBox("Harass Modes", 1, LogicModes));
            HarassMenu.AddLabel("Burst Logic Settings");
            HarassMenu.Add("minRange", new CheckBox("Use Q -> R only if W is in range", false));

            LaneClearMenu = ConfigMenu.AddSubMenu("Laneclear Menu", "lcMenu");
            LaneClearMenu.AddLabel("Spell Settings");
            LaneClearMenu.Add("useQ", new CheckBox("Use Q", false));
            LaneClearMenu.Add("useW", new CheckBox("Use W"));
            LaneClearMenu.Add("sliderW", new Slider("Use W if Kill {0} Minions", 3, 1, 5));
            LaneClearMenu.AddLabel("R Settings");
            LaneClearMenu.Add("useQR", new CheckBox("Use QR", false));
            LaneClearMenu.Add("useWR", new CheckBox("Use WR"));
            LaneClearMenu.Add("sliderWR", new Slider("Use WR if Kill {0} Minions", 5, 1, 5));

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

            KillStealMenu = ConfigMenu.AddSubMenu("Killsteal Menu", "ksMenu");
            KillStealMenu.AddLabel("Spell Settings");
            KillStealMenu.Add("useQ", new CheckBox("Use Q"));
            KillStealMenu.Add("useW", new CheckBox("Use W"));
            KillStealMenu.Add("useReturn", new CheckBox("Use W Return"));
            KillStealMenu.Add("useE", new CheckBox("Use E"));
            KillStealMenu.AddLabel("R Settings");
            KillStealMenu.Add("useQR", new CheckBox("Use QR"));
            KillStealMenu.Add("useWR", new CheckBox("Use WR"));
            KillStealMenu.Add("useReturn2", new CheckBox("Use WR Return"));
            KillStealMenu.Add("useER", new CheckBox("Use ER"));
            KillStealMenu.AddLabel("Misc Settings");
            KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite"));
            KillStealMenu.Add("usePrediction", new CheckBox("Use Health Prediction", false));
            KillStealMenu.Add("toggle", new CheckBox("Enable Kill Steal"));

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

            MiscMenu = ConfigMenu.AddSubMenu("Misc Menu", "mMenu");
            MiscMenu.AddLabel("Miscellaneous");
            MiscMenu.Add("pet", new CheckBox("Automatic Clone Movement"));
            MiscMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High");
            MiscMenu.Add("PredW", new Slider("W HitChance", 3, 1, 3));
            MiscMenu.Add("PredE", new Slider("E HitChance", 3, 1, 3));
        }