diff options
Diffstat (limited to 'src/map/config/Data/Const.h')
-rw-r--r-- | src/map/config/Data/Const.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/map/config/Data/Const.h b/src/map/config/Data/Const.h index 8ebc7f91d..f8da4c90b 100644 --- a/src/map/config/Data/Const.h +++ b/src/map/config/Data/Const.h @@ -12,8 +12,20 @@ /** * "Constants" **/ -#define CONST_CASTRATE_SCALE ( RECASTING ? RECASTING_VMIN : battle_config.castrate_dex_scale ) -#define CONST_CASTRATE_CALC ( RECASTING ? ((status_get_dex(bl)*2)+status_get_int(bl)) : status_get_dex(bl) ) +#if RECASTING + #define CONST_CASTRATE_SCALE RECASTING_VMIN + /** + * Cast Rate Formula: (DEX x 2)+INT + **/ + #define CONST_CASTRATE_CALC ((status_get_dex(bl)*2)+status_get_int(bl)) +#else + #define CONST_CASTRATE_SCALE battle_config.castrate_dex_scale + /** + * Cast Rate Formula: (DEX) + **/ + #define CONST_CASTRATE_CALC (status_get_dex(bl)) +#endif + /** * "Sane Checks" to save you from compiling with cool bugs |