Ejemplo n.º 1
0
 internal void Damaged(float rawDamage)
 {
     delayToRegen            = 3; //Reset the healing cooldown to 3 seconds.
     active_currentVitality -= TakeDamage.DamageCalculation(rawDamage);
     active_currentVitality  = Mathf.Clamp(active_currentVitality, -100, active_maxVitality);
 }