summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-04 17:22:10 -0300
committershennetsind <ind@henn.et>2013-07-04 17:22:10 -0300
commitaefa8d6bd88e5056080f45ed89f86258f1bf81d7 (patch)
treeba5bf8c00683a99e475bae8b0429987b7c7a5396 /src/map/status.h
parentebb63d99223043559ff9f9e60d02133fa8ba6878 (diff)
downloadhercules-aefa8d6bd88e5056080f45ed89f86258f1bf81d7.tar.gz
hercules-aefa8d6bd88e5056080f45ed89f86258f1bf81d7.tar.bz2
hercules-aefa8d6bd88e5056080f45ed89f86258f1bf81d7.tar.xz
hercules-aefa8d6bd88e5056080f45ed89f86258f1bf81d7.zip
Follow up b9889903e89bd4127c7503a512cfe215b9ccc740
Fixed pre-re support. Special Thanks to ossi0110 for bringing this to our attention. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.h b/src/map/status.h
index 2f65ff1b9..11a78dc9f 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -1871,11 +1871,14 @@ struct status_interface {
defType (*calc_mdef) (struct block_list *bl, struct status_change *sc, int, bool);
short (*calc_mdef2) (struct block_list *, struct status_change *, int, bool);
unsigned short (*calc_batk) (struct block_list *, struct status_change *, int, bool);
+
+#ifdef RENEWAL
unsigned short (*base_matk) (const struct status_data* status, int level);
int (*get_weapon_atk) (struct block_list *src, struct weapon_atk *watk, int flag);
int (*get_total_mdef) (struct block_list *src);
int (*get_total_def) (struct block_list *src);
-
+#endif
+
int (*get_matk) (struct block_list *src, int flag);
int (*readdb) (void);