예제 #1
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            //Verify Champion
            if (Player.ChampionName != "Twitch")
            {
                return;
            }

            //Spells
            q = new Spell(SpellSlot.Q);
            w = new Spell(SpellSlot.W, 950);
            w.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle);
            e      = new Spell(SpellSlot.E, 1200);
            recall = new Spell(SpellSlot.Recall);

            //Menu instance
            config = new Menu("Twitch", "Twitch", true);

            //Orbwalker
            orbwalker = new Orbwalking.Orbwalker(config.SubMenu("Orbwalking"));

            //Targetsleector
            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");

            TargetSelector.AddToMenu(targetSelectorMenu);
            config.AddSubMenu(targetSelectorMenu);

            //Combo
            config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true));
            config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true));
            config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true));

            //Misc
            config.SubMenu("Misc").AddItem(new MenuItem("Emobs", "Kill mobs with E").SetValue(new StringList(new[] { "Baron + Dragon + Siege Minion", "Baron + Dragon", "None" })));
            config.SubMenu("Misc").AddItem(new MenuItem("stealthrecall", "Stealth Recall", true).SetValue(new KeyBind('T', KeyBindType.Press)));
            config.SubMenu("Misc").AddItem(new MenuItem("blueTrinket", "Buy Blue Trinket").SetValue(true));

            //Items
            config.SubMenu("Items").AddItem(new MenuItem("bladeBoss", "BotRK").SetValue(true));
            config.SubMenu("Items").AddItem(new MenuItem("ghostBoss", "Ghostblade").SetValue(true));

            //Drawings
            config.SubMenu("Drawing").AddItem(new MenuItem("EDamage", "E Damage").SetValue(new Circle(true, Color.Green)));

            //Attach to root
            config.AddToMainMenu();

            // Enable E damage indicators
            CustomDamageIndicator.Initialize(GetDamage);

            //Listen to events
            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
예제 #2
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            //Verify Champion
            if (Player.ChampionName != "Twitch")
            {
                return;
            }

            //Spells
            _w = new Spell(SpellSlot.W, 950);
            _w.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle);
            _e = new Spell(SpellSlot.E, 1200);

            //Menu instance
            _config = new Menu("Twitch", "Twitch", true);

            //Orbwalker
            _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking"));

            //Targetsleector
            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");

            TargetSelector.AddToMenu(targetSelectorMenu);
            _config.AddSubMenu(targetSelectorMenu);

            //Combo
            _config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true));

            //Misc
            _config.SubMenu("Misc").AddItem(new MenuItem("blueTrinket", "Buy Blue Trinket on Level 6").SetValue(true));
            _config.SubMenu("Misc").AddItem(new MenuItem("EKillsteal", "Killsteal with E").SetValue(true));
            _config.SubMenu("Misc").AddItem(new MenuItem("EDamage", "E damage on healthbar").SetValue(new Circle(true, Color.Green)));
            _config.SubMenu("Misc").AddItem(new MenuItem("Emobs", "Kill mobs with E").SetValue(new StringList(new [] { "Baron + Dragon + Siege Minion", "Baron + Dragon", "None" })));

            //Attach to root
            _config.AddToMainMenu();

            // Enable E damage indicators
            CustomDamageIndicator.Initialize(GetDamage);

            //Listen to events
            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }