Body, Mind & Soul — API Reference
    Preparing search index...

    Function getAllActiveEffectSources

    • Collects every ActiveEffect currently active on an actor, from every source allApplicableEffects() considers, tagged with where each one came from.

      This is a thin aggregator, not a reimplementation: it calls the actor's own _getActiveGlyphs()/_getActiveGeoTypes() methods for glyph geo-synergy filtering, and each owned item's system.transferredEffects getter for everything else (including gear-socketed upgrade effects and keyword-item effects — the socket/keyword traversal lives once, in the item data models, and is never duplicated here).

      Parameters

      • actor: BodyMindSoulActor

        The actor to collect effect sources for.

      Returns { effect: ActiveEffect; sourceItem: any; sourceType: string }[]

      One entry per active effect. effect is the ActiveEffect document. sourceItem is the document the effect is attributed to: the actor itself for actor-level embedded effects, the owning Item document for feature/gear/party-link effects (including effects contributed via that item's sockets or keyword matches), or the glyph Item document for glyph effects. sourceType is a short category string: "actor", "feature", "gear", "partyEffectLink", "glyph", or (fallback) the owning item's raw type for any other item type that declares transferredEffects.