[Skill #060] [SOR] Chilling Armor (1.13c Parity) #214

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

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

Field Value
Skill ID 60 (#060)
Skill Name Chilling Armor (skilldesc: chilling armor)
Class sor (Sorceress)
Required Level (reqlevel) 24
Prerequisites (reqskill1..3) Shiver Armor, -, -
Isolated Implementation Module src/game/skills/impl/sor/skill-060-chilling-armor.ts
Isolated Vitest Suite tests/skills/sor/skill-060-chilling-armor.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) 18
srvprgfunc1..3 (Progressive Charge Release) - / - / -
cltstfunc / cltdofunc (Client Start / Action) - / -
cltprgfunc1..3 (Client Progressive Release) - / - / -
passive / checkfunc passive=- / checkfunc=-
auraevent1 / auraeventfunc1 hitbymissile / 1

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

Subsystem 1.13c Configuration
Server Missiles (srvmissile / a..c) - / a:chillingarmorbolt, b:-, c:-
Client Missiles (cltmissile / cltmissilea) - / chillingarmorbolt
Aura / Buff States (aurastate / auratgtstate) self:chillingarmor / tgt:-
Aura / Buff Stats (aurastat1..3) skill_armor_percent, -, -
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=17, lvlmana=0 (256-fixed-point << HitShift)
  • Physical / Elemental Damage: MinDam=-, MaxDam=-, EType=cold, EMin=8, EMax=12, ELen=100
  • AST calc1..4: calc1=-, calc2=-, calc3=-, calc4=-
  • Synergy Calculations (blvl strictly base allocated STAT_SKILLPTS only):
    • EDmgSymPerCalc: (skill('Frozen Armor'.blvl)+skill('Shiver Armor'.blvl))*par8
    • DmgSymPerCalc: -
    • ELenSymPerCalc: -

4. R3 Verification & Merge Checklist

  • Isolated Git Worktree: Created via git worktree add ../wt-skill-60 -b feat/skill-60 from main.
  • 1.13c Implementation: src/game/skills/impl/sor/skill-060-chilling-armor.ts implements exact 1.13c srvstfunc/srvdofunc/srvprgfunc & numerical evaluation.
  • Automated Unit & Numerical Tests (slvl 1, 10, 20 + blvl Synergies): tests/skills/sor/skill-060-chilling-armor.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=60&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-60 + branch feat/skill-60.
## Diablo II: Lord of Destruction v1.13c Skill Parity Specification | Field | Value | |---|---| | **Skill ID** | `60` (`#060`) | | **Skill Name** | **Chilling Armor** (`skilldesc: chilling armor`) | | **Class** | `sor` (Sorceress) | | **Required Level (`reqlevel`)** | `24` | | **Prerequisites (`reqskill1..3`)** | `Shiver Armor`, `-`, `-` | | **Isolated Implementation Module** | `src/game/skills/impl/sor/skill-060-chilling-armor.ts` | | **Isolated Vitest Suite** | `tests/skills/sor/skill-060-chilling-armor.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`) | `18` | | **`srvprgfunc1..3`** (Progressive Charge Release) | `-` / `-` / `-` | | **`cltstfunc` / `cltdofunc`** (Client Start / Action) | `-` / `-` | | **`cltprgfunc1..3`** (Client Progressive Release) | `-` / `-` / `-` | | **`passive` / `checkfunc`** | `passive=-` / `checkfunc=-` | | **`auraevent1` / `auraeventfunc1`** | `hitbymissile` / `1` | ### 2. Associated Missiles, States, Auras, Curses & Summons | Subsystem | 1.13c Configuration | |---|---| | **Server Missiles (`srvmissile` / `a..c`)** | `-` / `a:chillingarmorbolt`, `b:-`, `c:-` | | **Client Missiles (`cltmissile` / `cltmissilea`)** | `-` / `chillingarmorbolt` | | **Aura / Buff States (`aurastate` / `auratgtstate`)** | `self:chillingarmor` / `tgt:-` | | **Aura / Buff Stats (`aurastat1..3`)** | `skill_armor_percent`, `-`, `-` | | **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=17`, `lvlmana=0` (256-fixed-point `<< HitShift`) - **Physical / Elemental Damage**: `MinDam=-`, `MaxDam=-`, `EType=cold`, `EMin=8`, `EMax=12`, `ELen=100` - **AST `calc1..4`**: `calc1=-`, `calc2=-`, `calc3=-`, `calc4=-` - **Synergy Calculations (`blvl` strictly base allocated `STAT_SKILLPTS` only)**: - `EDmgSymPerCalc`: `(skill('Frozen Armor'.blvl)+skill('Shiver Armor'.blvl))*par8` - `DmgSymPerCalc`: `-` - `ELenSymPerCalc`: `-` --- ### 4. R3 Verification & Merge Checklist - [ ] **Isolated Git Worktree**: Created via `git worktree add ../wt-skill-60 -b feat/skill-60` from `main`. - [ ] **1.13c Implementation**: `src/game/skills/impl/sor/skill-060-chilling-armor.ts` implements exact 1.13c `srvstfunc`/`srvdofunc`/`srvprgfunc` & numerical evaluation. - [ ] **Automated Unit & Numerical Tests (`slvl` 1, 10, 20 + `blvl` Synergies)**: `tests/skills/sor/skill-060-chilling-armor.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=60&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-60` + branch `feat/skill-60`.
troytt added this to the All Player Skills (v1.13c Parity) milestone 2026-09-22 02:40:07 +00:00
Author
Owner

✅ Completed: [Skill #060] Chilling Armor (SOR) — 1.13c Parity Verified

1. Isolated Worktree & Module Implementation

  • Worktree & Branch: ../wt-skill-060 (feat/skill-060)
  • Skill Module: src/game/skills/impl/sor/skill-060-chilling-armor.ts
  • Vitest Suite: tests/skills/sor/skill-060-chilling-armor.test.ts
  • 1.13c Dispatch: srvstfunc=0, srvdofunc=18, missile=chillingarmorbolt, state=chillingarmor, 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) 17 (4352) 17 (4352) 17 (4352) 17 (4352)
Phys Dmg (Min-Max) 0-0 0-0 0-0 0-0
Elem Dmg (Min-Max) 4-6 (cold) 15-21 (cold) 39-50 (cold) 93-121 (+140%)
AR % / Duration / Radius +0% / 3600f / 45 +0% / 4950f / 90 +0% / 6450f / 140 +0% / 11450f / 140

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

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

Skill #060 Chilling Armor

### ✅ Completed: [Skill #060] Chilling Armor (`SOR`) — 1.13c Parity Verified #### 1. Isolated Worktree & Module Implementation - **Worktree & Branch**: `../wt-skill-060` (`feat/skill-060`) - **Skill Module**: `src/game/skills/impl/sor/skill-060-chilling-armor.ts` - **Vitest Suite**: `tests/skills/sor/skill-060-chilling-armor.test.ts` - **1.13c Dispatch**: `srvstfunc=0`, `srvdofunc=18`, `missile=chillingarmorbolt`, `state=chillingarmor`, `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`)** | `17` (`4352`) | `17` (`4352`) | `17` (`4352`) | `17` (`4352`) | | **Phys Dmg (`Min-Max`)** | `0-0` | `0-0` | `0-0` | `0-0` | | **Elem Dmg (`Min-Max`)** | `4-6` (`cold`) | `15-21` (`cold`) | `39-50` (`cold`) | `93-121` (+140%) | | **AR % / Duration / Radius** | `+0%` / `3600f` / `45` | `+0%` / `4950f` / `90` | `+0%` / `6450f` / `140` | `+0%` / `11450f` / `140` | #### 3. Headless Chromium (`chromium-1228`) Runtime Telemetry & Screenshot - **Arena State**: `ready=true`, `classCode=sor` (`so`), `castCount=1`, `anim=SC:7`, `totalDamageDealt=0`, `consoleErrors=0` - **Captured PNG Size**: `587080` bytes ![Skill #060 Chilling Armor](https://git.projectdiablo2.cn/attachments/dd6ba863-2e27-4a12-ad0e-c6ca96656baf)
Author
Owner

Milestone 1 Implementation & Verification Complete — Chilling Armor (#060)

  • Commit: e7d105d
  • 1.13c Ground Truth Mechanics:
    • Defense bonus: 45 + (slvl - 1) * 5 % Enhanced Defense
    • Duration: 3600 + (slvl - 1) * 150 + synPoints * 250 frames
    • Cold Damage: 5-band calculation with +7% per synergy point (synPoints * 0.07)
    • Chill Length: stepped 100 frames (slvl 1-8), +25 frames/lvl (slvl 9-16), +25 frames/lvl (slvl 17+)
    • Mana: 17, Cooldown: 0
    • State: State Group 1 mutual exclusion (evicts Frozen and Shiver Armor)
    • Reactive Trigger: Ranged missile hit (hitbymissile) with returnFire !== false retaliates with chillingarmorbolt (Ice Bolt) directed at shooter
    • ReturnFire Loop Protection: chillingarmorbolt has returnFire = 0 to prevent infinite bounce loops
    • Synergy: blvl hard points rule
  • 7-Dimensional Vitest Suite:
    • tests/skills/sor/skill-060-chilling-armor.test.ts: 18/18 passed
  • Full Test Suite & Typecheck:
    • npm run typecheck: 0 errors
    • npx vitest run: 417 passed (4317 tests passed, 0 failures)
### Milestone 1 Implementation & Verification Complete — Chilling Armor (#060) - **Commit**: `e7d105d` - **1.13c Ground Truth Mechanics**: - Defense bonus: `45 + (slvl - 1) * 5` % Enhanced Defense - Duration: `3600 + (slvl - 1) * 150 + synPoints * 250` frames - Cold Damage: 5-band calculation with +7% per synergy point (`synPoints * 0.07`) - Chill Length: stepped 100 frames (slvl 1-8), +25 frames/lvl (slvl 9-16), +25 frames/lvl (slvl 17+) - Mana: 17, Cooldown: 0 - State: State Group 1 mutual exclusion (evicts Frozen and Shiver Armor) - Reactive Trigger: Ranged missile hit (`hitbymissile`) with `returnFire !== false` retaliates with `chillingarmorbolt` (Ice Bolt) directed at shooter - ReturnFire Loop Protection: `chillingarmorbolt` has `returnFire = 0` to prevent infinite bounce loops - Synergy: blvl hard points rule - **7-Dimensional Vitest Suite**: - `tests/skills/sor/skill-060-chilling-armor.test.ts`: 18/18 passed - **Full Test Suite & Typecheck**: - `npm run typecheck`: 0 errors - `npx vitest run`: 417 passed (4317 tests passed, 0 failures)
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#214
No description provided.