Piechu
New Member
I have one problem. I made a script, when player have storagevalue then he can equip item
in movements.xml
and it works. But when you have storage and u equip these item attribute keys aren't work. For example soft boots dont give mana and hp, and yalahari legs dont give dist skills.
Can someone help me?
Code:
function onEquip(cid, item, slot)
if getPlayerStorageValue(cid,77001) == 1 then
return TRUE
else
return FALSE
end
end
in movements.xml
Code:
<movevent type="Equip" itemid="xxxx" slot="feet" event="script" value="item.lua"/>
Can someone help me?