Merge branch 'v1.2' of gitlab.com:LeRatierBretonnien/foundryvtt-reve-de-dragon into v1.2

This commit is contained in:
sladecraven 2021-01-17 19:14:22 +01:00
commit 91517f6a60

View File

@ -22,7 +22,7 @@ export class RdDRollResolutionTable extends Dialog {
let defRollData = {
show: { title: titleTableDeResolution },
ajustementsConditions: CONFIG.RDD.ajustementsConditions,
difficultesLibres: CONFIG.RDD.difficultesLibres,
difficultesLibres: CONFIG.RDD.ajustementsConditions,
etat: 0,
moral: 0,
carac: {},
@ -86,7 +86,7 @@ export class RdDRollResolutionTable extends Dialog {
this.updateRollResult();
});
html.find('#diffConditions').change((event) => {
rollData.diffConditions = Misc.toInt(event.currentTarget.value);
this.rollData.diffConditions = Misc.toInt(event.currentTarget.value);
this.updateRollResult();
});
html.find('#carac').change((event) => {