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

Function buildAttackResult

  • buildAttackResult(input: BuildAttackInput): sohl.entity.result.AttackResult
  • Assemble an sohl.entity.result.AttackResult from a strike mode's resolved attack and impact modifiers. Pure and Foundry-free: it clones the modifiers (so the result is independent of — and serializable without — the live strike mode) and rolls a fresh d100 unless one is supplied.

    The result is not yet evaluated; the caller runs evaluate() (on the attacker's client, which owns the speaker) before posting the attack card.

    Parameters

    • input: BuildAttackInput

      The resolved attack/impact modifiers and result metadata.

    Returns sohl.entity.result.AttackResult

    A new, unevaluated sohl.entity.result.AttackResult.

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

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