Appel à la chance
+ ajout RdDRoll pour jet avec callbacks
This commit is contained in:
@ -97,6 +97,11 @@ export class RdDResolutionTable {
|
||||
}
|
||||
}
|
||||
|
||||
static async rollData(rollData ) {
|
||||
rollData.rolled = await this.roll(rollData.caracValue, rollData.finalLevel, rollData.bonus);
|
||||
return rollData;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static async roll(caracValue, finalLevel, bonus = 0 ) {
|
||||
let chances = this.computeChances(caracValue, finalLevel);
|
||||
|
Reference in New Issue
Block a user