Exemplo n.º 1
0
 public override void ActivateOnTarget(StatsComponent user, StatsComponent target)
 {
     if (target.CompareTag("Enemy"))
     {
         user.RecoverHealth(RecoveryPoints);
     }
     else
     {
         target.RecoverHealth(RecoveryPoints);
     }
 }