Ajout du symbole d20, pour les roll de formule

This commit is contained in:
2025-01-14 22:24:20 +01:00
parent c5633a9fc5
commit 40a47ee8a2
4 changed files with 8 additions and 4 deletions

View File

@ -18,7 +18,7 @@ export class TextRollFormula {
async onRollText(event, actor) {
const node = TextRollManager.getNode(event)
const rollFormula = node.data('roll-formula')
const rollFormula = node.data('formula')
if (rollFormula) {
const roll = new Roll(rollFormula)
await roll.evaluate()