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