Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Category:Item Generation

36 bytes removed, 21:58, 31 October 2006
Affix Selection
The reason you need to know the Ilvl of something is mostly for use in cube recipes, especially the 3 perfect gem + 1 magical item = new magical item. This one is Ilvl = 100 for the mods, which means the Ilvl remains constant each time. So if you have an Ilvl 50 item it will stay at that level, and not be eligible for higher level modifiers.
<blockquote>When an item is generated that has affixes the Alvl is calculated* from Ilvl and Qlvl as follows
When an item is generated that has affixes 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}
if (Qlvl>ilvl) then {Ilvl=Qlvl} ;** see note below
if (magic_lvl<nowiki>0) then {Alvl=ilvl+magic_lvl}*</nowiki> all calculations use integers so there are no fractions at any step.
else  {  if (Ilvl<(99-qlvl/2))  then {Alvl=Ilvl-Qlvl/2}  else {Alvl=2*ilvl-99}  }  If (Alvlnowiki>99) then {Alvl=99}   *all calculations use integers so there are no fractions at any step. ** </nowiki> 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.</blockquote>
=Uniques and Sets=
89
edits