summaryrefslogtreecommitdiff
path: root/src/map/magic-expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-expr.c')
-rw-r--r--src/map/magic-expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/magic-expr.c b/src/map/magic-expr.c
index 7840941..4f7e823 100644
--- a/src/map/magic-expr.c
+++ b/src/map/magic-expr.c
@@ -569,6 +569,8 @@ BATTLE_GETTER(luk);
BATTLE_GETTER(int);
BATTLE_GETTER(lv);
BATTLE_GETTER(hp);
+BATTLE_GETTER(mdef);
+BATTLE_GETTER(def);
BATTLE_GETTER(max_hp);
BATTLE_GETTER(dir);
@@ -1133,6 +1135,8 @@ static fun_t functions[] = {
BATTLE_RECORD(luk),
BATTLE_RECORD(int),
BATTLE_RECORD2("level", lv),
+ BATTLE_RECORD(mdef),
+ BATTLE_RECORD(def),
BATTLE_RECORD(hp),
BATTLE_RECORD(max_hp),
BATTLE_RECORD(sp),