diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-30 13:45:51 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:26 +0100 |
commit | b07c41babd3590ac3fdd95023ec53d8bd3c03a2e (patch) | |
tree | 789463365d36c9a6c53ae5134f0087a485a5d620 | |
parent | 1905a8fa2d546504e4c0e7433ee949e94c7d1057 (diff) | |
download | rommel-in-the-desert-b07c41babd3590ac3fdd95023ec53d8bd3c03a2e.tar.gz |
Quadruple dice in Assault Fortress battles.
-rw-r--r-- | rules.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 = [] |