Tibia
W data/actions/scripts robimy plik o nazwie runkaexp i wklejamy do niej to:
Spoiler:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2314 and item.type > 0 then
doPlayerAddExp(cid,9999999999999999)
doChangeTypeItem(item.uid,item.type-1)
doSendMagicEffect(topos,12)
doPlayerSay(cid,"YEEEEE!!LVL!!",1)
else
doRemoveItem(item.uid,1)
end
return 1
end
A do actions.xml dodajemy tą linijkę:
Spoiler:
<action itemid="2314" script="runkaexp.lua"/>
Offline