diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-20 17:57:54 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-20 17:58:06 +0200 |
commit | 16d46586002a0b72c3ff7be88f0e103ed014a74c (patch) | |
tree | 210881bf8cad58efbf054343126961740cf36487 | |
parent | 9c5ae9ff507e178b741089b122438c93035a19ad (diff) | |
download | time-of-crisis-16d46586002a0b72c3ff7be88f0e103ed014a74c.tar.gz |
Shapur I effect should only be active if targeting Sassanids.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4166,7 +4166,7 @@ function roll_spiculum_dice() { game.combat.castra_used = 1 n -= 1 } - if (game.combat.type === "barbarians" && get_barbarian_location(SHAPUR) === game.where) { + if (game.combat.type === "barbarians" && game.combat.target === SASSANIDS && get_barbarian_location(SHAPUR) === game.where) { log("Shapur I reduced 1 hit.") game.combat.castra_used = 1 n -= 1 @@ -4190,7 +4190,7 @@ function roll_attacker_dice() { log("Castra reduced 1 hit.") n -= 1 } - if (game.combat.type === "barbarians" && get_barbarian_location(SHAPUR) === game.where) { + if (game.combat.type === "barbarians" && game.combat.target === SASSANIDS && get_barbarian_location(SHAPUR) === game.where) { log("Shapur I reduced 1 hit.") n -= 1 } |