diff --git a/damage_calc.js b/damage_calc.js index d3b443c..c2962ad 100644 --- a/damage_calc.js +++ b/damage_calc.js @@ -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: