Sync effetcts + initiative

This commit is contained in:
2022-01-28 17:27:01 +01:00
parent a4ead72808
commit 44131734bd
10 changed files with 193 additions and 31 deletions

View File

@ -32,6 +32,9 @@ export class PegasusUtility {
if (typeof text !== 'string') return text
return text.charAt(0).toUpperCase() + text.slice(1)
});
Handlebars.registerHelper('notEmpty', function (list) {
return list.length > 0;
});
}
@ -587,6 +590,8 @@ export class PegasusUtility {
specDicesLevel: 0,
effectsList: [],
armorsList: [],
weaponsList: [],
equipmentsList: [],
optionsDiceList: PegasusUtility.getOptionsDiceList()
}
PegasusUtility.updateWithTarget(rollData)