Exemple #1
0
        public static void OnCombo()
        {
            if (Spells.SkaarlQ.IsReady() && Utilities.Enabled("skaarl.q.combo") && Utilities.IsSkaarl())
            {
                foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.SkaarlQ.Range)))
                {
                    Spells.Q.HikiCast(enemy, Utilities.HikiChance("hitchance"), "prediction", Menus.Config);
                }
            }

            if (Spells.Q.IsReady() && Utilities.Enabled("q.combo") && Utilities.IsKled())
            {
                foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.Q.Range)))
                {
                    Spells.Q.HikiCast(enemy, Utilities.HikiChance("hitchance"), "prediction", Menus.Config);
                }
            }

            if (Spells.E.IsReady() && Utilities.Enabled("e.combo") && Utilities.IsSkaarl())
            {
                foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.SkaarlQ.Range)))
                {
                    if (Menus.Config.Item("e.mode").GetValue <StringList>().SelectedIndex == 0)
                    {
                        Utilities.ECast(enemy);
                    }
                    else
                    {
                        Spells.E.Cast(Game.CursorPos);
                    }
                }
            }
        }
Exemple #2
0
        private static void OnMixed()
        {
            if (Spells.SkaarlQ.IsReady() && Utilities.Enabled("skaarl.q.harass") && Utilities.IsSkaarl())
            {
                foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.SkaarlQ.Range)))
                {
                    Spells.Q.HikiCast(enemy, Utilities.HikiChance("hitchance"), "prediction", Menus.Config);
                }
            }

            if (Spells.Q.IsReady() && Utilities.Enabled("q.harass") && Utilities.IsKled())
            {
                foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.Q.Range)))
                {
                    Spells.Q.HikiCast(enemy, Utilities.HikiChance("hitchance"), "prediction", Menus.Config);
                }
            }
        }
Exemple #3
0
        private static void OnClear()
        {
            if (Spells.Q.IsReady() && Utilities.Enabled("q.clear") && Utilities.IsKled())
            {
                var minions = MinionManager.GetMinions(ObjectManager.Player.Position, Spells.Q.Range, MinionTypes.All,
                                                       MinionTeam.NotAlly);

                var minioncount = Spells.Q.GetLineFarmLocation(minions);
                if (minions == null || minions.Count == 0)
                {
                    return;
                }

                if (minioncount.MinionsHit >= Utilities.Slider("min.count"))
                {
                    Spells.Q.Cast(minioncount.Position);
                }
            }
        }
Exemple #4
0
        private static void OnJungle()
        {
            var mob = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, Orbwalking.GetRealAutoAttackRange(ObjectManager.Player) + 100, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (mob == null || mob.Count == 0)
            {
                return;
            }

            if (Spells.Q.IsReady() && Utilities.Enabled("q.jungle") && Utilities.IsKled())
            {
                Spells.Q.Cast(mob[0].Position);
            }

            if (Spells.SkaarlQ.IsReady() && Utilities.Enabled("q.skaarl.jungle") && Utilities.IsSkaarl())
            {
                Spells.SkaarlQ.Cast(mob[0].Position);
            }

            if (Spells.E.IsReady() && Utilities.Enabled("e.jungle") && Utilities.IsSkaarl())
            {
                Spells.E.Cast(mob[0].Position);
            }
        }