Beispiel #1
0
 public static void Load(CommonChampion akali)
 {
     HarasMenu(akali);
     LaneClearMenu(akali);
     ComboMenu(akali);
     OptionsMenu(akali);
 }
Beispiel #2
0
 public static void Load(CommonChampion champion)
 {
     LoadLaneClearMenu(champion);
     LoadMiscMenu(champion);
     LoadComboMenu(champion);
     LoadHarasMenu(champion);
 }
Beispiel #3
0
        public Drawing(CommonChampion champion)
        {
            this.champion = champion;
            spells = champion.Spells;

            LeagueSharp.Drawing.OnDraw += DrawRanges;
        }
Beispiel #4
0
 public static void Load(CommonChampion vladimir)
 {
     HarasMenu(vladimir);
     LaneClearMenu(vladimir);
     ComboMenu(vladimir);
     OptionsMenu(vladimir);
 }
Beispiel #5
0
 public static void Load(CommonChampion lucian)
 {
     if (KoreanUtils.GetParamKeyBind(lucian.MainMenu, "toggleextendedq"))
     {
         Game.OnUpdate += AutoExtendedQ;
     }
 }
Beispiel #6
0
        private static bool ExtendedQIsReady(CommonChampion lucian, bool laneclear = false)
        {
            Spell q = lucian.Spells.Q;

            if (!KoreanUtils.GetParamBool(lucian.MainMenu, "extendedq") || !q.IsReady())
            {
                return false;
            }

            List<Obj_AI_Base> minions = MinionManager.GetMinions(AdvancedQ.Range);

            if (minions.Count == 0)
            {
                return false;
            }

            if (!laneclear)
            {
                if (lucian.Player.CountEnemiesInRange(AdvancedQ.Range) == 0)
                {
                    return false;
                }
            }

            return true;
        }
Beispiel #7
0
        public SmartE(CommonChampion champion)
        {
            E = champion.Spells.E;
            this.champion = champion;

            Orbwalking.BeforeAttack += SmartUse;
        }
Beispiel #8
0
        private static void LoadOptionsMenu(CommonChampion champion)
        {
            CommonMenu mainMenu = champion.MainMenu;

            Menu flashUlt = mainMenu.MiscMenu.AddSubMenu(new Menu("Flash + Ult (If killable)", "flashultmenu"));

            flashUlt.AddItem(
                new MenuItem(KoreanUtils.ParamName(mainMenu, "flashult"), "Key").SetValue(
                    new KeyBind('T', KeyBindType.Press)));
            flashUlt.AddItem(
                new MenuItem(KoreanUtils.ParamName(mainMenu, "orbwalktoflashult"), "Orbwalk").SetValue(true));

            MenuItem autoStackPassive = mainMenu.MiscMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(mainMenu, "autostackpassive"), "Auto stack passive").SetValue(true));

            autoStackPassive.ValueChanged += delegate(object sender, OnValueChangeEventArgs e)
            {
                if (e.GetNewValue<bool>())
                {
                    Orbwalking.BeforeAttack += ((ChoGath)champion).stackPassive.StackR;
                }
                else
                {
                    Orbwalking.BeforeAttack -= ((ChoGath)champion).stackPassive.StackR;
                }
            };

            //mainMenu.MiscMenu.AddItem(
            //    new MenuItem(KoreanUtils.ParamName(mainMenu, "koreanprediction"), "Use korean prediction").SetValue(true));
        }
Beispiel #9
0
        public CancelAA(CommonChampion champion)
        {
            R = champion.Spells.R;
            this.champion = champion;

            Orbwalking.BeforeAttack += CancelingAA;
        }
Beispiel #10
0
        private static void ComboMenu(CommonChampion akali)
        {
            var menu = akali.MainMenu;

            menu.ComboMenu.Items.Remove(KoreanUtils.GetParam(menu, "minenemiestor"));
            menu.ComboMenu.Items.Remove(KoreanUtils.GetParam(menu, "disableaa"));
        }
