d2jsp
d2jsp Forums > Diablo 2 Discussion > Staffmods > Looking For Some Info.
Add Reply New Topic New Poll
PRBJJ
#1 Apr 11 2010 04:20pm
Group: Member
Posts: 47,610
Joined: Jul 17 2008
Gold: 25.00
Can anyone point me in the direction of some literature on the topic of staffmods?

I would like to know three things in particular:

- What mods will spawn as staffmods on which items
- How many staffmods can spawn on an item
- What the maximum number of +skills on a item can be

Thanks for your time!

ps. I much rather try and figure it out for myself than have someone spoon feed me the explanation. I just need to know where to start, so please hook me up with a link or something!
Scaryghoul
#2 Apr 11 2010 04:32pm
Group: Member
Posts: 8,969
Joined: Jan 24 2009
Gold: 382.60
PM my guild member Eywa, I could explain it but I'm to lazy.
PRBJJ
#3 Apr 11 2010 04:34pm
Group: Member
Posts: 47,610
Joined: Jul 17 2008
Gold: 25.00
Quote (Scaryghoul @ Apr 11 2010 02:32pm)
PM my guild member Eywa, I could explain it but I'm to lazy.


I don't want anyone to explain it. I stated that in the OP.
Scaryghoul
#4 Apr 11 2010 04:36pm
Group: Member
Posts: 8,969
Joined: Jan 24 2009
Gold: 382.60
Quote (GTL @ Apr 11 2010 06:34pm)
I don't want anyone to explain it. I stated that in the OP.


Well at the moment there is not much literature on the topic....if there were I assure you I'd have it. Anyways Eywa has written many statistical guides on Diablo II and probably wrote half of the literature you've read on Diablo II, I assure you that is the best place to look.

Edit: This is the best I can find. Credits go to Eywa for writting the below.

Staff Mods


Quote
Relevant id list, as per Skills.txt,

Code
66 nec Amplify Damage
67 nec Teeth
68 nec Bone Armor
69 nec Skeleton Mastery
70 nec Raise Skeleton
71 nec Dim Vision
72 nec Weaken
73 nec Poison Dagger
74 nec Corpse Explosion
75 nec Clay Golem
76 nec Iron Maiden
77 nec Terror
78 nec Bone Wall
79 nec Golem Mastery
80 nec Raise Skeletal Mage
81 nec Confuse
82 nec Life Tap
83 nec Poison Explosion
84 nec Bone Spear
85 nec BloodGolem
86 nec Attract
87 nec Decrepify
88 nec Bone Prison
89 nec Summon Resist
90 nec IronGolem
91 nec Lower Resist
92 nec Poison Nova
93 nec Bone Spirit
94 nec FireGolem
95 nec Revive

1) The game chooses how many skills (staffmods) to add, based on a random roll, rnd[100] (returns a random integer, 0-99).
  • If 90 or higher (10 %): 3 staffmods
  • If 70 or higher (20 %): 2 staffmods
  • If 30 or higher (40 %): 1 staffmod
  • Below 30 (30 %): no staffmods
2) Next, it selects the skill id (tier), starting at a certain value depending on ilvl:
  • ilvl 1-11: ID 1
  • ilvl 12-18: ID 2
  • ilvl 19-24: ID 3
  • ilvl 25-36: ID 4
  • ilvl 37+: ID 5
This becomes a base (static value) for all the skill ids on that item. Then it has a chance to be modified (this is done in turn for each staffmod),
  • 20% chance of +1
  • 50% chance to stay unmodified
  • 20% chance of -1
  • 10% chance of -2
Starting at each of the base values 1-5, the possible tier spread combinations are then 1-2 (1), 1-3 (2), 1-4 (3), 2-5 (4), and 3-6 (5). In other words, staffmods must fall within a block of 4 adjacent tiers (rows in the skill trees).

SM and RS are tier 1, whereas RSM is tier 3 (reqlvl 12), so we must restrict ourselves to a starting tier of 2 (ilvl 12-18) or 3 (ilvl 19-24) for all three skills to spawn.

If the item is low quality, then the skill id as of now is capped at 4. Then the final id is chosen from the following formula, with skill_adder being the skill id so far (modified or unmodified as above), and base_id is the starting id for the character class, viz, 66 for Necromancer skills,
  • id = skill_adder + (base_id + 4 * skill_adder) - 5 + rnd[5]
which may be simplified to: id = 66 + 5 * (skill_adder - 1) + rnd[5]. Since id = 69, 70, 80 are the desired ids, we need skill_adder = 1 on two of three id rolls (to get RS, SM) and skill_adder = 3 to get RSM.

3) Finally, the skill bonus (+1-3) is chosen, again based on a random roll, rnd[100] (returns a random integer, 0-99).
  • If 90 or higher (10 %): +3
  • If 60 or higher (30 %): +2
  • Below 60 (60 %): +1
This is done in turn for each staffmod chosen.

Because we want 2 sockets and ilvl < 25, we are left with just one option: Bone Wand (qlvl 18).

So either find an ilvl < 25 Bone Wand with the desired staffmods or shop for one in Acts 2-5 Normal, using a level 13-19 character.

Voodoo heads must be found, which does complicate matters somewhat.


This post was edited by Scaryghoul on Apr 11 2010 04:38pm
PRBJJ
#5 Apr 11 2010 04:41pm
Group: Member
Posts: 47,610
Joined: Jul 17 2008
Gold: 25.00
That looks like literature to me. Thanks.
Go Back To Diablo 2 Discussion Topic List
Add Reply New Topic New Poll