The Worldstone Keep

A Reign of the Warlock reference · Diablo II: Resurrected

Staffmods

Staffmods are the class skill bonuses (+1 to +3 to single skills) that staves, wands and scepters roll on their own, separately from their affixes. This is how the game picks them, from Eywa's notes on the game code, shared on the d2jsp forums.

How many · Which tier · Which skill · How many levels · Example

1. How many staffmods

The game rolls a random number from 0 to 99:

RollChanceStaffmods
90-9910%3
70-8920%2
30-6940%1
0-2930%0

2. Which tier

A skill's tier is its row in the skill tree: tier 1 skills need level 1, tier 2 level 6, tier 3 level 12, tier 4 level 18, tier 5 level 24 and tier 6 level 30. The item level sets a starting tier for the whole item:

Item levelStarting tier
1-111
12-182
19-243
25-364
37+5

Each staffmod then rolls its own tier from that starting point: 20% chance of one tier higher, 50% the same, 20% one lower and 10% two lower. So every staffmod on an item falls within a block of four adjacent tiers: starting tier 1 gives tiers 1-2, starting tier 2 gives 1-3, 3 gives 1-4, 4 gives 2-5 and 5 gives 3-6. Only items of item level 37 or more can roll level 30 (tier 6) skills. On a low-quality item, the tier is capped at 4.

3. Which skill

Each class's skills are numbered in tiers of five in the game data. The game picks one of the five skills in the chosen tier at random:

skill id = class base id + 5 × (tier − 1) + random(0-4)

For the Necromancer, the base id is 66:

TierSkill levelIdsSkills
1166-70Amplify Damage, Teeth, Bone Armor, Skeleton Mastery, Raise Skeleton
2671-75Dim Vision, Weaken, Poison Dagger, Corpse Explosion, Clay Golem
31276-80Iron Maiden, Terror, Bone Wall, Golem Mastery, Raise Skeletal Mage
41881-85Confuse, Life Tap, Poison Explosion, Bone Spear, Blood Golem
52486-90Attract, Decrepify, Bone Prison, Summon Resist, Iron Golem
63091-95Lower Resist, Poison Nova, Bone Spirit, Fire Golem, Revive

4. How many levels

Each staffmod rolls its bonus separately, again from 0 to 99:

RollChanceBonus
90-9910%+3
60-8930%+2
0-5960%+1

Example: a summoning wand

Say you want a 2-socket wand with Skeleton Mastery, Raise Skeleton and Raise Skeletal Mage. Skeleton Mastery and Raise Skeleton are tier 1, and Raise Skeletal Mage is tier 3, so all three can only appear together from a starting tier of 2 or 3: item level 12 to 24. Two of the three rolls must land on tier 1 and one on tier 3.

For two sockets with an item level under 25, the only choice is the Bone Wand (quality level 18). Either find one with item level under 25 that has the staffmods you want, or shop for one in Acts II to V of Normal with a level 13 to 19 character.

Back to top

Source: Eywa, quoted in this d2jsp thread.