diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-13 00:38:45 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 278d1f69408979c83c60f1f4be9feab56a56a365 (patch) | |
tree | 9b2d04e8772adea878166131e456274e1959fdc8 /rules.js | |
parent | 47b91ab24f6476aea134fff4516e7510e8fdefba (diff) | |
download | table-battles-278d1f69408979c83c60f1f4be9feab56a56a365.tar.gz |
morale
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2122,10 +2122,7 @@ states.routing = { if (should_rout_card(c)) { log(card_name(c) + " routed.") let p = find_card_owner(c) - if (data.cards[c].star) - game.routed[p] = 2 - else - game.routed[p] = 1 + game.routed[p] += data.cards[c].morale } else if (should_retire_card(c)) { log(card_name(c) + " retired.") } else { |