summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 1a8b4da..06996f4 100644
--- a/rules.js
+++ b/rules.js
@@ -2764,13 +2764,17 @@ function do_tst_attempt() {
}
}
// Check whether The Reformer is playable:
+ console.log('reformer check, dem pos:', game.dem_tst_position, 'com:', game.com_tst_position)
if (game.dem_tst_position > game.com_tst_position) {
+ console.log('reformer set to DEM')
game.playable_cards[67].playable = DEM
}
if (game.dem_tst_position < game.com_tst_position) {
+ console.log('reformer set to COM')
game.playable_cards[67].playable = COM
}
if (game.dem_tst_position === game.com_tst_position) {
+ console.log(`reformer set to ''`)
game.playable_cards[67].playable = ''
}
console.log('game.playable_cards[67].playable', game.playable_cards[67].playable)