diff options
author | Susu <bruant.bastien@gmail.com> | 2013-07-04 12:20:51 +0200 |
---|---|---|
committer | Susu <bruant.bastien@gmail.com> | 2013-07-04 12:20:51 +0200 |
commit | b9889903e89bd4127c7503a512cfe215b9ccc740 (patch) | |
tree | 52eb8dffbdf4eb3cc3e8f9c8ce5da13bde188a71 /src/config/const.h | |
parent | 38ad0593dd7d6c3357c2a2219fe59122969c84b9 (diff) | |
download | hercules-b9889903e89bd4127c7503a512cfe215b9ccc740.tar.gz hercules-b9889903e89bd4127c7503a512cfe215b9ccc740.tar.bz2 hercules-b9889903e89bd4127c7503a512cfe215b9ccc740.tar.xz hercules-b9889903e89bd4127c7503a512cfe215b9ccc740.zip |
- Added interface iStatus (needed to renamed it because A LOT of variables are already called 'status')
Diffstat (limited to 'src/config/const.h')
-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 d8e397b1e..3e47c5207 100644 --- a/src/config/const.h +++ b/src/config/const.h @@ -70,15 +70,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) |