• Chatbox

    Load More
    You don't have permission to chat.
Sign in to follow this  
【★】ʀℯɱℯɳɞℯʀGåɱℯʂ【★】

[Pedido] Quest A Pedir Item Ao Entrar Em Mapa

4 posts in this topic

Como edito esta quest para pedir itens ao entrar no mapa de nemeres?
 
 
 
 
when 20094.chat."Torre de Nemeres" begin
local level = pc.get_level()
say_title("Olá Guerreiro(a)")
say("Posso levar você até a Torre de Nemeres.")
say("Mas tenha cuidado, la é muito perigoso.")
say("")
local option = select("Entrar","Não,")
if option == 1 then
if level >= 92 then
say("Boa sorte!")
wait()
pc.warp(588100, 180300)
else
say("Você não tem o level necessário.")
end
else
return
end -- fim option
 
end
 
end
end

 

Share this post


Link to post
Share on other sites
antiblock
Odegon

aqui esta.

 

when 20094.chat."Torre de Nemeres" begin
local level = pc.get_level()
say_title("Olá Guerreiro(a)")
say("Posso levar você até a Torre de Nemeres.")
say("Mas tenha cuidado, la é muito perigoso.")
say("")
local option = select("Entrar","Não,")
if option == 1 then
if level <= 92 then
say("Você não tem o level necessário.")
end
 
if pc.count_item(item) < 1 then
say("Nao tens o item necessario!")
end
 
say("Boa sorte!")
wait()
pc.warp(588100, 180300)
end
end
 
 
 
 
 
na parte 
 
if pc.count_item(item) < 1 then
 
em "item" é o item necessário

Share this post


Link to post
Share on other sites

 

aqui esta.

 

when 20094.chat."Torre de Nemeres" begin
local level = pc.get_level()
say_title("Olá Guerreiro(a)")
say("Posso levar você até a Torre de Nemeres.")
say("Mas tenha cuidado, la é muito perigoso.")
say("")
local option = select("Entrar","Não,")
if option == 1 then
if level <= 92 then
say("Você não tem o level necessário.")
end
 
if pc.count_item(item) < 1 then
say("Nao tens o item necessario!")
end
 
say("Boa sorte!")
wait()
pc.warp(588100, 180300)
end
end
 
 
 
 
 
na parte 
 
if pc.count_item(item) < 1 then
 
em "item" é o item necessário

 

Esqueceste-te de remover o item que pede ao entrar.

Cumps.

Share this post


Link to post
Share on other sites
when 20094.chat."Torre de Nemeres" begin

local level = pc.get_level()

say_title("Olá Guerreiro(a)")

say("Posso levar você até a Torre de Nemeres.")

say("Mas tenha cuidado, la é muito perigoso.")

say("")

local option = select("Entrar","Não,")

if option == 1 then

if level <= 92 then

say("Você não tem o level necessário.")

end

 

if pc.count_item(item) < 1 then

say("Nao tens o item necessario!")

end

 

say("Boa sorte!")

wait()

pc.warp(588100, 180300)

 pc.remove_item(item, quantidade)

end

end

 

 

na parte  pc.remove_item(item, quantidade)

 

"item" é o item necessário.

 

"quantidade" é quantos itens o jogador vai precisar.

Share this post


Link to post
Share on other sites
Sign in to follow this