[Skill #048] [SOR] Nova (1.13c Parity) #202

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 48 (#048)
Skill Name Nova (skilldesc: nova)
Class sor (Sorceress)
Required Level (reqlevel) 12
Prerequisites (reqskill1..3) Static Field, -, -
Isolated Implementation Module src/game/skills/impl/sor/skill-048-nova.ts
Isolated Vitest Suite tests/skills/sor/skill-048-nova.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) 22
srvprgfunc1..3 (Progressive Charge Release) - / - / -
cltstfunc / cltdofunc (Client Start / Action) - / 25
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:nova, b:nova, c:nova
Client Missiles (cltmissile / cltmissilea) - / nova
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=15, lvlmana=1 (256-fixed-point << HitShift)
  • Physical / Elemental Damage: MinDam=-, MaxDam=-, EType=ltng, EMin=1, EMax=20, 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-48 -b feat/skill-48 from main.
  • 1.13c Implementation: src/game/skills/impl/sor/skill-048-nova.ts implements exact 1.13c srvstfunc/srvdofunc/srvprgfunc & numerical evaluation.
  • Automated Unit & Numerical Tests (slvl 1, 10, 20 + blvl Synergies): tests/skills/sor/skill-048-nova.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=48&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-48 + branch feat/skill-48.
## Diablo II: Lord of Destruction v1.13c Skill Parity Specification | Field | Value | |---|---| | **Skill ID** | `48` (`#048`) | | **Skill Name** | **Nova** (`skilldesc: nova`) | | **Class** | `sor` (Sorceress) | | **Required Level (`reqlevel`)** | `12` | | **Prerequisites (`reqskill1..3`)** | `Static Field`, `-`, `-` | | **Isolated Implementation Module** | `src/game/skills/impl/sor/skill-048-nova.ts` | | **Isolated Vitest Suite** | `tests/skills/sor/skill-048-nova.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`) | `22` | | **`srvprgfunc1..3`** (Progressive Charge Release) | `-` / `-` / `-` | | **`cltstfunc` / `cltdofunc`** (Client Start / Action) | `-` / `25` | | **`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:nova`, `b:nova`, `c:nova` | | **Client Missiles (`cltmissile` / `cltmissilea`)** | `-` / `nova` | | **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=15`, `lvlmana=1` (256-fixed-point `<< HitShift`) - **Physical / Elemental Damage**: `MinDam=-`, `MaxDam=-`, `EType=ltng`, `EMin=1`, `EMax=20`, `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-48 -b feat/skill-48` from `main`. - [ ] **1.13c Implementation**: `src/game/skills/impl/sor/skill-048-nova.ts` implements exact 1.13c `srvstfunc`/`srvdofunc`/`srvprgfunc` & numerical evaluation. - [ ] **Automated Unit & Numerical Tests (`slvl` 1, 10, 20 + `blvl` Synergies)**: `tests/skills/sor/skill-048-nova.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=48&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-48` + branch `feat/skill-48`.
troytt added this to the All Player Skills (v1.13c Parity) milestone 2026-09-22 02:40:06 +00:00
Author
Owner

✅ Completed: [Skill #048] Nova (SOR) — 1.13c Parity Verified

1. Isolated Worktree & Module Implementation

  • Worktree & Branch: ../wt-skill-048 (feat/skill-048)
  • Skill Module: src/game/skills/impl/sor/skill-048-nova.ts
  • Vitest Suite: tests/skills/sor/skill-048-nova.test.ts
  • 1.13c Dispatch: srvstfunc=0, srvdofunc=22, missile=nova, 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) 15 (3840) 24 (6144) 34 (8704) 34 (8704)
Phys Dmg (Min-Max) 0-0 0-0 0-0 0-0
Elem Dmg (Min-Max) 1-20 (ltng) 57-94 (ltng) 131-188 (ltng) 131-188 (+0%)
AR % / Duration / Radius +0% / 0f / 12 +0% / 0f / 48 +0% / 0f / 88 +0% / 0f / 88

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

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

Skill #048 Nova

### ✅ Completed: [Skill #048] Nova (`SOR`) — 1.13c Parity Verified #### 1. Isolated Worktree & Module Implementation - **Worktree & Branch**: `../wt-skill-048` (`feat/skill-048`) - **Skill Module**: `src/game/skills/impl/sor/skill-048-nova.ts` - **Vitest Suite**: `tests/skills/sor/skill-048-nova.test.ts` - **1.13c Dispatch**: `srvstfunc=0`, `srvdofunc=22`, `missile=nova`, `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`)** | `15` (`3840`) | `24` (`6144`) | `34` (`8704`) | `34` (`8704`) | | **Phys Dmg (`Min-Max`)** | `0-0` | `0-0` | `0-0` | `0-0` | | **Elem Dmg (`Min-Max`)** | `1-20` (`ltng`) | `57-94` (`ltng`) | `131-188` (`ltng`) | `131-188` (+0%) | | **AR % / Duration / Radius** | `+0%` / `0f` / `12` | `+0%` / `0f` / `48` | `+0%` / `0f` / `88` | `+0%` / `0f` / `88` | #### 3. Headless Chromium (`chromium-1228`) Runtime Telemetry & Screenshot - **Arena State**: `ready=true`, `classCode=sor` (`so`), `castCount=1`, `anim=SC:7`, `totalDamageDealt=640`, `consoleErrors=0` - **Captured PNG Size**: `588186` bytes ![Skill #048 Nova](https://git.projectdiablo2.cn/attachments/54315cc3-1f07-4370-bfd2-bd4aca461350)
Author
Owner

Milestone M1: 1.13c Nova (Skill 48) Implementation & 7-Dimensional Verification Report

Commit: 35b9267 (Merged into main)
Test Suite: tests/skills/sor/skill-048-nova.test.ts (17 of 17 tests passed)

7-Dimensional Verification Results:

  • D1 (1.13c Data Table Parsing & Canonical Missile Definition): Verified Skills.txt row 48 (Nova: Id: 48, srvdofunc: 22, mana: 15, lvlmana: 1, castoverlay: light_cast_1, srvmissilea: nova) and Missiles.txt (nova: ID 90, vel: 24, range: 13, speed: 600 px/s, distance: 312 px, animLen: 13, nextHit: 1, nextDelay: 4, trans: 1, celFile: electricnova).
  • D2 (Visual Assets & Metadata Integrity): Verified atlas sprite sheets public/missiles/electricnova.png/.json (451KB) and public/overlays/light_cast_1.png/.json (48KB) with additive blend mode (BlendMode.ADD).
  • D3 (Kinematics & 64-Bolt Circular Ring Dispersion): Verified 64 bolts emitted in uniform 2*pi radial distribution with 2:1 isometric ground foreshortening (y = sin(theta) * 0.5, x = cos(theta)), initial velocity 600 px/s, max distance 312 px.
  • D4 (NextDelay = 4 Single-Hit Lockout Protection): Verified multiple overlapping bolts on a single target register exactly 1 hit due to 4-frame target immunity window (nextDelayByTarget tracking).
  • D5 (Obstacle & Terrain Collision Clipping): Verified bolts hitting solid tiles (isTerrainBlocked returning true) immediately expire (m.expired = true), while open-air bolts continue to their maximum range.
  • D6 (1.13c 5-Band Damage Scaling & Synergy Verification): Verified exact 1.13c 5-band piecewise formula:
    • slvl 1: 1–20 (avg 10.5)
    • slvl 10: 57–94 (avg 75.5)
    • slvl 20: 131–188 (avg 159.5)
    • slvl 30: 221–298 (avg 259.5)
    • Synergies: 0% synergy from other skills per 1.13c ground truth.
  • D7 (WorldArena & Runtime Cast Integration): Verified integration with WorldArena, MissileEngine.spawnNovaRing, castSkill, mana deduction 15 + (slvl - 1), 0 cooldown, and cast overlay light_cast_1.
### Milestone M1: 1.13c Nova (Skill 48) Implementation & 7-Dimensional Verification Report **Commit**: `35b9267` (Merged into `main`) **Test Suite**: `tests/skills/sor/skill-048-nova.test.ts` (17 of 17 tests passed) #### 7-Dimensional Verification Results: - **D1 (1.13c Data Table Parsing & Canonical Missile Definition)**: Verified `Skills.txt` row 48 (Nova: `Id: 48`, `srvdofunc: 22`, `mana: 15`, `lvlmana: 1`, `castoverlay: light_cast_1`, `srvmissilea: nova`) and `Missiles.txt` (nova: ID 90, `vel: 24`, `range: 13`, `speed: 600 px/s`, `distance: 312 px`, `animLen: 13`, `nextHit: 1`, `nextDelay: 4`, `trans: 1`, celFile: `electricnova`). - **D2 (Visual Assets & Metadata Integrity)**: Verified atlas sprite sheets `public/missiles/electricnova.png`/`.json` (451KB) and `public/overlays/light_cast_1.png`/`.json` (48KB) with additive blend mode (`BlendMode.ADD`). - **D3 (Kinematics & 64-Bolt Circular Ring Dispersion)**: Verified 64 bolts emitted in uniform 2*pi radial distribution with 2:1 isometric ground foreshortening (y = sin(theta) * 0.5, x = cos(theta)), initial velocity 600 px/s, max distance 312 px. - **D4 (NextDelay = 4 Single-Hit Lockout Protection)**: Verified multiple overlapping bolts on a single target register exactly 1 hit due to 4-frame target immunity window (`nextDelayByTarget` tracking). - **D5 (Obstacle & Terrain Collision Clipping)**: Verified bolts hitting solid tiles (`isTerrainBlocked` returning true) immediately expire (`m.expired = true`), while open-air bolts continue to their maximum range. - **D6 (1.13c 5-Band Damage Scaling & Synergy Verification)**: Verified exact 1.13c 5-band piecewise formula: - slvl 1: 1–20 (avg 10.5) - slvl 10: 57–94 (avg 75.5) - slvl 20: 131–188 (avg 159.5) - slvl 30: 221–298 (avg 259.5) - Synergies: 0% synergy from other skills per 1.13c ground truth. - **D7 (WorldArena & Runtime Cast Integration)**: Verified integration with `WorldArena`, `MissileEngine.spawnNovaRing`, `castSkill`, mana deduction `15 + (slvl - 1)`, 0 cooldown, and cast overlay `light_cast_1`.
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#202
No description provided.