summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-07 13:09:33 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitf67bb4873562d9e8e6656b51e38de8f1c1ea52f0 (patch)
tree3e22e9f1a3c545e0c5f9dcdecc1365773f8b0aad
parent66109f31ee3b70436f264b9cc0abe55c5933b126 (diff)
downloadnevsky-f67bb4873562d9e8e6656b51e38de8f1c1ea52f0.tar.gz
Pope Gregory must deploy Summer Crusaders the proper way!
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index ec7708f..487da28 100644
--- a/rules.js
+++ b/rules.js
@@ -2024,7 +2024,7 @@ function goto_immediate_event(c) {
// Add to capabilities...
case EVENT_TEUTONIC_POPE_GREGORY:
- set_add(game.capabilities, c)
+ deploy_global_capability(c)
return goto_teutonic_event_pope_gregory()
// Discard
@@ -3024,6 +3024,7 @@ function discard_global_capability(c) {
}
if (c === AOW_TEUTONIC_CRUSADE) {
+ // TODO: make disband vassals manual state?
for (let v of data.summer_crusaders) {
if (is_vassal_mustered(v))
disband_vassal(v)
@@ -3036,6 +3037,7 @@ function discard_global_capability(c) {
}
if (c === AOW_RUSSIAN_STEPPE_WARRIORS) {
+ // TODO: make disband vassals manual state?
for (let v of data.steppe_warriors) {
if (is_vassal_mustered(v))
disband_vassal(v)