summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/status.c2
-rw-r--r--src/map/status.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 97e897f38..682d7410c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -11682,10 +11682,12 @@ void status_defaults(void) {
iStatus->calc_mdef = status_calc_mdef;
iStatus->calc_mdef2 = status_calc_mdef2;
iStatus->calc_batk = status_calc_batk;
+#ifdef RENEWAL
iStatus->base_matk = status_base_matk;
iStatus->get_weapon_atk = status_get_weapon_atk;
iStatus->get_total_mdef = status_get_total_mdef;
iStatus->get_total_def = status_get_total_def;
+#endif
iStatus->get_matk = status_get_matk;
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);