Itemmodifier info broken?

BlackShadow

Active Member
Wanted to test out the Itemmodifier info:
http://vg.isxgames.com/wiki/index.php?title=Itemmodifier_(Data_Type)

So did a quick hit'n'run script to test it out, but it returns weird and faulty information.

Code:
function main()
{
    variable int i = 1
    
    echo ${Me.Inventory[ExactnName,Earthborn Priest Greaves].Name} Modifiers:
   
    do
    {
        echo ${i} - ${Me.Inventory[ExactnName,Earthborn Priest Greaves].Modifier[${i}].Name} -> ${Me.Inventory[ExactnName,Earthborn Priest Greaves].Modifier[${i}].CurrentMod}: ${ExamineItemWindow.ToItem.Modifier[${i}].MaxMod}     
                
    }
    while ${i:Inc} <= ${Me.Inventory[ExactnName,Earthborn Priest Greaves].NumModifiers}
}
Is it broken or am I doing something wrong?

EDIT: I did wonder about one thing thou. This is only partly usefull if it only can take items in your inventory, so is there any way to get the info from an activated itemlink?
 
Top Bottom