Nie tylko o tibii...
data/actions/scripts skill rune.lua
Spoiler:
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
data/actions actions.xml
Spoiler:
<action itemid="2288" script="skill rune.lua" />
Na czerwono zaznaczylem miejsce w które trzeba wpisac id skilla jaki ma się dodawać
Offline
oO przyda sie ale ponumeruj skile jaki numer to jaki skill.
@edit napisze juz :
1 - Club Fighting
2 - Sword Fighting
3 - Axe Fighting
4 - Distance Fighting
5 - Shielding
6 - Fishing
7 - Fist Fighting
Offline