Improved respawn

This commit is contained in:
2024-02-13 13:49:28 +01:00
parent bbef2a0a4a
commit 4c1d8ab877
7 changed files with 75 additions and 25 deletions

View File

@ -4,4 +4,4 @@ func on_body_entered(body: Node3D):
var health := body.get_node_or_null("Health") as HealthComponent
if health:
health.take_damage(DamageInstance.new(10))
health.take_damage(DamageInstance.new(50))