Jump to content
  • 0
Sign in to follow this  
Angelmelody

Confused about description of DAMAGE_CAP TYPE

Question

/// Uncomment to switch the way map zones' "skill_damage_cap" functions.

/// When commented the cap takes place before modifiers, as to have them be useful.

/// When uncommented the cap takes place after modifiers.

//#define HMAP_ZONE_DAMAGE_CAP_TYPE

 

I can't get the description meaning, and I was wondering when I should uncomment the

define DAMAGE_CAP TYPE ?

 

 

-----------------------------------------------------------------------------------------------------

eit: Okay. I see... Thanks a lot for malufett's elaborate explanation. :)

Edited by Angelmelody

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

//#define HMAP_ZONE_DAMAGE_CAP_TYPE means:

skill damage = damage_cap(base damage) * modifiers

ex. (1000 base_damage cap to 500 max) * -20% racial = 400 total damage ---> final result is 400

 

#define HMAP_ZONE_DAMAGE_CAP_TYPE means:

skill damage = damage_cap(base damage * modifiers)

ex. (1000 * -20% racial = 800 total damage) cap to 500 max ---> final result is 500

 

:meow:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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