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("CH汉化-死哥", "Karthus");
            menuIni.AddGroupLabel("欢迎使用最“渣”死哥!");
            menuIni.AddGroupLabel("全局设定");
            menuIni.Add("Ultimate", new CheckBox("使用大招?"));
            menuIni.Add("Combo", new CheckBox("使用连招?"));
            menuIni.Add("Harass", new CheckBox("使用骚扰?"));
            menuIni.Add("LastHit", new CheckBox("使用尾兵?"));
            menuIni.Add("LaneClear", new CheckBox("使用清线?"));
            menuIni.Add("JungleClear", new CheckBox("使用清野?"));
            menuIni.Add("KillSteal", new CheckBox("使用抢头?"));
            menuIni.Add("Misc", new CheckBox("使用杂项?"));
            menuIni.Add("Drawings", new CheckBox("使用线圈?"));

            UltMenu = menuIni.AddSubMenu("大招");
            UltMenu.AddGroupLabel("大招设置");
            UltMenu.Add("UltKS", new CheckBox("R抢人头", false));
            UltMenu.Add("UltMode", new ComboBox("大招逻辑", 0, "Kappa逻辑"));
            UltMenu.AddGroupLabel("Kappa逻辑设置");
            UltMenu.Add("RnearE", new CheckBox("禁用R当敌人在我身边时?"));
            UltMenu.Add("RnearEn", new Slider("附近敌人数量禁用R", 1, 1, 5));
            UltMenu.Add("Rranged", new Slider("附近敌人搜索范围", 1600, 100, 3000));
            UltMenu.AddLabel("推荐距离 (1600 >)");

            ComboMenu = menuIni.AddSubMenu("连招");
            ComboMenu.AddGroupLabel("连招设置");
            ComboMenu.Add("CUse_Q", new CheckBox("使用 Q"));
            ComboMenu.Add("CUse_W", new CheckBox("使用 W"));
            ComboMenu.Add("CUse_E", new CheckBox("使用 E"));
            ComboMenu.Add("CUse_AA", new CheckBox("禁用普攻", false));
            ComboMenu.Add("CEPercent", new Slider("使用 E 蓝量百分比 %", 30, 0, 100));
            ComboMenu.AddSeparator();
            ComboMenu.Add("CE_Auto_False", new CheckBox("自动 E"));
            ComboMenu.AddLabel("自动关闭E当无敌人时");

            HarassMenu = menuIni.AddSubMenu("骚扰");
            HarassMenu.AddGroupLabel("骚扰设置");
            HarassMenu.Add("HUse_Q", new CheckBox("使用 Q"));
            HarassMenu.Add("HUse_E", new CheckBox("使用 E"));
            HarassMenu.Add("HEPercent", new Slider("使用 E 蓝量百分比 %", 30, 0, 100));
            HarassMenu.Add("HUse_AA", new CheckBox("禁用普攻", false));
            HarassMenu.Add("E_LastHit", new CheckBox("使用 E 尾兵"));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HE_Auto_False", new CheckBox("自动 E"));
            HarassMenu.AddLabel("自动关闭E当无敌人时");

            LaneMenu = menuIni.AddSubMenu("农兵");
            LaneMenu.AddGroupLabel("清线设置");
            LaneMenu.Add("FUse_Q", new CheckBox("使用 Q"));
            LaneMenu.Add("FQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100));
            LaneMenu.AddSeparator();
            LaneMenu.AddGroupLabel("清野设置");
            LaneMenu.Add("JUse_Q", new CheckBox("使用 Q"));
            LaneMenu.Add("JQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100));
            LaneMenu.AddSeparator();
            LaneMenu.AddGroupLabel("尾兵设置");
            LaneMenu.Add("LUse_Q", new CheckBox("使用 Q"));
            LaneMenu.Add("LAA", new CheckBox("可使用Q则屏蔽普攻", false));
            LaneMenu.Add("LHQPercent", new Slider("使用 Q 蓝量百分比 %", 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("抢头");
            KillStealMenu.AddGroupLabel("抢头设置");
            KillStealMenu.Add("KS", new CheckBox("Q抢头"));

            MiscMenu = menuIni.AddSubMenu("杂项");
            MiscMenu.AddGroupLabel("杂项设置");
            MiscMenu.Add("NotifyUlt", new CheckBox("大招提示"));
            MiscMenu.Add("ping", new CheckBox("本地提示: 可击杀敌人"));
            MiscMenu.Add("DeadCast", new CheckBox("可击杀"));
            MiscMenu.Add("SaveR", new CheckBox("为R保存蓝"));
            MiscMenu.Add("gapcloser", new CheckBox("防突击"));
            MiscMenu.Add("gapclosermana", new Slider("防突击蓝量设置", 25, 0, 100));

            DrawMenu = menuIni.AddSubMenu("线圈");
            DrawMenu.AddGroupLabel("线圈设置");
            DrawMenu.Add("Draw_Q", new CheckBox("显示 Q"));
            DrawMenu.Add("Draw_W", new CheckBox("显示 W"));
            DrawMenu.Add("Draw_E", new CheckBox("显示 E"));
            DrawMenu.Add("Rranged", new CheckBox("显示最少附近敌人数量使用R"));
            DrawMenu.Add("Rtarget", new CheckBox("显示R目标"));
            DrawMenu.Add("Track", new CheckBox("监控敌人血量"));

            Game.OnUpdate         += Zigzag;
            Game.OnUpdate         += OnUpdate;
            Drawing.OnDraw        += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGap;
        }
        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("Olaf", "Olaf");
            menuIni.AddGroupLabel("Worstun olaf addonuna hoşgeldin");
            menuIni.AddGroupLabel("Genel Ayarlar");
            menuIni.Add("Ult", new CheckBox("Kullan Ulti?"));
            menuIni.Add("Items", new CheckBox("Kullan İtmeler?"));
            menuIni.Add("Combo", new CheckBox("Kullan Kombo?"));
            menuIni.Add("Harass", new CheckBox("Kullan Dürtme?"));
            menuIni.Add("LaneClear", new CheckBox("Kullan LaneTemizleme?"));
            menuIni.Add("LastHit", new CheckBox("Kullan SonVuruş?"));
            menuIni.Add("JungleClear", new CheckBox("Kullan OrmanTemizleme?"));
            menuIni.Add("KillSteal", new CheckBox("Kullan Kill çalma?"));
            menuIni.Add("Misc", new CheckBox("Kullan Ek?"));
            menuIni.Add("Drawings", new CheckBox("Kullan Göstergeler?"));

            ItemsMenu = menuIni.AddSubMenu("Items");
            ItemsMenu.AddGroupLabel("Item Ayarları");
            ItemsMenu.Add("useGhostblade", new CheckBox("Kullan Youmu"));
            ItemsMenu.Add("UseBOTRK", new CheckBox("Kullan Mahvolmuş Kılıç"));
            ItemsMenu.Add("UseBilge", new CheckBox("Kullan Bilgewater Palası"));
            ItemsMenu.Add("eL", new Slider("Düşmanın canı şu kadarsa", 65, 0, 100));
            ItemsMenu.Add("oL", new Slider("Benim canım şu kadarsa", 65, 0, 100));

            UltMenu = menuIni.AddSubMenu("Ultimate [BETA]");
            UltMenu.AddGroupLabel("Ulti Ayarları");
            UltMenu.Add("UseR", new CheckBox("Kullan R"));
            UltMenu.AddLabel("R Kullanma Ayarları:");
            UltMenu.Add("blind", new CheckBox("Körse?", false));
            UltMenu.Add("charm", new CheckBox("Use On Charms?"));
            UltMenu.Add("disarm", new CheckBox("Silahsız haldeyse?", false));
            UltMenu.Add("fear", new CheckBox("Korkmuşsa?"));
            UltMenu.Add("frenzy", new CheckBox("Donmuşsa?", false));
            UltMenu.Add("silence", new CheckBox("Sessiz kaldıysa?", false));
            UltMenu.Add("snare", new CheckBox("Yavaşlamışsa?"));
            UltMenu.Add("sleep", new CheckBox("Uyumuşsa?"));
            UltMenu.Add("stun", new CheckBox("sabitlenmişse?"));
            UltMenu.Add("supperss", new CheckBox("Use On Supperss?"));
            UltMenu.Add("slow", new CheckBox("yavaşlamışsa?", false));
            UltMenu.Add("knockup", new CheckBox("Use On Knock Ups?"));
            UltMenu.Add("knockback", new CheckBox("Devrilmişse?"));
            UltMenu.Add("nearsight", new CheckBox("Yakın görüşteyse?", false));
            UltMenu.Add("root", new CheckBox("Kök tutmuşsa?"));
            UltMenu.Add("tunt", new CheckBox("Alay ediliyorsa?"));
            UltMenu.Add("poly", new CheckBox("Use On Polymorph?"));
            UltMenu.Add("poison", new CheckBox("Zehirlenmişse?", false));
            UltMenu.Add("hp", new Slider("R yi sadece şu kadar canım varken kullan %", 25, 0, 100));
            UltMenu.Add("human", new Slider("insancıl gecikme", 150, 0, 1500));
            UltMenu.Add("Rene", new Slider("R kullanmak için çevrede düşman s.", 1, 0, 5));
            UltMenu.Add("enemydetect", new Slider("düşmanları tespit etme mesafesi", 1000, 0, 2000));
            UltMenu.AddLabel("Ult logic: It will Cast if you have one of the selected debuffs, HP under selected and Nearby enemies.");

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

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.Add("hQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("hQ2", new CheckBox("Kısa menzilde Q2 Kullan"));
            HarassMenu.Add("hQA", new CheckBox("Use Auto Q", false));
            HarassMenu.Add("hW", new CheckBox("Kullan W", false));
            HarassMenu.Add("hE", new CheckBox("Kullan E"));
            HarassMenu.Add("harassmana", new Slider("Harass Mana Manager", 60, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneTemizleme Ayarları");
            LaneMenu.Add("laneQ", new CheckBox("Kullan Q"));
            LaneMenu.Add("fE", new CheckBox("Kullan E Sonvuruş"));
            LaneMenu.Add("laneW", new CheckBox("Kullan W"));
            LaneMenu.Add("laneE", new CheckBox("Kullan E", false));
            LaneMenu.Add("femana", new Slider("Can (E) yardımcısı", 75, 0, 100));
            LaneMenu.Add("lanemana", new Slider("Farm mana yardımcısı", 80, 0, 100));
            LaneMenu.AddGroupLabel("OrmanTemizleme Ayarları");
            LaneMenu.Add("jungleQ", new CheckBox("Kullan Q"));
            LaneMenu.Add("jE", new CheckBox("Son vuruşta E Kullan"));
            LaneMenu.Add("jungleW", new CheckBox("Kullan W"));
            LaneMenu.Add("jungleE", new CheckBox("Kullan E", false));
            LaneMenu.Add("jemana", new Slider("Can için (E) yardımcısı", 75, 0, 100));
            LaneMenu.Add("junglemana", new Slider("Orman için mana", 80, 0, 100));

            KillStealMenu = menuIni.AddSubMenu("Kill Steal");
            KillStealMenu.AddGroupLabel("Kill Çalma Ayarları");
            KillStealMenu.Add("ksQ", new CheckBox("Kill Çalma Q"));
            KillStealMenu.Add("ksE", new CheckBox("Kill Çalma E"));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarları");
            MiscMenu.Add("gapcloser", new CheckBox("Use Q On GapCloser"));
            MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Gösterge Ayarları");
            DrawMenu.Add("Qdraw", new CheckBox("Göster Q"));
            DrawMenu.Add("Edraw", new CheckBox("Göster E"));
            DrawMenu.Add("Rdraw", new CheckBox("Göster R Tespit Menzili"));
            DrawMenu.Add("AxeDraw", new CheckBox("Göster Balta pozisyonu"));

            Drawing.OnDraw        += OnDraw;
            Game.OnUpdate         += Game_OnGameUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGap;
            GameObject.OnCreate   += GameObject_OnCreate;
            GameObject.OnDelete   += GameObject_OnDelete;
        }
Esempio n. 3
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("Olaf", "Olaf");
            menuIni.AddGroupLabel("Welcome to the Worst Olaf addon!");
            menuIni.AddGroupLabel("Global Settings");
            menuIni.Add("Ult", new CheckBox("Use Ultimate?"));
            menuIni.Add("Items", new CheckBox("Use Items?"));
            menuIni.Add("Combo", new CheckBox("Use Combo?"));
            menuIni.Add("Harass", new CheckBox("Use Harass?"));
            menuIni.Add("LaneClear", new CheckBox("Use LaneClear?"));
            menuIni.Add("LastHit", new CheckBox("Use LastHit?"));
            menuIni.Add("JungleClear", new CheckBox("Use JungleClear?"));
            menuIni.Add("KillSteal", new CheckBox("Use Kill Steal?"));
            menuIni.Add("Misc", new CheckBox("Use Misc?"));
            menuIni.Add("Drawings", new CheckBox("Use Drawings?"));

            ItemsMenu = menuIni.AddSubMenu("Items");
            ItemsMenu.AddGroupLabel("Items Settings");
            ItemsMenu.Add("useGhostblade", new CheckBox("Use Youmuu's Ghostblade"));
            ItemsMenu.Add("UseBOTRK", new CheckBox("Use Blade of the Ruined King"));
            ItemsMenu.Add("UseBilge", new CheckBox("Use Bilgewater Cutlass"));
            ItemsMenu.Add("eL", new Slider("Use On Enemy health", 65, 0, 100));
            ItemsMenu.Add("oL", new Slider("Use On My health", 65, 0, 100));

            UltMenu = menuIni.AddSubMenu("Ultimate [BETA]");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.Add("UseR", new CheckBox("Use R"));
            UltMenu.AddLabel("Use R Settings:");
            UltMenu.Add("blind", new CheckBox("Use On Blinds?", false));
            UltMenu.Add("charm", new CheckBox("Use On Charms?"));
            UltMenu.Add("disarm", new CheckBox("Use On Disarm?", false));
            UltMenu.Add("fear", new CheckBox("Use On Fear?"));
            UltMenu.Add("frenzy", new CheckBox("Use On Frenzy?", false));
            UltMenu.Add("silence", new CheckBox("Use On Silence?", false));
            UltMenu.Add("snare", new CheckBox("Use On Snare?"));
            UltMenu.Add("sleep", new CheckBox("Use On Sleep?"));
            UltMenu.Add("stun", new CheckBox("Use On Stuns?"));
            UltMenu.Add("supperss", new CheckBox("Use On Supperss?"));
            UltMenu.Add("slow", new CheckBox("Use On Slows?", false));
            UltMenu.Add("knockup", new CheckBox("Use On Knock Ups?"));
            UltMenu.Add("knockback", new CheckBox("Use On Knock Backs?"));
            UltMenu.Add("nearsight", new CheckBox("Use On NearSight?", false));
            UltMenu.Add("root", new CheckBox("Use On Roots?"));
            UltMenu.Add("tunt", new CheckBox("Use On Taunts?"));
            UltMenu.Add("poly", new CheckBox("Use On Polymorph?"));
            UltMenu.Add("poison", new CheckBox("Use On Poisons?", false));
            UltMenu.Add("hp", new Slider("Use Only When HP is Under %", 25, 0, 100));
            UltMenu.Add("human", new Slider("Humanizer Delay", 150, 0, 1500));
            UltMenu.Add("Rene", new Slider("Enemies Near to Cast R", 1, 0, 5));
            UltMenu.Add("enemydetect", new Slider("Enemies Detect Range", 1000, 0, 2000));
            UltMenu.AddLabel("Ult logic: It will Cast if you have one of the selected debuffs, HP under selected and Nearby enemies.");

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

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("hQ", new CheckBox("Use Q"));
            HarassMenu.Add("hQ2", new CheckBox("Use Q with short range"));
            HarassMenu.Add("hQA", new CheckBox("Use Auto Q", false));
            HarassMenu.Add("hW", new CheckBox("Use W", false));
            HarassMenu.Add("hE", new CheckBox("Use E"));
            HarassMenu.Add("harassmana", new Slider("Harass Mana Manager", 60, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("laneQ", new CheckBox("Use Q"));
            LaneMenu.Add("fE", new CheckBox("Use E LastHit"));
            LaneMenu.Add("laneW", new CheckBox("Use W"));
            LaneMenu.Add("laneE", new CheckBox("Use E", false));
            LaneMenu.Add("femana", new Slider("Health (E) Manager", 75, 0, 100));
            LaneMenu.Add("lanemana", new Slider("Farm Mana Manager", 80, 0, 100));
            LaneMenu.AddGroupLabel("JungleClear Settings");
            LaneMenu.Add("jungleQ", new CheckBox("Use Q"));
            LaneMenu.Add("jE", new CheckBox("Use E LastHit"));
            LaneMenu.Add("jungleW", new CheckBox("Use W"));
            LaneMenu.Add("jungleE", new CheckBox("Use E", false));
            LaneMenu.Add("jemana", new Slider("Health (E) Manager", 75, 0, 100));
            LaneMenu.Add("junglemana", new Slider("Jungle 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("ksE", new CheckBox("Kill Steal E"));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Use Q On GapCloser"));
            MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawMenu.Add("Rdraw", new CheckBox("Draw R Detection Range"));
            DrawMenu.Add("AxeDraw", new CheckBox("Draw Axe Position"));

            Drawing.OnDraw        += OnDraw;
            Game.OnUpdate         += Game_OnGameUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGap;
            GameObject.OnCreate   += GameObject_OnCreate;
            GameObject.OnDelete   += GameObject_OnDelete;
        }
Esempio n. 4
0
        private static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Lissandra")
            {
                return;
            }

            menuIni = MainMenu.AddMenu("KappaLissandra", "KappaLissandra");
            menuIni.AddGroupLabel("Welcome to the Worst Lissandra addon!");
            menuIni.AddGroupLabel("Global Settings");
            menuIni.Add("Combo", new CheckBox("Use Combo?"));
            menuIni.Add("Harass", new CheckBox("Use Harass?"));
            menuIni.Add("LaneClear", new CheckBox("Use Lane Clear?"));
            menuIni.Add("JungleClear", new CheckBox("Use Jungle Clear?"));
            menuIni.Add("Flee", new CheckBox("Use Flee?"));
            menuIni.Add("Misc", new CheckBox("Use Misc?"));
            menuIni.Add("Drawings", new CheckBox("Use Drawings?"));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.Add("aoeR", new CheckBox("AoE R Logic"));
            UltMenu.Add("RF", new CheckBox("Use R Finisher"));
            UltMenu.Add("RS", new CheckBox("Use R On Self"));
            UltMenu.Add("RE", new CheckBox("Use R On Enemy"));
            UltMenu.Add("hitR", new Slider("R AoE Hit >=", 2, 1, 5));
            UltMenu.Add("shp", new Slider("On Self Health to use R", 15, 0, 100));
            UltMenu.AddGroupLabel("Don't Use Ult On: Enemy");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    UltMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("ET", new CheckBox("Use E2 If hit target"));
            ComboMenu.Add("E2", new CheckBox("Always E2 Max", false));
            ComboMenu.Add("ES", new CheckBox("Use E2 Safe", false));
            ComboMenu.Add("EHP", new Slider("Use E2 Safe if HP <= %", 30, 0, 100));
            ComboMenu.Add("ESE", new Slider("Use E2 Safe if Enemies are <=", 2, 1, 5));

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add("W", new CheckBox("Use W"));
            HarassMenu.Add("E", new CheckBox("Use E", false));
            HarassMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("Q", new CheckBox("Use Q"));
            LaneMenu.Add("W", new CheckBox("Use W"));
            LaneMenu.Add("E", new CheckBox("Use E", false));
            LaneMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100));
            LaneMenu.AddGroupLabel("JungleClear Settings");
            LaneMenu.Add("jQ", new CheckBox("Use Q"));
            LaneMenu.Add("jW", new CheckBox("Use W"));
            LaneMenu.Add("jE", new CheckBox("Use E", false));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapcloserW", new CheckBox("Anti-GapCloser W"));
            MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser R"));
            MiscMenu.Add("Interruptr", new CheckBox("Interrupt R"));
            MiscMenu.Add("WTower", new CheckBox("Auto W Under Tower"));
            MiscMenu.Add("AutoW", new Slider("Auto W On Hit >=", 2, 1, 5));

            FleeMenu = menuIni.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("Q", new CheckBox("Use Q"));
            FleeMenu.Add("W", new CheckBox("Use W"));
            FleeMenu.Add("E", new CheckBox("Use E"));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("Q", new CheckBox("Draw Q"));
            DrawMenu.Add("W", new CheckBox("Draw W"));
            DrawMenu.Add("E", new CheckBox("Draw E"));
            DrawMenu.Add("R", new CheckBox("Draw R"));
            DrawMenu.Add("debug", new CheckBox("debug", false));

            Q     = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75);
            Q2    = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Linear, 250, 2200, 90);
            Qtest = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W, 425);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 850, 125);
            R = new Spell.Targeted(SpellSlot.R, 400);

            Game.OnUpdate                    += OnUpdate;
            GameObject.OnCreate              += OnCreate;
            GameObject.OnDelete              += OnDelete;
            Drawing.OnDraw                   += OnDraw;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            Obj_AI_Base.OnBasicAttack        += OnBasicAttack;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Gapcloser.OnGapcloser            += OnGapcloser;
        }
