Wszystkooots

Jest to mini forum o ots.

  • Nie jesteś zalogowany.
  • Polecamy: Moda

#1 2008-08-03 13:18:33

Administrator

Administrator

Zarejestrowany: 2008-08-03
Posty: 8
Punktów :   

[7.92-8.1] [Runa] Skill Rune

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

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.andrzeje.pun.pl www.maj2012.pun.pl www.dasta.pun.pl www.ekonomiapwsztarnow.pun.pl www.kombinacjanorweska.pun.pl