mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
Fixed ActiveEffect.getChangeValue not expecting a number as change.value
This commit is contained in:
parent
578b090f08
commit
c17020c2c8
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
|
|||
}
|
||||
|
||||
static getChangeValue(model, change, effect) {
|
||||
let key = change.value;
|
||||
let key = change.value.toString();
|
||||
const isOriginTarget = key.toLowerCase().includes('origin.@');
|
||||
let parseModel = model;
|
||||
if (isOriginTarget && effect.origin) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue