Jump to content
Sign in to follow this  
Marco

[C++ ] Não poder usar pot's em duelo

Recommended Posts

Boas, deixo aqui um pequeno tutorial para desabilitar o uso de pot's e elixires em duelo :)
Espero que sirva para alguém,

Please login or register to see this code.

 

Relativamente a créditos não irei dar o meu nome, pois não fui eu que fiz tal coisa e obtive através de um amigo,  um especial obrigado ao @Tierri Lopes pela parte dos elixires.

  • Like 1
  • Thanks 1
  • Upvote 1

Share this post


Link to post
Share on other sites

Caso também queiras bloquear os elixires, em char_item.cpp, procura por:

Please login or register to see this code.

Adiciona isto a seguir:

Please login or register to see this code.

 

  • Like 1
  • Upvote 2

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Editei o tópico e add essa parte :) Obrigado génio 

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  

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.