private static void OnLaneClear() { var count = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Player.ServerPosition, Player.AttackRange, false).Count(); var source = EntityManager.MinionsAndMonsters.GetLaneMinions().OrderBy(a => a.MaxHealth).FirstOrDefault(a => a.IsValidTarget(Q.Range)); if (count == 0) { return; } if (E.IsReady() && OwlsticksMenu.LcE() && OwlsticksMenu.LcE1() <= count && Player.ManaPercent >= OwlsticksMenu.LcM()) { E.Cast(source); } if (Q.IsReady() && Player.ManaPercent >= OwlsticksMenu.LcM()) { if (OwlsticksMenu.LcQ() && source.IsValidTarget(Q.Range) && Player.GetSpellDamage(source, SpellSlot.Q) >= source.Health && !source.IsDead) { Q.Cast(source); } if (Q.IsReady() && OwlsticksMenu.LcQ() && source.IsValidTarget(Q.Range)) { Q.Cast(source); } } if (W.IsReady() && OwlsticksMenu.LcW() && Player.ManaPercent >= OwlsticksMenu.LcM()) { W.Cast(source); } }