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); } } } }
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); } } }
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); } }