• Resolve the skill governing an item or strike mode from its associated-skill shortcode (assocSkillCode).

    Several entities carry an assocSkillCode and need the mastery level of the named skill: a weapon's and a combat technique's strike modes (Atk/Blk/CX), a mystical ability, and a mystery. They all resolve it the same way — look the skill up on the wielding actor by shortcode — so that lookup lives here once.

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

    Parameters

    • actorLogic: undefined | null | SohlActorLogic<any>

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

    • assocSkillCode: undefined | null | string

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

    Returns SkillLogic | undefined

    The matching SkillLogic, or undefined if none resolves.