Joriku
Working in the mines, need something?
Hi,
Anyone that can help me setup a script for revscript that makes the experience/skills at a start of X than you can't go under it?
What I have so far (Got nothing for skills atm):
Level:
Anyone that can help me setup a script for revscript that makes the experience/skills at a start of X than you can't go under it?
What I have so far (Got nothing for skills atm):
Level:
Lua:
local creatureevent = CreatureEvent("onLogin")-- header
function creatureevent.onLogin(cid, player)
local player = Player(cid)
if player:getLevel() < 120 then
player:addExperience(getExpForLevel(120) - player:getExperience(), true)
end
return true
end
creatureevent:register() -- footer/end