Confused about description of DAMAGE_CAP TYPE

Angelmelody

(\ /) ( . .)
Messages
772
Points
0
Age
32
Location
new_1-1,53,111
Github
Angelmelody
Emulator
/// 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.
default_smile.png


 
Last edited by a moderator:
//#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

default_ani_meow.gif


 
Back
Top