[Skill #243] [DRU] Shock Wave (1.13c Parity) #336

Closed
opened 2026-09-22 02:40:24 +00:00 by troytt · 2 comments
Owner

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

Field Value
Skill ID 243 (#243)
Skill Name Shock Wave (skilldesc: shock wave)
Class dru (Druid)
Required Level (reqlevel) 24
Prerequisites (reqskill1..3) Maul, -, -
Isolated Implementation Module src/game/skills/impl/dru/skill-243-shock-wave.ts
Isolated Vitest Suite tests/skills/dru/skill-243-shock-wave.test.ts

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

Function Slot 1.13c Value
srvstfunc (Server Start / Pre-Cast) -
srvdofunc (Server Action Frame 0x01/0x02) 8
srvprgfunc1..3 (Progressive Charge Release) - / - / -
cltstfunc / cltdofunc (Client Start / Action) - / 17
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:shockwave, b:shockwave, c:-
Client Missiles (cltmissile / cltmissilea) - / shockwave
Aura / Buff States (aurastate / auratgtstate) self:- / 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=7, lvlmana=0 (256-fixed-point << HitShift)
  • Physical / Elemental Damage: MinDam=10, MaxDam=20, EType=-, EMin=-, EMax=-, ELen=-
  • AST calc1..4: calc1=5, calc2=-, calc3=-, calc4=-
  • Synergy Calculations (blvl strictly base allocated STAT_SKILLPTS only):
    • EDmgSymPerCalc: -
    • DmgSymPerCalc: skill('Maul'.blvl)*par8
    • ELenSymPerCalc: -

4. R3 Verification & Merge Checklist

  • Isolated Git Worktree: Created via git worktree add ../wt-skill-243 -b feat/skill-243 from main.
  • 1.13c Implementation: src/game/skills/impl/dru/skill-243-shock-wave.ts implements exact 1.13c srvstfunc/srvdofunc/srvprgfunc & numerical evaluation.
  • Automated Unit & Numerical Tests (slvl 1, 10, 20 + blvl Synergies): tests/skills/dru/skill-243-shock-wave.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=dru&skill=243&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-243 + branch feat/skill-243.
## Diablo II: Lord of Destruction v1.13c Skill Parity Specification | Field | Value | |---|---| | **Skill ID** | `243` (`#243`) | | **Skill Name** | **Shock Wave** (`skilldesc: shock wave`) | | **Class** | `dru` (Druid) | | **Required Level (`reqlevel`)** | `24` | | **Prerequisites (`reqskill1..3`)** | `Maul`, `-`, `-` | | **Isolated Implementation Module** | `src/game/skills/impl/dru/skill-243-shock-wave.ts` | | **Isolated Vitest Suite** | `tests/skills/dru/skill-243-shock-wave.test.ts` | --- ### 1. Authoritative 1.13c `Skills.txt` Function & Handler Dispatch | Function Slot | 1.13c Value | |---|---| | **`srvstfunc`** (Server Start / Pre-Cast) | `-` | | **`srvdofunc`** (Server Action Frame `0x01`/`0x02`) | `8` | | **`srvprgfunc1..3`** (Progressive Charge Release) | `-` / `-` / `-` | | **`cltstfunc` / `cltdofunc`** (Client Start / Action) | `-` / `17` | | **`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:shockwave`, `b:shockwave`, `c:-` | | **Client Missiles (`cltmissile` / `cltmissilea`)** | `-` / `shockwave` | | **Aura / Buff States (`aurastate` / `auratgtstate`)** | `self:-` / `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=7`, `lvlmana=0` (256-fixed-point `<< HitShift`) - **Physical / Elemental Damage**: `MinDam=10`, `MaxDam=20`, `EType=-`, `EMin=-`, `EMax=-`, `ELen=-` - **AST `calc1..4`**: `calc1=5`, `calc2=-`, `calc3=-`, `calc4=-` - **Synergy Calculations (`blvl` strictly base allocated `STAT_SKILLPTS` only)**: - `EDmgSymPerCalc`: `-` - `DmgSymPerCalc`: `skill('Maul'.blvl)*par8` - `ELenSymPerCalc`: `-` --- ### 4. R3 Verification & Merge Checklist - [ ] **Isolated Git Worktree**: Created via `git worktree add ../wt-skill-243 -b feat/skill-243` from `main`. - [ ] **1.13c Implementation**: `src/game/skills/impl/dru/skill-243-shock-wave.ts` implements exact 1.13c `srvstfunc`/`srvdofunc`/`srvprgfunc` & numerical evaluation. - [ ] **Automated Unit & Numerical Tests (`slvl` 1, 10, 20 + `blvl` Synergies)**: `tests/skills/dru/skill-243-shock-wave.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=dru&skill=243&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-243` + branch `feat/skill-243`.
troytt added this to the All Player Skills (v1.13c Parity) milestone 2026-09-22 02:40:24 +00:00
Author
Owner

✅ Completed: [Skill #243] Shock Wave (DRU) — 1.13c Parity Verified

1. Isolated Worktree & Module Implementation

  • Worktree & Branch: ../wt-skill-243 (feat/skill-243)
  • Skill Module: src/game/skills/impl/dru/skill-243-shock-wave.ts
  • Vitest Suite: tests/skills/dru/skill-243-shock-wave.test.ts
  • 1.13c Dispatch: srvstfunc=0, srvdofunc=8, missile=shockwave, state=none, 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) 7 (1792) 7 (1792) 7 (1792) 7 (1792)
Phys Dmg (Min-Max) 10-20 41-51 99-109 198-218
Elem Dmg (Min-Max) 0-0 (mag) 0-0 (mag) 0-0 (mag) 0-0 (+100%)
AR % / Duration / Radius +0% / 0f / 40 +0% / 0f / 175 +0% / 0f / 325 +0% / 0f / 325

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

  • Arena State: ready=true, classCode=dru (dz), castCount=1, anim=SC:8, totalDamageDealt=416, consoleErrors=0
  • Captured PNG Size: 587031 bytes

Skill #243 Shock Wave

### ✅ Completed: [Skill #243] Shock Wave (`DRU`) — 1.13c Parity Verified #### 1. Isolated Worktree & Module Implementation - **Worktree & Branch**: `../wt-skill-243` (`feat/skill-243`) - **Skill Module**: `src/game/skills/impl/dru/skill-243-shock-wave.ts` - **Vitest Suite**: `tests/skills/dru/skill-243-shock-wave.test.ts` - **1.13c Dispatch**: `srvstfunc=0`, `srvdofunc=8`, `missile=shockwave`, `state=none`, `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`)** | `7` (`1792`) | `7` (`1792`) | `7` (`1792`) | `7` (`1792`) | | **Phys Dmg (`Min-Max`)** | `10-20` | `41-51` | `99-109` | `198-218` | | **Elem Dmg (`Min-Max`)** | `0-0` (`mag`) | `0-0` (`mag`) | `0-0` (`mag`) | `0-0` (+100%) | | **AR % / Duration / Radius** | `+0%` / `0f` / `40` | `+0%` / `0f` / `175` | `+0%` / `0f` / `325` | `+0%` / `0f` / `325` | #### 3. Headless Chromium (`chromium-1228`) Runtime Telemetry & Screenshot - **Arena State**: `ready=true`, `classCode=dru` (`dz`), `castCount=1`, `anim=SC:8`, `totalDamageDealt=416`, `consoleErrors=0` - **Captured PNG Size**: `587031` bytes ![Skill #243 Shock Wave](https://git.projectdiablo2.cn/attachments/4217f754-0c54-4b13-99f5-28a71310438d)
Author
Owner

✅ Completed: [Skill #243] Shock Wave (DRU) — 1.13c Parity Verified

  • Worktree & Branch: ../wt-skill-243 (feat/skill-243)
  • Skill Module: src/game/skills/impl/dru/skill-243-shock-wave.ts
  • Vitest Suite: tests/skills/dru/skill-243-shock-wave.test.ts
  • 1.13c Numbers (slvl 1 / 10 / 20): Mana 7 / 7 / 7, Phys 10-20 / 41-51 / 99-109, Elem 0-0 / 0-0 / 0-0 (mag)
  • Chromium Arena Telemetry: ready=true, castCount=1, anim=SC:8, consoleErrors=0

Skill #243 Shock Wave

### ✅ Completed: [Skill #243] Shock Wave (`DRU`) — 1.13c Parity Verified - **Worktree & Branch**: `../wt-skill-243` (`feat/skill-243`) - **Skill Module**: `src/game/skills/impl/dru/skill-243-shock-wave.ts` - **Vitest Suite**: `tests/skills/dru/skill-243-shock-wave.test.ts` - **1.13c Numbers (slvl 1 / 10 / 20)**: Mana `7` / `7` / `7`, Phys `10-20` / `41-51` / `99-109`, Elem `0-0` / `0-0` / `0-0` (`mag`) - **Chromium Arena Telemetry**: `ready=true, castCount=1, anim=SC:8, consoleErrors=0` ![Skill #243 Shock Wave](https://git.projectdiablo2.cn/attachments/e6f6dd40-1115-4c66-82d0-875eb615cf13)
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#336
No description provided.