Combat moves defined as TOML content files in content/combat/, not engine code. State machine (IDLE > TELEGRAPH > WINDOW > RESOLVE) processes timing-based exchanges. Counter relationships, stamina costs, damage formulas all tunable from data files. Moves: punch right/left, roundhouse, sweep, dodge right/left, parry high/low, duck, jump. Combat ends on knockout (PL <= 0) or exhaustion (stamina <= 0).
8 lines
210 B
TOML
8 lines
210 B
TOML
name = "punch left"
|
|
aliases = ["pl"]
|
|
move_type = "attack"
|
|
stamina_cost = 5.0
|
|
telegraph = "{attacker} winds up a left hook!"
|
|
timing_window_ms = 800
|
|
damage_pct = 0.15
|
|
countered_by = ["dodge right", "parry high"]
|