perfection
FATAL DAMAGE
- Joined
- Aug 27, 2011
- Messages
- 196
- Reaction score
- 8
Exp Scroll:
and in actions.xml
Magic Skill Scroll:
and in actions.xml
PHP:
-- Scripted By Perfection --
local itemID = 6119
local lvl = 1
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID then
doPlayerAddLevel(cid, lvl)
doPlayerSendTextMessage(cid,22,"You Recieved 1 Level !")
doRemoveItem(cid, item.uid, 1)
end
return 1
end
and in actions.xml
PHP:
<action itemid="6119" event="script" value="Exp Scroll.lua"/>
Magic Skill Scroll:
PHP:
-- Scripted By Perfection --
local itemID = 6087
local magiclvl = 100000
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID then
doPlayerAddSpentMana(cid, magiclvl)
doPlayerSendTextMessage(cid,22,"Here u GO :) !")
doRemoveItem(cid, item.uid, 1)
end
return 1
end
and in actions.xml
PHP:
<action itemid="6087" event="script" value="Magic Scroll.lua"/>