private void Orbwalking_OnNonKillableMinion(AttackableUnit minion) { if (!ObjectManager.Player.IsDead) { Obj_AI_Minion Minion = minion as Obj_AI_Minion; if (MenuProvider.Champion.Misc.getBoolValue("Use Lasthit Assist (With E)")) { if (E.isReadyPerfectly()) { if (Minion.isKillableAndValidTarget(E.GetDamage(Minion), TargetSelector.DamageType.Physical)) { if (HealthPrediction.GetHealthPrediction(Minion, 250) > 0) { if (!HeroManager.Enemies.Any(x => Orbwalking.InAutoAttackRange(x))) { E.Cast(); } } } } } } }
private void Orbwalking_OnNonKillableMinion(AttackableUnit minion) { if (!ObjectManager.Player.IsDead) { if (MenuProvider.Orbwalker.ActiveMode != Orbwalking.OrbwalkingMode.Combo) { if (MenuProvider.Orbwalker.ActiveMode != Orbwalking.OrbwalkingMode.Mixed) { Obj_AI_Minion Minion = minion as Obj_AI_Minion; if (MenuProvider.Champion.Misc.getBoolValue("Use Lasthit Assist (With E)")) { if (E.isReadyPerfectly()) { if (Minion.isKillableAndValidTarget(E.GetDamage(Minion))) { E.Cast(); } } } } } } }