D2 Staffmod 的选择
(Hammerman 提供)
一. 什么是 Staffmod
在某些类型的装备上, 尤其是角色专用装备上, 除了词缀赋予的属性外,
还具有加某项技能的属性, 称为 "Staffmod". 例如, 一个白色的女巫手杖
上可能会有 "+3 blizzard (Sorceress only)". Staffmod 不出现于暗金装
备上.
二. 哪些物品具有 Staffmod
部分 刺客爪(Katar) : 加刺客技能, base_id = 251
法杖(Wand) : 加男巫技能, base_id = 66
男巫盾(Shunken Head): 加男巫技能, base_id = 66
野蛮人头盔(Bar Helm): 加野蛮人技能, base_id = 126
骑士权杖(Scepter) : 加圣骑士技能, base_id = 96
女巫杖(Staff, Orb) : 加女巫技能, base_id = 36
德鲁依头盔(Pelt) : 加德鲁依技能, base_id = 221
base_id 在后面选择技能时会用到.
并非所有的刺客爪子都有 Staffmod, 仅以下可以:
Battle Cestus
Feral Claws
Greater Claws
Greater Talons
Hand Scythe
Runic Talons
Scissors Quhab
Scissors Suwayyah
Suwayyah
War Fist
Wrist Sword
三. 具体技能的选择方法
1. 决定技能的个数
首先系统随机选取一个 0 ~ 99 之间的整数, 记为 m ;
如果该物品是 imbue 得到的, 则 m 要加上物品的 Ilvl.
若 m >= 90, 则出现三个技能;
若 70 <= m <= 89, 则出现二个技能;
若 30 <= m <= 69, 则出现一个技能.
(关于 Ilvl 请看 这里.)
2. 选择技能偏移量(shift_id)
shift_id 仅与物品的 Ilvl 有关:
=====================
Ilvl shift_id
---------------------
1 - 11 1
12 - 18 2
19 - 24 3
25 - 36 4
37 - 99 5
=====================
3. 修正 shift_id
shift_id 保持不变的几率为 50% ;
shift_id +1 的几率为 20% ;
shift_id -1 的几率为 10% ;
shift_id -2 的几率为 20% .
如果该物品是低品质的(low quality, damaged, cracked, crude),
则 shift_id 不超过 4 .
4. 选择技能(skill_id)
选择技能的次数由第1步中决定的技能个数来决定. 每次技能选择
的方法如下:
首先, 系统从 0 ~ 4 之间随机选一个整数, 记为 n ;
然后选择技能ID:
skill_id = base_id + 5 * shift_id - 5 + n ;
若此 skill_id 在前面的选择过程中已经被选中, 或者 skill_id = 73,
则要重新选择 skill_id, 在这一步骤上, Hammerman 和 Jarulf 的意见
不同:
Hammerman: 在已经选择的 skill_id 上再加上 0 ~ 4 之间的随机
整数;
Jarulf: 重新选择 0 ~4 之间的随机整数 n, 再计算
skill_id = base_id + 5 * shift_id - 5 + n .
个角色的 base_id 见前. 各个技能的 skill_id 见本文末尾.
四. 决定技能的等级
对每个选中的技能分别决定其等级. 方法如下:
随机选取 0 ~ 99 之间的整数, 记为 x ; 若该物品是 imbue 来的,
则 x 要加上 ilvl/2 ;
若 x >= 90, 则技能等级为 +3 ;
若 60 <= x < 90, 则技能等级为 +2 ;
若 x < 60, 则技能等级为 +1 .
五. 注释
base_id 实际上就是该角色的技能中 skill_id 最小的那个技能的ID.
注意, skill_id 是不会超出该人物的技能之外的. skill_id 不能选
73 表明 Wand 上永远不会出现 Poison Dagger 这个技能.
在 Hammerman 的原贴里, 用 "skill_id" 来表示 "shift_id", 用
"id" 来表示 "skill_id", 我为了意义上的清晰而做了更改.
skill_id 与具体技能的对应关系:
6 ama Magic Arrow
7 ama Fire Arrow
8 ama Inner Sight
9 ama Critical Strike
10 ama Jab
11 ama Cold Arrow
12 ama Multiple Shot
13 ama Dodge
14 ama Power Strike
15 ama Poison Javelin
16 ama Exploding Arrow
17 ama Slow Missiles
18 ama Avoid
19 ama Impale
20 ama Lightning Bolt
21 ama Ice Arrow
22 ama Guided Arrow
23 ama Penetrate
24 ama Charged Strike
25 ama Plague Javelin
26 ama Strafe
27 ama Immolation Arrow
28 ama Decoy
29 ama Evade
30 ama Fend
31 ama Freezing Arrow
32 ama Valkyrie
33 ama Pierce
34 ama Lightning Strike
35 ama Lightning Fury
36 sor Fire Bolt
37 sor Warmth
38 sor Charged Bolt
39 sor Ice Bolt
40 sor Frozen Armor
41 sor Inferno
42 sor Static Field
43 sor Telekinesis
44 sor Frost Nova
45 sor Ice Blast
46 sor Blaze
47 sor Fire Ball
48 sor Nova
49 sor Lightning
50 sor Shiver Armor
51 sor Fire Wall
52 sor Enchant
53 sor Chain Lightning
54 sor Teleport
55 sor Glacial Spike
56 sor Meteor
57 sor Thunder Storm
58 sor Energy Shield
59 sor Blizzard
60 sor Chilling Armor
61 sor Fire Mastery
62 sor Hydra
63 sor Lightning Mastery
64 sor Frozen Orb
65 sor Cold Mastery
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
96 pal Sacrifice
97 pal Smite
98 pal Might
99 pal Prayer
100 pal Resist Fire
101 pal Holy Bolt
102 pal Holy Fire
103 pal Thorns
104 pal Defiance
105 pal Resist Cold
106 pal Zeal
107 pal Charge
108 pal Blessed Aim
109 pal Cleansing
110 pal Resist Lightning
111 pal Vengeance
112 pal Blessed Hammer
113 pal Concentration
114 pal Holy Freeze
115 pal Vigor
116 pal Conversion
117 pal Holy Shield
118 pal Holy Shock
119 pal Sanctuary
120 pal Meditation
121 pal Fist of the Heavens
122 pal Fanaticism
123 pal Conviction
124 pal Redemption
125 pal Salvation
126 bar Bash
127 bar Sword Mastery
128 bar Axe Mastery
129 bar Mace Mastery
130 bar Howl
131 bar Find Potion
132 bar Leap
133 bar Double Swing
134 bar Pole Arm Mastery
135 bar Throwing Mastery
136 bar Spear Mastery
137 bar Taunt
138 bar Shout
139 bar Stun
140 bar Double Throw
141 bar Increased Stamina
142 bar Find Item
143 bar Leap Attack
144 bar Concentrate
145 bar Iron Skin
146 bar Battle Cry
147 bar Frenzy
148 bar Increased Speed
149 bar Battle Orders
150 bar Grim Ward
151 bar Whirlwind
152 bar Berserk
153 bar Natural Resistance
154 bar War Cry
155 bar Battle Command
221 dru Raven
222 dru Poison Creeper
223 dru Wearwolf
224 dru Shape Shifting
225 dru Firestorm
226 dru Oak Sage
227 dru Summon Spirit Wolf
228 dru Wearbear
229 dru Molten Boulder
230 dru Arctic Blast
231 dru Carrion Vine
232 dru Feral Rage
233 dru Maul
234 dru Fissure
235 dru Cyclone Armor
236 dru Heart of Wolverine
237 dru Summon Dire Wolf
238 dru Rabies
239 dru Fire Claws
240 dru Twister
241 dru Solar Creeper
242 dru Hunger
243 dru Shock Wave
244 dru Volcano
245 dru Tornado
246 dru Spirit of Barbs
247 dru Summon Grizzly
248 dru Fury
249 dru Armageddon
250 dru Hurricane
251 Asn Fire Blast
252 asn Claw Mastery
253 asn Psychic Hammer
254 asn Tiger Strike
255 asn Dragon Talon
256 asn Shock Web
257 asn Blade Sentinel
258 asn Burst of Speed
259 asn Fists of Fire
260 asn Dragon Claw
261 asn Charged Bolt Sentry
262 asn Wake of Fire
263 asn Weapon Block
264 asn Cloak of Shadows
265 asn Cobra Strike
266 asn Blade Fury
267 asn Fade
268 asn Shadow Warrior
269 asn Claws of Thunder
270 asn Dragon Tail
271 asn Lightning Sentry
272 asn Wake of Inferno
273 asn Mind Blast
274 asn Blades of Ice
275 asn Dragon Flight
276 asn Death Sentry
277 asn Blade Shield
278 asn Venom
279 asn Shadow Master
280 asn Phoenix Strike