public override void Use(EvadableAbility ability, Unit target) { Ability.UseAbility(ability.AbilityOwner); if (!target.Equals(Hero)) { Hero.Attack(target); } Sleep(); }
public override float GetRequiredTime(EvadableAbility ability, Unit unit, float remainingTime) { return CastPoint + (unit.Equals(Hero) ? 0 : (float)Hero.GetTurnTime(unit) * 1.35f); }