Jest to mini forum o ots.
Administrator
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" />
Offline