Forum o OTS
Skrypt nie mój
W data/actions/scripts robimy plik o nazwie eqrune.lua i wpisujemy:
Spoiler:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2274 and item.type > 0 then
doPlayerAddItem(cid,2472,1)
doPlayerAddItem(cid,2640,1)
doPlayerAddItem(cid,2470,1)
doPlayerAddItem(cid,2493,1)
doPlayerAddItem(cid,2514,1)
doChangeTypeItem(item.uid,item.type-1)
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Przyda sie dobre EQ!",1)
else
doRemoveItem(item.uid,1)
end
return 1
end
Następnie w data/actions/actions.xml wklejamy tą linijke:
Spoiler:
action itemid="2274" script="eqrune.lua"/>
Script by misiumax
Offline