diff --git a/src/module/chat/effect-messages.js b/src/module/chat/effect-messages.js index 3739e666..7df032b9 100644 --- a/src/module/chat/effect-messages.js +++ b/src/module/chat/effect-messages.js @@ -14,6 +14,8 @@ import { capitalize } from '../utils/utils' */ function _remapEffects(effects) { let m = new Map() + // Active Auras module support + effects = game.modules.get('ActiveAuras')?.active ? effects.filter(e => !e.flags?.ActiveAuras || foundry.utils.getProperty(e, `flags.ActiveAuras.isAura`) === undefined) : effects effects.forEach(effect => effect.changes.forEach(change => { const obj = { diff --git a/src/module/templates.js b/src/module/templates.js index 92e95ef6..3df51be5 100644 --- a/src/module/templates.js +++ b/src/module/templates.js @@ -21,7 +21,6 @@ export const preloadHandlebarsTemplates = async function () { 'systems/demonlord/templates/tabs/talents.hbs', 'systems/demonlord/templates/chat/challenge.hbs', 'systems/demonlord/templates/chat/combat.hbs', - 'systems/demonlord/templates/chat/corruption.hbs', 'systems/demonlord/templates/chat/damage.hbs', 'systems/demonlord/templates/chat/description.hbs', 'systems/demonlord/templates/chat/heal.hbs', @@ -29,7 +28,6 @@ export const preloadHandlebarsTemplates = async function () { 'systems/demonlord/templates/chat/makechallengeroll.hbs', 'systems/demonlord/templates/chat/makeinitroll.hbs', 'systems/demonlord/templates/chat/rest.hbs', - 'systems/demonlord/templates/chat/fortune.hbs', 'systems/demonlord/templates/chat/showtalent.hbs', 'systems/demonlord/templates/chat/spell.hbs', 'systems/demonlord/templates/chat/talent.hbs',