From 90ad4d30111eb879b757a2003094cc3eeeb4f711 Mon Sep 17 00:00:00 2001 From: sasquach45932 Date: Thu, 26 Feb 2026 22:18:42 +0100 Subject: [PATCH 1/2] Active Auras support & console error fix --- src/module/chat/effect-messages.js | 2 ++ src/module/templates.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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..b54810b2 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', From bb98c2c6f54199b140af006b19063d3f8e311890 Mon Sep 17 00:00:00 2001 From: sasquach45932 Date: Thu, 26 Feb 2026 22:25:16 +0100 Subject: [PATCH 2/2] Console error fix --- src/module/templates.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/module/templates.js b/src/module/templates.js index b54810b2..3df51be5 100644 --- a/src/module/templates.js +++ b/src/module/templates.js @@ -28,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',