public override void Do() { MenuIndex.LaneClear laneclear = new MenuIndex.LaneClear(); foreach (var minion in EntityManager.MinionsAndMonsters.EnemyMinions.Where(m => Player.Instance.IsInRange(m, 900))) { if (laneclear.DangerLow) { if (Prediction.Health.GetPrediction(minion, 5 + Spells.Q.CastDelay * 2 + Game.Ping / 3) >= 10) { if (minion.IsValid && minion != null && Spells.Q.IsReady() && Spells.Q.IsInRange(minion) && laneclear.UseQ) { Spells.Q.Cast(minion); } } if (Prediction.Health.GetPrediction(minion, 5 + Spells.W.CastDelay * 2 + Game.Ping / 3) >= 10) { if (minion.IsValid && minion != null && Spells.W.IsReady() && Spells.W.IsInRange(minion) && laneclear.UseW) { Spells.W.Cast(minion); } } if (Prediction.Health.GetPrediction(minion, 5 + Spells.E.CastDelay * 2 + Game.Ping / 3) >= 10) { if (minion.IsValid && minion != null && Spells.E.IsReady() && Spells.E.IsInRange(minion) && laneclear.UseE) { Spells.E.Cast(minion); } } } else { if (minion.IsValid && minion != null && Spells.Q.IsReady() && Spells.Q.IsInRange(minion) && laneclear.UseQ) { Spells.Q.Cast(minion); } if (minion.IsValid && minion != null && Spells.W.IsReady() && Spells.W.IsInRange(minion) && laneclear.UseW) { Spells.W.Cast(minion); } if (minion.IsValid && minion != null && Spells.E.IsReady() && Spells.E.IsInRange(minion) && laneclear.UseE) { Spells.E.Cast(minion); } } } }