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
  • entity
  • body
  • treatmentOutcome

Function treatmentOutcome

  • treatmentOutcome(
        aspect: ImpactAspect,
        band: InjuryBand,
        code: undefined | TreatmentCode,
        normSuccessLevel: number,
    ): TreatmentOutcome
  • Every special effect a Treatment Test produces, derived once from the wound's aspect and severity band, the required treatment action, and the test result — the single source of truth shared by the persist path (sohl.document.item.logic.TraumaLogic.treatInjury) and the Treatment Result card so the card shows exactly what the treatment did.

    A TREATMENT_HEAL result heals the wound outright and carries no further effects.

    Parameters

    • aspect: ImpactAspect

      The wound's impact aspect.

    • band: InjuryBand

      The wound's severity band.

    • code: undefined | TreatmentCode

      The required treatment action (or undefined when the aspect has no table entry).

    • normSuccessLevel: number

      The Physician-test result (CF −1 … CS 2).

    Returns TreatmentOutcome

    The treatment's Healing Rate and special effects.

    • Defined in src/entity/body/injury-treatment.ts:319

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