Add unit defeat event reactions

This commit is contained in:
2026-06-18 14:14:51 +09:00
parent 8c4d7c8822
commit 4f5e949d84
10 changed files with 218 additions and 7 deletions

View File

@@ -280,6 +280,20 @@
}
]
},
{
"id": "yan_liang_vanguard_defeated",
"once": true,
"when": { "type": "unit_defeated", "unit_ids": ["yan_liang_vanguard"] },
"actions": [
{
"type": "dialogue",
"lines": [
{ "speaker": "Guo Jia", "text": "Yan Liang's banner is down. His riders will feel that before Yuan Shao can answer." },
{ "speaker": "Cao Cao", "text": "Press the isolated vanguard and make White Horse breathe again." }
]
}
]
},
{
"id": "xu_province_reserve",
"once": true,

View File

@@ -283,6 +283,22 @@
}
]
},
{
"id": "wen_chou_vanguard_defeated",
"once": true,
"when": { "type": "unit_defeated", "unit_ids": ["wen_chou_vanguard"] },
"actions": [
{ "type": "log", "text": "Wen Chou's countercharge collapses at Yan Ford." },
{
"type": "dialogue",
"lines": [
{ "speaker": "Wen Chou", "text": "Yan Liang... I rode the same road too quickly." },
{ "speaker": "Guo Jia", "text": "The ford has taken both wings from Yuan Shao." },
{ "speaker": "Cao Cao", "text": "Then close the crossing. Guandu is where his numbers must answer us." }
]
}
]
},
{
"id": "white_horse_fortified",
"once": true,