feat: shared creature root, enemy definitions, defend duty, and player downing

This commit is contained in:
Rijad Zuzo
2026-08-12 00:16:48 +02:00
parent 6de6d25bf5
commit 661d53f31a
23 changed files with 653 additions and 76 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func _on_combatant_spawned(combatant_id: StringName) -> void:
func _on_combatant_died(combatant_id: StringName) -> void:
var scene := hostiles.get(combatant_id) as HostileCombatant
if scene != null:
scene._play_death()
scene.play_death()
hostiles.erase(combatant_id)