public override void JungleClear() { if (IsCastingR || Orbwalker.IsAutoAttacking) { return; } var jgtarget = Extentions.BigJungleMobs.FirstOrDefault(m => m.IsKillable(Q.Range + 75)); if (jgtarget != null) { if (W.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.W) && JungleClearMenu.CompareSlider("Wmana", user.ManaPercent)) { W.Cast(jgtarget); return; } if (Q.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.Q) && JungleClearMenu.CompareSlider("Qmana", user.ManaPercent)) { Q.Cast(jgtarget); return; } if (E.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.E) && JungleClearMenu.CompareSlider("Emana", user.ManaPercent)) { E.Cast(jgtarget); } } }
public override void JungleClear() { if (JungleClearMenu.CheckBoxValue(SpellSlot.Q) && Q.IsReady()) { foreach (var mob in EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(m => m.IsKillable(Q.Range))) { if (mob != null) { Q.Cast(mob); } } } if (JungleClearMenu.CheckBoxValue(SpellSlot.E) && E.IsReady()) { ECast(true); } }
public override void JungleClear() { foreach (var target in EntityManager.MinionsAndMonsters.GetJungleMonsters().OrderBy(m => m.MaxHealth).Where(m => m.IsKillable(Q.Range) && !m.IsMoving)) { if (target != null) { if (Q.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.Q) && JungleClearMenu.CompareSlider("Qmana", user.ManaPercent)) { var targetbarrel = BarrelsList.FirstOrDefault(b => KillableBarrel(b) != null && b.Barrel.IsInRange(target, E.Width)); Q.Cast(targetbarrel != null ? KillableBarrel(targetbarrel) : target); } if (E.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.E) && BarrelsList.Count(b => b.Barrel.IsInRange(target, E.Width)) < 1) { E.Cast(target); } } } }
public override void JungleClear() { if (E.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.E) && JungleClearMenu.CompareSlider("Emana", user.ManaPercent)) { if (JungleClearMenu.CheckBoxValue("Esmall")) { foreach (var mob in EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(m => m != null && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } else { foreach (var mob in BigJungleMobs.Where(m => m != null && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } } if (Q.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.Q) && JungleClearMenu.CompareSlider("Qmana", user.ManaPercent)) { foreach (var mob in BigJungleMobs.Where(m => m != null && m.IsKillable(Q.Range))) { if (mob != null) { Q.Cast(mob); } return; } } }