diff options
author | Matheus Macabu <mkbu95@gmail.com> | 2013-07-04 17:25:18 -0300 |
---|---|---|
committer | Matheus Macabu <mkbu95@gmail.com> | 2013-07-04 17:25:18 -0300 |
commit | 5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1 (patch) | |
tree | b3b02e05f343a3e24b7cceb34ce04bbb8721ed1c /src/config | |
parent | 5ea7b8b9e172ed16fda6ee5a051ae0dbb767b4ac (diff) | |
parent | aefa8d6bd88e5056080f45ed89f86258f1bf81d7 (diff) | |
download | hercules-5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1.tar.gz hercules-5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1.tar.bz2 hercules-5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1.tar.xz hercules-5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/const.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/config/const.h b/src/config/const.h index b51db97e5..bee8783f8 100644 --- a/src/config/const.h +++ b/src/config/const.h @@ -75,15 +75,15 @@ /* Renewal's dmg level modifier, used as a macro for a easy way to turn off. */ #ifdef RENEWAL_LVDMG #define RE_LVL_DMOD(val) \ - if( status_get_lv(src) > 100 && val > 0 ) \ - skillratio = skillratio * status_get_lv(src) / val; + if( iStatus->get_lv(src) > 100 && val > 0 ) \ + skillratio = skillratio * iStatus->get_lv(src) / val; #define RE_LVL_MDMOD(val) \ - if( status_get_lv(src) > 100 && val > 0) \ - md.damage = md.damage * status_get_lv(src) / val; + if( iStatus->get_lv(src) > 100 && val > 0) \ + md.damage = md.damage * iStatus->get_lv(src) / val; /* 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; + if( iStatus->get_lv(src) > 100 ) \ + md.damage = md.damage * 150 / 100 + md.damage * iStatus->get_lv(src) / 100; #else #define RE_LVL_DMOD(val) #define RE_LVL_MDMOD(val) |