This commit is contained in:
2025-01-21 08:10:23 +01:00
parent b0d61ef626
commit 0d0c604496
26 changed files with 73 additions and 73 deletions

View File

@ -251,7 +251,7 @@ export default class LethalFantasyRoll extends Roll {
}
if (options.rollType === "save" && options.rollTarget.rollKey === "pain") {
if (options.rollType === "save" && (options.rollTarget.rollKey === "pain" || options.rollTarget.rollKey === "paincourage")) {
dice = options.rollTarget.rollDice
baseFormula = options.rollTarget.rollDice
hasModifier = false
@ -353,7 +353,7 @@ export default class LethalFantasyRoll extends Roll {
}
// Specific pain case
if (options.rollType === "save" && options.rollTarget.rollKey === "pain") {
if (options.rollType === "save" && options.rollTarget.rollKey === "pain" || options.rollTarget.rollKey === "paincourage") {
baseFormula = options.rollTarget.rollDice
titleFormula = `${dice}`
modifierFormula = "0"
@ -361,7 +361,7 @@ export default class LethalFantasyRoll extends Roll {
}
// Specific pain/poison/contagion case
if (options.rollType === "save" && (options.rollTarget.rollKey === "pain" || options.rollTarget.rollKey === "poison" || options.rollTarget.rollKey === "contagion")) {
if (options.rollType === "save" && (options.rollTarget.rollKey === "pain" || options.rollTarget.rollKey === "paincourage" || options.rollTarget.rollKey === "poison" || options.rollTarget.rollKey === "contagion")) {
hasD30 = false
}