Add ability to role

This commit is contained in:
2022-03-16 15:08:34 +01:00
parent 0d34b30467
commit 55efa32739
2 changed files with 12 additions and 2 deletions

View File

@ -279,6 +279,9 @@ export class PegasusUtility {
/* -------------------------------------------- */
static getDiceValue(level = 0) {
let diceString = this.diceList[level]
if ( !diceString) {
console.log("Level error", level)
}
let diceTab = diceString.split(" ")
let diceValue = 0
for (let dice of diceTab) {