Add monster changes

This commit is contained in:
2025-01-15 16:50:26 +01:00
parent cc8c1f9864
commit 78b230084f
59 changed files with 103 additions and 139 deletions

View File

@ -318,8 +318,12 @@ export default class LethalFantasyRoll extends Roll {
if (fullModifier === 0) {
modifierFormula = "0"
} else {
let modAbs = Math.abs(fullModifier)
modifierFormula = `d${modAbs + 1} - 1`
if (options.rollType === "skill") {
modifierFormula = `${fullModifier}`
} else {
let modAbs = Math.abs(fullModifier)
modifierFormula = `d${modAbs + 1} - 1`
}
}
let sign = fullModifier < 0 ? "-" : "+"
titleFormula = `${dice}E ${sign} ${modifierFormula}`