public static void OnCombo() { var target = TargetSelector.GetTarget(Spells.R.Range, TargetSelector.DamageType.Magical); if (target != null) { if (Spells.Q.IsReady() && Utilities.Enabled("q.combo") && target.IsValidTarget(Spells.Q.Range) && !Utilities.IsInvulnerable(target, DamageType.Magical)) { Spells.Q.HikiCast(target, Utilities.HikiChance("hitchance"), "prediction", Menus.Config); } if (Spells.W.IsReady() && Utilities.Enabled("w.combo") && target.IsValidTarget(Spells.W.Range)) { Spells.W.HikiCast(target, Utilities.HikiChance("hitchance"), "prediction", Menus.Config); } if (Spells.E.IsReady() && Utilities.Enabled("e.combo") && target.IsValidTarget(Spells.E.Range) && !Utilities.IsInvulnerable(target, DamageType.Magical)) { Spells.E.HikiCast(target, Utilities.HikiChance("hitchance"), "prediction", Menus.Config); } } }
private static void OnMixed() { if (ObjectManager.Player.ManaPercent < Utilities.Slider("harassmana")) { return; } var target = TargetSelector.GetTarget(Spells.E.Range, TargetSelector.DamageType.Magical); if (target != null) { if (Spells.Q.IsReady() && Utilities.Enabled("q.harass") && target.IsValidTarget(Spells.Q.Range) && !Utilities.IsInvulnerable(target, DamageType.Magical)) { Spells.Q.HikiCast(target, Utilities.HikiChance("hitchance"), "prediction", Menus.Config); } if (Spells.E.IsReady() && Utilities.Enabled("e.harass") && target.IsValidTarget(Spells.E.Range) && !Utilities.IsInvulnerable(target, DamageType.Magical)) { Spells.E.HikiCast(target, Utilities.HikiChance("hitchance"), "prediction", Menus.Config); } } }