fixat mer med traps och arrows och grejjer

This commit is contained in:
2026-01-22 01:03:01 +01:00
parent c0d229ee86
commit eaf86b39fa
20 changed files with 1589 additions and 194 deletions

View File

@@ -25,8 +25,8 @@ func _ready():
_apply_color_replacements()
$SfxSwosh.play()
$AnimationPlayer.play("flying")
# Connect area signals
if hit_area:
# Connect area signals (only if not already connected)
if hit_area and not hit_area.body_entered.is_connected(_on_body_entered):
hit_area.body_entered.connect(_on_body_entered)
func setup(direction: Vector2, owner_player: Node, damage_value: float = 20.0, staff_item: Item = null):