diff --git a/Changelog.md b/Changelog.md index db5047f..af1632d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -147,3 +147,7 @@ Spikegrowth example macro fixed. - Improve wound detection in SWADE. - In some cases, an aura effect would be reapplied even after the aura was gone#271 - Transferred Effects aren't removed if the source token is deleted #269 + +# 0.6.1 + +- Effects which had previously been marked as active auras and had ignore self checked, but were no longer marked as active effects would cause the effect to not be applied to the actor. diff --git a/src/lib/AAHelpers.mjs b/src/lib/AAHelpers.mjs index 29d81c7..eff9afc 100644 --- a/src/lib/AAHelpers.mjs +++ b/src/lib/AAHelpers.mjs @@ -303,7 +303,8 @@ export class AAHelpers { // args: duplicate(args), // ignoreSelf: getProperty(change, "effect.flags.ActiveAuras.ignoreSelf"), // }) - if (getProperty(change, "effect.flags.ActiveAuras.ignoreSelf") === true) { + const AAFlags = getProperty(change, "effect.flags.ActiveAuras"); + if (AAFlags?.isAura === true && AAFlags?.ignoreSelf === true) { Logger.info( game.i18n.format("ACTIVEAURAS.IgnoreSelfLog", { effectDataLabel: change.effect.label,