#68 : Process stat effects automatically

This commit is contained in:
2022-09-28 16:27:16 +02:00
parent e3674f076c
commit 7977233d93
4 changed files with 48 additions and 3 deletions

View File

@@ -59,6 +59,13 @@ export class PegasusUtility {
Handlebars.registerHelper('mul', function (a, b) {
return parseInt(a) * parseInt(b);
})
Handlebars.registerHelper('add', function (a, b) {
return parseInt(a) + parseInt(b);
});
Handlebars.registerHelper('sub', function (a, b) {
return parseInt(a) - parseInt(b);
})
}
/* -------------------------------------------- */