Exemplo n.º 1
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != "Tryndamere")
                return;

            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 400f);
            E = new Spell(SpellSlot.E, 660f);
            R = new Spell(SpellSlot.R);

            E.SetSkillshot(0f, 93f, 600, false, SkillshotType.SkillshotLine);

            Menu = new Menu(Player.ChampionName, Player.ChampionName, true);
            Menu orbwalkerMenu = Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker"));
            Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu);
            Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); ;
            TargetSelector.AddToMenu(ts);
            Menu spellMenu = Menu.AddSubMenu(new Menu("Spells", "Spells"));

            spellMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true));
            spellMenu.AddItem(new MenuItem("qBelow", "Q below % hp").SetValue(new Slider(20, 0, 95)));
            spellMenu.AddItem(new MenuItem("useW", "Use W").SetValue(true));
            spellMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true));

            Menu fleeMenu = Menu.AddSubMenu(new Menu("Flee", "Run Nigger"));
            fleeMenu.AddItem(new MenuItem("useEFlee", "Use E")).SetValue(new KeyBind('Z', KeyBindType.Press));
            Menu.AddToMainMenu();
            dHandler = new damageHandler();
            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate += Game_OnGameUpdate;
            Game.PrintChat("I'm a DK");
        }
Exemplo n.º 2
0
        static void Game_OnGameLoad(EventArgs args)
        {
            _myMenu = new menuHandler();
            _q.SetSkillshot(1,2q13);
            _q = new Spell(SpellSlot.Q, 340f);
            _w = new Spell(SpellSlot.W, 800);
            _e = new Spell(SpellSlot.E, 500f);
            _r = new Spell(SpellSlot.R, 550f);
            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(ally => ally.IsAlly && ally.IsChampion()))
            {
                allys.Add(ally);
            }
            dHandler = new damageHandler(allys);

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnEndScene += Drawing_OnEndScene;
            Orbwalking.OnAttack += Orbwalking_OnAttack;
            Console.WriteLine("GentleMen Kindred Loaded by Kito & XcxooxL");
        }