Heroic Lands Heroic Lands
Home Thalorna Blog
Projects
Song of Heroic Lands HârnMaster 3 Modules API Documentation KnowledgeBase
License
  • Preparing search index...
  • The search index is not available
Song of Heroic Lands API - v0.8.2
  • Song of Heroic Lands API
  • sohl
  • document
  • combatant
  • logic
  • resolveSkillMasteryLevel

Function resolveSkillMasteryLevel

  • resolveSkillMasteryLevel(
        actorLogic: SohlActorLogic<any>,
        shortcode: string,
    ): sohl.entity.modifier.MasteryLevelModifier | null
  • Resolve the sohl.entity.modifier.MasteryLevelModifier of an actor's skill identified by its (static, non-localized) system.shortcode — e.g. "dge" for Dodge.

    Pure and Foundry-free. Used by the defender's automated-combat resumes (Dodge, …) to roll against the right skill. Returns null when the actor has no skill with that shortcode.

    Parameters

    • actorLogic: SohlActorLogic<any>

      The actor's logic, whose skill is resolved via getItemLogic.

    • shortcode: string

      The skill's system.shortcode (e.g. "dge").

    Returns sohl.entity.modifier.MasteryLevelModifier | null

    The skill's mastery-level modifier, or null if no skill matches.

    • Defined in src/document/combatant/logic/SohlCombatantLogic.ts:1856

Settings

Member Visibility
Song of Heroic Lands API - v0.8.2
  • Loading...

Generated using TypeDoc with typedoc-github-theme

© 2020–2026 Tom Rodriguez. Content under The World of Thalorna and Song of Heroic Lands is licensed under CC BY-SA 4.0; all other content is © Tom Rodriguez, all rights reserved. See License.

CC BY-SA 4.0 Discord