public static void DoClear() { var target = EntityManager.MinionsAndMonsters.Monsters.FirstOrDefault(x => !x.IsDead && Spells.E.IsInRange(x)); if (!target.IsValidTarget(Spells.E.Range) || (MenuCreator.IsChecked(MenuCreator.JungleClearMenu, "jc.ferocity") && Player.Instance.Mana > 4)) { return; } switch (MenuCreator.GetSliderValue(MenuCreator.JungleClearMenu, "jc.ferocity.type")) { case 1: FocusQ(target); break; case 2: FocusW(target); break; case 3: FocusE(target); break; } }
public static void DoHarass() { var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Physical); if (!target.IsValidTarget(Spells.E.Range) || (MenuCreator.IsChecked(MenuCreator.HarassMenu, "hs.ferocity") && Player.Instance.Mana > 4)) { return; } switch (MenuCreator.GetSliderValue(MenuCreator.HarassMenu, "hs.ferocity.type")) { case 1: FocusQ(target); break; case 2: FocusW(target); break; case 3: FocusE(target); break; } }