public void TakeDamage(float Damage) { ThisGruntHealth -= Damage; rageTracker.RageTick(); if (ThisGruntHealth <= 0) { EB.Die(); } }
public void Damage(float Damage) { health -= Damage; rageTracker.RageTick(); if (health <= 0) { GM.enemiesKilled++; Destroy(gameObject); } }