Add scripted event withdrawals

This commit is contained in:
2026-06-18 13:56:02 +09:00
parent 9d691cb75f
commit e76d7e3a7e
10 changed files with 193 additions and 7 deletions

View File

@@ -835,6 +835,8 @@ func _play_log_sfx(message: String) -> void:
_play_sfx("guard_block")
elif message.begins_with("Objective updated:") or message.begins_with("Defeat condition updated:"):
_play_ui_confirm()
elif message.ends_with(" withdraws from the battlefield."):
_play_ui_confirm()
elif message.contains(" attacks ") or message.contains(" counterattacks "):
if message.contains(" for "):
_play_sfx("hit_heavy")