예제 #1
0
        void Game_OnGameUpdate(EventArgs args)
        {
            //Cleanser.enableCheck();
            if (Player.IsDead) return;
            Obj_AI_Hero tar;

            if (isMenuEnabled("AutoE") && CondemnCheck(Player.Position, out tar)) { CastE(tar,true);}
            if (Menu.Item("WallTumble").GetValue<KeyBind>().Active) WallTumble();
            if (Menu.Item("ThreshLantern").GetValue<KeyBind>().Active) takeLantern();
            QFarmCheck();
            //Cleanser
            Cleanser.cleanserBySpell();
            Cleanser.cleanserByBuffType();

            switch (COrbwalker.ActiveMode)
            {
                case Orbwalking.OrbwalkingMode.Combo:
                    Obj_AI_Hero tar2;
                    if (isMenuEnabled("UseEC") && CondemnCheck(Player.ServerPosition, out tar2)) { CastE(tar2);}
                    break;
                case Orbwalking.OrbwalkingMode.Mixed:
                    Obj_AI_Hero tar3;
                    if (isMenuEnabled("UseEH") && CondemnCheck(Player.ServerPosition, out tar3)) { CastE(tar3); }
                    break;
                default:
                    break;
            }  
        }
예제 #2
0
        private static void Game_OnGameUpdate(EventArgs args)
        {
            //Cleanser.enableCheck();
            if (Player.IsDead)
            {
                return;
            }

            Obj_AI_Hero tar;

            if (IsMenuEnabled("AutoE") && CondemnCheck(Player.Position, out tar))
            {
                CastE(tar, true);
            }

            if (Menu.Item("WallTumble").GetValue <KeyBind>().Active)
            {
                WallTumble();
            }

            if (Menu.Item("ThreshLantern").GetValue <KeyBind>().Active)
            {
                TakeLantern();
            }

            QFarmCheck();
            FocusTarget();
            NoAaStealth();
            EKs();

            AutoPot();

            //Cleanser
            Cleanser.CleanserByBuffType();
            Cleanser.CleanserBySpell();


            switch (COrbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Obj_AI_Hero tar2;
                if (IsMenuEnabled("UseEC") && CondemnCheck(Player.ServerPosition, out tar2))
                {
                    CastE(tar2);
                }

                UseIgnite();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Obj_AI_Hero tar3;
                if (IsMenuEnabled("UseEH") && CondemnCheck(Player.ServerPosition, out tar3))
                {
                    CastE(tar3);
                }
                break;
            }
        }
예제 #3
0
        private void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != charName)
            {
                return;
            }
            Cleanser.CreateQSSSpellList();
            Menu = new Menu("VayneHunter Rework", "VHRework", true);
            var lxMenu = new Menu("Orbwalker", "LXOrb");

            //LXOrbwalker.AddToMenu(lxMenu);
            COrbwalker = new Orbwalking.Orbwalker(lxMenu);
            Menu.AddSubMenu(lxMenu);
            var tsMenu = new Menu("Target Selector", "TargetSel");

            SimpleTs.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);
            Menu.AddSubMenu(new Menu("[VH] Combo", "Combo"));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseQC", "Use Q Combo")).SetValue(true);
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseEC", "Use E Combo").SetValue(true));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseRC", "Use R Combo").SetValue(false));
            Menu.SubMenu("Combo").AddItem(new MenuItem("QManaC", "Min Q Mana %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("EManaC", "Min E Mana %").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("[VH] Harrass", "Harrass"));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseQH", "Use Q Harrass")).SetValue(true);
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseEH", "Use E Harrass").SetValue(true));
            // Menu.SubMenu("Harrass").AddItem(new MenuItem("3RdE", "Try to 3rd Proc E").SetValue(true));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("QManaH", "Min Q Mana %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("EManaH", "Min E Mana %").SetValue(new Slider(20, 1, 100)));
            Menu.AddSubMenu(new Menu("[VH] Farm", "Farm"));
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLH", "Use Q LastHit")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLC", "Use Q Laneclear")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLH", "Min Q Mana % LH").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLC", "Min Q Mana % LC").SetValue(new Slider(35, 1, 100)));
            Menu.AddSubMenu(new Menu("[VH] Misc", "Misc"));
            Menu.SubMenu("Misc").AddItem(new MenuItem("Packets", "Packet Casting").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("AntiGP", "Anti Gapcloser")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Interrupt", "Interrupter").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("SmartQ", "Try to QE First").SetValue(false));
            Menu.SubMenu("Misc").AddItem(new MenuItem("ENext", "E Next Auto").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("PushDistance", "E Push Dist").SetValue(new Slider(425, 400, 500)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("CondemnTurret", "Try to Condemn to turret").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("AutoE", "Auto E").SetValue(false));
            Menu.SubMenu("Misc").AddItem(new MenuItem("NoEEnT", "No E Under enemy turret").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("WallTumble", "Tumble Over Wall").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Press)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("ThreshLantern", "Grab Thresh Lantern").SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press)));
            Menu.AddSubMenu(new Menu("[VH] BushRevealer", "BushReveal"));
            //Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushReveal", "Bush Revealer").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushRevealer", "Trinket bush on condemn").SetValue(true));
            Menu.AddSubMenu(new Menu("[VH] Items", "Items"));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkC", "Botrk Combo").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkH", "Botrk Harrass").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuC", "Youmuu Combo").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuH", "Youmuu Harrass").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeC", "Cutlass Combo").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeH", "Cutlass Harrass").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("OwnHPercBotrk", "Min Own H. % Botrk").SetValue(new Slider(50, 1, 100)));
            Menu.SubMenu("Items").AddItem(new MenuItem("EnHPercBotrk", "Min Enemy H. % Botrk").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("[VH] QSS", "QSSMenu"));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("UseQSS", "Use QSS").SetValue(true));
            Menu.AddSubMenu(new Menu("[VH] QSS Buff Types", "QSST"));
            Cleanser.CreateTypeQSSMenu();
            Menu.AddSubMenu(new Menu("[VH] QSS Spells", "QSSSpell"));
            Cleanser.CreateQSSSpellMenu();
            Menu.AddSubMenu(new Menu("[VH] Don't Condemn", "NoCondemn"));
            CreateNoCondemnMenu();

            /**
             * Menu.AddSubMenu(new Menu("[VH] AutoLeveler", "AutoLevel"));
             * Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALSeq", "AutoLevel Seq").SetValue(new StringList(new []{"Q,W,E Max W,Q,E","Q,E,W Max Q,W,E"},0)));
             * Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALAct", "AutoLevel Active").SetValue(false));
             * */
            Menu.AddSubMenu(new Menu("[VH] Drawings", "Draw"));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawE", "Draw E").SetValue(new Circle(true, Color.MediumPurple)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawCond", "Draw Pos. Aft. E if Stun").SetValue(new Circle(true, Color.Red)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawDrake", "Draw Drake Spot").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawMid", "Draw Mid Spot").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.AddToMainMenu();
            Game.PrintChat("<font color='#FF0000'>VayneHunter</font> <font color='#FFFFFF'>Rework loaded!</font>");
            Game.PrintChat("By <font color='#FF0000'>DZ</font><font color='#FFFFFF'>191</font>. Special Thanks to: Kurisuu");
            Game.PrintChat("If you like my assemblies feel free to donate me (link on the forum :) )");
            //Cleanser.cleanUselessSpells();
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R);
            E.SetTargetted(0.25f, 1600f);
            Orbwalking.AfterAttack += Orbwalker_AfterAttack;
            Game.OnGameUpdate      += Game_OnGameUpdate;
            // Game.OnGameProcessPacket += GameOnOnGameProcessPacket;
            Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += Cleanser.OnCreateObj;
            GameObject.OnDelete += Cleanser.OnDeleteObj;
        }
