diff options
author | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-15 09:20:53 +0000 |
---|---|---|
committer | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-15 09:20:53 +0000 |
commit | 6af2f57a569cb3c8949ea84029e169daecf24548 (patch) | |
tree | 4671e4ef95c1273513fc1c1ed501f8d5e9eb9c03 /src/map/pc.h | |
parent | da193f6ae35ba2a1558ddee8e505a07a401c9603 (diff) | |
download | hercules-6af2f57a569cb3c8949ea84029e169daecf24548.tar.gz hercules-6af2f57a569cb3c8949ea84029e169daecf24548.tar.bz2 hercules-6af2f57a569cb3c8949ea84029e169daecf24548.tar.xz hercules-6af2f57a569cb3c8949ea84029e169daecf24548.zip |
* Added support for increased max statistics (parameters) for 3rd classes (regular and baby).
* Updated amounts of status points given at Base Level up for levels over 99.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14823 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index b6b6fb851..029630eec 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -540,7 +540,7 @@ enum equip_index { #define pc_isinvisible(sd) ( (sd)->sc.option&OPTION_INVISIBLE ) #define pc_is50overweight(sd) ( (sd)->weight*100 >= (sd)->max_weight*battle_config.natural_heal_weight_rate ) #define pc_is90overweight(sd) ( (sd)->weight*10 >= (sd)->max_weight*9 ) -#define pc_maxparameter(sd) ( (sd)->class_&JOBL_BABY ? battle_config.max_baby_parameter : battle_config.max_parameter ) +#define pc_maxparameter(sd) ( ((sd)->class_&JOBL_3 ? ((sd)->class_&JOBL_BABY ? battle_config.max_baby_third_parameter : battle_config.max_third_parameter) : ((sd)->class_&JOBL_BABY ? battle_config.max_baby_parameter : battle_config.max_parameter)) ) #define pc_stop_walking(sd, type) unit_stop_walking(&(sd)->bl, type) #define pc_stop_attack(sd) unit_stop_attack(&(sd)->bl) |