summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-05 13:53:39 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-05 13:53:39 +0200
commit3f2a704b9695c2c95219a0ace6e783c96e04cfd2 (patch)
treedc98f33662e677b466d3a11963a43c239b421eb6
parenta5ecd45760f8c52f8aed11798acde0812438ba97 (diff)
downloadplantagenet-3f2a704b9695c2c95219a0ace6e783c96e04cfd2.tar.gz
capture of the king. artillery logging.
-rw-r--r--rules.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.ts b/rules.ts
index d761f05..ef7bb29 100644
--- a/rules.ts
+++ b/rules.ts
@@ -7008,9 +7008,9 @@ function use_culverins(lord: Lord) {
if (is_event_in_play(EVENT_YORK_PATRICK_DE_LA_MOTE) && game.active === YORK) {
logevent(EVENT_YORK_PATRICK_DE_LA_MOTE)
die2 = roll_die()
- logi(`${die1} + ${die2} Cannons`)
+ logii(`+ B${die1} B${die2} Artillery`)
} else {
- logi(`${die1} Cannons`)
+ logii(`+ B${die1} Artillery`)
}
set_delete(game.battle.culverins, lord)
return (die1 + die2) << 1
@@ -8521,7 +8521,7 @@ states.capture_of_the_king = {
prompt() {
view.prompt = "Capture of the King: Place Henry VI with any unrouted Yorkist lord."
for (let lord of all_york_lords)
- if (is_lord_on_map(lord) && !set_has(game.battle.routed, lord))
+ if (get_lord_locale(lord) === game.battle.where && !set_has(game.battle.routed, lord))
gen_action_lord(lord)
},
lord(lord) {