thegiantturtle said:
2) Note that different gloves require different ilvl's. They need a alvl of at least 40 to get the +2 skill tree mod. alvl is determined by some complicated formula of ilvl and qlvl.
3) Note that again it's alvl that determines what mods can appear. For Jewelry, ilvl = alvl, but that is not the case for other items. Diadems of any ilvl can get any affix.
i think this is what you are looking for...
If (ilvl>99) then {ilvl=99}
if (qlvl>ilvl) then {ilvl=qlvl}
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}
you can shorten (thx rtb) the above formula for determining alvl for gloves to:
Chain Gloves
Ilvl 12 - 93: Alvl = Ilvl - 6
Ilvl 94 - 99: Alvl = 2*Ilvl - 99
Heavy Bracers
Ilvl 43 - 78: Alvl = Ilvl - 21
Ilvl 79 - 99: Alvl = 2 * Ilvl - 99
Vambraces
Ilvl 69 - 99: Alvl = 2 * Ilvl - 99
Heavy Gloves
Ilvl 7 - 96: Alvl = Ilvl - 3
Ilvl 97 - 99: Alvl = 2 * Ilvl - 99
Sharkskin Gloves
Ilvl 39 - 80: Alvl = Ilvl - 19
Ilvl 81 - 99: Alvl = 2 * Ilvl - 99
Vampirebone Gloves
Ilvl 63 - 68: Alvl = Ilvl - 31
Ilvl 69 - 99: Alvl = 2 * Ilvl - 99
you can find other goodies like thie above in the glove crafting guide stickied in the zon forum
http://forums.diabloii.net/showthread.php?t=348851&page=1&pp=10