Beispiel #1
0
        private static void Load(EventArgs args)
        {
            if (Player.ChampionName != "Ekko")
            {
                return;
            }
            Chat.Print("Ekko7 Loaded!", Color.Yellow);
            Chat.Print("Doctor7 Good Luck!", Color.GreenYellow);
            Q    = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, (int).25, 1700, 60);
            Q2   = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, (int).5f, 1200, 120);
            W    = new Spell.Skillshot(SpellSlot.W, 1600, SkillShotType.Circular, (int).5f, int.MaxValue, 350);
            E    = new Spell.Skillshot(SpellSlot.E, 352, SkillShotType.Linear);
            R    = new Spell.Skillshot(SpellSlot.R, 375, SkillShotType.Circular, (int).1f, int.MaxValue, 375);
            R1   = new Spell.Active(SpellSlot.R);
            Menu = MainMenu.AddMenu("Ekko7", "ekko");
            Menu.AddGroupLabel("EKKO7");
            Menu.AddSeparator();
            Menu.AddLabel("FEATURES ADDON");
            Menu.AddSeparator();
            Menu.AddLabel("Combo Settings");
            Menu.AddLabel("Harass Settings");
            Menu.AddLabel("LaneClear Settings");
            Menu.AddLabel("JungleClear Settings");
            Menu.AddLabel("Flee Settings");
            Menu.AddLabel("Ultimate Settings");
            Menu.AddLabel("Drawings Settings");
            Menu.AddLabel("KillSteal Settings");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("UseQCombo", new CheckBox("Spell [Q]"));
            ComboMenu.Add("UseECombo", new CheckBox("Spell [E]"));
            ComboMenu.Add("UseWCombo", new CheckBox("Spell [W]"));
            ComboMenu.Add("Whit", new Slider("Min W Enemies", 1, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("QHarass", new CheckBox("Spell [Q]"));
            HarassMenu.Add("WHarass", new CheckBox("Spell [W]", false));
            HarassMenu.Add("EHarass", new CheckBox("Spell [E]", false));
            HarassMenu.Add("HarassMana", new Slider("Min Mana For Harass", 50));
            HarassMenu.AddSeparator(18);
            HarassMenu.AddLabel("E Harass Settings");
            HarassMenu.Add("DontE", new Slider("Don't Use E >= Enemies", 3, 1, 5));
            HarassMenu.Add("EHP", new Slider("Dont Use E HP <= %", 20));

            ClearMenu = Menu.AddSubMenu("LaneClear Settings", "Clear Settings");
            ClearMenu.AddLabel("Lane Clear");
            ClearMenu.Add("QClear", new CheckBox("Spell [Q]"));
            ClearMenu.Add("ClearMana", new Slider("Min Mana For LaneClear", 60, 0, 100));

            JungleMenu = Menu.AddSubMenu("JungleClear Settings", "Jungle Settings");
            JungleMenu.AddLabel("Jungle Clear");
            JungleMenu.Add("QJungleClear", new CheckBox("Spell [Q]"));
            JungleMenu.Add("EJungleClear", new CheckBox("Spell [E]"));
            JungleMenu.Add("JungleMana", new Slider("Min Mana For JungleClear", 30, 0, 100));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.AddGroupLabel("Ultimate Settings");
            Misc.AddSeparator(18);
            Misc.AddLabel("Ultimate Settings");
            Misc.Add("UseRHit", new CheckBox("Use R Count", false));
            Misc.Add("RHit", new Slider("R Count Enemies >= {0}", 3, 2, 5));
            Misc.Add("R_Safe_Net2", new Slider("R If HP <= %", 25, 0, 100));
            Misc.Add("RKill", new CheckBox("R Killable", false));

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

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawW", new CheckBox("W Range", false));
            Drawings.Add("DrawE", new CheckBox("E Range", false));
            Drawings.Add("DrawR", new CheckBox("R Range"));

            AttackableUnit.OnDamage += AIHeroClient_OnDamage;
            Drawing.OnDraw          += Drawing_OnDraw;
            Game.OnUpdate           += Game_OnUpdate;
        }