public override void JungleClear() { var qfarm = Q.GetBestLinearCastPosition(Q.JungleMinions()); var efarm = E.GetBestLinearCastPosition(E.JungleMinions()); if (qfarm.HitNumber >= 1 && (!IsChargingQ && Player.Instance.ManaPercent > JungleClearMenu.SliderValue("Qmana") || IsChargingQ)) { QCast(qfarm.CastPosition, qfarm.HitNumber); } if (efarm.HitNumber >= 1 && E.IsReady() && Player.Instance.ManaPercent > JungleClearMenu.SliderValue("Emana")) { E.Cast(efarm.CastPosition); } }
public override void JungleClear() { var qmanacheck = Player.Instance.ManaPercent > JungleClearMenu.SliderValue("Qmana"); var wmanacheck = Player.Instance.ManaPercent > JungleClearMenu.SliderValue("Wmana"); var emanacheck = Player.Instance.ManaPercent > JungleClearMenu.SliderValue("Emana"); var QBestFarmLoc = Q.GetBestCircularCastPosition(Q.JungleMinions()); var WBestFarmLoc = W.GetBestCircularCastPosition(W.JungleMinions()); var EBestFarmLoc = E.GetBestConeCastPosition(E.JungleMinions()); if (qmanacheck && Q.IsReady()) { Q.Cast(QBestFarmLoc.CastPosition); } if (wmanacheck && W.IsReady()) { WCast(WBestFarmLoc.CastPosition); } if (emanacheck && E.IsReady()) { ECast(EBestFarmLoc.CastPosition); } }