La consommation d'alcool
est bonne pour depuis l'équipement + bug du à changement de vieValue -> vie
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import { RdDResolutionTable } from "./rdd-resolution-table.js";
|
||||
import { Misc } from "./misc.js";
|
||||
|
||||
/**
|
||||
@ -52,10 +51,8 @@ export class RdDRollDialogEthylisme extends Dialog {
|
||||
}
|
||||
async updateRollResult() {
|
||||
|
||||
this.rollData.finalLevel = Number(this.rollData.etat) + Number(this.rollData.forceAlcool) + this.rollData.diffNbDoses;
|
||||
|
||||
// Mise à jour valeurs
|
||||
$("#roll-param").text(this.rollData.vie + " / " + Misc.toSignedString(this.rollData.finalLevel));
|
||||
$("#roll-param").text(this.rollData.vie + " / " + Misc.toSignedString(Number(this.rollData.etat) + Number(this.rollData.forceAlcool) + this.rollData.diffNbDoses));
|
||||
$(".table-resolution").remove();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user