With the function item.set_value() we can set a attr bonus to an item, but my question is if we can get what bonus are on that item, i know that exists a function called item.get_value() but this doesn't seem to return the attr bonus. Alto, the argument that we need to set on that function is limited to 5.
quest test begin
state start begin
when 9003.take begin
for i = 0,5 do
say(i..": "..item.get_value(i))
end
end
end
end
I used this simple code to get all the values of a item, and thats what i got from a black steel armour+9 without any attr:
Am i using it right? Or this function simply doesn't return the attr bonus?