internal static void Jungle() { foreach ( var minion in ObjectManager.Get <Obj_AI_Minion>() .Where(x => ES.MinionList.Any(y => x.Name.StartsWith(y) && !x.Name.Contains("Mini")))) { if (minion.IsValidTarget(850)) { CM.CastJavelin(minion, "jg"); CM.CastBushwack(minion, "jg"); CM.CastTakedown(minion, "jg"); CM.CastPounce(minion, "jg"); CM.CastSwipe(minion, "jg"); CM.SwitchForm(minion, "jg"); return; } } foreach (var minion in ObjectManager.Get <Obj_AI_Minion>().Where(x => !x.IsMinion)) { if (minion.IsValidTarget(850)) { CM.CastJavelin(minion, "jg"); CM.CastBushwack(minion, "jg"); CM.CastTakedown(minion, "jg"); CM.CastPounce(minion, "jg"); CM.CastSwipe(minion, "jg"); CM.SwitchForm(minion, "jg"); } } }
internal static void Harass() { CM.CastJavelin(TargetSelector.GetTarget(ES.Spells["Javelin"].Range, TargetSelector.DamageType.Magical), "ha"); CM.CastTakedown(TargetSelector.GetTarget(ES.Spells["Takedown"].Range, TargetSelector.DamageType.Magical), "ha"); CM.CastSwipe(TargetSelector.GetTarget(ES.Spells["Swipe"].Range, TargetSelector.DamageType.Magical), "ha"); CM.SwitchForm(TargetSelector.GetTarget(ES.Spells["Javelin"].Range, TargetSelector.DamageType.Magical), "ha"); }
internal static void Combo() { CM.CastJavelin(TargetSelector.GetTarget(ES.Spells["Javelin"].Range, TargetSelector.DamageType.Magical), "co"); CM.CastBushwack(TargetSelector.GetTarget(ES.Spells["Bushwhack"].Range, TargetSelector.DamageType.Magical), "co"); CM.CastTakedown(TargetSelector.GetTarget(ES.Spells["Takedown"].Range, TargetSelector.DamageType.Magical), "co"); CM.CastPounce(TargetSelector.GetTarget(ES.Spells["ExPounce"].Range, TargetSelector.DamageType.Magical), "co"); CM.CastSwipe(TargetSelector.GetTarget(ES.Spells["Swipe"].Range, TargetSelector.DamageType.Magical), "co"); CM.SwitchForm(TargetSelector.GetTarget(ES.Spells["Javelin"].Range, TargetSelector.DamageType.Magical), "co"); }
internal static void WaveClear() { foreach ( var minion in ES.MinionCache.Values.Where( x => x.IsMinion && x.IsValid && x.Distance(Player.ServerPosition) <= 850)) { CM.CastJavelin(minion, "wc"); CM.CastBushwack(minion, "wc"); CM.CastTakedown(minion, "wc"); CM.CastPounce(minion, "wc"); CM.CastSwipe(minion, "wc"); CM.SwitchForm(minion, "wc"); } }
internal static void SmiteOnUpdate(EventArgs args) { if (!KN.Root.Item("jgsmite").GetValue <bool>()) { return; } foreach (var minion in MinionManager.GetMinions(900f, MinionTypes.All, MinionTeam.Neutral)) { var damage = Player.Spellbook.GetSpell(Smite).State == SpellState.Ready ? (float)Player.GetSummonerSpellDamage(minion, Damage.SummonerSpell.Smite) : 0; if (minion.Distance(Player.ServerPosition) > 500 + minion.BoundingRadius + Player.BoundingRadius) { return; } if (LargeList.Any(name => minion.Name.StartsWith(name) && !minion.Name.Contains("Mini"))) { if (KN.Root.Item("jgsmitebg").GetValue <bool>()) { if (KN.Root.Item("jgsmitetd").GetValue <bool>()) { if (Player.GetSpellDamage(minion, SpellSlot.Q, 1) + damage >= minion.Health) { CM.CastTakedown(minion, "jg"); } } if (damage >= minion.Health) { Player.Spellbook.CastSpell(Smite, minion); } } } if (SmallList.Any(name => minion.Name.StartsWith(name) && !minion.Name.Contains("Mini"))) { if (KN.Root.Item("jgsmitesm").GetValue <bool>()) { if (KN.Root.Item("jgsmitetd").GetValue <bool>()) { if (Player.GetSpellDamage(minion, SpellSlot.Q, 1) + damage >= minion.Health) { CM.CastTakedown(minion, "jg"); } } if (damage >= minion.Health) { Player.Spellbook.CastSpell(Smite, minion); } } } if (EpicList.Any(name => minion.Name.StartsWith(name))) { if (KN.Root.Item("jgsmitetd").GetValue <bool>()) { if (Player.GetSpellDamage(minion, SpellSlot.Q, 1) + damage >= minion.Health) { CM.CastTakedown(minion, "jg"); } } if (KN.Root.Item("jgsmiteep").GetValue <bool>()) { if (damage >= minion.Health) { Player.Spellbook.CastSpell(Smite, minion); } } } } if (!KN.Root.Item("jgsmitehe").GetValue <bool>()) { return; } // smite hero blu/red if (Player.GetSpell(Smite).Name.ToLower() == "s5_summonersmiteduel" || Player.GetSpell(Smite).Name.ToLower() == "s5_summonersmiteplayerganker") { // KS Smite if (Player.GetSpell(Smite).Name.ToLower() == "s5_summonersmiteplayerganker") { foreach ( var hero in HeroManager.Enemies.Where( h => h.IsValidTarget(500) && !h.IsZombie && h.Health <= 20 + 8 * Player.Level)) { Player.Spellbook.CastSpell(Smite, hero); } } // Combo Smite if (Player.GetSpell(Smite).Name.ToLower() == "s5_summonersmiteduel" || Player.GetSpell(Smite).Name.ToLower() == "s5_summonersmiteplayerganker") { foreach ( var hero in HeroManager.Enemies .Where(h => h.IsValidTarget(500) && !h.IsZombie) .OrderBy(h => h.Distance(Game.CursorPos))) { Player.Spellbook.CastSpell(Smite, hero); } } } }