prototype vibe

This commit is contained in:
Marek Lenczewski
2026-04-16 17:20:57 +02:00
parent cf5979803e
commit f21e30eb55
72 changed files with 1330 additions and 70 deletions

View File

@@ -14,6 +14,9 @@ func _process(delta: float) -> void:
func _on_target_requested(_player: Node, target: Node3D) -> void:
PlayerData.set_target(target)
if target and (target.is_in_group("enemies") or target.is_in_group("portals")):
PlayerData.in_combat = true
PlayerData.combat_timer = PlayerData.combat_timeout
func _on_entity_died(entity: Node) -> void:
if entity == PlayerData.target: