Lancer un sort avec RdDRoll
This commit is contained in:
@ -102,9 +102,9 @@ export class RdDResolutionTable {
|
||||
rollData.rolled = await this.roll(rollData.caracValue, rollData.finalLevel, rollData.bonus);
|
||||
return rollData;
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static async roll(caracValue, finalLevel, bonus = 0 ) {
|
||||
static async roll(caracValue, finalLevel, bonus = undefined ) {
|
||||
let chances = this.computeChances(caracValue, finalLevel);
|
||||
chances.showDice = true;
|
||||
this.updateChancesWithBonus( chances, bonus);
|
||||
|
Reference in New Issue
Block a user