diff options
Diffstat (limited to 'src/map/config')
-rw-r--r-- | src/map/config/const.h | 18 | ||||
-rw-r--r-- | src/map/config/renewal.h | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/map/config/const.h b/src/map/config/const.h index 2f9560803..7acc5e522 100644 --- a/src/map/config/const.h +++ b/src/map/config/const.h @@ -82,6 +82,24 @@ #define MOB_HIT(mob) ( mob->lv + mob->status.agi ) #endif +/* Renewal's dmg level modifier, used as a macro for a easy way to turn off. */ +#ifdef RENEWAL_LVDMG + #define RE_LVL_DMOD() \ + if( status_get_lv(src) > 100 ) \ + skillratio = skillratio * status_get_lv(src) / 100; + #define RE_LVL_MDMOD() \ + if( status_get_lv(src) > 100 ) \ + md.damage = md.damage * status_get_lv(src) / 150; + /* ranger traps special */ + #define RE_LVL_TMDMOD() \ + if( status_get_lv(src) > 100 ) \ + md.damage = md.damage * 150 / 100 + md.damage * status_get_lv(src) / 100; +#else + #define RE_LVL_DMOD() + #define RE_LVL_MDMOD() + #define RE_LVL_TMDMOD() +#endif + /** * End of File **/ diff --git a/src/map/config/renewal.h b/src/map/config/renewal.h index 790eab936..f692a197b 100644 --- a/src/map/config/renewal.h +++ b/src/map/config/renewal.h @@ -43,6 +43,12 @@ /// while enabled a special modified based on the difference between the player and monster level is applied #define RENEWAL_EXP +/// renewal level modifier on damage +/// (disable by commenting the line) +/// +// leave this line to enable renewal base level modifier on skill damage (selected skills only) +#define RENEWAL_LVDMG + /// renewal cast time variable cast requirement /// /// this is the value required for no variable cast-time with stats. |