Update combat TOML schema

hit_time_ms for attacks, active_ms/recovery_ms for defenses
This commit is contained in:
Jared Miller 2026-02-15 16:08:29 -05:00
parent 30e7123912
commit 312da1dbac
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C
7 changed files with 11 additions and 7 deletions

View file

@ -2,7 +2,8 @@ name = "dodge"
description = "a quick sidestep to evade incoming attacks" description = "a quick sidestep to evade incoming attacks"
move_type = "defense" move_type = "defense"
stamina_cost = 3.0 stamina_cost = 3.0
timing_window_ms = 800 active_ms = 800
recovery_ms = 2700
[variants.left] [variants.left]

View file

@ -3,6 +3,7 @@ description = "crouch down to avoid high attacks, leaving you vulnerable to low
move_type = "defense" move_type = "defense"
stamina_cost = 3.0 stamina_cost = 3.0
telegraph = "" telegraph = ""
timing_window_ms = 700 active_ms = 600
recovery_ms = 2900
damage_pct = 0.0 damage_pct = 0.0
countered_by = [] countered_by = []

View file

@ -3,6 +3,7 @@ description = "leap upward to evade low attacks, exposing you to high strikes"
move_type = "defense" move_type = "defense"
stamina_cost = 4.0 stamina_cost = 4.0
telegraph = "" telegraph = ""
timing_window_ms = 700 active_ms = 600
recovery_ms = 2900
damage_pct = 0.0 damage_pct = 0.0
countered_by = [] countered_by = []

View file

@ -2,7 +2,8 @@ name = "parry"
description = "deflect an attack with precise timing, redirecting force rather than absorbing it" description = "deflect an attack with precise timing, redirecting force rather than absorbing it"
move_type = "defense" move_type = "defense"
stamina_cost = 4.0 stamina_cost = 4.0
timing_window_ms = 1200 active_ms = 400
recovery_ms = 3100
[variants.high] [variants.high]

View file

@ -2,7 +2,7 @@ name = "punch"
description = "a close-range strike with the fist, quick but predictable" description = "a close-range strike with the fist, quick but predictable"
move_type = "attack" move_type = "attack"
stamina_cost = 5.0 stamina_cost = 5.0
timing_window_ms = 1800 hit_time_ms = 3000
damage_pct = 0.15 damage_pct = 0.15
[variants.left] [variants.left]

View file

@ -6,7 +6,7 @@ telegraph = "{attacker} shifts {his} weight back..."
announce = "{attacker} launch{es} a roundhouse kick at {defender}!" announce = "{attacker} launch{es} a roundhouse kick at {defender}!"
resolve_hit = "{attacker}'s roundhouse slams into {defender}!" resolve_hit = "{attacker}'s roundhouse slams into {defender}!"
resolve_miss = "{defender} counter{s} {attacker}'s roundhouse!" resolve_miss = "{defender} counter{s} {attacker}'s roundhouse!"
timing_window_ms = 2000 hit_time_ms = 3000
damage_pct = 0.25 damage_pct = 0.25
countered_by = ["duck", "parry high", "parry low"] countered_by = ["duck", "parry high", "parry low"]

View file

@ -6,7 +6,7 @@ telegraph = "{attacker} drops low..."
announce = "{attacker} sweep{s} at {defender}'s legs!" announce = "{attacker} sweep{s} at {defender}'s legs!"
resolve_hit = "{attacker}'s sweep catches {defender}'s legs!" resolve_hit = "{attacker}'s sweep catches {defender}'s legs!"
resolve_miss = "{defender} jump{s} over {attacker}'s sweep!" resolve_miss = "{defender} jump{s} over {attacker}'s sweep!"
timing_window_ms = 1800 hit_time_ms = 3000
damage_pct = 0.18 damage_pct = 0.18
countered_by = ["jump", "parry low"] countered_by = ["jump", "parry low"]