Jump to content
Sign in to follow this  
tierrilopes

[C++] Block critical/penetration in duel

Recommended Posts

NOTE: The following must be done twice because theres two occurrences of each "Look for" inside of the CHARACTER::Damage.

Go to file char_battle.cpp

Inside:

Please login or register to see this code.

Look for:

Please login or register to see this code.


Replace with:
                    

Please login or register to see this code.

Look for:

Please login or register to see this code.


                        
Replace with:

Please login or register to see this code.


                    
Skip the following steps if you already installed IsFighting function.
Go to file pvp.cpp

Look for:
 

Please login or register to see this code.

Add this BEFORE:

Please login or register to see this code.


Go to file pvp.h

Look for:
 

Please login or register to see this code.

Add this AFTER:
 

Please login or register to see this code.

 

  • Thanks 2
  • Upvote 2

Share this post


Link to post
Share on other sites

como sempre um conteúdo  util e bem feito, obrigado pela partilha.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...

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.