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
  • item
  • logic
  • rollTimedTest

Function rollTimedTest

  • rollTimedTest(
        parent: SohlLogic<any>,
        eml: number,
        options?: TimedTestOptions,
    ): Promise<sohl.entity.result.SuccessTestResult | undefined | false>
  • Roll a headless d100 roll-under mastery test at effective mastery level eml, owned by parent, and return the evaluated result. Used by the timed trauma / affliction effects (recovery tests are typically Healing Base × Healing Rate).

    The caller reads the outcome off the result — sohl.entity.result.SuccessTestResult.normSuccessLevel (the canonical −1/0/1/2 level), isSuccess, isCritical, lastDigit.

    Parameters

    • parent: SohlLogic<any>

      The logic that owns the test (its speaker attributes the roll).

    • eml: number

      The effective mastery level to roll under.

    • options: TimedTestOptions = {}

      See TimedTestOptions.

    Returns Promise<sohl.entity.result.SuccessTestResult | undefined | false>

    The evaluated sohl.entity.result.SuccessTestResult, undefined if cancelled, or false on error (e.g. the speaker is not owned).

    • Defined in src/document/item/logic/timed-test.ts:73

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