roll dice

This commit is contained in:
François-Xavier Guillois
2023-05-18 23:19:05 +02:00
parent 03d71ecd3c
commit 2dacf17369
21 changed files with 544 additions and 864 deletions
+4 -1
View File
@@ -222,7 +222,10 @@ export class TotemCharacterSheet extends TotemActorSheet {
console.log($(element).attr('for'));
const NoD = this.actor.system.skills[$(element).attr('for').split('.')[2]]?.value || 0
return game.totem.TotemRoll.roll(this.actor.id, label, NoD, 0, {});*/
let data = {};
let data = {
actorId: this.actor.id,
label: game.i18n.localize(dataset.label)
};
getRollBox(data);
return true;
}