Add monster changes
This commit is contained in:
@ -44,5 +44,9 @@ export const MONSTER_SAVES = Object.freeze({
|
||||
poison: {
|
||||
id: "poison",
|
||||
label: "LETHALFANTASY.Character.poison.label"
|
||||
},
|
||||
paincourage: {
|
||||
id: "paincourage",
|
||||
label: "LETHALFANTASY.Character.painCourage.label"
|
||||
}
|
||||
})
|
||||
|
@ -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}`
|
||||
|
Reference in New Issue
Block a user