antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More

Archived

This topic is now archived and is closed to further replies.

  • 0
bibitreva

Ajuda com uma Quest de Evento

Question

Estou com uma quest de evento arca luar, no meu servidor ele ta ativado de imediato, queria poder desativar com o codigo /e , mais nao sei oque ta dando errado. a parte da quest aki

 

quest luzluna begin
    state start begin
        when login begin
                if game.get_event_flag("mondlicht_event") == 1 then
                    notice("O evento Arca Luar começou.")
                end
            end
        when 20095.chat."Evento  Caja Luz Luna" with pc.is_gm() begin
            say_title("Evento Arca Do Luar")
            say("")
            say_reward("Você quer fazer?")
        local s = select("Ativar Evento", "Desativar Evento", "Cancelar")
            if s == 1 then
                game.set_event_flag("mondlicht_event", 1)
                notice_all("O evento Arca de Luar foi ativado.")
                notice_all("Mais Informações no nosso site www.zer0mt2.com.")
            elseif s == 2 then
                game.set_event_flag("mondlicht_event", 0)
                notice_all("O Evento Arca do Luar foi Desativado.")
            end
        end

        when 8001.kill or 8002.kill or 8003.kill or 8004.kill or 8005.kill or 8006.kill or 8007.kill or 8008.kill or 8009.kill or 8010.kill or 8011.kill or 8012.kill or 8013.kill or 8014.kill or 8017.kill or 8018.kill or 8019.kill or 8024.kill or 8025.kill or 8026.kill or 8027.kill or 8054.kill or 8055.kill or 8056.kill begin
            if pc.count_item(50011) >= 0 then
            local porc = math.random(1,16)
                if porc <= 2 then
                    game.drop_item_with_ownership("50011", 1)
                    syschat("Você Dropou o Bau Arca de Luar, Pegue seu Premio!")
                end
            end
        end
    end
end    
            
 

quando desativo ela com o comando /e mondlicht_event 0, ele continua com o evento, ou no npc ele nao desativa. alguem sabe como posso resolver?

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet