Fix dice values + miracle/spell roll

This commit is contained in:
2025-01-30 13:40:01 +01:00
parent 560b2eb5ac
commit b78cdb0c10
36 changed files with 160 additions and 91 deletions

View File

@ -280,7 +280,7 @@ export default class LethalFantasyCharacter extends foundry.abstract.TypeDataMod
// Get all weapons from the actor
let weapons = this.parent.items.filter(i => i.type === "weapon")
let weaponsChoices = weapons.map(w => { return { id: w.id, name: `${w.name} (${w.system.combatProgressionDice})`, combatProgressionDice: w.system.combatProgressionDice } })
let weaponsChoices = weapons.map(w => { return { id: w.id, name: `${w.name} (${w.system.combatProgressionDice.toUpperCase()})`, combatProgressionDice: w.system.combatProgressionDice.toUpperCase() } })
let roll = await LethalFantasyRoll.promptProgressionDice({
actorId: this.parent.id,