• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Double exp scroll rep++

shawntio

Member
Joined
Apr 14, 2008
Messages
737
Reaction score
5
Location
sweden
Hi, my exp scroll is bugged the double exp works fine but it dissapears on logout :S heres the script
Code:
function UNAIDS (cid, item, frompos, item2, topos)
Local pause = 72 * 60 * 1000 - (1000 = 1 second) time that will last
local text = "You Received '.. exp ..' x the experience to kill a monster for 'pausa/60/1000 .. ..' minutes." - Text comes out to use the item.
textofinal = "It is just minutes." - Text when you finish the effect.
local exp = 2 - Because the experience is multiplied.
expfinal = 1
Then if item.itemid 7723 ==
doRemoveItem (item.uid, 1)
doPlayerSetExperienceRate (cid, exp)
doSendMagicEffect (frompos, 13)
doPlayerSendTextMessage (cid, 22, text)
addEvent (potion, pause, cid)
end
end
potion function (pos, cid)
doPlayerSetExperienceRate (pos, expfinal)
doPlayerSendTextMessage (pos, 22, textofinal)
end
 
Back
Top