From b07c41babd3590ac3fdd95023ec53d8bd3c03a2e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 30 Jul 2022 13:45:51 +0200 Subject: Quadruple dice in Assault Fortress battles. --- rules.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rules.js b/rules.js index b462c2a..ebc9d88 100644 --- a/rules.js +++ b/rules.js @@ -3354,11 +3354,13 @@ function roll_battle_fire(who, tc) { let fc = unit_class[who] let cv = unit_cv(who) - // Double dice during assault and non-armor defenders in fortress! + // Double dice during assault if (is_assault_battle()) - cv += cv - else if (fc !== ARMOR && is_fortress_defensive_fire()) - cv += cv + cv *= 2 + + // Double dice for non-armor defenders in fortress! + if (fc !== ARMOR && is_fortress_defensive_fire()) + cv *= 2 let fp = FIREPOWER_MATRIX[fc][tc] let result = [] -- cgit v1.2.3