fx: attacking sprite/logic mismatch

This commit is contained in:
2026-01-17 14:56:25 +01:00
parent c0f5dd4628
commit 0b9b1e75d4
4 changed files with 17 additions and 12 deletions

View File

@@ -50,11 +50,10 @@ func die() -> void:
super.die()
func become_injured() -> void:
sprite.animation = "Injured"
mirrorSprite1.animation = "Injured"
mirrorSprite2.animation = "Injured"
mirrorSprite3.animation = "Injured"
sprite.play()
sprite.play("Injured")
mirrorSprite1.play("Injured")
mirrorSprite2.play("Injured")
mirrorSprite3.play("Injured")
# Mirroring table:
# |---|---|---|---|