예제 #4
0
        private void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != charName)
            {
                return;
            }
            Cleanser.CreateQSSSpellList();

            #region Menu
            Menu = new Menu("【超神汉化】薇恩", "VHRework", true);
            var orbMenu = new Menu("走砍", "orbwalker");
            COrbwalker = new Orbwalking.Orbwalker(orbMenu);
            Menu.AddSubMenu(orbMenu);
            var tsMenu = new Menu("目标选择", "TargetSel");
            TargetSelector.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);

            Menu.AddSubMenu(new Menu("连招", "Combo"));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseQC", "使用Q")).SetValue(true);
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseEC", "使用E").SetValue(true));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseRC", "使用R").SetValue(false));
            Menu.SubMenu("Combo").AddItem(new MenuItem("QManaC", "Min Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("EManaC", "Min E蓝量%").SetValue(new Slider(20, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("NEnUlt", "敌人>X使用大招").SetValue(new Slider(2, 1, 5)));

            Menu.AddSubMenu(new Menu("骚扰", "Harrass"));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseQH", "使用Q")).SetValue(true);
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseEH", "使用E").SetValue(true));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("QManaH", "最小Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("EManaH", "最小E蓝量%").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("补兵", "Farm"));
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLH", "使用Q补兵")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLC", "使用Q清线")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLH", "补兵Min Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLC", "清线Min Q蓝量%").SetValue(new Slider(35, 1, 100)));

            var MiscSubMenu = new Menu("杂项", "Misc");

            var MiscTSubMenu = new Menu("杂项-Q设置", "MiscT");
            {
                MiscTSubMenu.AddItem(new MenuItem("SmartQ", "尽量QE优先").SetValue(false));
                MiscTSubMenu.AddItem(new MenuItem("NoQEn", "不往人堆里Q").SetValue(true));
                MiscTSubMenu.AddItem(new MenuItem("NoAAStealth", "潜行时不要AA").SetValue(false));
                MiscTSubMenu
                .AddItem(
                    new MenuItem("WallTumble", "翻滚过墙").SetValue(new KeyBind("Y".ToCharArray()[0],
                                                                            KeyBindType.Press)));
            }
            var MiscCSubMenu = new Menu("杂项-E设置", "MiscC");
            {
                MiscCSubMenu.AddItem(new MenuItem("ENext", "自动下一个E").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
                MiscCSubMenu.AddItem(new MenuItem("PushDistance", "E 推进距离").SetValue(new Slider(425, 400, 500)));
                MiscCSubMenu.AddItem(new MenuItem("CondemnTurret", "试图E到塔上").SetValue(false));
                MiscCSubMenu.AddItem(new MenuItem("CondemnFlag", "E到皇子的旗帜上").SetValue(true));
                MiscCSubMenu.AddItem(new MenuItem("AutoE", "自动 E").SetValue(false));
                MiscCSubMenu.AddItem(new MenuItem("AutoEKS", "只能 E 击杀").SetValue(true));
                MiscCSubMenu.AddItem(new MenuItem("NoEEnT", "在敌人塔下不E").SetValue(true));
            }
            var MiscGSubMenu = new Menu("杂项-一般", "MiscG");
            {
                MiscGSubMenu.AddItem(new MenuItem("Packets", "使用封包").SetValue(true));
                MiscGSubMenu.AddItem(new MenuItem("AntiGP", "反突进")).SetValue(true);
                MiscGSubMenu.AddItem(new MenuItem("Interrupt", "打断技能").SetValue(true));
                MiscGSubMenu
                .AddItem(new MenuItem("SpecialFocus", "重点目标 2次W标记").SetValue(false));
                MiscGSubMenu
                .AddItem(
                    new MenuItem("ThreshLantern", "点灯笼").SetValue(new KeyBind("S".ToCharArray()[0],
                                                                              KeyBindType.Press)));
                MiscGSubMenu.AddItem(new MenuItem("UseIgn", "使用点燃")).SetValue(true);
            }
            MiscSubMenu.AddSubMenu(MiscTSubMenu);
            MiscSubMenu.AddSubMenu(MiscCSubMenu);
            MiscSubMenu.AddSubMenu(MiscGSubMenu);
            Menu.AddSubMenu(MiscSubMenu);

            Menu.AddSubMenu(new Menu("草丛插眼", "BushReveal"));
            //Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushReveal", "Bush Revealer").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushRevealer", "E进草自动插眼").SetValue(true));

            Menu.AddSubMenu(new Menu("物品", "Items"));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkC", "破败(连招)").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkH", "破败(骚扰)").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuC", "幽梦(连招)").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuH", "幽梦(骚扰)").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeC", "小弯刀(连招)").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeH", "小弯刀(骚扰)").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("OwnHPercBotrk", "自身HP<%使用破败").SetValue(new Slider(50, 1, 100)));
            Menu.SubMenu("Items").AddItem(new MenuItem("EnHPercBotrk", "敌人HP<%使用破败").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("水银饰带", "QSSMenu"));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("UseQSS", "使用水银饰带").SetValue(true));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("QSSMinBuffs", "最少几个减益技能").SetValue(new Slider(2, 1, 5)));

            Menu.AddSubMenu(new Menu("净化选项1", "QSST"));
            Cleanser.CreateTypeQSSMenu();
            Menu.AddSubMenu(new Menu("净化选项2", "QSSSpell"));
            Cleanser.CreateQSSSpellMenu();
            Menu.AddSubMenu(new Menu("不E", "NoCondemn"));
            CreateNoCondemnMenu();

            Menu.AddSubMenu(new Menu("自动喝药", "AutoPot"));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH", "红药").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM", "蓝药").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH_Slider", "血量 %").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM_Slider", "蓝量 %").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal", "使用治疗").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal_Slider", "血量 %").SetValue(new Slider(35, 1)));

            Menu.AddSubMenu(new Menu("自动升级", "AutoLevel"));
            Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALSeq", "自动排列").SetValue(Orders));
            Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALAct", "打开").SetValue(false));

            Menu.AddSubMenu(new Menu("显示", "Draw"));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawE", "E范围").SetValue(new Circle(true, Color.MediumPurple)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawCond", "显示E晕人位置").SetValue(new Circle(true, Color.Red)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawDrake", "小龙附近穿墙").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawMid", "中路穿墙").SetValue(new Circle(true, Color.WhiteSmoke)));

            Menu.AddSubMenu(new Menu("超神汉化", "by welai"));
            Menu.SubMenu("by welai").AddItem(new MenuItem("qunhao", "汉化群:386289593"));

            Menu.AddToMainMenu();
            #endregion

            Game.PrintChat("<font color='#FF0000'>VayneHunter</font> <font color='#FFFFFF'>Rework loaded!</font>");
            Game.PrintChat("By <font color='#FF0000'>DZ</font><font color='#FFFFFF'>191</font>. Special Thanks to: Kurisuu & KonoeChan");
            Game.PrintChat("If you like my assemblies feel free to donate me (link on the forum :) )");

            //Cleanser.cleanUselessSpells();
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R);
            E.SetTargetted(0.25f, 1600f);
            Orbwalking.AfterAttack += Orbwalker_AfterAttack;
            Game.OnGameUpdate      += Game_OnGameUpdate;

            // Game.OnGameProcessPacket += GameOnOnGameProcessPacket;
            Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw                  += Drawing_OnDraw;
            GameObject.OnCreate             += Cleanser.OnCreateObj;
            GameObject.OnDelete             += Cleanser.OnDeleteObj;
            Menu.Item("ALAct").ValueChanged += AutoLevel_ValueChanged;

            #region AutoLeveler

            if (isMenuEnabled("ALAct") && !aLInit)
            {
                var AutoLevel_I =
                    new AutoLevel(
                        getSequence(
                            Menu.Item("ALSeq").GetValue <StringList>().SList[
                                Menu.Item("ALSeq").GetValue <StringList>().SelectedIndex]));
                aLInit = true;
            }
        }
