Administrator - 2008-08-03 13: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.shinobisway.pun.pl www.3pdh.pun.pl www.sgaming.pun.pl www.eurora.pun.pl www.shinobiroad.pun.pl