forked from public/fvtt-yggdrasill
Cleanup et preparation Foundry v12
This commit is contained in:
@@ -124,7 +124,7 @@ export class YggdrasillRoll extends Dialog {
|
||||
activateListeners(html) {
|
||||
super.activateListeners(html);
|
||||
|
||||
var dialog = this;
|
||||
let dialog = this;
|
||||
function onLoad() {
|
||||
if (dialog.rollData.mode == "competence") {
|
||||
let carac = dialog.actor.getCarac( "Puissance" );
|
||||
@@ -194,7 +194,7 @@ export class YggdrasillRoll extends Dialog {
|
||||
});
|
||||
|
||||
|
||||
html.find('#bonusMalus').change((event) => {
|
||||
html.find('#bonusMalus').change((event) => {
|
||||
this.rollData.bonusMalus = Number(event.currentTarget.value);
|
||||
});
|
||||
html.find('#furorUsage').change((event) => {
|
||||
|
||||
Reference in New Issue
Block a user