예제 #5
0
        private void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != charName)
            {
                return;
            }
            Cleanser.CreateQSSSpellList();
            Menu = new Menu("薇恩", "VHRework", true);
            var lxMenu = new Menu("走砍", "LXOrb");

            //LXOrbwalker.AddToMenu(lxMenu);
            COrbwalker = new Orbwalking.Orbwalker(lxMenu);
            Menu.AddSubMenu(lxMenu);
            var tsMenu = new Menu("目标选择", "TargetSel");

            SimpleTs.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);
            Menu.AddSubMenu(new Menu("连招", "Combo"));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseQC", "使用Q")).SetValue(true);
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseEC", "使用E").SetValue(true));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseRC", "使用R").SetValue(false));
            Menu.SubMenu("Combo").AddItem(new MenuItem("QManaC", "Min Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("EManaC", "Min E蓝量%").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("骚扰", "Harrass"));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseQH", "使用Q")).SetValue(true);
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseEH", "使用E").SetValue(true));
            // Menu.SubMenu("Harrass").AddItem(new MenuItem("3RdE", "Try to 3rd Proc E").SetValue(true));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("QManaH", "最小Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("EManaH", "最小E蓝量%").SetValue(new Slider(20, 1, 100)));
            Menu.AddSubMenu(new Menu("补兵", "Farm"));
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLH", "使用Q补兵")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLC", "使用Q清线")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLH", "补兵Min Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLC", "清线Min Q蓝量%").SetValue(new Slider(35, 1, 100)));
            Menu.AddSubMenu(new Menu("杂项", "Misc"));
            Menu.SubMenu("Misc").AddItem(new MenuItem("Packets", "封包").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("AntiGP", "防突")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Interrupt", "打断").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("SmartQ", "先手QE").SetValue(false));
            Menu.SubMenu("Misc").AddItem(new MenuItem("ENext", "使用E").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("PushDistance", "E距离").SetValue(new Slider(425, 400, 500)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("CondemnTurret", "E进塔").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("AutoE", "自动E").SetValue(false));
            Menu.SubMenu("Misc").AddItem(new MenuItem("NoEEnT", "敌人塔下不E").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("WallTumble", "E晕人").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Press)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("ThreshLantern", "灯笼").SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press)));
            Menu.AddSubMenu(new Menu("草丛探测", "BushReveal"));
            //Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushReveal", "Bush Revealer").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushRevealer", "E进草插眼").SetValue(true));
            Menu.AddSubMenu(new Menu("物品", "Items"));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkC", "破败(连招)").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkH", "破败(骚扰)").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuC", "幽梦(连招)").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuH", "幽梦(骚扰)").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeC", "小弯刀(连招)").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeH", "小弯刀(骚扰)").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("OwnHPercBotrk", "自身HP<%使用破败").SetValue(new Slider(50, 1, 100)));
            Menu.SubMenu("Items").AddItem(new MenuItem("EnHPercBotrk", "敌人HP<%使用破败").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("水银饰带", "QSSMenu"));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("UseQSS", "使用水银饰带").SetValue(true));
            Menu.AddSubMenu(new Menu("净化选项1", "QSST"));
            Cleanser.CreateTypeQSSMenu();
            Menu.AddSubMenu(new Menu("净化选项2", "QSSSpell"));
            Cleanser.CreateQSSSpellMenu();
            Menu.AddSubMenu(new Menu("不E", "NoCondemn"));
            CreateNoCondemnMenu();

            /**
             * Menu.AddSubMenu(new Menu("[VH] AutoLeveler", "AutoLevel"));
             * Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALSeq", "AutoLevel Seq").SetValue(new StringList(new []{"Q,W,E Max W,Q,E","Q,E,W Max Q,W,E"},0)));
             * Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALAct", "AutoLevel Active").SetValue(false));
             * */
            Menu.AddSubMenu(new Menu("显示", "Draw"));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawE", "E范围").SetValue(new Circle(true, Color.MediumPurple)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawCond", "显示E晕人位置").SetValue(new Circle(true, Color.Red)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawDrake", "小龙附近穿墙").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawMid", "中路穿墙").SetValue(new Circle(true, Color.WhiteSmoke)));

            Menu.AddToMainMenu();
            Game.PrintChat("<font color='#FF0000'>VayneHunter</font> <font color='#FFFFFF'>Rework loaded!</font>");
            Game.PrintChat("By <font color='#FF0000'>DZ</font><font color='#FFFFFF'>191</font>. Special Thanks to: Kurisuu");
            Game.PrintChat("If you like my assemblies feel free to donate me (link on the forum :) )");
            //Cleanser.cleanUselessSpells();
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R);
            E.SetTargetted(0.25f, 1600f);
            Orbwalking.AfterAttack += Orbwalker_AfterAttack;
            Game.OnGameUpdate      += Game_OnGameUpdate;
            // Game.OnGameProcessPacket += GameOnOnGameProcessPacket;
            Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += Cleanser.OnCreateObj;
            GameObject.OnDelete += Cleanser.OnDeleteObj;
        }
예제 #6
0
        private void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != charName)
            {
                return;
            }
            Cleanser.CreateQSSSpellList();

            #region Menu
            Menu = new Menu("VayneHunter Rework", "VHRework", true);
            var orbMenu = new Menu("Orbwalker", "orbwalker");
            COrbwalker = new Orbwalking.Orbwalker(orbMenu);
            Menu.AddSubMenu(orbMenu);
            var tsMenu = new Menu("Target Selector", "TargetSel");
            TargetSelector.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);

            Menu.AddSubMenu(new Menu("[VH] Combo", "Combo"));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseQC", "Use Q Combo")).SetValue(true);
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseEC", "Use E Combo").SetValue(true));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseRC", "Use R Combo").SetValue(false));
            Menu.SubMenu("Combo").AddItem(new MenuItem("QManaC", "Min Q Mana %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("EManaC", "Min E Mana %").SetValue(new Slider(20, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("NEnUlt", "Only ult when x enemies").SetValue(new Slider(2, 1, 5)));

            Menu.AddSubMenu(new Menu("[VH] Harrass", "Harrass"));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseQH", "Use Q Harrass")).SetValue(true);
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseEH", "Use E Harrass").SetValue(true));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("QManaH", "Min Q Mana %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("EManaH", "Min E Mana %").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("[VH] Farm", "Farm"));
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLH", "Use Q LastHit")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLC", "Use Q Laneclear")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLH", "Min Q Mana % LH").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLC", "Min Q Mana % LC").SetValue(new Slider(35, 1, 100)));

            var MiscSubMenu = new Menu("[VH] Misc", "Misc");

            var MiscTSubMenu = new Menu("Misc - Tumble", "MiscT");
            {
                MiscTSubMenu.AddItem(new MenuItem("SmartQ", "Try to QE First").SetValue(false));
                MiscTSubMenu.AddItem(new MenuItem("NoQEn", "Don't Q into enemies").SetValue(true));
                MiscTSubMenu.AddItem(new MenuItem("NoAAStealth", "Don't AA while stealthed").SetValue(false));
                MiscTSubMenu
                .AddItem(
                    new MenuItem("WallTumble", "Tumble Over Wall").SetValue(new KeyBind("Y".ToCharArray()[0],
                                                                                        KeyBindType.Press)));
            }
            var MiscCSubMenu = new Menu("Misc - Condemn", "MiscC");
            {
                MiscCSubMenu.AddItem(new MenuItem("ENext", "E Next Auto").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
                MiscCSubMenu.AddItem(new MenuItem("PushDistance", "E Push Dist").SetValue(new Slider(425, 400, 500)));
                MiscCSubMenu.AddItem(new MenuItem("CondemnTurret", "Try to Condemn to turret").SetValue(false));
                MiscCSubMenu.AddItem(new MenuItem("CondemnFlag", "Condemn to J4 flag").SetValue(true));
                MiscCSubMenu.AddItem(new MenuItem("AutoE", "Auto E").SetValue(false));
                MiscCSubMenu.AddItem(new MenuItem("AutoEKS", "Smart E Ks").SetValue(true));
                MiscCSubMenu.AddItem(new MenuItem("NoEEnT", "No E Under enemy turret").SetValue(true));
            }
            var MiscGSubMenu = new Menu("Misc - General", "MiscG");
            {
                MiscGSubMenu.AddItem(new MenuItem("Packets", "Packet Casting").SetValue(true));
                MiscGSubMenu.AddItem(new MenuItem("AntiGP", "Anti Gapcloser")).SetValue(true);
                MiscGSubMenu.AddItem(new MenuItem("Interrupt", "Interrupter").SetValue(true));
                MiscGSubMenu
                .AddItem(new MenuItem("SpecialFocus", "Focus targets with 2 W marks").SetValue(false));
                MiscGSubMenu
                .AddItem(
                    new MenuItem("ThreshLantern", "Grab Thresh Lantern").SetValue(new KeyBind("S".ToCharArray()[0],
                                                                                              KeyBindType.Press)));
                MiscGSubMenu.AddItem(new MenuItem("UseIgn", "Use Ignite")).SetValue(true);
            }
            MiscSubMenu.AddSubMenu(MiscTSubMenu);
            MiscSubMenu.AddSubMenu(MiscCSubMenu);
            MiscSubMenu.AddSubMenu(MiscGSubMenu);
            Menu.AddSubMenu(MiscSubMenu);

            Menu.AddSubMenu(new Menu("[VH] BushRevealer", "BushReveal"));
            //Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushReveal", "Bush Revealer").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushRevealer", "Trinket bush on condemn").SetValue(true));

            Menu.AddSubMenu(new Menu("[VH] Items", "Items"));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkC", "Botrk Combo").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkH", "Botrk Harrass").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuC", "Youmuu Combo").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuH", "Youmuu Harrass").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeC", "Cutlass Combo").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeH", "Cutlass Harrass").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("OwnHPercBotrk", "Min Own H. % Botrk").SetValue(new Slider(50, 1, 100)));
            Menu.SubMenu("Items").AddItem(new MenuItem("EnHPercBotrk", "Min Enemy H. % Botrk").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("[VH] QSS", "QSSMenu"));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("UseQSS", "Use QSS").SetValue(true));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("QSSMinBuffs", "Min Buffs to QSS").SetValue(new Slider(2, 1, 5)));

            Menu.AddSubMenu(new Menu("[VH] QSS Buff Types", "QSST"));
            Cleanser.CreateTypeQSSMenu();
            Menu.AddSubMenu(new Menu("[VH] QSS Spells", "QSSSpell"));
            Cleanser.CreateQSSSpellMenu();
            Menu.AddSubMenu(new Menu("[VH] Don't Condemn", "NoCondemn"));
            CreateNoCondemnMenu();

            Menu.AddSubMenu(new Menu("[VH] AutoPot", "AutoPot"));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH", "Health Pot").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM", "Mana Pot").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH_Slider", "Health Pot %").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM_Slider", "Mana Pot %").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal", "Use Heal").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal_Slider", "Heal %").SetValue(new Slider(35, 1)));

            Menu.AddSubMenu(new Menu("[VH] AutoLeveler", "AutoLevel"));
            Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALSeq", "AutoLevel Seq").SetValue(Orders));
            Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALAct", "AutoLevel Active").SetValue(false));

            Menu.AddSubMenu(new Menu("[VH] Drawings", "Draw"));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawE", "Draw E").SetValue(new Circle(true, Color.MediumPurple)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawCond", "Draw Pos. Aft. E if Stun").SetValue(new Circle(true, Color.Red)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawDrake", "Draw Drake Spot").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawMid", "Draw Mid Spot").SetValue(new Circle(true, Color.WhiteSmoke)));

            Menu.AddToMainMenu();
            #endregion

            Game.PrintChat("<font color='#FF0000'>VayneHunter</font> <font color='#FFFFFF'>Rework loaded!</font>");
            Game.PrintChat("By <font color='#FF0000'>DZ</font><font color='#FFFFFF'>191</font>. Special Thanks to: Kurisuu & KonoeChan");
            Game.PrintChat("If you like my assemblies feel free to donate me (link on the forum :) )");

            //Cleanser.cleanUselessSpells();
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R);
            E.SetTargetted(0.25f, 1600f);
            Orbwalking.AfterAttack += Orbwalker_AfterAttack;
            Game.OnGameUpdate      += Game_OnGameUpdate;

            // Game.OnGameProcessPacket += GameOnOnGameProcessPacket;
            Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw                  += Drawing_OnDraw;
            GameObject.OnCreate             += Cleanser.OnCreateObj;
            GameObject.OnDelete             += Cleanser.OnDeleteObj;
            Menu.Item("ALAct").ValueChanged += AutoLevel_ValueChanged;

            #region AutoLeveler

            if (isMenuEnabled("ALAct") && !aLInit)
            {
                var AutoLevel_I =
                    new AutoLevel(
                        getSequence(
                            Menu.Item("ALSeq").GetValue <StringList>().SList[
                                Menu.Item("ALSeq").GetValue <StringList>().SelectedIndex]));
                aLInit = true;
            }
        }
