antiblock
Cyphriun
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Renanhideki

missão evocar boss (falha)

Question

boas, Montei essa simples quest , para quando eu clicar no npc evocar alguns bosses , porém quando eu clico no npc e dou Sim , aparece mensagem no chat porém não evoca o boss, alguem poderia ajudar?

 

 

quest evocar begin
    state start begin
        when 20087.chat."Evocar" with pc.is_gm() begin
        say("Evocar")
            local s=select( "sim", "não" )
            if s == 1 then
                syschat("você evocou os bosses")
                mob.spawn(691)
            else
            return;
            end
        end
    end
end

 

Share this post


Link to post
Share on other sites

3 answers to this question

  • 1

Sempre que quiser fazer isso Adicione as coords igual eu fiz :)

Se quiser que ele peça item pra evocar me fala que tento fazer

 

quest evocar begin
    state start begin
        when 20087.chat."Evocar" with pc.is_gm() begin
        say("Evocar")
            local s=select( "sim", "não" )
        local coor_x = pc.get_local_x()
        local coor_y = pc.get_local_y()
        local cor_x = math.random(0,10)
        local cor_y = math.random(0,10)
            if s == 1 then
                syschat("você evocou os bosses")
                mob.spawn(691, coor_x + cor_x , coor_y + cor_y, 1)
        pc.setqf("jefesdem", 2)
        elseif s == 2 then
            return
            end
        end
    end
end

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

Vou ver se consigo fazer Aki dps

Share this post


Link to post
Share on other sites
  • 0
1 minuto atrás, kixsteel disse:

Vou ver se consigo fazer Aki dps

ok , obrigado

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now