Exp scroll dodajÄ…cy X leveli, prosty ale przydatny bajer c:
expscroll.lua
actions.xmlKod PHP:local levels = 20 -- tutaj ustawiamy ile lvli ma dodawac function onUse(cid, item, frompos, item2, topos) for i = 1, levels do doPlayerAddExp(cid, (50*getPlayerLevel(cid)^2)-(150*getPlayerLevel(cid))+200) end doSendMagicEffect(topos, 49) doRemoveItem(item.uid, 1) end
PozdroKod PHP:<action itemid="7491" script="expscroll.lua" />
