[Milestone M19] Barbarian Warcries (Howl, Find Potion, Taunt, Shout, Find Item, Battle Cry, Battle Orders, Grim Ward, War Cry, Battle Command) #466

Closed
opened 2026-09-25 02:04:19 +00:00 by troytt · 1 comment
Owner

Milestone M19: Barbarian Warcries (10 Skills)

1. Overview & Scope

Implement authoritative Diablo II v1.13c pure calculations, buff durations, synergies, debuffs, corpse mechanics, and adversarial testing for the 10 Barbarian Warcries:

  • Skill 130: Howl (Flee / Terror effect, radius scaling)
  • Skill 131: Find Potion (Corpse search chance dm12)
  • Skill 137: Taunt (Forced melee, AR & Damage debuffs)
  • Skill 138: Shout (Party defense buff, duration scaling & synergies from BO / BC)
  • Skill 142: Find Item (Corpse item drop chance dm12)
  • Skill 146: Battle Cry (Enemy defense & damage debuffs, duration ln12)
  • Skill 149: Battle Orders (Party Life, Mana, Stamina buff %, duration & synergies from Shout / BC)
  • Skill 150: Grim Ward (Corpse totem fear emitter, totem duration 1000 frames)
  • Skill 154: War Cry (Radial physical damage 5-band, stun duration ln12, synergies from Howl/Taunt/Battle Cry)
  • Skill 155: Battle Command (Party +1 All Skills buff, duration & synergies from Shout / BO)

2. Authoritative 1.13c Ground Truth Formulas (Skills.txt)

  • Shout (138): Defense +100% + 10% * (slvl - 1), duration 500 + 250 * (slvl - 1) + 125 * (BO.blvl + BC.blvl) frames
  • Battle Orders (149): Life/Mana/Stamina +35% + 3% * (slvl - 1), duration 750 + 250 * (slvl - 1) + 125 * (Shout.blvl + BC.blvl) frames
  • Battle Command (155): +1 to All Skills, duration 125 + 250 * (slvl - 1) + 125 * (Shout.blvl + BO.blvl) frames
  • War Cry (154): 5-band physical damage progression (20-30 base, +6 / +7 / +8 / +9 / +10 per tier), +6% damage / blvl (Howl, Taunt, Battle Cry), stun length 25 + 5 * (slvl - 1) frames, mana 10 + (slvl - 1)
  • Battle Cry (146): Enemy defense -(50 + 2 * (slvl - 1))%, enemy damage -(25 + 1 * (slvl - 1))%, duration 300 + 60 * (slvl - 1) frames
  • Taunt (137): Enemy AR -(5 + 2 * (slvl - 1))%, enemy damage -(5 + 2 * (slvl - 1))%
  • Find Potion (131): dm(0, 100, slvl)%
  • Find Item (142): dm(5, 60, slvl)%
  • Grim Ward (150): Totem life 1000 frames, radius 3 + 1 * (slvl - 1) yards, fear duration 60 frames

3. Acceptance Criteria

  • Dedicated calculation module src/game/skills/barbarian-warcries.ts
  • Adversarial stress test tests/skills/bar/adv-bar-warcries-stress.test.ts
  • Zero runtime MPQ reading
  • Strict BATCH1_SKILLS invariant length = 38
  • 100% tests pass and npm run typecheck passes with 0 errors
  • Worktree isolation and clean merge to main
## Milestone M19: Barbarian Warcries (10 Skills) ### 1. Overview & Scope Implement authoritative Diablo II v1.13c pure calculations, buff durations, synergies, debuffs, corpse mechanics, and adversarial testing for the 10 Barbarian Warcries: - Skill 130: Howl (Flee / Terror effect, radius scaling) - Skill 131: Find Potion (Corpse search chance dm12) - Skill 137: Taunt (Forced melee, AR & Damage debuffs) - Skill 138: Shout (Party defense buff, duration scaling & synergies from BO / BC) - Skill 142: Find Item (Corpse item drop chance dm12) - Skill 146: Battle Cry (Enemy defense & damage debuffs, duration ln12) - Skill 149: Battle Orders (Party Life, Mana, Stamina buff %, duration & synergies from Shout / BC) - Skill 150: Grim Ward (Corpse totem fear emitter, totem duration 1000 frames) - Skill 154: War Cry (Radial physical damage 5-band, stun duration ln12, synergies from Howl/Taunt/Battle Cry) - Skill 155: Battle Command (Party +1 All Skills buff, duration & synergies from Shout / BO) ### 2. Authoritative 1.13c Ground Truth Formulas (Skills.txt) - **Shout (138)**: Defense `+100% + 10% * (slvl - 1)`, duration `500 + 250 * (slvl - 1) + 125 * (BO.blvl + BC.blvl)` frames - **Battle Orders (149)**: Life/Mana/Stamina `+35% + 3% * (slvl - 1)`, duration `750 + 250 * (slvl - 1) + 125 * (Shout.blvl + BC.blvl)` frames - **Battle Command (155)**: `+1 to All Skills`, duration `125 + 250 * (slvl - 1) + 125 * (Shout.blvl + BO.blvl)` frames - **War Cry (154)**: 5-band physical damage progression (20-30 base, +6 / +7 / +8 / +9 / +10 per tier), +6% damage / blvl (Howl, Taunt, Battle Cry), stun length `25 + 5 * (slvl - 1)` frames, mana `10 + (slvl - 1)` - **Battle Cry (146)**: Enemy defense `-(50 + 2 * (slvl - 1))%`, enemy damage `-(25 + 1 * (slvl - 1))%`, duration `300 + 60 * (slvl - 1)` frames - **Taunt (137)**: Enemy AR `-(5 + 2 * (slvl - 1))%`, enemy damage `-(5 + 2 * (slvl - 1))%` - **Find Potion (131)**: `dm(0, 100, slvl)%` - **Find Item (142)**: `dm(5, 60, slvl)%` - **Grim Ward (150)**: Totem life 1000 frames, radius `3 + 1 * (slvl - 1)` yards, fear duration 60 frames ### 3. Acceptance Criteria - [ ] Dedicated calculation module `src/game/skills/barbarian-warcries.ts` - [ ] Adversarial stress test `tests/skills/bar/adv-bar-warcries-stress.test.ts` - [ ] Zero runtime MPQ reading - [ ] Strict `BATCH1_SKILLS` invariant length = 38 - [ ] 100% tests pass and `npm run typecheck` passes with 0 errors - [ ] Worktree isolation and clean merge to `main`
Author
Owner

