Gestion écaille sur initiative

This commit is contained in:
2021-01-29 21:14:35 +01:00
parent 7ed05b3722
commit 449ec40f07
2 changed files with 4 additions and 2 deletions

View File

@ -457,8 +457,9 @@ export class RdDUtility {
}
/* -------------------------------------------- */
static calculInitiative(niveau, caracValue) {
static calculInitiative(niveau, caracValue, bonusEcaille = 0) {
let base = niveau + Math.floor(caracValue / 2);
base += bonusEcaille;
return "1d6" + (base >= 0 ? "+" : "") + base;
}