public static void KillStealWithPierce() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { Kalista.Q.Do(target, Utilities.HikiChance("hitchance")); } }
public static void PierceCombo() { foreach (var enemy in HeroManager.Enemies.Where(hero => hero.IsValidTarget(Kalista.Q.Range) && hero.IsVisible)) { Kalista.Q.Do(enemy, Utilities.HikiChance("hitchance"), true); } }
private void JhinOnUpdate(EventArgs args) { #region Orbwalker & Modes switch (Initializer.Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: OnCombo(); break; case Orbwalking.OrbwalkingMode.LaneClear: OnClear(); OnJungle(); break; case Orbwalking.OrbwalkingMode.Mixed: OnHarass(); break; case Orbwalking.OrbwalkingMode.None: OnKillSteal(); break; } #endregion if (ObjectManager.Player.IsActive(R)) { Initializer.Orbwalker.SetAttack(false); Initializer.Orbwalker.SetMovement(false); } else { Initializer.Orbwalker.SetAttack(true); Initializer.Orbwalker.SetMovement(true); } if (Initializer.Config.Item("semi.manual.ult", true).GetValue <KeyBind>().Active&& R.IsReady() && Utilities.Enabled("r.combo") && !Utilities.Enabled("auto.shoot.bullets")) { foreach (var target in HeroManager.Enemies.Where(x => x.IsValidTarget(R.Range) && Utilities.Enabled("r.combo." + x.ChampionName))) { R.Do(target, Utilities.HikiChance("hitchance")); } } if (ObjectManager.Player.IsActive(R) && Utilities.Enabled("auto.shoot.bullets") && R.IsReady()) { foreach (var target in HeroManager.Enemies.Where(x => x.IsValidTarget(R.Range) && Utilities.Enabled("r.combo." + x.ChampionName))) { R.Do(target, Utilities.HikiChance("hitchance")); } } }
public static void ImmobilePierce() { foreach (var enemy in HeroManager.Enemies.Where(hero => hero.IsValidTarget(Kalista.Q.Range))) { if (ImmobileDetector(enemy)) { Kalista.Q.Do(enemy, Utilities.HikiChance("hitchance")); } } }
public static void PierceJungleClear(Spell spell) { var mob = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, Orbwalking.GetRealAutoAttackRange(ObjectManager.Player) + 100, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth); if (mob == null || mob.Count == 0) { return; } Kalista.Q.Do(mob[0], Utilities.HikiChance("hitchance")); }
private void OnKillSteal() { if (Q.IsReady() && Utilities.Enabled("q.ks")) { var target = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(Q.Range) && target.Health < Q.GetDamage(target)) { Q.CastOnUnit(target); } } if (W.IsReady() && Utilities.Enabled("w.ks")) { var target = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(W.Range) && target.Health < W.GetDamage(target)) { W.Do(target, Utilities.HikiChance("hitchance")); } } }
private void OnCombo() { if (Q.IsReady() && Utilities.Enabled("q.combo")) { foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Q.Range))) { Q.CastOnUnit(enemy); } } if (W.IsReady() && Utilities.Enabled("w.combo")) { if (Utilities.Enabled("w.passive.combo")) { var target = TargetSelector.GetTarget(Utilities.Slider("w.combo.max.distance"), TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(Utilities.Slider("w.combo.max.distance")) && target.HasBuff("jhinespotteddebuff") && target.Distance(ObjectManager.Player.Position) > Utilities.Slider("w.combo.min.distance")) { W.Do(target, Utilities.HikiChance("hitchance")); } } else { var target = TargetSelector.GetTarget(Utilities.Slider("w.combo.max.distance"), TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(Utilities.Slider("w.combo.max.distance")) && target.Distance(ObjectManager.Player.Position) > Utilities.Slider("w.combo.min.distance")) { W.Do(target, Utilities.HikiChance("hitchance")); } } } if (E.IsReady() && Utilities.Enabled("e.combo")) { var target = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(E.Range) && Utilities.IsImmobile(target)) { E.Do(target, Utilities.HikiChance("hitchance")); } } }
private void OnHarass() { if (ObjectManager.Player.ManaPercent < Utilities.Slider("harass.mana")) { return; } if (Q.IsReady() && Utilities.Enabled("q.harass")) { var target = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(Q.Range)) { Q.CastOnUnit(target); } } if (W.IsReady() && Utilities.Enabled("w.harass")) { var target = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Physical); if (target != null && target.IsValidTarget(W.Range)) { W.Do(target, Utilities.HikiChance("hitchance")); } } }