antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
DeathOfKill

Alguem me ajuda

Question

Boa tarde galera,então,estou a procura de uma quest que anuncia quando o Boss renasce! alguém poderia me ajudar?

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0
Spoiler

quest EXAMPLE begin

    state start begin
        when login begin
            server_timer("Respawn_boss", Number) -- Exemplo: server_timer("NOME_Á_ESCOLHA", TEMPO)
            notice("O boss irá renascer em TEMPO")    --Exemplo: notice("O boss irá renascer em TEMPO)
        end    --when

        when Respawn_boss.server_timer begin    -- when logined.server_timer begin
            regen_in_map(mapindex, path) --Example:    regen_in_map(INDEX_DO_MAPA, d.regen_file("caminho para o boss.txt")
            notice("")    --Exemplo: notice("O boss NOME renasceu!")
        end    --when

        when ID_DO_BOSS.kill begin
            clear_server_timer('Respawn_boss') --Isto reinicia o servertimer ( não tenho a certeza se é necessário)
            notice("Derrotas-te o boss NOME!")
        end    --when
    end    --state
end    --quest

 

 

Aqui tens uma, não a testei, mas deve estar funcional á partida, qualquer dúvida basta dispor.

Cumprimentos.

Share this post


Link to post
Share on other sites
antiblock
Elveron

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
Sign in to follow this