made visual updates

This commit is contained in:
2025-06-23 16:55:07 +10:00
parent c6763afd62
commit 20cde0a778
41 changed files with 2522 additions and 188 deletions

View File

@ -1,7 +1,9 @@
class_name Hitbox extends CollisionShape3D
@export var critical_zone: bool = false
signal took_damage(amount: int)
func damage(amount: int) -> void:
took_damage.emit(amount)
took_damage.emit(amount * 1.5 if critical_zone else amount)