예제 #7
0
        private void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != charName)
            {
                return;
            }
            Cleanser.CreateQSSSpellList();
            Menu = new Menu("鏆楀鐚庢墜-钖囨仼", "VHRework", true);
            var lxMenu = new Menu("璧扮爫", "LXOrb");

            //LXOrbwalker.AddToMenu(lxMenu);
            COrbwalker = new Orbwalking.Orbwalker(lxMenu);
            Menu.AddSubMenu(lxMenu);
            var tsMenu = new Menu("鐩爣閫夋嫨", "TargetSel");

            SimpleTs.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);
            Menu.AddSubMenu(new Menu("杩炴嫑", "Combo"));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseQC", "浣跨敤Q")).SetValue(true);
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseEC", "浣跨敤E").SetValue(true));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseRC", "浣跨敤R").SetValue(false));
            Menu.SubMenu("Combo").AddItem(new MenuItem("QManaC", "Min Q钃濋噺%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("EManaC", "Min E钃濋噺%").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("楠氭壈", "Harrass"));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseQH", "浣跨敤Q")).SetValue(true);
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseEH", "浣跨敤E").SetValue(true));
            // Menu.SubMenu("Harrass").AddItem(new MenuItem("3RdE", "Try to 3rd Proc E").SetValue(true));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("QManaH", "鏈€灏廞钃濋噺%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("EManaH", "鏈€灏廍钃濋噺%").SetValue(new Slider(20, 1, 100)));
            Menu.AddSubMenu(new Menu("琛ュ叺", "Farm"));
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLH", "浣跨敤Q琛ュ叺")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLC", "浣跨敤Q娓呯嚎")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLH", "琛ュ叺Min Q钃濋噺%").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLC", "娓呯嚎Min Q钃濋噺%").SetValue(new Slider(35, 1, 100)));
            Menu.AddSubMenu(new Menu("鏉傞」", "Misc"));
            Menu.SubMenu("Misc").AddItem(new MenuItem("Packets", "灏佸寘").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("AntiGP", "闃茬獊")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Interrupt", "鎵撴柇").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("SmartQ", "鍏堟墜QE").SetValue(false));
            Menu.SubMenu("Misc").AddItem(new MenuItem("ENext", "浣跨敤E").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("PushDistance", "E璺濈").SetValue(new Slider(425, 400, 500)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("CondemnTurret", "E杩涘").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("AutoE", "鑷姩E").SetValue(false));
            Menu.SubMenu("Misc").AddItem(new MenuItem("NoEEnT", "鏁屼汉濉斾笅涓岴").SetValue(true));
            Menu.SubMenu("Misc").AddItem(new MenuItem("WallTumble", "E鏅曚汉").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Press)));
            Menu.SubMenu("Misc").AddItem(new MenuItem("ThreshLantern", "鐏").SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press)));
            Menu.AddSubMenu(new Menu("鑽変笡鎺㈡祴", "BushReveal"));
            //Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushReveal", "Bush Revealer").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushRevealer", "E杩涜崏鎻掔溂").SetValue(true));
            Menu.AddSubMenu(new Menu("鐗╁搧", "Items"));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkC", "鐮磋触锛堣繛鎷涳級").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkH", "鐮磋触锛堥獨鎵帮級").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuC", "骞芥ⅵ锛堣繛鎷涳級").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuH", "骞芥ⅵ锛堥獨鎵帮級").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeC", "灏忓集鍒€锛堣繛鎷涳級").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeH", "灏忓集鍒€锛堥獨鎵帮級").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("OwnHPercBotrk", "鑷韩HP<%浣跨敤鐮磋触").SetValue(new Slider(50, 1, 100)));
            Menu.SubMenu("Items").AddItem(new MenuItem("EnHPercBotrk", "鏁屼汉HP<%浣跨敤鐮磋触").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("姘撮摱楗板甫", "QSSMenu"));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("UseQSS", "浣跨敤姘撮摱楗板甫").SetValue(true));
            Menu.AddSubMenu(new Menu("鍑€鍖栭€夐」1", "QSST"));
            Cleanser.CreateTypeQSSMenu();
            Menu.AddSubMenu(new Menu("鍑€鍖栭€夐」2", "QSSSpell"));
            Cleanser.CreateQSSSpellMenu();
            Menu.AddSubMenu(new Menu("涓岴", "NoCondemn"));
            CreateNoCondemnMenu();

            /**
             * Menu.AddSubMenu(new Menu("[VH] AutoLeveler", "AutoLevel"));
             * Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALSeq", "AutoLevel Seq").SetValue(new StringList(new []{"Q,W,E Max W,Q,E","Q,E,W Max Q,W,E"},0)));
             * Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALAct", "AutoLevel Active").SetValue(false));
             * */
            Menu.AddSubMenu(new Menu("鏄剧ず", "Draw"));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawE", "E鑼冨洿").SetValue(new Circle(true, Color.MediumPurple)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawCond", "鏄剧ずE鏅曚汉浣嶇疆").SetValue(new Circle(true, Color.Red)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawDrake", "灏忛緳闄勮繎绌垮").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawMid", "涓矾绌垮").SetValue(new Circle(true, Color.WhiteSmoke)));

            Menu.AddSubMenu(new Menu("瓒呯姹夊寲", "by welai"));
            Menu.SubMenu("by welai").AddItem(new MenuItem("qunhao", "姹夊寲缇わ細386289593"));

            Menu.AddToMainMenu();
            Game.PrintChat("<font color='#FF0000'>鏆楀鐚庢墜-钖囨仼</font> <font color='#FFFFFF'>鍔犺浇鎴愬姛!</font>");
            Game.PrintChat("By <font color='#FF0000'>DZ</font><font color='#FFFFFF'>191</font>. Special Thanks to: Kurisuu");
            Game.PrintChat("If you like my assemblies feel free to donate me (link on the forum :) )");
            //Cleanser.cleanUselessSpells();
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R);
            E.SetTargetted(0.25f, 1600f);
            Orbwalking.AfterAttack += Orbwalker_AfterAttack;
            Game.OnGameUpdate      += Game_OnGameUpdate;
            // Game.OnGameProcessPacket += GameOnOnGameProcessPacket;
            Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += Cleanser.OnCreateObj;
            GameObject.OnDelete += Cleanser.OnDeleteObj;
        }
