• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Ring/Amulet of exp

Werewolf

Forbidden Ascension
Joined
Jul 15, 2012
Messages
886
Reaction score
123
Can someone make an Amulet that gives you increase EXP rate in %. While it is worn by the player?
Please and thank you rep++
 
it says
Code:
rate = 2.0, -- 2.0 = 2x faster than normal.

so if you're level 200 and have 3x exp rate. use the ring and you will get 6x.
should work if u use staged exp too.

LUA:
local cfg = {
    rate = 2.0
    ringOn = 6301
    ringOff = 6300
}
 
function onDeEquip(cid, item, slot)
    if (item.itemid == cfg.ringOn) then
        doPlayerSetExperienceRate(cid, getConfigValue("rateExperience"))
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have ended your extra experience.") 
        doTransformItem(item.uid, cfg.ringOff)
    end 
end 
 
function onEquip(cid, item, slot) 
    if(item.itemid == cfg.ringOff) then 
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your extra experience rate has been activated. It is now: " .. cfg.rate .. "x.") 
        doPlayerSetExtraExpRate(cid, rate)
        doTransformItem(item.uid, cfg.ringOn)
    end
end
 
Last edited:
Back
Top