Various fixes for v13
All checks were successful
Release Creation / build (release) Successful in 53s

This commit is contained in:
2025-06-05 16:14:25 +02:00
parent 7a06e8a5c9
commit b5857cb3b7
34 changed files with 433 additions and 164 deletions

View File

@ -913,7 +913,7 @@ export default class LethalFantasyRoll extends Roll {
}
console.log("CTX", dialogContext)
const content = await renderTemplate("systems/fvtt-lethal-fantasy/templates/range-defense-dialog.hbs", dialogContext)
const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-lethal-fantasy/templates/range-defense-dialog.hbs", dialogContext)
const label = game.i18n.localize("LETHALFANTASY.Label.rangeDefenseRoll")
const rollContext = await foundry.applications.api.DialogV2.wait({
@ -966,7 +966,7 @@ export default class LethalFantasyRoll extends Roll {
options.D30result = rollD30.total
let dice = rollContext.movement
let maxValue = Number(dice.match(/\d+$/)[0]) // Update the max value agains
let maxValue = 20 // As per latest changes (was : Number(dice.match(/\d+$/)[0])
let rollTotal = -1
let diceResults = []
let resultType