mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
Added _applyLegacy parse logic for ActiveEffect
This commit is contained in:
parent
c7431d16a7
commit
7c86417752
1 changed files with 5 additions and 0 deletions
|
|
@ -114,6 +114,11 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
|
|||
super.applyField(model, change, field);
|
||||
}
|
||||
|
||||
_applyLegacy(actor, change, changes) {
|
||||
change.value = DhActiveEffect.getChangeValue(actor, change, change.effect);
|
||||
super._applyLegacy(actor, change, changes);
|
||||
}
|
||||
|
||||
/** */
|
||||
static getChangeValue(model, change, effect) {
|
||||
let value = change.value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue