summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js10
1 files 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 = []