From 312da1dbac5fd921b57fbdc230aab1fc17118886 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Sun, 15 Feb 2026 16:08:29 -0500 Subject: [PATCH] Update combat TOML schema hit_time_ms for attacks, active_ms/recovery_ms for defenses --- content/combat/dodge.toml | 3 ++- content/combat/duck.toml | 3 ++- content/combat/jump.toml | 3 ++- content/combat/parry.toml | 3 ++- content/combat/punch.toml | 2 +- content/combat/roundhouse.toml | 2 +- content/combat/sweep.toml | 2 +- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/content/combat/dodge.toml b/content/combat/dodge.toml index d090e43..df5fd5c 100644 --- a/content/combat/dodge.toml +++ b/content/combat/dodge.toml @@ -2,7 +2,8 @@ name = "dodge" description = "a quick sidestep to evade incoming attacks" move_type = "defense" stamina_cost = 3.0 -timing_window_ms = 800 +active_ms = 800 +recovery_ms = 2700 [variants.left] diff --git a/content/combat/duck.toml b/content/combat/duck.toml index 0079184..5ff9899 100644 --- a/content/combat/duck.toml +++ b/content/combat/duck.toml @@ -3,6 +3,7 @@ description = "crouch down to avoid high attacks, leaving you vulnerable to low move_type = "defense" stamina_cost = 3.0 telegraph = "" -timing_window_ms = 700 +active_ms = 600 +recovery_ms = 2900 damage_pct = 0.0 countered_by = [] diff --git a/content/combat/jump.toml b/content/combat/jump.toml index b923779..443471e 100644 --- a/content/combat/jump.toml +++ b/content/combat/jump.toml @@ -3,6 +3,7 @@ description = "leap upward to evade low attacks, exposing you to high strikes" move_type = "defense" stamina_cost = 4.0 telegraph = "" -timing_window_ms = 700 +active_ms = 600 +recovery_ms = 2900 damage_pct = 0.0 countered_by = [] diff --git a/content/combat/parry.toml b/content/combat/parry.toml index fe0d46c..3e999d6 100644 --- a/content/combat/parry.toml +++ b/content/combat/parry.toml @@ -2,7 +2,8 @@ name = "parry" description = "deflect an attack with precise timing, redirecting force rather than absorbing it" move_type = "defense" stamina_cost = 4.0 -timing_window_ms = 1200 +active_ms = 400 +recovery_ms = 3100 [variants.high] diff --git a/content/combat/punch.toml b/content/combat/punch.toml index 88dc0d5..59a743f 100644 --- a/content/combat/punch.toml +++ b/content/combat/punch.toml @@ -2,7 +2,7 @@ name = "punch" description = "a close-range strike with the fist, quick but predictable" move_type = "attack" stamina_cost = 5.0 -timing_window_ms = 1800 +hit_time_ms = 3000 damage_pct = 0.15 [variants.left] diff --git a/content/combat/roundhouse.toml b/content/combat/roundhouse.toml index ba88879..8742414 100644 --- a/content/combat/roundhouse.toml +++ b/content/combat/roundhouse.toml @@ -6,7 +6,7 @@ telegraph = "{attacker} shifts {his} weight back..." announce = "{attacker} launch{es} a roundhouse kick at {defender}!" resolve_hit = "{attacker}'s roundhouse slams into {defender}!" resolve_miss = "{defender} counter{s} {attacker}'s roundhouse!" -timing_window_ms = 2000 +hit_time_ms = 3000 damage_pct = 0.25 countered_by = ["duck", "parry high", "parry low"] diff --git a/content/combat/sweep.toml b/content/combat/sweep.toml index 21968ca..89358a0 100644 --- a/content/combat/sweep.toml +++ b/content/combat/sweep.toml @@ -6,7 +6,7 @@ telegraph = "{attacker} drops low..." announce = "{attacker} sweep{s} at {defender}'s legs!" resolve_hit = "{attacker}'s sweep catches {defender}'s legs!" resolve_miss = "{defender} jump{s} over {attacker}'s sweep!" -timing_window_ms = 1800 +hit_time_ms = 3000 damage_pct = 0.18 countered_by = ["jump", "parry low"]