local vocs = {
[2] = {item = 2160 quant = 1} -- ID DO Item e Quantidade
}
function onUse(cid, item, frompos, itemEx, toPos)
local he = vocs[getPlayerVocation(cid)]
if getPlayerStorageValue(cid, 213125) > 1 then
doPlayerSendTextMessage(cid, 20, "Voce ja completou essa quest")
setPlayerStorageValue(cid, 213125,1)
return true
end
doPlayerSendTextMessage(cid, 22, "Parabéns, recebeu skill!")
setPlayerStorageValue(cid, 91670, 1)
doPlayerAddItem(cid, he.item, he.quant)
return true
end


info
Grupo: Campones
Registrado: 28/06/13
Posts: 38
Reputação: 0
Char no Tibia: Mordecai
galera, quero fazer uma quest que só " Druid " possa abrir o chest, e as outras vocations não, como fazer?