Esempio n. 5
0
        private static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Zilean")
            {
                return;
            }

            ZilMenu = MainMenu.AddMenu("Zilean", "Zilean");
            ZilMenu.AddGroupLabel("Welcome to FUE Zilean addon!");
            UltMenu = ZilMenu.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.Add("ultially", new CheckBox("Use ult on ally"));
            UltMenu.Add("allyhpult", new Slider("Ally Health %", 15, 1, 100));
            UltMenu.AddGroupLabel("Ult ally");
            foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(hero => hero.IsAlly && !hero.IsMe))
            {
                CheckBox cb = new CheckBox(ally.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (ally.Team == ObjectManager.Player.Team)
                {
                    UltMenu.Add("castultally" + ally.BaseSkinName, cb);
                }
            }
            UltMenu.AddSeparator();
            UltMenu.Add("user", new CheckBox("Use ult on Myself"));
            UltMenu.Add("rhp", new Slider("Self Health %", 15, 1, 100));



            ComboMenu = ZilMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW1", new CheckBox("Use W", false));
            ComboMenu.Add("useW2", new CheckBox("Use W only if Q hits"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("Qcc", new CheckBox("Use Q on immobile"));
            ComboMenu.Add("useign", new CheckBox("Use Ignite"));


            HarassMenu = ZilMenu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQH", new CheckBox("Use Q"));
            HarassMenu.Add("useEH", new CheckBox("Use E", false));
            HarassMenu.Add("autoH", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'T'));
            HarassMenu.AddSeparator();
            HarassMenu.Add("autoHQ", new CheckBox("Use Q AutoHarass"));
            HarassMenu.Add("autoHE", new CheckBox("Use E AutoHarass"));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HMana", new Slider("Min % mana for AutoHarass", 30, 0, 100));


            LaneMenu = ZilMenu.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("useQL", new CheckBox("Use Q"));
            LaneMenu.Add("useWL", new CheckBox("Use W to reset bomb"));
            LaneMenu.AddSeparator();
            LaneMenu.Add("usemanaL", new Slider("Min % mana for LaneClear", 30, 0, 100));
            LaneMenu.Add("lccount", new Slider("Min Minions for Q", 3, 0, 8));


            MiscMenu = ZilMenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("disableAA", new CheckBox("Disable AA", false));
            MiscMenu.Add("suppmode", new CheckBox("Support mode", false));
            MiscMenu.Add("gap", new CheckBox("gapcloser"));
            MiscMenu.Add("int", new CheckBox("interrupter"));
            MiscMenu.Add("ksQ", new CheckBox("Q ks"));


            DrawMenu = ZilMenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Drawings Settings");
            DrawMenu.Add("drawaoff", new CheckBox("Disable Draws", false));
            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"));

            FleeMenu = ZilMenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("fleee", new CheckBox("Use E"));
            FleeMenu.Add("fleew", new CheckBox("Use W"));

            SkinMenu = ZilMenu.AddSubMenu("Skin", "Skin");
            SkinMenu.AddGroupLabel("Skin Selectior");

            var skin   = SkinMenu.Add("SkinID", new Slider("Skin", 5, 0, 5));
            var SkinID = new[] { "Classic Zilean", "Old Saint Zilean", "Groovy Zilean", "Shurima Desert Zilean", "Time Machine Zilean", "Blood Moon Zilean" };

            skin.DisplayName = SkinID[skin.CurrentValue];

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


            Q = new Spell.Skillshot(SpellSlot.Q, 880, SkillShotType.Circular, (int)0.3f, 2000, 150);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Active(SpellSlot.W, 0);
            E = new Spell.Targeted(SpellSlot.E, 700);
            R = new Spell.Targeted(SpellSlot.R, 900);

            ign = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Game.OnUpdate                    += OnGameUpdate;
            Gapcloser.OnGapcloser            += OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupt;
            Drawing.OnDraw                   += Drawing_OnDraw;
        }
Esempio n. 6
0
        private static void OnLoad(EventArgs args)
        {
            if (player.ChampionName != ChampName)
            {
                return;
            }

            //Ability Information - Range - Variables.

            Q = new Spell.Active(SpellSlot.Q, 375);
            W = new Spell.Active(SpellSlot.W, 0);
            E = new Spell.Targeted(SpellSlot.E, 640);
            R = new Spell.Active(SpellSlot.R, 375);

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

            ItemsMenu = menuIni.AddSubMenu("Items");
            ItemsMenu.AddGroupLabel("Items Settings");
            ItemsMenu.Add("useGhostblade", new CheckBox("Use Youmuu's Ghostblade"));
            ItemsMenu.Add("UseBOTRK", new CheckBox("Use Blade of the Ruined King"));
            ItemsMenu.Add("UseBilge", new CheckBox("Use Bilgewater Cutlass"));
            ItemsMenu.Add("eL", new Slider("Use On Enemy health", 65, 0, 100));
            ItemsMenu.Add("oL", new Slider("Use On My health", 65, 0, 100));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.Add("stickR", new CheckBox("Stick to Target While R Is active", false));
            UltMenu.Add("interrupt", new CheckBox("Interrupt Spells (R)"));
            UltMenu.Add("tower", new CheckBox("Auto R Under Tower"));
            UltMenu.Add("saveR", new CheckBox("Disable AA While R Active"));

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("UseW", new CheckBox("Use W", false));
            ComboMenu.Add("UseE", new CheckBox("Use E"));
            ComboMenu.Add("UseR", new CheckBox("Use R"));
            ComboMenu.Add("Rene", new Slider("Min Enemies for R", 1, 1, 5));

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("hQ", new CheckBox("Use Q"));
            HarassMenu.Add("hW", new CheckBox("Use W", false));
            HarassMenu.Add("hE", new CheckBox("Use E"));
            HarassMenu.Add("harassmana", new Slider("Harass Mana Manager", 60, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("Farm Settings");
            LaneMenu.Add("laneQ", new CheckBox("Use Q"));
            LaneMenu.Add("laneE", new CheckBox("Use E"));
            LaneMenu.Add("lanemana", 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("ksE", new CheckBox("Kill Steal E"));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Use W On GapCloser"));
            MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawMenu.Add("Wdraw", new CheckBox("Draw W"));
            DrawMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawMenu.Add("DrawD", new CheckBox("Draw Damage"));

            Drawing.OnDraw                   += OnDraw;
            Game.OnUpdate                    += Game_OnGameUpdate;
            Spellbook.OnCastSpell            += OnCastSpell;
            Drawing.OnEndScene               += OnEndScene;
            Interrupter.OnInterruptableSpell += Interrupter2_OnInterruptableTarget;
            Gapcloser.OnGapcloser            += AntiGapcloser_OnEnemyGapcloser;
        }
Esempio n. 7
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Shen")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 475);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Linear, 250, 1600, 50);
            R = new Spell.Targeted(SpellSlot.R, 31000);
            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Exhaust = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);
            var FlashSlot = Shen.GetSpellSlotFromName("summonerflash");

            Flash           = new Spell.Skillshot(FlashSlot, 32767, SkillShotType.Linear);
            Randuin         = new Item((int)ItemId.Randuins_Omen);
            AbilitySequence = new int[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };

            ShenMenu = MainMenu.AddMenu("BloodimirShen", "bloodimirshen");
            ShenMenu.AddGroupLabel("Bloodimir Shen");
            ShenMenu.AddSeparator();
            ShenMenu.AddLabel("Bloodimir Shen v1.0.0.0");

            ComboMenu = ShenMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));

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

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 6));
            var sID        = new[]
            {
                "Default", "Frozen", "Yellow Jacket", "Surgeon", "Blood Moon", "Warlord", "TPA"
            };

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

            EMenu = ShenMenu.AddSubMenu("Taunt", "etaunt");
            EMenu.AddGroupLabel("E Settings");
            EMenu.Add("eslider", new Slider("Minimum Enemy to Taunt", 1, 0, 5));
            EMenu.Add("fleee", new CheckBox("Use E Flee"));
            EMenu.AddSeparator();
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Shen.Team))
            {
                EMenu.Add("taunt" + obj.ChampionName.ToLower(), new CheckBox("Taunt " + obj.ChampionName));
            }
            EMenu.Add("flashe", new KeyBind("Flash E", false, KeyBind.BindTypes.HoldActive, 'Y'));
            EMenu.Add("e", new KeyBind("E", false, KeyBind.BindTypes.HoldActive, 'E'));

            UltMenu = ShenMenu.AddSubMenu("ULT", "ultmenu");
            UltMenu.AddGroupLabel("ULT");
            UltMenu.AddSeparator();
            UltMenu.Add("autoult", new CheckBox("Auto Ult on Key Press"));
            UltMenu.Add("rslider", new Slider("Health Percent for Ult", 20));
            UltMenu.AddSeparator();
            UltMenu.Add("ult", new KeyBind("ULT", false, KeyBind.BindTypes.HoldActive, 'R'));

            MiscMenu = ShenMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("LHQ", new CheckBox("Last Hit Q"));
            MiscMenu.Add("LCQ", new CheckBox("LaneClear Q"));
            MiscMenu.Add("int", new CheckBox("Interrupt Spells"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("support", new CheckBox("Support Mode", false));
            MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            MiscMenu.Add("randuin", new CheckBox("Use Randuin"));
            MiscMenu.Add("autow", new CheckBox("Auto W"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("WHPPercent", new Slider("Auto W HP %", 45));
            MiscMenu.AddSeparator();
            MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Exhaust " + source.ChampionName, false));
            }


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

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate                  += OnUpdate;
            Drawing.OnDraw                 += OnDraw;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Obj_AI_Base.OnProcessSpellCast += Auto_WOnProcessSpell;
            Core.DelayAction(FlashE, 60);
        }
Esempio n. 8
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. 9
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. 10
0
        public static void getMenu()
        {
            Zilean = MainMenu.AddMenu("SwagZilean", "SwagZilean");
            Zilean.AddGroupLabel("Swaaaaaaaaaaaaaaaaaaaaaaag Zilean");
            Zilean.AddSeparator();
            Zilean.AddLabel("İsteyen yorik100");
            Zilean.AddLabel("Yapan Kk2");
            Zilean.AddLabel("Çeviren-TRAdana");

            /*
             * Combo Menu
             */
            Combo = Zilean.AddSubMenu("Kombo", "Combo");
            Combo.AddGroupLabel("Kombo Ayarları");
            Combo.AddSeparator();
            Combo.Add("comboQ", new CheckBox("Komboda Q Kullan"));
            Combo.Add("comboW", new CheckBox("Komboda W Kullan"));
            Combo.Add("comboE", new CheckBox("Komboda E Kullan"));
            Combo.AddSeparator();
            ComboSlider = Combo.Add("whatcombo", new Slider("Kombo Modunu Seç: ", 0, 0, 2));
            ComboSlider.OnValueChange +=
                delegate { ComboSlider.DisplayName = "Choose your Combo: " + CombosZileans[ComboSlider.CurrentValue]; };
            ComboSlider.DisplayName = "Choose your Combo: " + CombosZileans[ComboSlider.CurrentValue];
            Combo.AddSeparator();
            PredictionSlider = Combo.Add("dPrediction", new Slider("Büyü Tahmini: ", 2, 0, 2));
            PredictionSlider.OnValueChange +=
                delegate
            {
                PredictionSlider.DisplayName = "Spell Prediction: " + PredicOptions[PredictionSlider.CurrentValue];
            };
            PredictionSlider.DisplayName = "Spell Prediction: " + PredicOptions[PredictionSlider.CurrentValue];

            /*
             * Harass Menu
             */
            Harass = Zilean.AddSubMenu("Dürtme", "Harass");
            Harass.AddGroupLabel("Dürtme Ayarları");
            Harass.AddSeparator();
            Harass.Add("harassQ", new CheckBox("Dürtmede Q Kullan"));
            Harass.Add("harrasW", new CheckBox("Dürtmede W Kullan"));
            Harass.Add("harrasE", new CheckBox("Dürtmede E Kullan"));
            Harass.AddSeparator();
            Harass.Add("hManaSlider", new Slider("Dürtme için gereken mana % ", 20));

            /*
             * LaneClear Menu
             */
            LaneClear = Zilean.AddSubMenu("LaneTemizleme", "LaneClear");
            LaneClear.AddGroupLabel("LaneTemizleme Ayarları");
            LaneClear.AddSeparator();
            LaneClear.Add("laneQ", new CheckBox("LaneTemizlemede Q Kullan"));
            LaneClear.Add("laneW", new CheckBox("LaneTemizlemede W Kullan"));
            LaneClear.AddSeparator();
            LaneClear.Add("lManaSlider", new Slider("LaneTemizleme için gereken mana % ", 20));

            /*
             * Ult Menu
             */
            UltMenu = Zilean.AddSubMenu("Ulti", "UltMenu");
            UltMenu.AddGroupLabel("Ulti Ayarları");
            UltMenu.AddSeparator();
            foreach (var h in EntityManager.Heroes.Allies)
            {
                UltMenu.AddSeparator();
                UltMenu.Add("r" + h.ChampionName, new CheckBox("Ult Aktif " + h.ChampionName));
                UltMenu.AddSeparator();
                UltMenu.Add("rpct" + h.ChampionName, new Slider("Can % " + h.ChampionName, 10));
            }

            /*
             * Misc Menu
             */
            Misc = Zilean.AddSubMenu("Ek", "Misc");
            Misc.AddGroupLabel("Ek Ayarlar");
            Misc.AddSeparator();
            Misc.Add("Support", new CheckBox("Destek Modu"));
            Misc.Add("gapCloser", new CheckBox("GapCloser E Kullan"));
            Misc.Add("Interrupt", new CheckBox("Interrupt Çift Q Atma Kullan"));
            Misc.AddSeparator();
            SkinSelect = Misc.Add("skinX", new Slider("Skin Değiştirici [Numarası]:", 5, 0, 5));

            /*
             * Drawings Menu
             */
            Draw = Zilean.AddSubMenu("Göstergeler", "Drawings");
            Draw.AddGroupLabel("Gösterge Ayarları");
            Draw.AddSeparator();
            Draw.Add("drawQ", new CheckBox("Göster Q Menzili"));
            Draw.Add("drawE", new CheckBox("Göster E Menzili"));
            Draw.Add("drawR", new CheckBox("Göster R Menzili"));
            Draw.Add("cMode", new CheckBox("Göster Mevcut Kombo Modu"));
        }
        /// <summary>
        ///     Initializes a new instance of the <see cref="Malzahar" /> class.
        /// </summary>
        public static void Execute()
        {
            if (ObjectManager.Player.ChampionName != "Malzahar")
            {
                return;
            }

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

            // Create Menu

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

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

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

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

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

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

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

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

            Chat.Say("/D");

            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += DrawingOnOnDraw;
            Gapcloser.OnGapcloser += AntiGapcloserOnOnEnemyGapcloser;
            Interrupter.OnInterruptableSpell += InterrupterOnOnPossibleToInterrupt;
            Player.OnIssueOrder += PlayerIssue;
        }
Esempio n. 12
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Malzahar" /> class.
        /// </summary>
        private static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.ChampionName != "Malzahar")
            {
                return;
            }

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

            // Create Menu

            menuIni = MainMenu.AddMenu("Malzahar ", "Malzahar");
            menuIni.AddGroupLabel("Welcome to the Worst Malzahar addon!");
            menuIni.AddGroupLabel("Global Settings");
            menuIni.Add("Ult", new CheckBox("Use Ultimate?"));
            menuIni.Add("Combo", new CheckBox("Use Combo?"));
            menuIni.Add("Harass", new CheckBox("Use Harass?"));
            menuIni.Add("LaneClear", new CheckBox("Use LaneClear?"));
            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("gapcloserR", new CheckBox("Use R On GapCloser"));
            UltMenu.Add("interruptR", new CheckBox("Use R Interrupt Spells"));
            UltMenu.Add("tower", new CheckBox("Auto R Under Ally Tower"));
            UltMenu.Add("R", new CheckBox("R Finisher"));
            UltMenu.Add("Rtower", new CheckBox("Don't Use R Under Enemy Turret"));
            UltMenu.Add("saveR", new CheckBox("Freeze Champion While Casting R"));
            UltMenu.AddSeparator();
            UltMenu.AddGroupLabel("Don't Use Ult On:");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName);
                cb.CurrentValue = false;
                if (enemy.Team != Player.Instance.Team)
                {
                    UltMenu.Add("DontUlt" + enemy.BaseSkinName, cb);
                }
            }

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));

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

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

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

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapcloserQ", new CheckBox("Use Q On GapCloser"));
            MiscMenu.Add("interruptQ", new CheckBox("Use Q Interrupt Spells"));
            MiscMenu.Add("qcc", new CheckBox("Use Q On Hard CC'd Enemy"));
            MiscMenu.Add("wcc", new CheckBox("Use W On Hard CC'd Enemy"));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("Q", new CheckBox("Draw Q"));
            DrawMenu.Add("W", new CheckBox("Draw W"));
            DrawMenu.Add("E", new CheckBox("Draw E"));
            DrawMenu.Add("R", new CheckBox("Draw R"));

            Chat.Say("/D");

            Game.OnUpdate                    += Game_OnGameUpdate;
            Drawing.OnDraw                   += DrawingOnOnDraw;
            Gapcloser.OnGapcloser            += AntiGapcloserOnOnEnemyGapcloser;
            Interrupter.OnInterruptableSpell += InterrupterOnOnPossibleToInterrupt;
            Player.OnIssueOrder              += PlayerIssue;
        }
        public static void Execute()
        {
            if (player.ChampionName != ChampName)
            {
                return;
            }

            //Ability Information - Range - Variables.

            Q = new Spell.Active(SpellSlot.Q, 375);
            W = new Spell.Active(SpellSlot.W, 0);
            E = new Spell.Targeted(SpellSlot.E, 640);
            R = new Spell.Active(SpellSlot.R, 375);

            menuIni = MainMenu.AddMenu("Wukong ", "Wukong");
            menuIni.AddGroupLabel("Hoşgeldin Worst Wukong addon!");
            menuIni.AddGroupLabel("Genel Ayarlar");
            menuIni.Add("Items", new CheckBox("Kullan İtemler?"));
            menuIni.Add("Ultimate", new CheckBox("Kullan Ulti?"));
            menuIni.Add("Combo", new CheckBox("Kullan Combo?"));
            menuIni.Add("Harass", new CheckBox("Kullan Dürtme?"));
            menuIni.Add("LaneClear", new CheckBox("Kullan Lanetemizleme?"));
            menuIni.Add("KillSteal", new CheckBox("Kullan Kill Çalma?"));
            menuIni.Add("Misc", new CheckBox("Kullan Ek?"));
            menuIni.Add("Drawings", new CheckBox("Kullan Gösterge?"));

            ItemsMenu = menuIni.AddSubMenu("Items");
            ItemsMenu.AddGroupLabel("İtem Ayarları");
            ItemsMenu.Add("useGhostblade", new CheckBox("Kullan Youmuu"));
            ItemsMenu.Add("UseBOTRK", new CheckBox("Kullan Mahvolmuş"));
            ItemsMenu.Add("UseBilge", new CheckBox("Bilgewater Palası Kullan"));
            ItemsMenu.Add("eL", new Slider("Düşmanın canı", 65, 0, 100));
            ItemsMenu.Add("oL", new Slider("Benim canım", 65, 0, 100));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ultimate Ayarları");
            UltMenu.Add("stickR", new CheckBox("R aktifken hedefe kitlen", false));
            UltMenu.Add("interrupt", new CheckBox("Interrupt Büyüleri (R)"));
            UltMenu.Add("tower", new CheckBox("Kule Altında R"));
            UltMenu.Add("saveR", new CheckBox("R aktifken AA yapma"));

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Ayarları");
            ComboMenu.Add("UseQ", new CheckBox("Kullan Q"));
            ComboMenu.Add("UseW", new CheckBox("Kullan W", false));
            ComboMenu.Add("UseE", new CheckBox("Kullan E"));
            ComboMenu.Add("UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Rene", new Slider("R için en az düşman", 1, 1, 5));

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

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("Farm Ayarları");
            LaneMenu.Add("laneQ", new CheckBox("Kullan Q"));
            LaneMenu.Add("laneE", new CheckBox("Kullan E"));
            LaneMenu.Add("lanemana", new Slider("Farm Mana Yardımcısı", 80, 0, 100));

            KillStealMenu = menuIni.AddSubMenu("Kill Steal");
            KillStealMenu.AddGroupLabel("Kill Çalma Ayarları");
            KillStealMenu.Add("ksQ", new CheckBox("Q Kullan"));
            KillStealMenu.Add("ksE", new CheckBox("E Kullan"));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarlar");
            MiscMenu.Add("gapcloser", new CheckBox("W kullan GapCloser"));
            MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100));

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

            Drawing.OnDraw                   += OnDraw;
            Game.OnUpdate                    += Game_OnGameUpdate;
            Spellbook.OnCastSpell            += OnCastSpell;
            Drawing.OnEndScene               += OnEndScene;
            Interrupter.OnInterruptableSpell += Interrupter2_OnInterruptableTarget;
            Gapcloser.OnGapcloser            += AntiGapcloser_OnEnemyGapcloser;
        }
