antiblock
https://arwen2.global/
  • Chatbox

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

Bloquear Pergaminho Do Retorno

Question

Boas Comunidade! 

 

Estou com um grande problema, não consigo bloquear o pergaminho do retorno em um certo mapa. Teria alguma quest, ou alguma configuração ? Já deixei o Mapa apenas na CONF do channel 99.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Podes fazer quest para verificar e se usar item em certo "index" remova os pergaminhos, ou podes alterar na source do game.

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

google.pt -> metin2dev c++ block -> 1º link

Share this post


Link to post
Share on other sites
  • 0

Tens de usar uma quest para remover os pergaminhos ao entrar no mapa ou ao utilizar no mapa.

 

Deixo aqui 2 exemplos para remover o pergaminho do inventário ao entrar no mapa ou ao usar dentro do mapa.

quest no_scroll begin
    state start begin
        when login with pc.get_map_index() == # begin -- (# = map_index do mapa.)
            notice("O pergaminho foi removido.")
            pc.removeitem(71035, 1) -- Só vai remover 1 pergaminho (id, quantidade)
        end
    end
end

 

ou

 

quest no_scroll begin
    state start begin
        when 71035.use with pc.get_map_index() == # begin -- (# = map_index do mapa.)
            notice("O pergaminho foi removido.")
            item.remove() -- Vai remover todos os pergaminhos do inventário
        end
    end
end

 

Se quiseres usar os 2 exemplos fica assim:

quest no_scroll begin
    state start begin
        when login with pc.get_map_index() == # begin -- (# = map_index do mapa.)
            notice("O pergaminho foi removido.")
            pc.removeitem(71035, 1) -- Só vai remover 1 pergaminho (id, quantidade)
        end
 
        when 71035.use with pc.get_map_index() == # begin -- (# = map_index do mapa.)
            notice("O pergaminho foi removido.")
            item.remove() -- Vai remover todos os pergaminhos do inventário
        end
    end
end

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