mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
f
This commit is contained in:
parent
17dd9b1f61
commit
479e147640
25 changed files with 339 additions and 289 deletions
|
|
@ -9,7 +9,8 @@ export default class RegisterHandlebarsHelpers {
|
|||
damageFormula: this.damageFormula,
|
||||
damageSymbols: this.damageSymbols,
|
||||
rollParsed: this.rollParsed,
|
||||
hasProperty: foundry.utils.hasProperty
|
||||
hasProperty: foundry.utils.hasProperty,
|
||||
setVar: this.setVar
|
||||
});
|
||||
}
|
||||
static add(a, b) {
|
||||
|
|
@ -50,4 +51,8 @@ export default class RegisterHandlebarsHelpers {
|
|||
const result = itemAbleRollParse(value, actor, item);
|
||||
return isNumerical && !result ? 0 : result;
|
||||
}
|
||||
|
||||
static setVar(name, value, context) {
|
||||
this[name] = value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue