mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 12:41:07 +01:00
Moved the damageFormula function to damageAction
This commit is contained in:
parent
51135b6a67
commit
e9752f5461
3 changed files with 14 additions and 17 deletions
|
|
@ -36,7 +36,7 @@ export default class RegisterHandlebarsHelpers {
|
|||
}
|
||||
|
||||
static damageFormula(attack) {
|
||||
return game.system.api.fields.ActionFields.DamageField.getFormulaString.bind(attack)(attack.damage.parts);
|
||||
return attack.getDamageFormula();
|
||||
}
|
||||
|
||||
static formulaValue(formula, item) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue