public static void Combo() { var hasPassive = Player.HasBuff("RengarRBuff") || Player.HasBuff("RengarPassiveBuff"); var target = TargetSelector.GetTarget(Player.AttackRange, TargetSelector.DamageType.Physical); if (target.IsValidTarget() && !target.IsZombie && target.Distance(Player) <= Champion.E.Range) { if (Player.Mana == 5) { if (Champion.E.IsReady() && target.Distance(Player) <= 600) { if (MenuConfig.UseItem) { ITEMS.CastYoumoo(); } Champion.E.Cast(target); } if (Champion.Q.IsReady()) { Champion.Q.Cast(target); } if (Champion.W.IsReady()) { if (MenuConfig.UseItem) { ITEMS.CastHydra(); } Champion.W.Cast(target); } } if (Player.Mana < 5) { if (Champion.Q.IsReady()) { Champion.Q.Cast(target); } if (Champion.W.IsReady()) { if (MenuConfig.UseItem) { ITEMS.CastHydra(); } Champion.W.Cast(target); } if (Champion.E.IsReady()) { Champion.E.Cast(target); } } } }
public static void ApCombo() { var target = TargetSelector.GetTarget(Player.AttackRange, TargetSelector.DamageType.Magical); if (target != null && target.IsValidTarget() && !target.IsZombie) { if (Player.Mana == 5) { if (Champion.W.IsReady()) { if (MenuConfig.UseItem) { ITEMS.CastYoumoo(); ITEMS.CastHydra(); } Champion.W.Cast(target); Champion.W.Cast(target); } if (Champion.Q.IsReady()) { Champion.Q.Cast(target); } if (Champion.E.IsReady()) { Champion.E.Cast(target); } } if (Player.Mana <= 4) { if (Champion.Q.IsReady()) { Champion.Q.Cast(target); } if (Champion.W.IsReady()) { if (MenuConfig.UseItem) { ITEMS.CastHydra(); } Champion.W.Cast(target); Champion.W.Cast(target); } if (Champion.E.IsReady()) { Champion.E.Cast(target); } } } }