from totem to vermine - v0.0.12

This commit is contained in:
François-Xavier Guillois
2023-06-06 11:06:04 +02:00
parent d388c3ba4b
commit 2b5e639e9e
110 changed files with 369 additions and 9675 deletions
+4 -4
View File
@@ -36,13 +36,13 @@
}
export const getRollBox = async function(data) {
let html = await renderTemplate('systems/totem/templates/roll.hbs', data);
let html = await renderTemplate('systems/vermine2047/templates/roll.hbs', data);
let ui = new Dialog({
title: game.i18n.localize("TOTEM.roll_tool"),
title: game.i18n.localize("VERMINE.roll_tool"),
content: html,
buttons: {
roll: {
label: game.i18n.localize('TOTEM.roll_dice'),
label: game.i18n.localize('VERMINE.roll_dice'),
callback: (html) => {
let form = html.find('#dice-pool-form');
if (!form[0].checkValidity()) {
@@ -88,7 +88,7 @@
if (formData.helped !== undefined && formData.helped == 1){
NoD += 1;
}
return game.totem.TotemRoll.roll(data.actorId, data.label, NoD, Reroll, data);
return game.vermine2047.VermineRoll.roll(data.actorId, data.label, NoD, Reroll, data);
}
},
close: {