summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-27 00:55:25 +0200
committerHaru <haru@dotalux.com>2013-09-27 00:55:25 +0200
commit17bc1fab375f8ecc951fbba058a346b1460bf783 (patch)
tree7d51b5eda324985925b153b34441298f3e9bac21 /src/config
parent3e5bca5a3df07320ff5c41edbb282df041c36f66 (diff)
downloadhercules-17bc1fab375f8ecc951fbba058a346b1460bf783.tar.gz
hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.tar.bz2
hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.tar.xz
hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.zip
Renamed iStatus interface to status
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/const.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/config/const.h b/src/config/const.h
index 7badb1071..6f0dc6311 100644
--- a/src/config/const.h
+++ b/src/config/const.h
@@ -75,17 +75,17 @@
/* Renewal's dmg level modifier, used as a macro for a easy way to turn off. */
#ifdef RENEWAL_LVDMG
#define RE_LVL_DMOD(val) do { \
- if( iStatus->get_lv(src) > 100 && (val) > 0 ) \
- skillratio = skillratio * iStatus->get_lv(src) / (val); \
+ if( status->get_lv(src) > 100 && (val) > 0 ) \
+ skillratio = skillratio * status->get_lv(src) / (val); \
} while(0)
#define RE_LVL_MDMOD(val) do { \
- if( iStatus->get_lv(src) > 100 && (val) > 0) \
- md.damage = md.damage * iStatus->get_lv(src) / (val); \
+ if( status->get_lv(src) > 100 && (val) > 0) \
+ md.damage = md.damage * status->get_lv(src) / (val); \
} while(0)
/* ranger traps special */
#define RE_LVL_TMDMOD() do { \
- if( iStatus->get_lv(src) > 100 ) \
- md.damage = md.damage * 150 / 100 + md.damage * iStatus->get_lv(src) / 100; \
+ if( status->get_lv(src) > 100 ) \
+ md.damage = md.damage * 150 / 100 + md.damage * status->get_lv(src) / 100; \
} while(0)
#else
#define RE_LVL_DMOD(val)