Skip to content

Combat specification#

Real-time tactical battles: open-field fights and castle sieges.

Scope#

  • Battle initialization and teardown
  • Figure slots, movement, and melee/ranged resolution
  • Siege map (80×80 destructible tiles, gates, walls, boiling oil)
  • Unit types 0–10 and formation tiers
  • Projectile handling and casualties
  • Auto-battle calculation (quick resolve) when battles are not played tactically
  • NPC / group-order battle AI (shared engine for all sides)

Evidence#

First spec targets#

  1. Battle setuplotr2_combat_init_battle_state: figure/projectile slot clearing, formation thresholds, tile placement rules.
  2. Figure lifecycle — slot allocation, movement steps, melee hit application (lotr2_combat_apply_melee_hit), removal and casualty accounting.

Spec pages#