kilirt
New Member
- Joined
- May 11, 2009
- Messages
- 223
- Reaction score
- 2
Excuse me i've this script:
but this set me ml at 1% and no give me 2 magic level can repair this?
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 8 then
doCreatureSay(cid, "You Gained 2 Magic Level!", TALKTYPE_ORANGE_1)
doPlayerAddMagLevel(cid, 2000)
doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
doRemoveItem(item.uid)
setPlayerStorageValue(cid,1302,2)
return TRUE
else
doCreatureSay(cid, "You must be over level 8 to use this scroll", TALKTYPE_ORANGE_1)
end
end