Milestone M19: Barbarian Warcries — Verification & Landed Evidence

All 10 Barbarian Warcries have been implemented, strictly verified against Diablo II v1.13c ground truth, and merged to main in commit dbd80db.

Implemented Skills

  1. Howl (130): Radius 2 + 1 * (slvl - 1) subtiles, duration 24 + 5 * (slvl - 1) frames, mana 4.
  2. Find Potion (131): Success chance dm(0, 100, slvl)% (clamped <= 100%), corpse consumption, mana 2.
  3. Taunt (137): Target AR & Damage debuffs -(5 + 2 * (slvl - 1))%, forces melee posture, mana 3.
  4. Shout (138): Defense +100% + 10% * (slvl - 1), duration 500 + 250 * (slvl - 1) + 125 * (BO.blvl + BC.blvl) frames, mana 6.
  5. Find Item (142): Item drop chance dm(5, 60, slvl)%, corpse consumption, mana 7.
  6. Battle Cry (146): Defense reduction -(50 + 2 * (slvl - 1))%, damage reduction -(25 + 1 * (slvl - 1))%, duration 300 + 60 * (slvl - 1) frames, mana 5.
  7. Battle Orders (149): Max Life/Mana/Stamina +35% + 3% * (slvl - 1), duration 750 + 250 * (slvl - 1) + 125 * (Shout.blvl + BC.blvl) frames, mana 7.
  8. Grim Ward (150): Totem life 1000 frames (40s), flee radius 3 + 1 * (slvl - 1) yards, fear duration 60 frames, corpse consumption, mana 4.
  9. War Cry (154): 5-band physical damage (20..30 base, +6/+7/+8/+9/+10), +6% damage / blvl (Howl, Taunt, Battle Cry), stun length 25 + 5 * (slvl - 1) frames, mana 10 + (slvl - 1).
  10. Battle Command (155): +1 to All Skills, duration 125 + 250 * (slvl - 1) + 125 * (Shout.blvl + BO.blvl) frames, mana 11.

Quality Gate Verification Results

  • tests/skills/bar/adv-bar-warcries-stress.test.ts: 18/18 tests passed
  • tests/skills/bar/: 35 test files, 158/158 tests passed
  • Full project test suite: 0 regressions
  • npm run typecheck: 0 errors
  • Invariant: BATCH1_SKILLS length strictly = 38
### Milestone M19: Barbarian Warcries — Verification & Landed Evidence All 10 Barbarian Warcries have been implemented, strictly verified against Diablo II v1.13c ground truth, and merged to `main` in commit `dbd80db`. #### Implemented Skills 1. **Howl (130)**: Radius `2 + 1 * (slvl - 1)` subtiles, duration `24 + 5 * (slvl - 1)` frames, mana 4. 2. **Find Potion (131)**: Success chance `dm(0, 100, slvl)%` (clamped <= 100%), corpse consumption, mana 2. 3. **Taunt (137)**: Target AR & Damage debuffs `-(5 + 2 * (slvl - 1))%`, forces melee posture, mana 3. 4. **Shout (138)**: Defense `+100% + 10% * (slvl - 1)`, duration `500 + 250 * (slvl - 1) + 125 * (BO.blvl + BC.blvl)` frames, mana 6. 5. **Find Item (142)**: Item drop chance `dm(5, 60, slvl)%`, corpse consumption, mana 7. 6. **Battle Cry (146)**: Defense reduction `-(50 + 2 * (slvl - 1))%`, damage reduction `-(25 + 1 * (slvl - 1))%`, duration `300 + 60 * (slvl - 1)` frames, mana 5. 7. **Battle Orders (149)**: Max Life/Mana/Stamina `+35% + 3% * (slvl - 1)`, duration `750 + 250 * (slvl - 1) + 125 * (Shout.blvl + BC.blvl)` frames, mana 7. 8. **Grim Ward (150)**: Totem life 1000 frames (40s), flee radius `3 + 1 * (slvl - 1)` yards, fear duration 60 frames, corpse consumption, mana 4. 9. **War Cry (154)**: 5-band physical damage (20..30 base, +6/+7/+8/+9/+10), +6% damage / blvl (Howl, Taunt, Battle Cry), stun length `25 + 5 * (slvl - 1)` frames, mana `10 + (slvl - 1)`. 10. **Battle Command (155)**: `+1 to All Skills`, duration `125 + 250 * (slvl - 1) + 125 * (Shout.blvl + BO.blvl)` frames, mana 11. #### Quality Gate Verification Results - `tests/skills/bar/adv-bar-warcries-stress.test.ts`: 18/18 tests passed - `tests/skills/bar/`: 35 test files, 158/158 tests passed - Full project test suite: 0 regressions - `npm run typecheck`: 0 errors - Invariant: `BATCH1_SKILLS` length strictly = 38
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: troytt/diablo2-web#466
No description provided.