Fixed damage calculation bug causing overcounting of neutral damage in unpowdered weapons
This commit is contained in:
parent
1be0d6b782
commit
e6185248d6
1 changed files with 2 additions and 1 deletions
|
@ -81,11 +81,12 @@ function calculateSpellDamage(stats, spellConversions, rawModifier, pctModifier,
|
|||
neutralRemainingRaw[0] = Math.floor(round_near(neutralRemainingRaw[0] - min_diff));
|
||||
neutralRemainingRaw[1] = Math.floor(round_near(neutralRemainingRaw[1] - max_diff));
|
||||
}
|
||||
damages[0] = neutralRemainingRaw;
|
||||
damages[element+1][0] += powder.min;
|
||||
damages[element+1][1] += powder.max;
|
||||
}
|
||||
|
||||
damages[0] = neutralRemainingRaw;
|
||||
|
||||
let damageMult = damageMultiplier;
|
||||
let melee = false;
|
||||
// If we are doing melee calculations:
|
||||
|
|
Loading…
Reference in a new issue