public void TakeDamage(float _damage) { if (isDead) { return; } currentHealth -= _damage; enemyCombat.GetAngry(); if (currentHealth <= 0) { Died(); } }
public void TakeDamage(float _damage) { if (isDead) { return; } currentHealth -= _damage; enemyCombat.GetAngry(); if (currentHealth <= 0) { Died(); } }