Witam manarunka nie moja xd
autor : Kudzu z iots.pl
no to zaczynajmy xd
Zrób plik w actions/scripts manarune.lua i wklej to
--Manarune--
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2270 and item.type > 1 then
doPlayerAddMana(cid,500)
doChangeTypeItem(item.uid,item.type-1)
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Mniam...",1)
else
doRemoveItem(item.uid,1)
end
return 1
end
ile many ma dodawać =]
co ma pisać gdy zje się manarune
do actions.xml
<action itemid="2270" script="manarune.lua" />
Pozdrawiam!
//Kappy
Offline