Defense-Graded Enemy Rage & 3-Beat Counter Lab
Extracted from Zhaoshi Wulin Frenzied Beast: play a live 3-beat sparring arena proving why great designers turn enemy rage into a defensive skill grade — fixed 3-beat tempo (Pounce -> Press -> Unleash = 3 + rage), true HP-damage grading (if (hp_damage > 0) rage += 1 caps blocked ults at 5 vs 7 when pierced), and an immediate post-ultimate reset to 0/4 + self Vulnerable (+50% damage) counterattack window.


Rule 01 — Fixed 3-beat tempo (Pounce 3 -> Press 2+Block 3 -> Unleash = 3 + rage): zero opaque RNG
Rule 02 — True HP-damage trigger (if hp_damage > 0: rage += 1): full block/evade caps Ult at 5 vs 7 when hit
Rule 03 — Post-ult release window: rage resets to 0/4 and enemy self-inflicts Vulnerable +1 (+50% punish dmg)
Play Guard vs Greedy tracks live or toggle any rule OFF to feel why naive turn-timer rage fails
Installable Agent Skill · Free
Drop straight into Claude Code, Cursor, or Codex
Read https://gameskill.dev/labs/defense-graded-rage/skill.md and apply this skill to my gameCompanion pack "Roguelike Combat & Boss Kit" ships runnable JS/TS + Godot 4 (.gd) + Unity (.cs) source code — unlock all 12 multi-engine Pro packs + 84 commercial WAV SFX + 8 2D VFX shaders from $8.25/mo ($99/yr, save 36%) or $12.9/mo.
Full SKILL.md Specification & Verification Checklist
Defense-Graded Enemy Rage & 3-Beat Counterattack Contract
When an enemy's big attack feels randomly weak on one run and lethal on the next, players blame RNG. When enemy rage climbs unconditionally every turn, players feel punished for playing defensively.
Turn enemy rage into a transparent defensive performance grade (as built for Frenzied Beast / 狂躁兽 in Zhaoshi Wulin / 《招式武林》) using 3 hard rules:
1. The 3 Mandatory Rules
-
Rule 01 — Fixed 3-Beat Tempo & Deterministic Ultimate Formula:
- Lock the enemy onto a readable 3-beat loop — never random ultimate rolls:
- Beat 1 (
蓄怒扑咬/ Rage Pounce): Attack3, guaranteed+1rage. - Beat 2 (
压步蓄怒/ Press & Charge): Attack2+ Enemy Block3, guaranteed+1rage. - Beat 3 (
怒扑放泄/ Fury Unleash): Deterministic ultimate damageult_damage = 3 + current_rage(max rage4).
- Beat 1 (
- Only 2 beats of charge before release keeps tension snappy without dragging fights out.
- Lock the enemy onto a readable 3-beat loop — never random ultimate rolls:
-
Rule 02 — True HP-Damage Grading (
if (hp_damage > 0) rage += 1):- Base charge per buildup beat is
+1. - Grant the bonus
+1rage ONLY when the attack pierces defense and deals real HP damage:const hpDamage = evaded ? 0 : Math.max(0, incomingAttack - playerShield); rage = Math.min(4, rage + 1 + (hpDamage > 0 ? 1 : 0)); - Full Block / Evade (Guard Track): Beats 1–2 yield
1 + 1 = 2/4rage → Beat 3 ultimate compressed to3 + 2 = 5. - Eating HP Hits (Greedy Track): Beats 1–2 yield
2 + 2 = 4/4rage → Beat 3 ultimate spikes to3 + 4 = 7. - Good defense immediately pays out as a 2-tier ultimate reduction instead of feeling passive.
- Base charge per buildup beat is
-
Rule 03 — Post-Ultimate Reset & Self-Vulnerable Counterattack Window:
- Immediately after Beat 3 resolves:
- Reset
rage = 0(0/4). - Inflict self Vulnerable
+1(破绽 +1,+50%damage taken on the player's next turn, e.g.floor(8 * 1.5) = 12).
- Reset
- Surviving the big hit automatically hands the player an explosive punish turn, creating a tight Defend → Survive → Punish rhythm.
- Immediately after Beat 3 resolves:
2. Verification Checklist
- Enemy follows the exact 3-beat loop (
Beat 1 -> Beat 2 -> Beat 3 -> Beat 1) with Beat 3 damage strictly equal to3 + rage. - Blocking or evading Beat 1 & Beat 2 cleanly (
hp_damage === 0) leaves rage at2/4and caps Beat 3 ultimate at5. - Taking
>= 1HP damage on Beat 1 & Beat 2 (hp_damage > 0) triggers+2rage per beat, reaching4/4and dealing7on Beat 3. - Beat 3 immediately clears rage to
0and appliesvulnerable = 1(+50%damage taken on the player's follow-up turn). - Never apply bonus rage on blocked shield damage; always check post-shield true HP loss (
hp_damage > 0).
More interactive labs in this track
Drag your hero (with giant exposed greatsword!) across the secret Trigger Box under knee-high grass: toe 2px in = invisible, half a step out = instant alert! Compare MOBA vs Assassin vs AAA Stealth.
Watch 10 enemies surround you at 60fps: compare raw Free-For-All instant melt (1.5s) vs Sifu / Arkham Attack Token queue (max 2 tokens + 340ms parry stagger + outer-ring circling).
Minute-0 blessings are a personality test, not flat RNG! Play the 60fps Canvas shrine: Safe Floor vs Build-Defining (with Slot #1 new-unlock override) vs High-Risk Boss Relic + Curse.
Not to torture you — to kill second-half boredom! Test 4 Zhaoshi Wulin bosses + 3-phase Cangfeng (100 - 70 hard-clamps at 45 HP!), shield-only transitions (never heal), and moveset upgrades.
Extracted from a real game · Zhaoshi Wulin
Every formula in these labs ships inside our upcoming Steam wuxia deckbuilder
3 martial-arts characters, 39 enemies, 70 relics, 19 kungfu finishers built in Godot with AI agents. Every time we solve a hard design or feel problem, we turn it into an interactive lab and skill here.