summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-22 12:16:05 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit0919f65a0aeea07c31939e79bb3f30fb8d21a943 (patch)
tree70fcbfede06684fb982276e36604f5de74231b63
parentfda1496817bf63aa000eca7f6a1075b421f8de71 (diff)
downloadnevsky-0919f65a0aeea07c31939e79bb3f30fb8d21a943.tar.gz
Feed relief sallying lords.
-rw-r--r--rules.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 0a8005c..04d6b3e 100644
--- a/rules.js
+++ b/rules.js
@@ -6824,6 +6824,8 @@ states.relief_sally = {
},
lord(lord) {
push_undo()
+ log(`L${lord} Sallied.`)
+ set_lord_moved(lord, 1)
set_add(game.battle.reserves, lord)
game.battle.relief = 1
},
@@ -9947,14 +9949,14 @@ states.feed_lord_shared = {
},
prov(lord) {
push_undo()
- log(`Fed L${lord}.`)
+ log(`Fed L${game.who}.`)
add_lord_assets(lord, PROV, -1)
feed_lord(game.who)
resume_feed_lord_shared()
},
loot(lord) {
push_undo()
- log(`Fed L${lord}.`)
+ log(`Fed L${game.who}.`)
add_lord_assets(lord, LOOT, -1)
feed_lord(game.who)
resume_feed_lord_shared()