예제 #8
0
        private void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != charName)
            {
                return;
            }
            Cleanser.CreateQSSSpellList();

            #region Menu
            Menu = new Menu("花边汉化-Vn猎人重做", "VHRework", true);
            var orbMenu = new Menu("走 砍", "orbwalker");
            COrbwalker = new Orbwalking.Orbwalker(orbMenu);
            Menu.AddSubMenu(orbMenu);
            var tsMenu = new Menu("目标 选择", "TargetSel");
            TargetSelector.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);

            Menu.AddSubMenu(new Menu("连 招", "Combo"));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseQC", "使用 Q")).SetValue(true);
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseEC", "使用 E").SetValue(true));
            Menu.SubMenu("Combo").AddItem(new MenuItem("UseRC", "使用 R").SetValue(false));
            Menu.SubMenu("Combo").AddItem(new MenuItem("QManaC", "停止 Q 丨MP<= %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("EManaC", "停止 E 丨MP<= %").SetValue(new Slider(20, 1, 100)));
            Menu.SubMenu("Combo").AddItem(new MenuItem("NEnUlt", "开启大招丨敌人数").SetValue(new Slider(2, 1, 5)));

            Menu.AddSubMenu(new Menu("骚 扰", "Harrass"));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseQH", "使用 Q")).SetValue(true);
            Menu.SubMenu("Harrass").AddItem(new MenuItem("UseEH", "使用 E").SetValue(true));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("QManaH", "停止 Q 丨Mp<= %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Harrass").AddItem(new MenuItem("EManaH", "停止 E 丨Mp<= %").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("打 钱", "Farm"));
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLH", "使用 Q丨最后一下")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("UseQLC", "使用 Q丨清线")).SetValue(true);
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLH", "停止 Q 最后一下丨Mp<= %").SetValue(new Slider(35, 1, 100)));
            Menu.SubMenu("Farm").AddItem(new MenuItem("QManaLC", "停止 Q 清线丨Mp<= %").SetValue(new Slider(35, 1, 100)));

            var MiscSubMenu = new Menu("杂 项", "Misc");

            var MiscTSubMenu = new Menu("杂项-翻滚", "MiscT");
            {
                MiscTSubMenu.AddItem(new MenuItem("SmartQ", "先用QE连招").SetValue(false));
                MiscTSubMenu.AddItem(new MenuItem("NoQEn", "不向 敌方滚动").SetValue(true));
                MiscTSubMenu.AddItem(new MenuItem("NoAAStealth", "不隐身一段时间再平A").SetValue(false));
                MiscTSubMenu
                .AddItem(
                    new MenuItem("WallTumble", "向墙边滚动").SetValue(new KeyBind("Y".ToCharArray()[0],
                                                                             KeyBindType.Press)));
            }
            var MiscCSubMenu = new Menu("杂项 - 钉墙", "MiscC");
            {
                MiscCSubMenu.AddItem(new MenuItem("ENext", "下个 自动E").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
                MiscCSubMenu.AddItem(new MenuItem("PushDistance", "E 推动 距离").SetValue(new Slider(425, 400, 500)));
                MiscCSubMenu.AddItem(new MenuItem("CondemnTurret", "尝试往塔下E").SetValue(false));
                MiscCSubMenu.AddItem(new MenuItem("CondemnFlag", "钉墙 to J4 标志").SetValue(true));
                MiscCSubMenu.AddItem(new MenuItem("AutoE", "自动 E").SetValue(false));
                MiscCSubMenu.AddItem(new MenuItem("AutoEKS", "智能 E 击杀").SetValue(true));
                MiscCSubMenu.AddItem(new MenuItem("NoEEnT", "No E Under enemy turret").SetValue(true));
            }
            var MiscGSubMenu = new Menu("杂项 - General", "MiscG");
            {
                MiscGSubMenu.AddItem(new MenuItem("Packets", "封 包").SetValue(true));
                MiscGSubMenu.AddItem(new MenuItem("AntiGP", "阻止 突进")).SetValue(true);
                MiscGSubMenu.AddItem(new MenuItem("Interrupt", "打断 法术").SetValue(true));
                MiscGSubMenu
                .AddItem(new MenuItem("SpecialFocus", "Focus targets with 2 W marks").SetValue(false));
                MiscGSubMenu
                .AddItem(
                    new MenuItem("ThreshLantern", "Grab Thresh Lantern").SetValue(new KeyBind("S".ToCharArray()[0],
                                                                                              KeyBindType.Press)));
                MiscGSubMenu.AddItem(new MenuItem("UseIgn", "使用 点燃")).SetValue(true);
            }
            MiscSubMenu.AddSubMenu(MiscTSubMenu);
            MiscSubMenu.AddSubMenu(MiscCSubMenu);
            MiscSubMenu.AddSubMenu(MiscGSubMenu);
            Menu.AddSubMenu(MiscSubMenu);

            Menu.AddSubMenu(new Menu("草丛 探测", "BushReveal"));
            //Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushReveal", "Bush Revealer").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Toggle)));
            Menu.SubMenu("BushReveal").AddItem(new MenuItem("BushRevealer", "Trinket bush on condemn").SetValue(true));

            Menu.AddSubMenu(new Menu("物 品", "Items"));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkC", "破败 连招").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BotrkH", "破败 骚扰").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuC", "幽梦 连招").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("YoumuuH", "幽梦 骚扰").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeC", "弯刀 连招").SetValue(true));
            Menu.SubMenu("Items").AddItem(new MenuItem("BilgeH", "弯刀 骚扰").SetValue(false));
            Menu.SubMenu("Items").AddItem(new MenuItem("OwnHPercBotrk", "使用破败丨自己血量").SetValue(new Slider(50, 1, 100)));
            Menu.SubMenu("Items").AddItem(new MenuItem("EnHPercBotrk", "使用破败丨敌人血量").SetValue(new Slider(20, 1, 100)));

            Menu.AddSubMenu(new Menu("水银腰带", "QSSMenu"));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("UseQSS", "使用 水银").SetValue(true));
            Menu.SubMenu("QSSMenu").AddItem(new MenuItem("QSSMinBuffs", "身上有多少个Debuff丨使用水银").SetValue(new Slider(2, 1, 5)));

            Menu.AddSubMenu(new Menu("解除状态", "QSST"));
            Cleanser.CreateTypeQSSMenu();
            Menu.AddSubMenu(new Menu("解除效果", "QSSSpell"));
            Cleanser.CreateQSSSpellMenu();
            Menu.AddSubMenu(new Menu("不E", "NoCondemn"));
            CreateNoCondemnMenu();

            Menu.AddSubMenu(new Menu("自动 嗑药", "AutoPot"));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH", "磕 红").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM", "磕 蓝").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH_Slider", "Hp<= %丨使用药水").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM_Slider", "Mp<= %丨使用药水").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal", "使用 治疗").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal_Slider", "Hp<= %丨使用治疗").SetValue(new Slider(35, 1)));

            Menu.AddSubMenu(new Menu("自动 加点", "AutoLevel"));
            Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALSeq", "顺 序").SetValue(Orders));
            Menu.SubMenu("AutoLevel").AddItem(new MenuItem("ALAct", "主 动").SetValue(false));

            Menu.AddSubMenu(new Menu("范 围", "Draw"));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawE", "E 范围").SetValue(new Circle(true, Color.MediumPurple)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawCond", "假如眩晕丨显示E位置").SetValue(new Circle(true, Color.Red)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawDrake", "显示 Drake 点").SetValue(new Circle(true, Color.WhiteSmoke)));
            Menu.SubMenu("Draw").AddItem(new MenuItem("DrawMid", "显示 中点").SetValue(new Circle(true, Color.WhiteSmoke)));

            Menu.AddToMainMenu();
            #endregion

            Game.PrintChat("<font color='#FF0000'>VayneHunter</font> <font color='#FFFFFF'>Rework loaded!</font>");
            Game.PrintChat("By <font color='#FF0000'>DZ191</font><font color='#FFFFFF'>Special Thanks to: Kurisuu & KonoeChan</font>涓ㄦ眽鍖朆y 鑺辫竟");
            Game.PrintChat("If you like my assemblies feel free to donate me (link on the forum :) )");

            //Cleanser.cleanUselessSpells();
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R);
            E.SetTargetted(0.25f, 1600f);
            Orbwalking.AfterAttack += Orbwalker_AfterAttack;
            Game.OnGameUpdate      += Game_OnGameUpdate;

            // Game.OnGameProcessPacket += GameOnOnGameProcessPacket;
            Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw                  += Drawing_OnDraw;
            GameObject.OnCreate             += Cleanser.OnCreateObj;
            GameObject.OnDelete             += Cleanser.OnDeleteObj;
            Menu.Item("ALAct").ValueChanged += AutoLevel_ValueChanged;

            #region AutoLeveler

            if (isMenuEnabled("ALAct") && !aLInit)
            {
                var AutoLevel_I =
                    new AutoLevel(
                        getSequence(
                            Menu.Item("ALSeq").GetValue <StringList>().SList[
                                Menu.Item("ALSeq").GetValue <StringList>().SelectedIndex]));
                aLInit = true;
            }
        }