Bem eu estive olhando nos tutoriais, e vi que não tinha nenhum tutorial de quest com imagens, apenas escrito então resolvi fazer um 100% meu.
1º passo:
Crie um mapa,adcione os monstros e o baú, fiz um rapidinho só para mostrar.
2º passo
Va na pasta do seu ot data/actions/scripts e abra chest.lua em alguns é quest.lua
3º passo
Lá você tem que fazer a quest, neste exemplo é a quest do helmet of the ancients
---Helmet of The Ancients Quest elseif item.uid == 5021 then queststatus = getPlayerStorageValue(cid,5022) if queststatus == -1 then if getPlayerLevel(cid) >= 100 then doPlayerSendTextMessage(cid,22,"You have found a Helmet of The Ancients.") doPlayerAddItem(cid,2343,1) setPlayerStorageValue(cid,5022,1) else doPlayerSendTextMessage(cid,22,"You need level 100 to get prize.") end else doPlayerSendTextMessage(cid,22,"It is empty.") end end return 1 end
Entendendo cada um deles:
4º passo
Abra o map editor e coloque em:
Action id: o ( elseif item.uid == 5021 then ) ou seja o numero 5021
Unique id: o ( queststatus = getPlayerStorageValue(cid,5022) ) ou seja o numero 5022
5º passo
Agora é so você salvar o mapa, abrir o server ir no local e fazer a quest ^^
Postem ae....
Créditos a: x9kill - Apoio Fórum Xtibia.com