Simplify auto attack hover text

This commit is contained in:
2026-06-20 10:19:32 +09:00
parent ea49df2629
commit 428b91b59d
3 changed files with 55 additions and 18 deletions

View File

@@ -216,8 +216,8 @@ func _check_scene_directional_attack_badges(failures: Array[String]) -> void:
scene._refresh_ranges()
scene.hover_cell = Vector2i(5, 9)
var auto_badge: Dictionary = scene._target_preview_badge()
if not str(auto_badge.get("text", "")).contains("행공"):
failures.append("auto-move attack hover badge should be used for reachable distant enemy: %s" % str(auto_badge))
if str(auto_badge.get("text", "")).contains("행공") or not str(auto_badge.get("tooltip", "")).contains("이동 후 공격"):
failures.append("auto-move attack hover badge should use a clear hint instead of jargon: %s" % str(auto_badge))
if not str(auto_badge.get("text", "")).contains("후+%d" % BattleStateScript.DIRECTIONAL_BACK_DAMAGE_BONUS):
failures.append("auto-move attack hover badge should expose compact rear bonus: %s" % str(auto_badge))