• Resolve the faction/Affiliation an item draws its standing from, from its associated-affiliation shortcode (assocAffiliationCode).

    Some Mystical Abilities are associated with a particular faction — a religion, an arcane or alchemical school, an ancestor/totem/spirit — whose membership confers an available area, level, circle, or capability separate from the activating skill's own mastery level. That association is recorded as a shortcode and resolved here by looking the Affiliation up on the same actor, exactly as resolveAssocSkill resolves the activating skill.

    The result is undefined when the actor is unknown, the code is blank, or no Affiliation with that shortcode is embedded on the actor. Returning undefined rather than an unchecked cast keeps callers honest: a blank or unmatched code must not masquerade as a present Affiliation.

    Parameters

    • actorLogic: undefined | null | SohlActorLogic<any>

      The owning actor's logic (the lookup scope), or null/undefined.

    • assocAffiliationCode: undefined | null | string

      The associated Affiliation's shortcode, possibly blank/undefined.

    Returns AffiliationLogic | undefined

    The matching AffiliationLogic, or undefined if none resolves.