Fire a custom trigger through both SoHL's event queue and Foundry's
ActiveEffect.registry. Use this instead of calling either dispatcher
directly so the two stay in sync.
Built-in triggers are dispatched by SohlHookBridge for SoHL's queue
only — Foundry's own code already calls registry.refresh(...) next to
the hook calls (verified in client/helpers/time.mjs and
client/documents/combat.mjs), so dual-dispatching the built-ins would
fire effects twice. fireSohlTrigger is for custom triggers fired
by SoHL system code.
Fire a custom trigger through both SoHL's event queue and Foundry's
ActiveEffect.registry. Use this instead of calling either dispatcher directly so the two stay in sync.Built-in triggers are dispatched by
SohlHookBridgefor SoHL's queue only — Foundry's own code already callsregistry.refresh(...)next to the hook calls (verified inclient/helpers/time.mjsandclient/documents/combat.mjs), so dual-dispatching the built-ins would fire effects twice.fireSohlTriggeris for custom triggers fired by SoHL system code.