private static void JunuClear() { var farmjungclear = EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(x => x.IsValidTarget(Fiddle.GetAutoAttackRange())).ToList(); if (!farmjungclear.Any()) { return; } string[] monsters = { "SRU_Gromp", "SRU_Blue", "SRU_Red", "SRU_Razorbeak", "SRU_Krug", "SRU_Murkwolf", "Sru_Crab", "SRU_RiftHerald", "SRU_Dragon", "SRU_Baron" }; if (Q.IsReady() && JungleMenu["Q"].Cast <CheckBox>().CurrentValue&& Fiddle.ManaPercent >= JungleMenu["JmanaP"].Cast <Slider>().CurrentValue&& farmjungclear.Count(x => monsters.Contains(x.BaseSkinName, StringComparer.CurrentCultureIgnoreCase)) >= 1) { Q.Cast(); } if (!W.IsReady() || !JungleMenu["W"].Cast <CheckBox>().CurrentValue || !(Fiddle.ManaPercent >= JungleMenu["JmanaP"].Cast <Slider>().CurrentValue)) { return; } { var farmjungclearW = farmjungclear.FirstOrDefault(x => monsters.Contains(x.BaseSkinName, StringComparer.CurrentCultureIgnoreCase)); if (farmjungclearW == null || !(farmjungclearW.Health > Fiddle.GetAutoAttackDamage(farmjungclearW, true) * 2)) { return; } var pred = W.GetHealthPrediction(farmjungclearW); } }
private static void LanuClear() { var farmClear = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Fiddle.ServerPosition).Where(x => x.IsValidTarget(W.Range - 100)).ToList(); if (!farmClear.Any()) { return; } if ((Q.IsReady() && LaneMenu["E"].Cast <CheckBox>().CurrentValue&& Fiddle.ManaPercent >= LaneMenu["LmanaP"].Cast <Slider>().CurrentValue&& IsPreAa && (Fiddle.CountEnemyChampionsInRange(590) >= 1))) { Q.Cast(); } }