summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-25 00:11:03 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-25 00:11:03 +0200
commit2259daf9d117b46a95dd111ba5973023ef78ba0d (patch)
tree68bbbf25465875f8cc8114bae34d40a476d1b9cc
parent9c76e31fa350f52b466e7224f87a6d866b0d4e34 (diff)
downloadplantagenet-2259daf9d117b46a95dd111ba5973023ef78ba0d.tar.gz
give up IP when choosing exile at approach
-rw-r--r--rules.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index 2a6bd92..125990e 100644
--- a/rules.ts
+++ b/rules.ts
@@ -5161,13 +5161,16 @@ states.choose_exile = {
inactive: "Choose Exile",
prompt() {
let here = get_lord_locale(game.command)
- view.prompt = `Approach: You may choose exile with lords at ${locale_name[here]}.`
+ view.prompt = `Approach: Choose lords to go into exile from ${locale_name[here]}.`
for_each_friendly_lord_in_locale(here, gen_action_lord)
view.actions.done = 1
},
lord(lord) {
push_undo()
give_up_spoils(lord)
+
+ reduce_influence(data.lords[lord].influence + count_vassals_with_lord(lord))
+
exile_lord(lord)
},
done() {