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 DoCombo() { var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Physical); if (!target.IsValidTarget(Spells.E.Range)) { return; } if (target.Distance(Player.Instance) < 350) { var predictPos = Prediction.Position.PredictUnitPosition(target, 200); Orbwalker.OrbwalkTo(predictPos.To3D()); } if (Player.HasBuff(Globals.RENGAR_UTIMATE_DISPLAY_NAME) || Player.HasBuff(Globals.RENGAR_UTIMATE_NAME)) { if (Player.Instance.IsInAutoAttackRange(target)) { Player.IssueOrder(GameObjectOrder.AttackUnit, target); } else { return; } } switch (MenuCreator.GetSliderValue(MenuCreator.ComboMenu, "combo.type")) { case 1: FocusQ(target); break; case 2: FocusE(target); break; case 3: FocusW(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; } }