summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 4c9e45e..2858176 100644
--- a/rules.js
+++ b/rules.js
@@ -3727,7 +3727,7 @@ states.muster_capability = {
},
card(c) {
if (data.cards[c].this_lord) {
- if (can_add_lord_capability(game.who, c)) {
+ if (can_add_lord_capability(game.who)) {
add_lord_capability(game.who, c)
} else {
game.what = c
@@ -9214,7 +9214,7 @@ function action_assign_hits(lord, type) {
}
} else {
logi(`${FORCE_TYPE_NAME[type]} removed`)
- remove_serf(lord, type)
+ remove_serf(lord)
}
if (game.battle.xhits)
@@ -9370,7 +9370,7 @@ states.sack = {
},
lord(lord) {
transfer_assets_except_ships(lord)
- if (can_ransom_lord_battle(lord)) {
+ if (can_ransom_lord_battle()) {
goto_ransom(lord)
} else {
disband_lord(lord, true)
@@ -9718,7 +9718,7 @@ states.battle_remove = {
},
lord(lord) {
transfer_assets_except_ships(lord)
- if (can_ransom_lord_battle(lord)) {
+ if (can_ransom_lord_battle()) {
goto_ransom(lord)
} else {
disband_lord(lord, true)
@@ -9885,7 +9885,7 @@ states.battle_losses_remove = {
// 4.5.2 Attackers losing a Storm do not give up spoils.
if (!(game.battle.storm && game.active === game.battle.attacker))
transfer_assets_except_ships(lord)
- if (can_ransom_lord_battle(lord)) {
+ if (can_ransom_lord_battle()) {
goto_ransom(lord)
} else {
disband_lord(lord, true)