Merge branch 'stabilisation-v1.2' into 'v1.2'
Fix: /rdd avec conditions See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!117
This commit is contained in:
commit
d151a231ea
@ -22,7 +22,7 @@ export class RdDRollResolutionTable extends Dialog {
|
|||||||
let defRollData = {
|
let defRollData = {
|
||||||
show: { title: titleTableDeResolution },
|
show: { title: titleTableDeResolution },
|
||||||
ajustementsConditions: CONFIG.RDD.ajustementsConditions,
|
ajustementsConditions: CONFIG.RDD.ajustementsConditions,
|
||||||
difficultesLibres: CONFIG.RDD.difficultesLibres,
|
difficultesLibres: CONFIG.RDD.ajustementsConditions,
|
||||||
etat: 0,
|
etat: 0,
|
||||||
moral: 0,
|
moral: 0,
|
||||||
carac: {},
|
carac: {},
|
||||||
@ -86,7 +86,7 @@ export class RdDRollResolutionTable extends Dialog {
|
|||||||
this.updateRollResult();
|
this.updateRollResult();
|
||||||
});
|
});
|
||||||
html.find('#diffConditions').change((event) => {
|
html.find('#diffConditions').change((event) => {
|
||||||
rollData.diffConditions = Misc.toInt(event.currentTarget.value);
|
this.rollData.diffConditions = Misc.toInt(event.currentTarget.value);
|
||||||
this.updateRollResult();
|
this.updateRollResult();
|
||||||
});
|
});
|
||||||
html.find('#carac').change((event) => {
|
html.find('#carac').change((event) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user