Coca Cola
New Member
- Joined
- Apr 10, 2010
- Messages
- 164
- Reaction score
- 0
ref power is an type of property that i created .. this don't matter but , why shouldn't this work ?
Code:
if refPower ~= nil and refPower > 0 then
doItemSetAttribute(item.uid, 'name', getItemInfo(item.uid).name .. '[power+'refPower'points]')
end