private static void Harass() { if (ObjectManager.Player.ManaPercent < Helper.Slider("harass.mana")) { return; } if (Spells.Q.IsReady() && Helper.Enabled("q.harass")) { foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.Q.Range) && !x.IsDead && !x.IsZombie)) { QLogic.QGeneral(enemy); } } if (Spells.E.IsReady() && Helper.Enabled("e.harass")) { foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.E.Range) && !x.IsDead && !x.IsZombie)) { ELogic.NormalE(enemy); } } }
private static void Combo() { if (Spells.Q.IsReady() && Helper.Enabled("q.combo")) { foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.Q.Range) && !x.IsDead && !x.IsZombie)) { QLogic.QGeneral(enemy); } } if (Spells.E.IsReady() && Helper.Enabled("e.combo")) { foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.E.Range) && !x.IsDead && !x.IsZombie)) { ELogic.NormalE(enemy); } } if (Spells.R.IsReady() && Helper.Enabled("r.combo")) { foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Helper.Slider("min.r.distance.y")) && !x.IsDead && !x.IsZombie)) { RLogic.RGeneral(enemy); } } }