[Skill #151] [BAR] Whirlwind (1.13c Parity) #305

Closed
opened 2026-09-22 02:40:20 +00:00 by troytt · 1 comment
Owner

Diablo II: Lord of Destruction v1.13c Skill Parity Specification

Field Value
Skill ID 151 (#151)
Skill Name Whirlwind (skilldesc: whirlwind)
Class bar (Barbarian)
Required Level (reqlevel) 30
Prerequisites (reqskill1..3) Leap Attack, Concentrate, -
Isolated Implementation Module src/game/skills/impl/bar/skill-151-whirlwind.ts
Isolated Vitest Suite tests/skills/bar/skill-151-whirlwind.test.ts

1. Authoritative 1.13c Skills.txt Function & Handler Dispatch

Function Slot 1.13c Value
srvstfunc (Server Start / Pre-Cast) 38
srvdofunc (Server Action Frame 0x01/0x02) 76
srvprgfunc1..3 (Progressive Charge Release) - / - / -
cltstfunc / cltdofunc (Client Start / Action) 31 / 45
cltprgfunc1..3 (Client Progressive Release) - / - / -
passive / checkfunc passive=- / checkfunc=-
auraevent1 / auraeventfunc1 - / -

2. Associated Missiles, States, Auras, Curses & Summons

Subsystem 1.13c Configuration
Server Missiles (srvmissile / a..c) - / a:-, b:-, c:-
Client Missiles (cltmissile / cltmissilea) - / -
Aura / Buff States (aurastate / auratgtstate) self:whirlwind / tgt:-
Aura / Buff Stats (aurastat1..3) -, -, -
Passive State & Stats (passivestate / passivestat1..3) state:- / -, -, -
Curse Priority (cursetype) -
Summon / Pet (summon / pettype / petmax) mon:- / type:- / max:-

3. 1.13c Base Numerical & Synergy Formulas (Patch_D2.mpq)

  • Mana Cost: mana=25, lvlmana=1 (256-fixed-point << HitShift)
  • Physical / Elemental Damage: MinDam=-, MaxDam=-, EType=-, EMin=-, EMax=-, ELen=-
  • AST calc1..4: calc1=ln12, calc2=-, calc3=-, calc4=-
  • Synergy Calculations (blvl strictly base allocated STAT_SKILLPTS only):
    • EDmgSymPerCalc: -
    • DmgSymPerCalc: -
    • ELenSymPerCalc: -

4. R3 Verification & Merge Checklist

  • Isolated Git Worktree: Created via git worktree add ../wt-skill-151 -b feat/skill-151 from main.
  • 1.13c Implementation: src/game/skills/impl/bar/skill-151-whirlwind.ts implements exact 1.13c srvstfunc/srvdofunc/srvprgfunc & numerical evaluation.
  • Automated Unit & Numerical Tests (slvl 1, 10, 20 + blvl Synergies): tests/skills/bar/skill-151-whirlwind.test.ts passes 100% in Vitest verifying ManaCost, MinDmg, MaxDmg, ToHit, Duration, Radius, synergy scaling, and runtime combat/missile/state/summon effect.
  • Real-Browser Casting & Screenshot: Executed in headless Chromium (acts.html?arena=1&class=bar&skill=151&slvl=20&autocast=1) with zero console/page errors and PNG screenshot attached to this Issue.
  • Merge & Cleanup: Merged to main with fixes #<issue_number>, pushed to origin/main, verified Issue is closed, and removed worktree ../wt-skill-151 + branch feat/skill-151.
## Diablo II: Lord of Destruction v1.13c Skill Parity Specification | Field | Value | |---|---| | **Skill ID** | `151` (`#151`) | | **Skill Name** | **Whirlwind** (`skilldesc: whirlwind`) | | **Class** | `bar` (Barbarian) | | **Required Level (`reqlevel`)** | `30` | | **Prerequisites (`reqskill1..3`)** | `Leap Attack`, `Concentrate`, `-` | | **Isolated Implementation Module** | `src/game/skills/impl/bar/skill-151-whirlwind.ts` | | **Isolated Vitest Suite** | `tests/skills/bar/skill-151-whirlwind.test.ts` | --- ### 1. Authoritative 1.13c `Skills.txt` Function & Handler Dispatch | Function Slot | 1.13c Value | |---|---| | **`srvstfunc`** (Server Start / Pre-Cast) | `38` | | **`srvdofunc`** (Server Action Frame `0x01`/`0x02`) | `76` | | **`srvprgfunc1..3`** (Progressive Charge Release) | `-` / `-` / `-` | | **`cltstfunc` / `cltdofunc`** (Client Start / Action) | `31` / `45` | | **`cltprgfunc1..3`** (Client Progressive Release) | `-` / `-` / `-` | | **`passive` / `checkfunc`** | `passive=-` / `checkfunc=-` | | **`auraevent1` / `auraeventfunc1`** | `-` / `-` | ### 2. Associated Missiles, States, Auras, Curses & Summons | Subsystem | 1.13c Configuration | |---|---| | **Server Missiles (`srvmissile` / `a..c`)** | `-` / `a:-`, `b:-`, `c:-` | | **Client Missiles (`cltmissile` / `cltmissilea`)** | `-` / `-` | | **Aura / Buff States (`aurastate` / `auratgtstate`)** | `self:whirlwind` / `tgt:-` | | **Aura / Buff Stats (`aurastat1..3`)** | `-`, `-`, `-` | | **Passive State & Stats (`passivestate` / `passivestat1..3`)** | `state:-` / `-`, `-`, `-` | | **Curse Priority (`cursetype`)** | `-` | | **Summon / Pet (`summon` / `pettype` / `petmax`)** | `mon:-` / `type:-` / `max:-` | ### 3. 1.13c Base Numerical & Synergy Formulas (`Patch_D2.mpq`) - **Mana Cost**: `mana=25`, `lvlmana=1` (256-fixed-point `<< HitShift`) - **Physical / Elemental Damage**: `MinDam=-`, `MaxDam=-`, `EType=-`, `EMin=-`, `EMax=-`, `ELen=-` - **AST `calc1..4`**: `calc1=ln12`, `calc2=-`, `calc3=-`, `calc4=-` - **Synergy Calculations (`blvl` strictly base allocated `STAT_SKILLPTS` only)**: - `EDmgSymPerCalc`: `-` - `DmgSymPerCalc`: `-` - `ELenSymPerCalc`: `-` --- ### 4. R3 Verification & Merge Checklist - [ ] **Isolated Git Worktree**: Created via `git worktree add ../wt-skill-151 -b feat/skill-151` from `main`. - [ ] **1.13c Implementation**: `src/game/skills/impl/bar/skill-151-whirlwind.ts` implements exact 1.13c `srvstfunc`/`srvdofunc`/`srvprgfunc` & numerical evaluation. - [ ] **Automated Unit & Numerical Tests (`slvl` 1, 10, 20 + `blvl` Synergies)**: `tests/skills/bar/skill-151-whirlwind.test.ts` passes 100% in Vitest verifying `ManaCost`, `MinDmg`, `MaxDmg`, `ToHit`, `Duration`, `Radius`, synergy scaling, and runtime combat/missile/state/summon effect. - [ ] **Real-Browser Casting & Screenshot**: Executed in headless Chromium (`acts.html?arena=1&class=bar&skill=151&slvl=20&autocast=1`) with zero console/page errors and PNG screenshot attached to this Issue. - [ ] **Merge & Cleanup**: Merged to `main` with `fixes #<issue_number>`, pushed to `origin/main`, verified Issue is `closed`, and removed worktree `../wt-skill-151` + branch `feat/skill-151`.
troytt added this to the All Player Skills (v1.13c Parity) milestone 2026-09-22 02:40:20 +00:00
Author
Owner

✅ Completed: [Skill #151] Whirlwind (BAR) — 1.13c Parity Verified

1. Isolated Worktree & Module Implementation

  • Worktree & Branch: ../wt-skill-151 (feat/skill-151)
  • Skill Module: src/game/skills/impl/bar/skill-151-whirlwind.ts
  • Vitest Suite: tests/skills/bar/skill-151-whirlwind.test.ts
  • 1.13c Dispatch: srvstfunc=38, srvdofunc=76, missile=none, state=whirlwind, summon=none

2. 1.13c Numerical & Synergy Verification Table

Metric slvl = 1 slvl = 10 slvl = 20 (0 Syn) slvl = 20 (+20 blvl Syn)
Mana Cost (usmc) 12 (3200) 17 (4352) 22 (5632) 22 (5632)
Phys Dmg (Min-Max) 0-0 0-0 0-0 0-0
Elem Dmg (Min-Max) 0-0 (phys) 0-0 (phys) 0-0 (phys) 0-0 (+0%)
AR % / Duration / Radius +0% / 0f / 0 +45% / 0f / 0 +95% / 0f / 0 +95% / 0f / 0

3. Headless Chromium (chromium-1228) Runtime Telemetry & Screenshot

  • Arena State: ready=true, classCode=bar (ba), castCount=1, anim=SQ:7, totalDamageDealt=660, consoleErrors=0
  • Captured PNG Size: 587568 bytes

Skill #151 Whirlwind

### ✅ Completed: [Skill #151] Whirlwind (`BAR`) — 1.13c Parity Verified #### 1. Isolated Worktree & Module Implementation - **Worktree & Branch**: `../wt-skill-151` (`feat/skill-151`) - **Skill Module**: `src/game/skills/impl/bar/skill-151-whirlwind.ts` - **Vitest Suite**: `tests/skills/bar/skill-151-whirlwind.test.ts` - **1.13c Dispatch**: `srvstfunc=38`, `srvdofunc=76`, `missile=none`, `state=whirlwind`, `summon=none` #### 2. 1.13c Numerical & Synergy Verification Table | Metric | `slvl = 1` | `slvl = 10` | `slvl = 20` (0 Syn) | `slvl = 20` (+20 `blvl` Syn) | | :--- | :---: | :---: | :---: | :---: | | **Mana Cost (`usmc`)** | `12` (`3200`) | `17` (`4352`) | `22` (`5632`) | `22` (`5632`) | | **Phys Dmg (`Min-Max`)** | `0-0` | `0-0` | `0-0` | `0-0` | | **Elem Dmg (`Min-Max`)** | `0-0` (`phys`) | `0-0` (`phys`) | `0-0` (`phys`) | `0-0` (+0%) | | **AR % / Duration / Radius** | `+0%` / `0f` / `0` | `+45%` / `0f` / `0` | `+95%` / `0f` / `0` | `+95%` / `0f` / `0` | #### 3. Headless Chromium (`chromium-1228`) Runtime Telemetry & Screenshot - **Arena State**: `ready=true`, `classCode=bar` (`ba`), `castCount=1`, `anim=SQ:7`, `totalDamageDealt=660`, `consoleErrors=0` - **Captured PNG Size**: `587568` bytes ![Skill #151 Whirlwind](https://git.projectdiablo2.cn/attachments/609a3fe0-9c17-4c2e-a903-bd3a1814496e)
Sign in to join this conversation.
No Label
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#305
No description provided.