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
  • core
  • fvttActiveTokenLogicForActor

Function fvttActiveTokenLogicForActor

  • fvttActiveTokenLogicForActor(
        actor: null | SohlActor,
    ): SohlTokenDocumentLogic | undefined
  • The sohl.document.token.logic.SohlTokenDocumentLogic for the given actor's active token on the canvas, or undefined when the game is unavailable or the actor has no token.

    Lets Foundry-free logic (e.g. skill/attribute item logic) reach the token-logic layer — where opposed tests live — without touching canvas.

    Parameters

    • actor: null | SohlActor

      The actor whose active token logic to resolve.

    Returns SohlTokenDocumentLogic | undefined

    The token's logic, or undefined.

    • Defined in src/core/FoundryHelpers.ts:1155

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