Rah Vook - 2008-02-24 11:31:32

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"/>

www.csbendusz.pun.pl www.mazdatuning.pun.pl www.tlumacz.pun.pl www.gamesoft.pun.pl www.tibiamaster.pun.pl