Normalize opening battle defeat rules

This commit is contained in:
2026-06-18 14:47:54 +09:00
parent a2ecef7624
commit c0972824e4
2 changed files with 17 additions and 4 deletions

View File

@@ -3,11 +3,14 @@
"name": "Yingchuan Skirmish",
"objectives": {
"victory": "Defeat all Yellow Turban units.",
"defeat": "All allied units are defeated."
"defeat": "Cao Cao is defeated or the battle reaches Turn 8."
},
"conditions": {
"victory": { "type": "all_units_defeated", "team": "enemy" },
"defeat": { "type": "all_units_defeated", "team": "player" }
"defeat": [
{ "type": "any_officer_defeated", "team": "player", "officer_ids": ["cao_cao"] },
{ "type": "turn_reached", "turn": 8, "team": "player" }
]
},
"briefing": {
"title": "Yingchuan Skirmish",
@@ -20,6 +23,10 @@
"shop": {
"items": ["bean", "antidote"]
},
"roster": {
"max_units": 2,
"required_officers": ["cao_cao", "xiahou_dun"]
},
"formation": {
"cells": [[1, 3], [1, 4], [2, 3], [2, 4]]
},

View File

@@ -15,9 +15,15 @@ func _init() -> void:
)
_check_contains(
failures,
"001 briefing progress",
"001 commander defeat risk",
_defeat_text("res://data/scenarios/001_yellow_turbans.json"),
"Allies remaining"
"Cao Cao safe"
)
_check_contains(
failures,
"001 turn pressure risk",
_defeat_text("res://data/scenarios/001_yellow_turbans.json"),
"Turns left 7"
)
_check_contains(
failures,