• 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!

Lua Stone of Wisdom

Garuh066

New Member
Joined
Apr 11, 2013
Messages
19
Reaction score
1
I have a small problem with this script:

based in the stone of wisdom of real tibia

You will receive experience equivalent to 5000 times your level

example:
if u are level 5, yu receive 25,000 exp
if u are level 100, you receive 500,000 exp

and this is my script but not works :S

Code:
-- Experience Scroll by Garuh --
local level = getPlayerLevel(cid)
local expperlevel = 5000 -- experience gained
local exptotal = (level * expperlevel)

function onUse(cid, item, fromPosition, itemEx, toPosition)
    doPlayerAddExp(cid, exptotal)
    doCreatureSay(cid, exptotal, TALKTYPE_ORANGE_1)
end

any idea?
 
Back
Top