summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 0f6c9a6..929143c 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -3445,6 +3445,9 @@ int pc_readparam(dumb_ptr<block_list> bl, SP type)
case SP::MAXHP:
val = battle_get_max_hp(bl);
break;
+ case SP::HEALXP:
+ val = sd ? sd->heal_xp : 0;
+ break;
case SP::SP:
val = sd ? sd->status.sp : 0;
break;