コード例 #1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
           if (Player.Instance.Hero != Champion.Jhin)
            {
                return;
            }
            Teleport.OnTeleport += Teleport_OnTeleport;
            
            Indicator = new DamageIndicator();
            Healthpot = new Item(2003, 0);
            Q = new Spell.Targeted(SpellSlot.Q, 550);
            W = new Spell.Skillshot(SpellSlot.W, 3000, SkillShotType.Linear,250 , 1200, 60)
            {
                MinimumHitChance = HitChance.Medium,
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Circular, 250, 3000, 1);
            R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Cone, 250, 1200, 500);
            R1 = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Linear, 250, 1200, 60); 

            Menu = MainMenu.AddMenu("Jhin a Marksman", "JhinaMarksman");

            ComboSettings = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboSettings.Add("useQCombo", new CheckBox("Use Q"));
            ComboSettings.Add("useQEnemyCount", new Slider("Q Enemy Count >= ", 1, 1, 5));
            ComboSettings.Add("useWCombo", new CheckBox("Use W"));
            ComboSettings.Add("useWComboOnlyCC", new CheckBox("Use W Only CC", false));
            ComboSettings.Add("useECombo", new CheckBox("Use E"));
            ComboSettings.Add("useEDistance", new CheckBox("Auto E for Enemy Distance"));
            ComboSettings.Add("EMaxDistance", new Slider("Enemy Distance < ", 400, 100, 900));
            ComboSettings.Add("useRCombo", new CheckBox("Use R"));
            ComboSettings.Add("RKey", new KeyBind("Press Key to Activate Auto R", false, KeyBind.BindTypes.HoldActive, 'G'));

            HarassSettings = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassSettings.Add("useQHarass", new CheckBox("Use Q"));
            HarassSettings.Add("HarassQEnemyCount", new Slider("Q Enemy Count >= ", 1, 1, 5));
            HarassSettings.Add("useQHarassMana", new Slider("Q Mana > %", 20, 0, 100));
            HarassSettings.Add("useWHarass", new CheckBox("Use W"));
            HarassSettings.Add("useWHarassMana", new Slider("W Mana > %", 20, 0, 100));
            HarassSettings.Add("useEHarass", new CheckBox("Use E"));
            HarassSettings.Add("useEHarassMana", new Slider("E Mana > %", 35, 0, 100));
            HarassSettings.AddSeparator();
            HarassSettings.AddLabel("Auto Harass");
            HarassSettings.Add("autoQHarass", new CheckBox("Auto Q for Harass", false));
            HarassSettings.Add("autoQHarassEnemyCount", new Slider("Q Enemy Count >= ", 2, 0, 5));
            HarassSettings.Add("autoQHarassMana", new Slider("Q Mana > %", 35, 0, 100));
            HarassSettings.Add("autoWHarass", new CheckBox("Auto W for Harass", false));
            HarassSettings.Add("autoWHarassMana", new Slider("W Mana > %", 35, 0, 100));

            ClearSettings = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            ClearSettings.AddLabel("Lane Clear");
            ClearSettings.Add("useQFarm", new CheckBox("Use Q"));
            ClearSettings.Add("useQFarmCount", new Slider("Q Min. Minion Count", 3, 1, 4));
            ClearSettings.Add("FarmQMana", new Slider("Q Mana > %", 35, 0, 100));
            ClearSettings.AddSeparator();
            ClearSettings.AddLabel("Last Hit");
            ClearSettings.Add("useQLastHit", new CheckBox("Use Q Killable Minions"));
            ClearSettings.Add("LastHitQCount", new Slider("Min Minion Count >", 2, 0, 4));
            ClearSettings.Add("LastHitQMana", new Slider("Q Mana > %", 35, 0, 100));
            ClearSettings.AddSeparator();
            ClearSettings.AddLabel("Jungle Clear");
            ClearSettings.Add("useQJungle", new CheckBox("Use Q"));
            ClearSettings.Add("useQJungleMana", new Slider("Q Mana > %", 20, 0, 100));
            ClearSettings.Add("useWJungle", new CheckBox("Use W"));
            ClearSettings.Add("useWJungleMana", new Slider("W Mana > %", 20, 0, 100));
            ClearSettings.AddSeparator();
            ClearSettings.Add("RJungleSteal", new CheckBox("Jungle Steal(partially working now)",false));
            ClearSettings.AddSeparator();
            ClearSettings.AddLabel("Epics");
            ClearSettings.Add("SRU_Baron", new CheckBox("Baron"));
            ClearSettings.Add("SRU_Dragon", new CheckBox("Dragon"));
            ClearSettings.AddLabel("Buffs");
            ClearSettings.Add("SRU_Blue", new CheckBox("Blue"));
            ClearSettings.Add("SRU_Red", new CheckBox("Red"));

            AutoSettings = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            AutoSettings.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            AutoSettings.Add("interrupter", new CheckBox("Auto E for Interrupter"));
            AutoSettings.Add("CCE", new CheckBox("Auto E on Enemy CC"));
            AutoSettings.Add("UsePassive", new CheckBox("Use Passive"));
            AutoSettings.AddLabel("LaneClear,LastHit Mods 4.Passive Stacks Auto Harass to Enemy");

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

            Items = Menu.AddSubMenu("Item Settings", "ItemSettings");
            Items.Add("useHP", new CheckBox("Use Health Potion"));
            Items.Add("useHPV", new Slider("HP < %", 40, 0, 100));
            Items.AddSeparator();
            Items.Add("useBOTRK", new CheckBox("Use BOTRK"));
            Items.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            Items.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            Items.Add("useYoumu", new CheckBox("Use Youmu"));
            Items.Add("useQSS", new CheckBox("Use QSS"));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw AA Range",false));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range",false));
            DrawMenu.Add("drawStatus", new CheckBox("Draw R KeyBind"));
            DrawMenu.AddSeparator();
            DrawMenu.AddLabel("Damage Calculation");
            DrawMenu.Add("draw.Damage", new CheckBox("Draw Damage"));
            DrawMenu.Add("draw.Q", new CheckBox("Q Calculate"));
            DrawMenu.Add("draw.W", new CheckBox("W Calculate"));
            DrawMenu.Add("draw.E", new CheckBox("E Calculate"));
            DrawMenu.Add("draw.R", new CheckBox("R Calculate"));
            DrawMenu.AddSeparator();
            DrawMenu.AddLabel("Recall Tracker");
            DrawMenu.Add("draw.Recall", new CheckBox("Chat Print",false));

            Game.OnTick += Game_OnTick;
            Game.OnUpdate += OnGameUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #2
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Jhin)
            {
                return;
            }
            Teleport.OnTeleport += Teleport_OnTeleport;

            Indicator = new DamageIndicator();
            Healthpot = new Item(2003, 0);
            Q         = new Spell.Targeted(SpellSlot.Q, 550);
            W         = new Spell.Skillshot(SpellSlot.W, 3000, SkillShotType.Linear, 250, 1200, 60)
            {
                MinimumHitChance      = HitChance.Medium,
                AllowedCollisionCount = int.MaxValue
            };
            E  = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Circular, 250, 3000, 1);
            R  = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Cone, 250, 1200, 500);
            R1 = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Linear, 250, 1200, 60);

            Menu = MainMenu.AddMenu("Jhin a Marksman", "JhinaMarksman");

            ComboSettings = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboSettings.Add("useQCombo", new CheckBox("Use Q"));
            ComboSettings.Add("useQEnemyCount", new Slider("Q Enemy Count >= ", 1, 1, 5));
            ComboSettings.Add("useWCombo", new CheckBox("Use W"));
            ComboSettings.Add("useWComboOnlyCC", new CheckBox("Use W Only CC", false));
            ComboSettings.Add("useECombo", new CheckBox("Use E"));
            ComboSettings.Add("useEDistance", new CheckBox("Auto E for Enemy Distance"));
            ComboSettings.Add("EMaxDistance", new Slider("Enemy Distance < ", 400, 100, 900));
            ComboSettings.Add("useRCombo", new CheckBox("Use R"));
            ComboSettings.Add("RKey", new KeyBind("Press Key to Activate Auto R", false, KeyBind.BindTypes.HoldActive, 'G'));

            HarassSettings = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassSettings.Add("useQHarass", new CheckBox("Use Q"));
            HarassSettings.Add("HarassQEnemyCount", new Slider("Q Enemy Count >= ", 1, 1, 5));
            HarassSettings.Add("useQHarassMana", new Slider("Q Mana > %", 20, 0, 100));
            HarassSettings.Add("useWHarass", new CheckBox("Use W"));
            HarassSettings.Add("useWHarassMana", new Slider("W Mana > %", 20, 0, 100));
            HarassSettings.Add("useEHarass", new CheckBox("Use E"));
            HarassSettings.Add("useEHarassMana", new Slider("E Mana > %", 35, 0, 100));
            HarassSettings.AddSeparator();
            HarassSettings.AddLabel("Auto Harass");
            HarassSettings.Add("autoQHarass", new CheckBox("Auto Q for Harass", false));
            HarassSettings.Add("autoQHarassEnemyCount", new Slider("Q Enemy Count >= ", 2, 0, 5));
            HarassSettings.Add("autoQHarassMana", new Slider("Q Mana > %", 35, 0, 100));
            HarassSettings.Add("autoWHarass", new CheckBox("Auto W for Harass", false));
            HarassSettings.Add("autoWHarassMana", new Slider("W Mana > %", 35, 0, 100));

            ClearSettings = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            ClearSettings.AddLabel("Lane Clear");
            ClearSettings.Add("useQFarm", new CheckBox("Use Q"));
            ClearSettings.Add("useQFarmCount", new Slider("Q Min. Minion Count", 3, 1, 4));
            ClearSettings.Add("FarmQMana", new Slider("Q Mana > %", 35, 0, 100));
            ClearSettings.AddSeparator();
            ClearSettings.AddLabel("Last Hit");
            ClearSettings.Add("useQLastHit", new CheckBox("Use Q Killable Minions"));
            ClearSettings.Add("LastHitQCount", new Slider("Min Minion Count >", 2, 0, 4));
            ClearSettings.Add("LastHitQMana", new Slider("Q Mana > %", 35, 0, 100));
            ClearSettings.AddSeparator();
            ClearSettings.AddLabel("Jungle Clear");
            ClearSettings.Add("useQJungle", new CheckBox("Use Q"));
            ClearSettings.Add("useQJungleMana", new Slider("Q Mana > %", 20, 0, 100));
            ClearSettings.Add("useWJungle", new CheckBox("Use W"));
            ClearSettings.Add("useWJungleMana", new Slider("W Mana > %", 20, 0, 100));
            ClearSettings.AddSeparator();
            ClearSettings.Add("RJungleSteal", new CheckBox("Jungle Steal(partially working now)", false));
            ClearSettings.AddSeparator();
            ClearSettings.AddLabel("Epics");
            ClearSettings.Add("SRU_Baron", new CheckBox("Baron"));
            ClearSettings.Add("SRU_Dragon", new CheckBox("Dragon"));
            ClearSettings.AddLabel("Buffs");
            ClearSettings.Add("SRU_Blue", new CheckBox("Blue"));
            ClearSettings.Add("SRU_Red", new CheckBox("Red"));

            AutoSettings = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            AutoSettings.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            AutoSettings.Add("interrupter", new CheckBox("Auto E for Interrupter"));
            AutoSettings.Add("CCE", new CheckBox("Auto E on Enemy CC"));
            AutoSettings.Add("UsePassive", new CheckBox("Use Passive"));
            AutoSettings.AddLabel("LaneClear,LastHit Mods 4.Passive Stacks Auto Harass to Enemy");

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

            Items = Menu.AddSubMenu("Item Settings", "ItemSettings");
            Items.Add("useHP", new CheckBox("Use Health Potion"));
            Items.Add("useHPV", new Slider("HP < %", 40, 0, 100));
            Items.AddSeparator();
            Items.Add("useBOTRK", new CheckBox("Use BOTRK"));
            Items.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            Items.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            Items.Add("useYoumu", new CheckBox("Use Youmu"));
            Items.Add("useQSS", new CheckBox("Use QSS"));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw AA Range", false));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range", false));
            DrawMenu.Add("drawStatus", new CheckBox("Draw R KeyBind"));
            DrawMenu.AddSeparator();
            DrawMenu.AddLabel("Damage Calculation");
            DrawMenu.Add("draw.Damage", new CheckBox("Draw Damage"));
            DrawMenu.Add("draw.Q", new CheckBox("Q Calculate"));
            DrawMenu.Add("draw.W", new CheckBox("W Calculate"));
            DrawMenu.Add("draw.E", new CheckBox("E Calculate"));
            DrawMenu.Add("draw.R", new CheckBox("R Calculate"));
            DrawMenu.AddSeparator();
            DrawMenu.AddLabel("Recall Tracker");
            DrawMenu.Add("draw.Recall", new CheckBox("Chat Print", false));

            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
        }