tenta isso:
function onLogin(cid) if isPremium(cid) ~= FALSE then if (getPlayerLevel(cid) <= 50) then doPlayerSetExperienceRate(cid, 90) end if (getPlayerLevel(cid) >= 51 and getPlayerLevel(cid) <= 100) then doPlayerSetExperienceRate(cid, 65) end if (getPlayerLevel(cid) >= 101 and getPlayerLevel(cid) <= 200) then doPlayerSetExperienceRate(cid, 52) end if (getPlayerLevel(cid) >= 201 and getPlayerLevel(cid) <= 300) then doPlayerSetExperienceRate(cid, 39) end if (getPlayerLevel(cid) >= 301 and getPlayerLevel(cid) <= 350) then doPlayerSetExperienceRate(cid, 26) end if (getPlayerLevel(cid) >= 351 and getPlayerLevel(cid) <= 400) then doPlayerSetExperienceRate(cid, 13) end if (getPlayerLevel(cid) > 400) then doPlayerSetExperienceRate(cid, 9) end end return TRUE end






info
Grupo: Barão
Registrado: 29/07/10
Posts: 211
Reputação: +17
Servidor utilizado: baiak yourots
versão: 8.60
nível de experiência: médio
adcionais: me informe se precisa registrar no "login.LUA", e se o exprate do config.LUA precisa estar alterado.
Aew galera, eu utilizo um script que permite 30% mais exp para os players premmy (não é promotion). Só que ele só funciona SEM stage na exp.
Portanto gostaria dum script que permitise mais exp rate para premmy, e com stage
0 - 50 = 70x 90x
51 - 100 = 50x 65x
151 - 200 = 40x 52x
251 - 300 = 30x 39x
301 - 350 = 20x 26x
351 - 400 = 10x 13x
400 - ...... = 6x 9x (qualquer coisa coloque pra ajusta, que eu me viro)
Legenda
azul = exp para free
vermelho = exp para premmy
Então é isso, colocar a stage com exp bonus para premmy.
o script atual que usso é esse:
Editado Novembro 24 por Lolksky