Example #1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (ObjectManager.Player.ChampionName != "DrMundo")
            {
                return;
            }

            _q = new Spell.Skillshot(SpellSlot.Q, 1000, EloBuddy.SDK.Enumerations.SkillShotType.Linear, 250, 1850, 60)
            {
                MinimumHitChance = EloBuddy.SDK.Enumerations.HitChance.High
            };
            _q.AllowedCollisionCount = 0;

            _w = new Spell.Active(SpellSlot.W, 325);

            _e = new Spell.Active(SpellSlot.E, 150);

            _r = new Spell.Active(SpellSlot.R);

            Menu = MainMenu.AddMenu("Dr.Mundo", "Ten Percent Dr.Mundo".ToLower(), "Ten Percent Dr.Mundo");
            Menu.AddLabel("Gangnam");
            Menu.AddLabel("Ten Percent Dr.Mundo Ver 0.0.0.91 (Beta)");
            Menu.AddLabel("Last Update 2016.03.20");
            Menu.AddLabel("Plz give me Many FeedBack :)");
            Menu.AddLabel("Change Log");
            Menu.AddLabel("0.0.0.9  - Release");
            Menu.AddLabel("0.0.0.91 - Auto Harass Added");

            CMenu = Menu.AddSubMenu("Combo", "CMenu");
            CMenu.Add("CQ", new CheckBox("Use Q"));
            CMenu.Add("CW", new CheckBox("Use W"));
            CMenu.Add("CE", new CheckBox("Use E"));
            CMenu.Add("CR", new CheckBox("Use R", false));
            CMenu.Add("CH", new Slider("R If HP", 30, 0, 100));
            CMenu.AddSeparator();

            HMenu = Menu.AddSubMenu("Harass", "HMenu");
            HMenu.Add("HQ", new CheckBox("Use Q"));
            HMenu.Add("HW", new CheckBox("Use W"));
            HMenu.Add("HE", new CheckBox("Use E"));
            HMenu.Add("HA", new CheckBox("Auto Harass Q", false));
            HMenu.AddSeparator();

            LCMenu = Menu.AddSubMenu("LaneClear", "LCMenu");
            LCMenu.Add("LCQ", new CheckBox("Use Q"));
            LCMenu.Add("LCW", new CheckBox("Use W", false));
            LCMenu.Add("LCE", new CheckBox("Use E"));
            LCMenu.AddSeparator();

            JCMenu = Menu.AddSubMenu("JungleClear", "JCMenu");
            JCMenu.Add("JCQ", new CheckBox("Use Q"));
            JCMenu.Add("JCW", new CheckBox("Use W", false));
            JCMenu.Add("JCE", new CheckBox("Use E"));
            JCMenu.AddSeparator();

            MMenu = Menu.AddSubMenu("Misc", "MMenu");
            MMenu.Add("MO", new Slider("Auto W Off If HP", 10, 0, 100));
            MMenu.Add("MA", new CheckBox("Smart W Logic"));
            MMenu.AddSeparator();

            DMenu = Menu.AddSubMenu("Drawing", "DMenu");
            DMenu.Add("DO", new CheckBox("Disable Drawings", false));
            DMenu.Add("DQ", new CheckBox("Draw Q Range"));
            DMenu.Add("DW", new CheckBox("Draw W Range"));
            DMenu.Add("DH", new CheckBox("Draw HP"));
            DMenu.AddSeparator();

            Menu.AddSeparator();

            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Drawing.OnDraw         += Drawing_OnDraw;
        }