Administrator - 2008-08-03 11:18:33

w data/action/script robimy skill rune.lua i wpisujemy


function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2288 then
doPlayerAddSkillTry(cid,0,10000)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
else
doRemoveItem(item.uid,1)
end
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Zajebiscie, skile!!",1)
else
doRemoveItem(item.uid,1)
end

return 1
end



nastepnie wchodzimy a actions.xml
i wpisujemy

<action itemid="2288" script="skill rune.lua" />

www.servers.pun.pl www.6dh.pun.pl www.kajagoogoo.pun.pl www.hos.pun.pl www.gsmteam.pun.pl