summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.cpp3
-rw-r--r--src/mmo/clif.t.hpp3
2 files changed, 5 insertions, 1 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;
diff --git a/src/mmo/clif.t.hpp b/src/mmo/clif.t.hpp
index 888fd66..3571a1e 100644
--- a/src/mmo/clif.t.hpp
+++ b/src/mmo/clif.t.hpp
@@ -234,7 +234,8 @@ enum class SP : uint16_t
MAXSP = 8,
// sent to client
STATUSPOINT = 9,
-
+ // sent to client
+ HEALXP = 10,
// sent to client
BASELEVEL = 11,
// sent to client