diff options
author | Dastgir Pojee <dastgirp@gmail.com> | 2016-10-03 20:04:01 +0530 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-10-22 02:22:18 +0200 |
commit | 5a40d2dee1ecb45812836a826f9702d073975d70 (patch) | |
tree | 5b2bb0269a2431410ed2904ca10034be3721435c /src/map/pc.h | |
parent | f7babff8a31981508f1c5fff1aefcc6091c85f00 (diff) | |
download | hercules-5a40d2dee1ecb45812836a826f9702d073975d70.tar.gz hercules-5a40d2dee1ecb45812836a826f9702d073975d70.tar.bz2 hercules-5a40d2dee1ecb45812836a826f9702d073975d70.tar.xz hercules-5a40d2dee1ecb45812836a826f9702d073975d70.zip |
Added max_summoner_parameter:
Default max parameter for summoner is 120.
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 2d6ca48a0..5d1404b2a 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -635,6 +635,7 @@ END_ZEROED_BLOCK; #define pc_is50overweight(sd) ( (sd)->weight*100 >= (sd)->max_weight*battle->bc->natural_heal_weight_rate ) #define pc_is90overweight(sd) ( (sd)->weight*10 >= (sd)->max_weight*9 ) #define pc_maxparameter(sd) ( \ + ((sd)->class_&MAPID_BASEMASK) == MAPID_SUMMONER ? battle->bc->max_summoner_parameter : \ ( ((sd)->class_&MAPID_UPPERMASK) == MAPID_KAGEROUOBORO \ || ((sd)->class_&MAPID_UPPERMASK) == MAPID_REBELLION \ || ((sd)->class_&MAPID_THIRDMASK) == MAPID_SUPER_NOVICE_E \ |