private void DecreaseHealth(HealthBehaviour hb) { if (hb.Health > 0) { hb.CharacterTakeDamage(_attackDamage); hb.ChangeHealth(hb.Health); } }
private void DecreaseHealth(HealthBehaviour hb) { if (hb.Health > 0) { hb.CharacterTakeDamage(_attackDamage); hb.ChangeHealth(hb.Health); } }