Esempio n. 14
0
        public static void getMenu()
        {
            Zilean = MainMenu.AddMenu("SwagZilean", "SwagZilean");
            Zilean.AddGroupLabel("Swaaaaaaaaaaaaaaaaaaaaaaag Zilean");
            Zilean.AddSeparator();
            Zilean.AddLabel("Requested by yorik100");
            Zilean.AddLabel("Made by Kk2");

            /*
             * Combo Menu
             */
            Combo = Zilean.AddSubMenu("Combo", "Combo");
            Combo.AddGroupLabel("Combo Options");
            Combo.AddSeparator();
            Combo.Add("comboQ", new CheckBox("Use Q on Combo"));
            Combo.Add("comboW", new CheckBox("Use W on Combo"));
            Combo.Add("comboE", new CheckBox("Use E on Combo"));
            Combo.AddSeparator();
            ComboSlider = Combo.Add("whatcombo", new Slider("Choose your Combo: ", 0, 0, 2));
            ComboSlider.OnValueChange +=
                delegate { ComboSlider.DisplayName = "Choose your Combo: " + CombosZileans[ComboSlider.CurrentValue]; };
            ComboSlider.DisplayName = "Choose your Combo: " + CombosZileans[ComboSlider.CurrentValue];
            Combo.AddSeparator();
            PredictionSlider = Combo.Add("dPrediction", new Slider("Spell Prediction: ", 2, 0, 2));
            PredictionSlider.OnValueChange +=
                delegate
            {
                PredictionSlider.DisplayName = "Spell Prediction: " + PredicOptions[PredictionSlider.CurrentValue];
            };
            PredictionSlider.DisplayName = "Spell Prediction: " + PredicOptions[PredictionSlider.CurrentValue];

            /*
             * Harass Menu
             */
            Harass = Zilean.AddSubMenu("Harass", "Harass");
            Harass.AddGroupLabel("Harass Options");
            Harass.AddSeparator();
            Harass.Add("harassQ", new CheckBox("Use Q on Harass"));
            Harass.Add("harrasW", new CheckBox("Use W on Harass"));
            Harass.Add("harrasE", new CheckBox("Use E on Harass"));
            Harass.AddSeparator();
            Harass.Add("hManaSlider", new Slider("Mana % > to Harass", 20));

            /*
             * LaneClear Menu
             */
            LaneClear = Zilean.AddSubMenu("LaneClear", "LaneClear");
            LaneClear.AddGroupLabel("LaneClear Options");
            LaneClear.AddSeparator();
            LaneClear.Add("laneQ", new CheckBox("Use Q on LaneClear"));
            LaneClear.Add("laneW", new CheckBox("Use W on LaneClear"));
            LaneClear.AddSeparator();
            LaneClear.Add("lManaSlider", new Slider("Mana % > to LaneClear", 20));

            /*
             * Ult Menu
             */
            UltMenu = Zilean.AddSubMenu("UltMenu", "UltMenu");
            UltMenu.AddGroupLabel("Ultimate Options");
            UltMenu.AddSeparator();
            foreach (var h in EntityManager.Heroes.Allies)
            {
                UltMenu.AddSeparator();
                UltMenu.Add("r" + h.ChampionName, new CheckBox("Ult ON " + h.ChampionName));
                UltMenu.AddSeparator();
                UltMenu.Add("rpct" + h.ChampionName, new Slider("Health % " + h.ChampionName, 10));
            }

            /*
             * Misc Menu
             */
            Misc = Zilean.AddSubMenu("Misc", "Misc");
            Misc.AddGroupLabel("Misc Options");
            Misc.AddSeparator();
            Misc.Add("Support", new CheckBox("Support Mode"));
            Misc.Add("gapCloser", new CheckBox("Use E on GapCloser"));
            Misc.Add("Interrupt", new CheckBox("Try to Interrupt with double Q"));
            Misc.AddSeparator();
            SkinSelect = Misc.Add("skinX", new Slider("Choose your Skin [number]:", 5, 0, 5));

            /*
             * Drawings Menu
             */
            Draw = Zilean.AddSubMenu("Drawings", "Drawings");
            Draw.AddGroupLabel("Drawings Options");
            Draw.AddSeparator();
            Draw.Add("drawQ", new CheckBox("Draw Q Range"));
            Draw.Add("drawE", new CheckBox("Draw E Range"));
            Draw.Add("drawR", new CheckBox("Draw R Range"));
            Draw.Add("cMode", new CheckBox("Draw Current Combo Mode"));
        }
        public static void Execute()
        {
            if (ObjectManager.Player.BaseSkinName != "Lissandra")
            {
                return;
            }

            menuIni = MainMenu.AddMenu("KappaLissandra", "KappaLissandra");
            menuIni.AddGroupLabel("Worstun lissandra addonuna hoşgeldiniz!");
            menuIni.AddGroupLabel("Genel Ayarlar");
            menuIni.Add("Combo", new CheckBox("Kullan Kombo?"));
            menuIni.Add("Harass", new CheckBox("Kullan Dürtme?"));
            menuIni.Add("LaneClear", new CheckBox("Kullan LaneTemizleme?"));
            menuIni.Add("JungleClear", new CheckBox("Kullan OrmanTemizleme?"));
            menuIni.Add("Flee", new CheckBox("Kullan Flee?"));
            menuIni.Add("Misc", new CheckBox("Kullan Ek?"));
            menuIni.Add("Drawings", new CheckBox("Kullan Göstergeler?"));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ulti Ayarları");
            UltMenu.Add("aoeR", new CheckBox("AoE R Mantığı"));
            UltMenu.Add("RF", new CheckBox("R ile bitir"));
            UltMenu.Add("RS", new CheckBox("R ile korun"));
            UltMenu.Add("RE", new CheckBox("Ryi düşmanda kullan"));
            UltMenu.Add("hitR", new Slider("R etkileyeceği düşman sayısı >=", 2, 1, 5));
            UltMenu.Add("shp", new Slider("Canım şundan azsa kendime R kullan", 15, 0, 100));
            UltMenu.AddGroupLabel("Düşmana ulti kullanma");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    UltMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.Add("Q", new CheckBox("Kullan Q"));
            ComboMenu.Add("W", new CheckBox("Kullan W"));
            ComboMenu.Add("E", new CheckBox("Kullan E"));
            ComboMenu.Add("ET", new CheckBox("Eğer hedefe vuracaksa E2 kullan"));
            ComboMenu.Add("E2", new CheckBox("E2 Her zaman enf azla kullan", false));
            ComboMenu.Add("ES", new CheckBox("E2 korun", false));
            ComboMenu.Add("EHP", new Slider("E2 korunma için can  <= %", 30, 0, 100));
            ComboMenu.Add("ESE", new Slider("E2 korunma için düşman sayısı <=", 2, 1, 5));

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.Add("Q", new CheckBox("Kullan Q"));
            HarassMenu.Add("W", new CheckBox("Kullan W"));
            HarassMenu.Add("E", new CheckBox("Kullan E", false));
            HarassMenu.Add("Mana", new Slider("mana şundan azsa kullanma %", 30, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneTemizleme Ayarları");
            LaneMenu.Add("Q", new CheckBox("Kullan Q"));
            LaneMenu.Add("W", new CheckBox("Kullan W"));
            LaneMenu.Add("E", new CheckBox("Kullan E", false));
            LaneMenu.Add("Mana", new Slider("mana şundan azsa kullanma %", 30, 0, 100));
            LaneMenu.AddGroupLabel("OrmanTemizleme Ayarları");
            LaneMenu.Add("jQ", new CheckBox("Kullan Q"));
            LaneMenu.Add("jW", new CheckBox("Kullan W"));
            LaneMenu.Add("jE", new CheckBox("Kullan E", false));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarları");
            MiscMenu.Add("gapcloserW", new CheckBox("Anti-GapCloser W"));
            MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser R"));
            MiscMenu.Add("Interruptr", new CheckBox("Interrupt R"));
            MiscMenu.Add("WTower", new CheckBox("Kule altında otomatik W"));
            MiscMenu.Add("AutoW", new Slider("W şu kadara vuracaksa >=", 2, 1, 5));

            FleeMenu = menuIni.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Ayarları");
            FleeMenu.Add("Q", new CheckBox("Kullan Q"));
            FleeMenu.Add("W", new CheckBox("Kullan W"));
            FleeMenu.Add("E", new CheckBox("Kullan E"));

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

            Q     = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75);
            Q2    = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Linear, 250, 2200, 90);
            Qtest = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W, 425);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 850, 125);
            R = new Spell.Targeted(SpellSlot.R, 400);

            Game.OnUpdate                    += OnUpdate;
            GameObject.OnCreate              += OnCreate;
            GameObject.OnDelete              += OnDelete;
            Drawing.OnDraw                   += OnDraw;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            Obj_AI_Base.OnBasicAttack        += OnBasicAttack;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Gapcloser.OnGapcloser            += OnGapcloser;
        }
