summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-26 21:54:15 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-27 00:06:16 +0100
commitf88d5a8b0170d17bd56a9dc04877cf918cef5c16 (patch)
treebc2d696a6a3cdbf8aefad6a534f0db6c26b6551d
parent476295272eaa5eac405f28cdd31799bf23d53506 (diff)
downloadnevsky-f88d5a8b0170d17bd56a9dc04877cf918cef5c16.tar.gz
Play held events during disband (campaign).
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index beaf533..83a4925 100644
--- a/rules.js
+++ b/rules.js
@@ -10285,6 +10285,10 @@ states.disband = {
inactive: "Disband",
prompt() {
view.prompt = "Disband: You must Disband Lords at their Service limit."
+
+ if (is_campaign_phase())
+ prompt_held_event()
+
let done = true
for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) {
if (is_lord_on_map(lord) && get_lord_service(lord) <= current_turn()) {
@@ -10312,6 +10316,7 @@ states.disband = {
end_disband() {
end_disband()
},
+ card: action_held_event,
}
function end_ransom_disband() {