@Neeroo leia e ve se te ajuda!
LINK --> Prêmio Por level!
Abraços Boa Sorte.
Obs: Use a barra de pesquisa para mais Informações!
info
Group: Conde
Joined: 12/11/08
Posts: 520
Reputation: +73
Gender: Masculino

@Neeroo leia e ve se te ajuda!
LINK --> Prêmio Por level!
Abraços Boa Sorte.
Obs: Use a barra de pesquisa para mais Informações!
info
Group: Cavaleiro
Joined: 13/06/11
Posts: 172
Reputation: +6

vlw mano se eu consigui de do rep
vlw msm vo ve aki

nesse topico q vc m mando u kero cada vocaçao intum pra min coloka o iten de cada voc vo terq cria otras pastas?
e como adicionar para cada vocaçao
(aceitando mais sujestoes)
info
Group: Conde
Joined: 30/06/11
Posts: 631
Reputation: +371
Tibia Character: Warrior of Mort

Troca teu script por esse:
function onAdvance(cid, skill, oldLevel, newLevel) local lvlPremio = 100 -- lvl que ganha recompensa local itemKina = 2160 -- id do item que o kina vai ganhar local itemPaly = 2160 -- id do item que o paly vai ganhar local itemDruid = 2160 -- id do item que o druid vai ganhar local itemSorcer = 2160 -- id do item que o sorcer vai ganhar if (getPlayerStorageValue(cid, 30700) ~= 1) then if (getPlayerLevel(cid) == lvlPremio) then if (getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 8) then doPlayerAddItem(cid, itemKina, 1) setPlayerStorageValue(cid, 30700, 1) elseif (getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7) then doPlayerAddItem(cid, itemPaly, 1) setPlayerStorageValue(cid, 30700, 1) elseif (getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6) then doPlayerAddItem(cid, itemDruid, 1) setPlayerStorageValue(cid, 30700, 1) else (getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5) then doPlayerAddItem(cid, itemSorcer, 1) setPlayerStorageValue(cid, 30700, 1) end end end return TRUE end
Edited Dezembro 13 by Jhon992
info
Group: Cavaleiro
Joined: 13/06/11
Posts: 172
Reputation: +6
ae gent kro saber asim quando o player chega lv 150 ele ganha um iten da vocaçao
knight:warlord sword e 1kk
druid e sorcerer: lunar e 1kk
paladin: golden bow crystal arrow e 1kk
ajuda ai pow