UPdate and fixes for roll in combats
Release Creation / build (release) Successful in 43s

This commit is contained in:
2026-05-18 20:26:39 +02:00
parent 7279cd752d
commit 96306623e5
47 changed files with 329 additions and 177 deletions
+3 -1
View File
@@ -370,7 +370,9 @@ export default class LethalFantasyRoll extends Roll {
beyondSkill = !!rollContext.beyondSkill
letItFly = !!rollContext.letItFly
saveSpell = !!rollContext.saveSpell
rollContext.visibility ||= rollContext.rollMode || game.settings.get("core", "rollMode")
const _rawMode = rollContext.rollMode || game.settings.get("core", "rollMode")
const _modeMap = { publicroll: "public", gmroll: "gm", blindroll: "blind", selfroll: "self" }
rollContext.visibility ||= _modeMap[_rawMode] ?? _rawMode ?? "public"
rollContext.modifier ||= modifier
rollContext.favor ||= "none"
rollContext.changeDice ||= `${dice}`