difficultés

This commit is contained in:
François-Xavier Guillois
2023-08-25 16:15:04 +02:00
parent c57c355066
commit 9f760deee0
5 changed files with 48 additions and 7 deletions
+2 -2
View File
@@ -38,11 +38,11 @@
export const getRollBox = async function(data) {
let html = await renderTemplate('systems/vermine2047/templates/roll.hbs', data);
let ui = new Dialog({
title: game.i18n.localize("VERMINE.roll_tool"),
title: game.i18n.localize("ROLLS.tool"),
content: html,
buttons: {
roll: {
label: game.i18n.localize('VERMINE.roll_dice'),
label: game.i18n.localize('ROLLS.roll_dice'),
callback: (html) => {
let form = html.find('#dice-pool-form');
if (!form[0].checkValidity()) {