From f4183108c70a51217edf07a63e843f1a5d2c1747 Mon Sep 17 00:00:00 2001 From: wushin Date: Wed, 9 Mar 2016 13:28:42 -0600 Subject: Expose sd->heal_xp --- src/map/pc.cpp | 3 +++ src/mmo/clif.t.hpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 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 -- cgit v1.2.3-70-g09d2