Beispiel #11
0
        private static void HarasMenu(CommonChampion vladimir)
        {
            var menu = vladimir.MainMenu;

            menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "manalimittoharas"));
            KoreanUtils.GetParam(menu, "usewtoharas").SetValue(false);
            menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "usewtoharas"));
        }
Beispiel #12
0
        private static bool CheckHaras(CommonChampion lucian, Obj_AI_Hero target)
        {
            if (target == null)
            {
                return false;
            }

            return KoreanUtils.GetParamBool(lucian.MainMenu, target.ChampionName.ToLowerInvariant());
        }
Beispiel #13
0
        public StackPassive(CommonChampion champion)
        {
            R = champion.Spells.R;
            this.champion = champion;

            if (KoreanUtils.GetParamBool(champion.MainMenu, "autostackpassive"))
            {
                Orbwalking.BeforeAttack += StackR;
            }
        }
Beispiel #14
0
        private static void LoadComboMenu(CommonChampion champion)
        {
            Menu menu = champion.MainMenu.ComboMenu;

            MenuItem useRToCombo = menu.Item(KoreanUtils.ParamName(champion.MainMenu, "usertocombo"));
            useRToCombo.SetValue(false);
            menu.Items.Remove(useRToCombo);

            menu.Items.Remove(menu.Item(KoreanUtils.ParamName(champion.MainMenu, "minenemiestor")));
        }
Beispiel #15
0
        static private void LoadLaneClear(CommonChampion champion)
        {
            CommonMenu mainMenu = champion.MainMenu;

            mainMenu.LaneClearMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(mainMenu, "minminionstoq"), "Q must hit at least").SetValue(
                    new Slider(6, 1, 6)));
            mainMenu.LaneClearMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(mainMenu, "minminionstow"), "W must hit at least").SetValue(
                    new Slider(6, 1, 6)));
        }
        public CommonOrbwalkComplementation(CommonChampion champion)
        {
            this.champion = champion;
            spells = champion.Spells;
            Q = champion.Spells.Q;
            W = champion.Spells.W;
            E = champion.Spells.E;
            R = champion.Spells.R;
            RFlash = champion.Spells.RFlash;

            Game.OnUpdate += UseSkills;
        }
Beispiel #17
0
        public CommonCore(CommonChampion champion)
        {
            this.champion = champion;
            spells = champion.Spells;
            Q = champion.Spells.Q;
            W = champion.Spells.W;
            E = champion.Spells.E;
            R = champion.Spells.R;
            RFlash = champion.Spells.RFlash;

            Game.OnUpdate += UseSkills;
        }
Beispiel #18
0
        private static void HarasMenu(CommonChampion akali)
        {
            var menu = akali.MainMenu;

            menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "usewtoharas"));
            menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "manalimittoharas"));

            menu.HarasMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "minenergytoharas"), "Min energy to haras").SetValue(
                    new Slider(60, 0, 100)));

        }
Beispiel #19
0
        private static void LaneClearMenu(CommonChampion vladimir)
        {
            var menu = vladimir.MainMenu;

            menu.LaneClearMenu.Items.Remove(KoreanUtils.GetParam(menu, "manalimittolaneclear"));

            menu.LaneClearMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "saveqtofarm"), "Save Q to last hit").SetValue(true));

            menu.LaneClearMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "minminionstoe"), "Use E if will hit x minions").SetValue(
                    new Slider(6, 1, 10)));
        }
Beispiel #20
0
        public KillSteal(CommonChampion champion)
        {
            orbwalker = champion.Orbwalker;
            player = champion.Player;
            e = champion.Spells.E;
            w = champion.Spells.W;
            aaRange = Orbwalking.GetRealAutoAttackRange(champion.Player);
            aaDamage = target => (float)champion.Player.GetAutoAttackDamage(target);

            if (KoreanUtils.GetParamBool(champion.MainMenu, "killsteal"))
            {
                Game.OnUpdate += KS;
            }
        }
