Merge branch 'dev' of https://github.com/hppeng-wynn/hppeng-wynn.github.io into dev
This commit is contained in:
commit
5ebbb2264d
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[0] = Math.floor(round_near(neutralRemainingRaw[0] - min_diff));
|
||||||
neutralRemainingRaw[1] = Math.floor(round_near(neutralRemainingRaw[1] - max_diff));
|
neutralRemainingRaw[1] = Math.floor(round_near(neutralRemainingRaw[1] - max_diff));
|
||||||
}
|
}
|
||||||
damages[0] = neutralRemainingRaw;
|
|
||||||
damages[element+1][0] += powder.min;
|
damages[element+1][0] += powder.min;
|
||||||
damages[element+1][1] += powder.max;
|
damages[element+1][1] += powder.max;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
damages[0] = neutralRemainingRaw;
|
||||||
|
|
||||||
let damageMult = damageMultiplier;
|
let damageMult = damageMultiplier;
|
||||||
let melee = false;
|
let melee = false;
|
||||||
// If we are doing melee calculations:
|
// If we are doing melee calculations:
|
||||||
|
|
Loading…
Reference in a new issue