Пример #1
0
 private static void Orbwalker_OnPostAttack(AttackableUnit target, EventArgs args)
 {
     if (Q.IsReady() && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo) && Settings.Combo.UseQ && (target?.GetType() == typeof(AIHeroClient)) &&
         target.IsValidTargetCached(Player.Instance.GetAutoAttackRange() - 100) &&
         (Player.Instance.Mana >= 130 + (R.IsReady() ? 100 : 0)))
     {
         Q.Cast();
     }
 }