summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-28 07:52:02 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-28 07:52:02 +0100
commit3c7c0be89551821107b17c44df863ad91e62b9d1 (patch)
tree0d4bd9c7df83b40e4dc403b90efd252a6968d799 /rules.js
parent596edf2c4bf3461368451beabb139fdc9289708b (diff)
download1989-dawn-of-freedom-3c7c0be89551821107b17c44df863ad91e62b9d1.tar.gz
Debugging Reformer
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 0955eba..aacf2e3 100644
--- a/rules.js
+++ b/rules.js
@@ -3071,7 +3071,10 @@ function check_reformer() {
}
if (game.dem_tst_position < game.com_tst_position) {
console.log('reformer set to COM')
+ console.log('game.playable_cards[66].playable before', game.playable_cards[66].playable)
+ console.log('game.playable_cards[67].playable before', game.playable_cards[67].playable)
game.playable_cards[67].playable = COM
+ console.log('game.playable_cards[67].playable after', game.playable_cards[67].playable)
}
if (game.dem_tst_position === game.com_tst_position) {
console.log(`reformer set to ''`)