Rework jet éthylisme

This commit is contained in:
Vincent Vandemeulebrouck
2021-04-21 19:40:48 +02:00
parent 31c5be26a3
commit 710a768bb6
3 changed files with 25 additions and 33 deletions

View File

@ -1590,7 +1590,8 @@ export class RdDActor extends Actor {
etat: this.getEtatGeneral({ ethylisme: true }),
diffNbDoses: -Number(actorData.data.compteurs.ethylisme.nb_doses || 0),
finalLevel: 0,
diffConditions: 0
diffConditions: 0,
ajustementsForce: CONFIG.RDD.difficultesLibres,
}
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-ethylisme.html', rollData);
new RdDRollDialogEthylisme(html, rollData, this, r => this.performEthylisme(r)).render(true);