Beispiel #21
0
        private static void LoadHarasMenu(CommonChampion champion)
        {
            Menu menu = champion.MainMenu.HarasMenu;

            Menu subMenuChampions =
                menu.AddSubMenu(new Menu("Targets", KoreanUtils.ParamName(champion.MainMenu, "harastargets")));

            foreach (Obj_AI_Hero enemy in HeroManager.Enemies)
            {
                subMenuChampions.AddItem(
                    new MenuItem(
                        KoreanUtils.ParamName(champion.MainMenu, enemy.ChampionName.ToLowerInvariant()),
                        enemy.ChampionName).SetValue(true));
            }
        }
Beispiel #22
0
        public static void Load(CommonChampion champion)
        {
            CommonSpell Q = new CommonSpell(SpellSlot.Q, 950, TargetSelector.DamageType.Magical);
            CommonSpell W = new CommonSpell(SpellSlot.W, 625, TargetSelector.DamageType.Magical);
            CommonSpell E = new CommonSpell(SpellSlot.E, 0, TargetSelector.DamageType.Magical);
            CommonSpell R = new CommonSpell(SpellSlot.R, 175, TargetSelector.DamageType.Magical);

            Q.SetSkillshot(0.75f, 200f, 450f, false, SkillshotType.SkillshotCircle);
            W.SetSkillshot(0.25f, 250f, float.MaxValue, false, SkillshotType.SkillshotCone);

            champion.Spells.AddSpell(Q);
            champion.Spells.AddSpell(W);
            champion.Spells.AddSpell(E);
            champion.Spells.AddSpell(R);
        }
Beispiel #23
0
        public static void Load(CommonChampion akali)
        {
            var Q = new CommonSpell(SpellSlot.Q, 600f, TargetSelector.DamageType.Magical);
            var W = new CommonSpell(SpellSlot.W, 0f, TargetSelector.DamageType.Magical);
            var E = new CommonSpell(SpellSlot.E, 610f, TargetSelector.DamageType.Magical);
            var R = new CommonSpell(SpellSlot.R, 625f, TargetSelector.DamageType.Magical);

            Q.SetTargetted(0.300f, 2500f);
            R.SetSkillshot(0.2f, 175f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            akali.Spells.AddSpell(Q);
            akali.Spells.AddSpell(W);
            akali.Spells.AddSpell(E);
            akali.Spells.AddSpell(R);
        }
Beispiel #24
0
        public static void Load(CommonChampion akali)
        {
            var Q = new CommonSpell(SpellSlot.Q, 580f, TargetSelector.DamageType.Magical);
            var W = new CommonSpell(SpellSlot.W, 680f, TargetSelector.DamageType.Magical);
            var E = new CommonSpell(SpellSlot.E, 295f, TargetSelector.DamageType.Physical);
            var R = new CommonSpell(SpellSlot.R, 680f, TargetSelector.DamageType.Magical);

            Q.SetTargetted(0.317f, 1000f);
            R.SetTargetted(0.1f, float.MaxValue);

            akali.Spells.AddSpell(Q);
            akali.Spells.AddSpell(W);
            akali.Spells.AddSpell(E);
            akali.Spells.AddSpell(R);
        }
Beispiel #25
0
        private static void LoadLaneClearMenu(CommonChampion champion)
        {
            Menu menu = champion.MainMenu.LaneClearMenu;

            menu.AddItem(
                new MenuItem(KoreanUtils.ParamName(champion.MainMenu, "qcounthit"), "Q must hit").SetValue(
                    new Slider(3, 0, 6)));

            menu.AddItem(
                new MenuItem(KoreanUtils.ParamName(champion.MainMenu, "wcounthit"), "W must hit").SetValue(
                    new Slider(2, 0, 6)));

            MenuItem harasOnLaneClear = menu.Item(KoreanUtils.ParamName(champion.MainMenu, "harasonlaneclear"));
            menu.Items.Remove(harasOnLaneClear);
            menu.Items.Add(harasOnLaneClear);
        }
Beispiel #26
0
        public static void Load(CommonChampion champion)
        {
            lucian = champion;

            CommonSpell Q = new CommonSpell(SpellSlot.Q, 675, TargetSelector.DamageType.Physical);
            CommonSpell W = new CommonSpell(SpellSlot.W, 1000, TargetSelector.DamageType.Magical);
            CommonSpell E = new CommonSpell(SpellSlot.E, 425, TargetSelector.DamageType.Physical);
            CommonSpell R = new CommonSpell(SpellSlot.R, 1400, TargetSelector.DamageType.Physical);

            Q.SetTargetted(0.25f, float.MaxValue);
            W.SetSkillshot(0.4f, 150f, 1600, true, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 1f, float.MaxValue, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);

            champion.Spells.AddSpell(Q);
            champion.Spells.AddSpell(W);
            champion.Spells.AddSpell(E);
            champion.Spells.AddSpell(R);
        }
Beispiel #27
0
        private static void OptionsMenu(CommonChampion akali)
        {
            var menu = akali.MainMenu;

            menu.MiscMenu.AddItem(new MenuItem(KoreanUtils.ParamName(menu, "useqtofarm"), "Use Q to farm").SetValue(true));

            var useItemsMenu = menu.MiscMenu.AddSubMenu(new Menu("Use items", "useitemsoncombo"));

            useItemsMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "offensiveitemslabel"), "Offensive Items"));

            useItemsMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "usebilgewatercutlass"), "Bilgewater Cutlass").SetValue(true));

            useItemsMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "usehextechgunblade"), "Hextech Gunblade").SetValue(true));

            useItemsMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "usebotrk"), "Blade of the Ruined King").SetValue(true));
        }
