Affichage niveau min necessaire #188
This commit is contained in:
@ -105,6 +105,8 @@ export class RdDRollResolutionTable extends Dialog {
|
||||
this.updateRollResult();
|
||||
});
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async updateRollResult() {
|
||||
let rollData = this.rollData;
|
||||
rollData.caracValue = parseInt(rollData.selectedCarac.value)
|
||||
@ -127,6 +129,7 @@ export class RdDRollResolutionTable extends Dialog {
|
||||
return diffLibre + diffConditions;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
_computeDiffLibre(rollData) {
|
||||
return Misc.toInt(rollData.diffLibre);
|
||||
}
|
||||
|
Reference in New Issue
Block a user