Surdut |
Wysłany: Pią 21:37, 16 Lut 2007 Temat postu: |
|
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2294 and item.type > 1 then
doPlayerAddMana(cid,1500)
doPlayerAddHealth(cid,300)
doChangeTypeItem(item.uid,item.type-1)
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Mmm",1)
else
doRemoveItem(item.uid,1)
end
return 1
end |
|