mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
Readded effectSafeEval for math evaluation of ActiveEffect values. Dunno why it was removed
This commit is contained in:
parent
610d263e19
commit
b04d9ac6aa
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
|
|||
const stackingParsedValue = effect.system.stacking
|
||||
? Roll.replaceFormulaData(key, { stacks: effect.system.stacking.value })
|
||||
: key;
|
||||
const evalValue = itemAbleRollParse(stackingParsedValue, actorModel, itemModel);
|
||||
const evalValue = this.effectSafeEval(itemAbleRollParse(stackingParsedValue, actorModel, itemModel));
|
||||
return evalValue ? evalValue : key;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue