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
any idea?
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?