mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.199.1
This commit is contained in:
@@ -350,6 +350,7 @@ globalThis.ScaleCreatureDamageExpression = class {
|
||||
ScaleCreatureUtils.getDiceExpressionAverage(
|
||||
state.getDiceExpression({
|
||||
numDice: numDiceTemp,
|
||||
diceFaces: diceFacesTemp,
|
||||
}),
|
||||
),
|
||||
)
|
||||
@@ -435,7 +436,7 @@ globalThis.ScaleCreatureDamageExpression = class {
|
||||
});
|
||||
|
||||
const avgDamOut = Math.floor(ScaleCreatureUtils.getDiceExpressionAverage(diceExpOut));
|
||||
if (avgDamOut <= 0 || diceExpOut === "1") return `1 ${suffix.replace(/^\W+/, " ").replace(/ +/, " ")}`;
|
||||
if (avgDamOut <= 0 || diceExpOut === "1") return `1 ${state.suffix.replace(/^\W+/, " ").replace(/ +/, " ")}`;
|
||||
|
||||
const expression = [
|
||||
Math.floor(ScaleCreatureUtils.getDiceExpressionAverage(diceExpOut)),
|
||||
|
||||
Reference in New Issue
Block a user