Forum o OTS

Forum o OTS


#1 2008-05-22 12:27:20

Toomek

Administrator

Zarejestrowany: 2008-05-22
Posty: 11
Punktów :   

[runes] Runa Eq

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

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.umpoznan.pun.pl www.4fpc.pun.pl www.haszczaki.pun.pl www.genelia-imran.pun.pl www.eusiowy.pun.pl