Esempio n. 1
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampionName)
            {
                return;
            }
            IsZombie                = PlayerInstance.HasBuff("kogmawicathiansurprise");
            wActive                 = PlayerInstance.HasBuff("kogmawbioarcanebarrage");
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            SkinBase                = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1650, 70);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Active(SpellSlot.W, (uint)PlayerInstance.GetAutoAttackRange());
                E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Linear, 500, 1400, 120);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 1800, SkillShotType.Circular, 1200, int.MaxValue, 120);
                R.AllowedCollisionCount = int.MaxValue;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak KogMaw", "KogMaw");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak KogMaw Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1KogMaw");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true));
                ModesMenu1.AddLabel("Use Q Mana >= 80");
                ModesMenu1.Add("ComboW", new CheckBox("Use W on Combo", true));
                ModesMenu1.Add("ComboE", new CheckBox("Use E on Combo", true));
                ModesMenu1.Add("ComboR", new CheckBox("Use R on Combo", true));
                ModesMenu1.Add("LogicRn", new ComboBox(" Use R Enemy Health % <= ", 1, "100%", "55%", "30%"));
                ModesMenu1.Add("ManaCE", new Slider("Use E Mana %", 30));
                ModesMenu1.Add("ManaCR", new Slider("Use R Mana %", 80));
                ModesMenu1.Add("CRStack", new Slider("Combo R stack limit", 3, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("AutoHarass Configs");
                ModesMenu1.Add("AutoHarass", new CheckBox("Use R on AutoHarass", false));
                ModesMenu1.Add("ARStack", new Slider("Auto R stack limit", 2, 1, 6));
                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 70));

                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true));
                ModesMenu1.Add("HarassE", new CheckBox("Use E on Harass", true));
                ModesMenu1.Add("HarassR", new CheckBox("Use R on Harass", true));
                ModesMenu1.Add("ManaHE", new Slider("Use E Mana %", 60));
                ModesMenu1.Add("ManaHR", new Slider("Use R Mana %", 60));
                ModesMenu1.Add("HRStack", new Slider("Harass R stack limit", 1, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("Use Q on KillSteal", true));
                ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2KogMaw");
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true));
                ModesMenu2.Add("ManaLR", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("Use R on LaneClear", true));
                ModesMenu2.Add("FRStack", new Slider("LaneClear R stack limit", 1, 1, 6));
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));
                ModesMenu2.Add("ManaJR", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("Use R on JungleClear", true));
                ModesMenu2.Add("JRStack", new Slider("JungleClear R stack limit", 2, 1, 6));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3KogMaw");
                ModesMenu3.AddLabel("Flee Configs");
                ModesMenu3.Add("FleeR", new CheckBox("Use R on Flee", true));
                ModesMenu3.Add("FleeE", new CheckBox("Use E on Flee", true));
                ModesMenu3.Add("ManaFlR", new Slider("R Mana %", 35));
                ModesMenu3.Add("FlRStack", new Slider("Flee R stack limit", 2, 1, 6));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawKogMaw");
                DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Draw W", true));
                DrawMenu.Add("drawR", new CheckBox(" Draw R", false));
                DrawMenu.Add("drawXR", new CheckBox(" Draw Don't Use R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Draw Don't Use Flee Q", false));
            }

            catch (Exception)
            {
            }
        }
Esempio n. 2
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1650, 70);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Active(SpellSlot.W, (uint)PlayerInstance.GetAutoAttackRange());
                E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Linear, 500, 1400, 120);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 1800, SkillShotType.Circular, 1200, int.MaxValue, 120);
                R.AllowedCollisionCount = int.MaxValue;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 大嘴", "KogMaw");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 大嘴脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1KogMaw");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.AddLabel("蓝量>= 80 使用Q");
                ModesMenu1.Add("ComboW", new CheckBox("连招W", true));
                ModesMenu1.Add("ComboE", new CheckBox("连招E", true));
                ModesMenu1.Add("ComboR", new CheckBox("连招R", true));
                ModesMenu1.Add("LogicRn", new ComboBox(" 敌人血量低于 %使用R ", 1, "100%", "55%", "30%"));
                ModesMenu1.Add("ManaCE", new Slider("E蓝量使用 %", 30));
                ModesMenu1.Add("ManaCR", new Slider("R蓝量使用 %", 80));
                ModesMenu1.Add("CRStack", new Slider("连招R叠加层数限制", 3, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("自动骚扰设置");
                ModesMenu1.Add("AutoHarass", new CheckBox("R自动骚扰", false));
                ModesMenu1.Add("ARStack", new Slider("R叠加层数", 2, 1, 6));
                ModesMenu1.Add("ManaAuto", new Slider("R蓝量使用 %", 70));

                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("HarassE", new CheckBox("骚扰E", true));
                ModesMenu1.Add("HarassR", new CheckBox("骚扰R", true));
                ModesMenu1.Add("ManaHE", new Slider("E蓝量使用 %", 60));
                ModesMenu1.Add("ManaHR", new Slider("R蓝量使用 %", 60));
                ModesMenu1.Add("HRStack", new Slider("连招R叠加层数限制", 1, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q抢头", true));
                ModesMenu1.Add("KR", new CheckBox("R抢头", true));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2KogMaw");
                ModesMenu2.AddLabel("清线设置");
                ModesMenu2.Add("ManaL", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.Add("ManaLR", new Slider("R蓝量使用 %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("清线R", true));
                ModesMenu2.Add("FRStack", new Slider("清线R叠加层数限制", 1, 1, 6));
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("ManaJ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));
                ModesMenu2.Add("ManaJR", new Slider("R蓝量使用 %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("清野R", true));
                ModesMenu2.Add("JRStack", new Slider("清野R叠加层数限制", 2, 1, 6));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3KogMaw");
                ModesMenu3.AddLabel("逃跑设置");
                ModesMenu3.Add("FleeR", new CheckBox("逃跑使用R", true));
                ModesMenu3.Add("FleeE", new CheckBox("逃跑使用E", true));
                ModesMenu3.Add("ManaFlR", new Slider("R 蓝量使用 %", 35));
                ModesMenu3.Add("FlRStack", new Slider("逃跑R叠加层数限制", 2, 1, 6));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawKogMaw");
                DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true));
                DrawMenu.Add("drawW", new CheckBox(" 显示 W", true));
                DrawMenu.Add("drawR", new CheckBox(" 显示 R", false));
                DrawMenu.Add("drawXR", new CheckBox(" 显示 不使用R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox("显示 逃跑不使用Q", false));
            }

            catch (Exception e)
            {
            }
        }