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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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