Beispiel #28
0
        private static void OptionsMenu(CommonChampion vladimir)
        {
            var menu = vladimir.MainMenu;

            menu.MiscMenu.AddItem(new MenuItem(KoreanUtils.ParamName(menu, "useqtofarm"), "Use Q to farm").SetValue(true));

            var autoStackMenu = menu.MiscMenu.AddSubMenu(new Menu("Auto stack E", "autostackemenu"));

            autoStackMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "autostackeactive"), "Active").SetValue(true));

            autoStackMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "autostackelimit"), "% Health limit").SetValue(new Slider(80, 0,
                    100)));

            autoStackMenu.AddItem(
                new MenuItem(KoreanUtils.ParamName(menu, "autostackehealthregen"),
                    "Health regen per 5sec to start stackin ").SetValue(new Slider(15, 10, 30)));

            menu.MiscMenu.AddItem(new MenuItem(KoreanUtils.ParamName(menu, "antigapcloser"), "Anti GapCloser").SetValue(true));
        }
        public CommonForceUltimate(CommonChampion champion)
        {
            this.champion = champion;

            mouseImage1 = new Render.Sprite(Resources.Mouse1, new Vector2(0, 0));
            mouseImage1.Scale = new Vector2(0.50f, 0.50f);
            mouseImage1.Add();

            mouseImage2 = new Render.Sprite(Resources.Mouse2, new Vector2(0, 0));
            mouseImage2.Scale = new Vector2(0.50f, 0.50f);
            mouseImage2.Add();

            denyMouseImage = new Render.Sprite(Resources.DenyMouse, new Vector2(0, 0));
            denyMouseImage.Scale = new Vector2(0.50f, 0.50f);
            denyMouseImage.Add();
            denyMouseImage.Visible = false;

            Text.Add();
            Text.Visible = false;

            Game.OnWndProc += CheckMouseButtons;
            Game.OnUpdate += ShowAnimation;
        }
Beispiel #30
0
        static private void LoadHarasMenu(CommonChampion champion)
        {
            CommonMenu mainMenu = champion.MainMenu;

            mainMenu.HarasMenu.Items.Remove(KoreanUtils.GetParam(mainMenu, "useetoharas"));
        }