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
  • resolveInjury

Function resolveInjury

  • resolveInjury(input: InjuryInput): ResolvedInjury
  • Resolve a blow into a concrete injury: pick the hit location, subtract armor, derive the injury level, and evaluate bleeding and amputation.

    Pure and Foundry-free — composes BodyStructure.getRandomLocation, BodyLocation.protectionBase, and the rule helpers in InjuryDefaults. Consumed by both the assisted Add Injury flow and automated combat's Calculate Injury step.

    Parameters

    • input: InjuryInput

      The blow parameters (impact, aspect, target body, overrides).

    Returns ResolvedInjury

    The fully resolved injury.

    • Defined in src/entity/body/injury-resolution.ts:172

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