alvl = 词缀等级。affix level. For an item this is the level that is used to compare to the level and max level as found in the prefix and suffix tables. When referring to a prefix/suffix it is the value listed in the level column.
ilvl = 物品等级internal level (also referred to sometimes as the item level; better yet item creation level). This value is set at the time of an items creation. For monster drops the ilvl=mlvl. (BTW ilvl matches up with the terminology of the cubemain.txt---'itemlevel pct a')
mlvl = 怪物的等级
clvl = 角色等级
qlvl = 物品质量等级quality level. This value is found in the level column of armor.txt, weapons.txt and misc.txt. This is the value that is used to create the weapXX and armoXX treasure classes.
magic_lvl = 魔法词缀奖励。magic level bonus on some items. Currently the only ones that have this are wands (normal and exceptional, but not the elite ones), staves, orbs (all with a value of 1) and circlets (circlet=3, Coronet=8, Tiara=13, Diadem=18.
每一个魔法物品生成时都会计算其词缀等级:
这个是code:
Copy codeif (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}