diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-28 07:38:52 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-28 07:38:52 +0100 |
commit | 7eccedf3e0ec6cf88b2e09b88a168170a0a98428 (patch) | |
tree | b06eb59182d68b46028e2bee7f7774b7cf7343b4 /rules.js | |
parent | 6583124a109c4d171e0db2c81927ae14aa0daa54 (diff) | |
download | 1989-dawn-of-freedom-7eccedf3e0ec6cf88b2e09b88a168170a0a98428.tar.gz |
Debugging Reformer
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)
|