diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)
|