Esempio n. 16
0
        public static void getMenu()
        {
            KayleMenu = MainMenu.AddMenu("KayleBuddy", "kaylebuddy");
            KayleMenu.AddGroupLabel("KayleBuddy");
            KayleMenu.AddSeparator();
            KayleMenu.AddLabel("Made by Kk2");

            ComboMenu = KayleMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use Smart W"));
            ComboMenu.Add("useECombo", new CheckBox("Use E"));

            HarassMenu = KayleMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("manaHarass", new Slider("Mana % > to Use Spells", 20));

            FarmMenu = KayleMenu.AddSubMenu("Farm", "Farm");
            FarmMenu.AddGroupLabel("Farming Settings");
            FarmMenu.AddSeparator();
            FarmMenu.Add("useEWave", new CheckBox("Use E for Waveclear"));
            FarmMenu.Add("useQFarm", new CheckBox("Use Q To LastHit"));
            FarmMenu.Add("manaFarm", new Slider("Mana % > to Use Spells", 20));

            JungleMenu = KayleMenu.AddSubMenu("Jungle", "Jungle");
            JungleMenu.AddGroupLabel("Jungle Settings");
            JungleMenu.AddSeparator();
            JungleMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleMenu.Add("manaJungle", new Slider("Mana % > to Use Spells", 20));

            HealingMenu = KayleMenu.AddSubMenu("Healing", "Healing");
            HealingMenu.AddGroupLabel("Healing Menu");
            HealingMenu.AddSeparator();
            foreach (var h in HeroManager.Allies)
            {
                HealingMenu.Add("useW" + h.ChampionName, new CheckBox("Heal " + h.ChampionName));
                HealingMenu.Add("minHPW" + h.ChampionName, new Slider("HP % to Heal " + h.ChampionName, 20));
                HealingMenu.AddSeparator();
            }

            UltMenu = KayleMenu.AddSubMenu("Ultimate Manager", "Ult");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.AddSeparator();
            foreach (var h in HeroManager.Allies)
            {
                UltMenu.Add("UseR" + h.ChampionName, new CheckBox("Ult on " + h.ChampionName));
                UltMenu.Add("minHPR" + h.ChampionName, new Slider("HP % to Ult " + h.ChampionName, 20));
                UltMenu.AddSeparator();
            }

            MiscMenu = KayleMenu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("usePot", new CheckBox("Use Potions"));
            MiscMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            MiscMenu.Add("drawH", new CheckBox("Draw an H on HPbar of Needed Healing Allies"));
            skinSelect = MiscMenu.Add("ChangeSkin", new Slider("Change Skin [Number]", 7, 0, 7));
        }