Ir para conteúdo

Featured Replies

Postado

Ola Galera Do TK!!

Hoje Quando Fui Fazer Uma Quest Para Meu Poketibia Centurion V7 N consegui pois n sabia kkkkkkk.....

E como eu coloko itens dentro do bau? pf me ajudem ae ^^

 

 

 

OBS:estou editando o serve pra passar para vcs!! :wow:

        "Aqueles quem vivem na ignorancia se mantem numa realidade sombria."

                                                        Misaki Mei

  • Respostas 13
  • Visualizações 2.2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Você pode tentar usndo actionid 2000 e um uniqueid que não se repita, porém não sei se vai funcionar em servidor de pokemon

  • sim tente adicionar o actionid 2000 e um uniqueid qualquer que já nao esteja sento utilizado, então adicione os itens no bau e quando o player usar vai ganhar a recompensa.

Postado

Mas antes de tudo, essa quest vai ser de alguma box ? tipo box 1, box 2... ou vai ser só uma quest mrm ? tipo as que da ball, ou as que da potion, dinheiro... ?

                                                                           wcoq.jpg

Postado

Bom de todo jeito.

Box: Vai em actions/scripts copia qualquer script.lua renomeie para box4.lua e cole isso dentro:

function onUse(cid, item, frompos, item2, topos)

local box = {
[1] ={msg = "Voce Abriu New Box Ganhou Absol",np = 'Absol Pokeball'},
[2] ={msg = "Voce Abriu New Box Ganhou Tropius",np = 'Tropius Pokeball'},

[3] ={msg = "Voce Abriu New Box Ganhou Shiftry",np = 'Shiftry Pokeball'},
[4] ={msg = "Voce Abriu New Box Ganhou Miltank",np = 'Miltank Pokeball'},
[5] ={msg = "Voce Abriu New Box Ganhou Blaziken",np = 'Blaziken Pokeball'},
[6] ={msg = "Voce Abriu New Box Ganhou Anorith",np = 'Anorith Pokeball'},
[7] ={msg = "Voce Abriu New Box Ganhou Armaldo",np = 'Armaldo Pokeball'},
[8] ={msg = "Voce Abriu New Box Ganhou Combusken",np = 'Combusken Pokeball'},
[9] ={msg = "Voce Abriu New Box Ganhou Cradily",np = 'Cradily Pokeball'},
[10] ={msg = "Voce Abriu New Box Ganhou Flygon",np = 'Flygon Pokeball'},
[11] ={msg = "Voce Abriu New Box Ganhou Gallade",np = 'Gallade Pokeball'},
[12] ={msg = "Voce Abriu New Box Ganhou Gardevoir",np = 'Gardevoir Pokeball'},
[13] ={msg = "Voce Abriu New Box Ganhou Glalie",np = 'Glalie Pokeball'},
[14] ={msg = "Voce Abriu New Box Ganhou Grovyle",np = 'Grovyle Pokeball'},
[15] ={msg = "Voce Abriu New Box Ganhou Hariyama",np = 'Hariyama Pokeball'},
[16] ={msg = "Voce Abriu New Box Ganhou Kirlia",np = 'Kirlia Pokeball'},
[17] ={msg = "Voce Abriu New Box Ganhou Marshtomp",np = 'Marshtomp Pokeball'},
[18] ={msg = "Voce Abriu New Box Ganhou Metagross",np = 'Metagross Pokeball'},
[19] ={msg = "Voce Abriu New Box Ganhou Metang",np = 'Metang Pokeball'},
[20] ={msg = "Voce Abriu New Box Ganhou Mudkip",np = 'Mudkip Pokeball'},
[21] ={msg = "Voce Abriu New Box Ganhou Sceptile",np = 'Sceptile Pokeball'},
[22] ={msg = "Voce Abriu New Box Ganhou Snorunt",np = 'Snorunt Pokeball'},
[23] ={msg = "Voce Abriu New Box Ganhou Swampert",np = 'Swampert Pokeball'},
[24] ={msg = "Voce Abriu New Box Ganhou Torchic",np = 'Torchic Pokeball'},

[25] ={msg = "Voce Abriu New Box Ganhou Treecko",np = 'Treecko Pokeball'},
[26] ={msg = "Voce Abriu New Box Ganhou Vibrava",np = 'Vibrava Pokeball'},


}
local level = 100
local e = box[math.random(1,28)]
local boxid = 2531

if getPlayerLevel(cid) >= level then
doPlayerSendTextMessage(cid,22,e.msg)
b = doPlayerAddItem(cid, boxid, 1)
doItemSetAttribute(b, "name", e.np)
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid, "You must be at least level "..level.." to use this box.")
end
return TRUE
end

Pokemons da Box.

Level para abrir a Box.

ID da Box.

Agora vai em Actions.xml e cola essa tag:

 

    <action itemid="7891" event="script" value="box4.lua"/>

 

Agora vai em Actions/scripts copia qualquer scripts e renomeie para questbox4.lua e cole isso dentro:

 

function onUse(cid, item, frompos, item2, topos)
if item.uid == 2018 then
queststatus = getPlayerStorageValue(cid,2018)
if getPlayerLevel(cid) >= 80 then
if queststatus == -1 or queststatus == 0 then
doPlayerSendTextMessage(cid,22,"You received an box [+4].")
item_uid = doPlayerAddItem(cid,7888,1)
setPlayerStorageValue(cid,2018,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
doPlayerSendCancel(cid,"You need level 80 or higher, to make this quest.")
end
else
return 0
end
return 1
end

Agora vai em actions.xml e cola essa tag:

 

  <action uniqueid="9002" script="questbox4.lua" />

 

Qualquer duvida posta ae. Fiz meio com pressa pq não to  em ksa '-'

                                                                           wcoq.jpg

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo