diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-03-31 21:07:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-31 21:07:17 +0200 |
commit | b4d2ea5ee7a14f52d512c5b4774314fe0ce896b2 (patch) | |
tree | 14e8bff136d4715a028988f4665dae6c2090382b | |
parent | 0fe8fe6853aa1340a16d95ff2483e70a2d7ee0db (diff) | |
download | plantagenet-master.tar.gz |
-rw-r--r-- | rules.js | 2 | ||||
-rw-r--r-- | rules.ts | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1867,7 +1867,7 @@ states.levy_arts_of_war = { break; } // allow playing this Held card immediately - if (c === EVENT_YORK_SUN_IN_SPLENDOUR) { + if (c === EVENT_YORK_SUN_IN_SPLENDOUR && can_play_sun_in_splendour()) { view.prompt = `Arts of War: Play or hold ${data.cards[c].event}.`; view.actions.hold = 1; view.actions.play = 1; @@ -2383,7 +2383,7 @@ states.levy_arts_of_war = { } // allow playing this Held card immediately - if (c === EVENT_YORK_SUN_IN_SPLENDOUR) { + if (c === EVENT_YORK_SUN_IN_SPLENDOUR && can_play_sun_in_splendour()) { view.prompt = `Arts of War: Play or hold ${data.cards[c].event}.` view.actions.hold = 1 view.actions.play = 1 |