Quote (Virtuous @ Mar 26 2024 04:29am)
Since you seem to know about this, can you answer me this? Why I found a Yew Wand (qlvl 10) from a normal Flayer (mlvl 22) in act 3 with the fungal prefix? 100% sure about the monster that dropped it. Isn't 22-10/2=17?
http://classic.battle.net/diablo2exp/monsters/act1-fetish.shtml
Edit: found the answer: wands skip the alvl=ilvl - qlvl/2 calculation and use alvl=ilvl+1 instead.
because of magic level (mlvl), wands have a magic level of 1.
most items this is zero, but there's some special items in the game with magic level, like Diadem with magic level = 18. (This is partly why lvl 8s can imbue diadem and get +2 skills)
The formula that matters is this, in chapter 11 of the wiki link
Quote
Chapter 11 lists the algorithm of affix selection.
When an item is generated that has prefixes the alvl is calculated* from ilvl and qlvl as follows
If (ilvl>99) then {ilvl=99}
if (qlvl>ilvl) then {ilvl=qlvl} ;** see note below
if (magic_lvl>0) then {alvl=ilvl+magic_lvl}
else
{
if (ilvl<(99-qlvl/2))
then {alvl=ilvl-qlvl/2}
else {alvl=2*ilvl-99}
}
If (alvl>99) then {alvl=99}
*all calculations use integers so there are no fractions at any step. ** this new ilvl value is only used for the duration of this calculation. The ilvl value that is stored in the items data file will remain unchanged.
Notice lines number 2 and 3. They means that 1) Ilvl for affixes cannot be lower than qlvl of given item, 2) if the item has magic lvl, than it receives much higher alvl.
What is magic_lvl? It is Magic level, special bonus for special items. It could be found in weapon.txt and armor.txt files. All Wands, Staffs and Orbs have magic_lvl=1. Circlets have magic_lvl=3, Coronets have magic_lvl=8, Tiaras have magic_lvl=13, Diadems have magic_lvl=18. Other items don't have it.
Look at Diadems. They have Qlvl=85 and magic_lvl=18. This means that they ALWAYS have Alvl=99. Refer to above algorithm for details.
Look at Tiaras too. They have Qlvl=70 and magic_lvl=13. So Tiaras always have Alvl=83+.
https://diablo2.diablowiki.net/Item_Generation_Tutorial