[Skill #057] [SOR] Thunder Storm (1.13c Parity) #211

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

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

Field Value
Skill ID 57 (#057)
Skill Name Thunder Storm (skilldesc: thunder storm)
Class sor (Sorceress)
Required Level (reqlevel) 24
Prerequisites (reqskill1..3) Nova, Chain Lightning, -
Isolated Implementation Module src/game/skills/impl/sor/skill-057-thunder-storm.ts
Isolated Vitest Suite tests/skills/sor/skill-057-thunder-storm.test.ts

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

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

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

Subsystem 1.13c Configuration
Server Missiles (srvmissile / a..c) - / a:thunderstorm1, b:-, c:-
Client Missiles (cltmissile / cltmissilea) - / thunderstorm1
Aura / Buff States (aurastate / auratgtstate) self:thunderstorm / 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=19, lvlmana=0 (256-fixed-point << HitShift)
  • Physical / Elemental Damage: MinDam=-, MaxDam=-, EType=ltng, EMin=1, EMax=100, ELen=-
  • AST calc1..4: calc1=-, 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-57 -b feat/skill-57 from main.
  • 1.13c Implementation: src/game/skills/impl/sor/skill-057-thunder-storm.ts implements exact 1.13c srvstfunc/srvdofunc/srvprgfunc & numerical evaluation.
  • Automated Unit & Numerical Tests (slvl 1, 10, 20 + blvl Synergies): tests/skills/sor/skill-057-thunder-storm.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=sor&skill=57&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-57 + branch feat/skill-57.
## Diablo II: Lord of Destruction v1.13c Skill Parity Specification | Field | Value | |---|---| | **Skill ID** | `57` (`#057`) | | **Skill Name** | **Thunder Storm** (`skilldesc: thunder storm`) | | **Class** | `sor` (Sorceress) | | **Required Level (`reqlevel`)** | `24` | | **Prerequisites (`reqskill1..3`)** | `Nova`, `Chain Lightning`, `-` | | **Isolated Implementation Module** | `src/game/skills/impl/sor/skill-057-thunder-storm.ts` | | **Isolated Vitest Suite** | `tests/skills/sor/skill-057-thunder-storm.test.ts` | --- ### 1. Authoritative 1.13c `Skills.txt` Function & Handler Dispatch | Function Slot | 1.13c Value | |---|---| | **`srvstfunc`** (Server Start / Pre-Cast) | `13` | | **`srvdofunc`** (Server Action Frame `0x01`/`0x02`) | `29` | | **`srvprgfunc1..3`** (Progressive Charge Release) | `-` / `-` / `-` | | **`cltstfunc` / `cltdofunc`** (Client Start / Action) | `-` / `-` | | **`cltprgfunc1..3`** (Client Progressive Release) | `84` / `-` / `-` | | **`passive` / `checkfunc`** | `passive=-` / `checkfunc=-` | | **`auraevent1` / `auraeventfunc1`** | `-` / `-` | ### 2. Associated Missiles, States, Auras, Curses & Summons | Subsystem | 1.13c Configuration | |---|---| | **Server Missiles (`srvmissile` / `a..c`)** | `-` / `a:thunderstorm1`, `b:-`, `c:-` | | **Client Missiles (`cltmissile` / `cltmissilea`)** | `-` / `thunderstorm1` | | **Aura / Buff States (`aurastate` / `auratgtstate`)** | `self:thunderstorm` / `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=19`, `lvlmana=0` (256-fixed-point `<< HitShift`) - **Physical / Elemental Damage**: `MinDam=-`, `MaxDam=-`, `EType=ltng`, `EMin=1`, `EMax=100`, `ELen=-` - **AST `calc1..4`**: `calc1=-`, `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-57 -b feat/skill-57` from `main`. - [ ] **1.13c Implementation**: `src/game/skills/impl/sor/skill-057-thunder-storm.ts` implements exact 1.13c `srvstfunc`/`srvdofunc`/`srvprgfunc` & numerical evaluation. - [ ] **Automated Unit & Numerical Tests (`slvl` 1, 10, 20 + `blvl` Synergies)**: `tests/skills/sor/skill-057-thunder-storm.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=sor&skill=57&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-57` + branch `feat/skill-57`.
troytt added this to the All Player Skills (v1.13c Parity) milestone 2026-09-22 02:40:06 +00:00
Author
Owner

✅ Completed: [Skill #057] Thunder Storm (SOR) — 1.13c Parity Verified

1. Isolated Worktree & Module Implementation

  • Worktree & Branch: ../wt-skill-057 (feat/skill-057)
  • Skill Module: src/game/skills/impl/sor/skill-057-thunder-storm.ts
  • Vitest Suite: tests/skills/sor/skill-057-thunder-storm.test.ts
  • 1.13c Dispatch: srvstfunc=13, srvdofunc=29, missile=thunderstorm1, state=thunderstorm, 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) 19 (4864) 19 (4864) 19 (4864) 19 (4864)
Phys Dmg (Min-Max) 0-0 0-0 0-0 0-0
Elem Dmg (Min-Max) 1-100 (ltng) 91-190 (ltng) 195-294 (ltng) 195-294 (+0%)
AR % / Duration / Radius +0% / 800f / 800 +0% / 2600f / 2600 +0% / 4600f / 4600 +0% / 4600f / 4600

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

  • Arena State: ready=true, classCode=sor (so), castCount=1, anim=SC:7, totalDamageDealt=245, consoleErrors=0
  • Captured PNG Size: 591153 bytes

Skill #057 Thunder Storm

### ✅ Completed: [Skill #057] Thunder Storm (`SOR`) — 1.13c Parity Verified #### 1. Isolated Worktree & Module Implementation - **Worktree & Branch**: `../wt-skill-057` (`feat/skill-057`) - **Skill Module**: `src/game/skills/impl/sor/skill-057-thunder-storm.ts` - **Vitest Suite**: `tests/skills/sor/skill-057-thunder-storm.test.ts` - **1.13c Dispatch**: `srvstfunc=13`, `srvdofunc=29`, `missile=thunderstorm1`, `state=thunderstorm`, `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`)** | `19` (`4864`) | `19` (`4864`) | `19` (`4864`) | `19` (`4864`) | | **Phys Dmg (`Min-Max`)** | `0-0` | `0-0` | `0-0` | `0-0` | | **Elem Dmg (`Min-Max`)** | `1-100` (`ltng`) | `91-190` (`ltng`) | `195-294` (`ltng`) | `195-294` (+0%) | | **AR % / Duration / Radius** | `+0%` / `800f` / `800` | `+0%` / `2600f` / `2600` | `+0%` / `4600f` / `4600` | `+0%` / `4600f` / `4600` | #### 3. Headless Chromium (`chromium-1228`) Runtime Telemetry & Screenshot - **Arena State**: `ready=true`, `classCode=sor` (`so`), `castCount=1`, `anim=SC:7`, `totalDamageDealt=245`, `consoleErrors=0` - **Captured PNG Size**: `591153` bytes ![Skill #057 Thunder Storm](https://git.projectdiablo2.cn/attachments/a5f3680a-112b-4d25-83c6-0b9fc0d7a347)
Author
Owner

Milestone M4 Complete: Thunder Storm (57) 1.13c Ground-Truth Parity Verified

  • Commit: a0567c2 (merged to main)
  • Test Suite: tests/skills/sor/skill-057-thunder-storm.test.ts (15/15 tests passing)
  • 7-Dimensional Parity Details:
    • D1: Skills.txt row 57 parsing (mana 19, manashift 8, castoverlay light_cast_2, aurastate thunderstorm).
    • D2: Canonical missile thunderstorm1 (ID 166, CelFile LightningboltBig, 8 anim frames).
    • D3: Authentic duration: 800 + (slvl - 1) * 200 frames (32s base + 8s/lvl); hyperbolic interval: Math.max(25, 125 - Math.floor(110*slvl/(slvl+6))) frames.
    • D4: 5-band piecewise lightning damage (1-100 base, +10/+10/+11) with multiplicative Lightning Mastery scaling.
    • D5: Periodic strike cadence in GameEngine.tick, closest enemy acquisition within 17 subtiles (340px).
    • D6: Mana 19, cooldown 0, non-positive slvl clamping.
    • D7: BATCH1_SKILLS length invariant strictly 38, zero runtime MPQ queries.
### Milestone M4 Complete: Thunder Storm (57) 1.13c Ground-Truth Parity Verified - **Commit**: `a0567c2` (merged to `main`) - **Test Suite**: `tests/skills/sor/skill-057-thunder-storm.test.ts` (15/15 tests passing) - **7-Dimensional Parity Details**: - D1: Skills.txt row 57 parsing (mana 19, manashift 8, castoverlay light_cast_2, aurastate thunderstorm). - D2: Canonical missile `thunderstorm1` (ID 166, CelFile `LightningboltBig`, 8 anim frames). - D3: Authentic duration: `800 + (slvl - 1) * 200` frames (32s base + 8s/lvl); hyperbolic interval: `Math.max(25, 125 - Math.floor(110*slvl/(slvl+6)))` frames. - D4: 5-band piecewise lightning damage (1-100 base, +10/+10/+11) with multiplicative Lightning Mastery scaling. - D5: Periodic strike cadence in `GameEngine.tick`, closest enemy acquisition within 17 subtiles (340px). - D6: Mana 19, cooldown 0, non-positive slvl clamping. - D7: `BATCH1_SKILLS` length invariant strictly 38, zero runtime MPQ queries.
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#211
No description provided.