summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beinghandler.cpp3
-rw-r--r--src/net/eathena/packets.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index bff076502..7104298a8 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -94,6 +94,8 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_PVP_MAP_MODE,
SMSG_PVP_SET,
SMSG_MAP_TYPE_PROPERTY2,
+ SMSG_MONSTER_HP,
+ SMSG_PLAYER_HP,
0
};
handledMessages = _messages;
@@ -224,6 +226,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_MONSTER_HP:
+ case SMSG_PLAYER_HP:
processMonsterHp(msg);
break;
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h
index 64b0ff4c5..eb16509cf 100644
--- a/src/net/eathena/packets.h
+++ b/src/net/eathena/packets.h
@@ -215,7 +215,7 @@ int16_t packet_lengths[] =
//0 1 2 3 4 5 6 7 8 9 a b c d e f
//0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// #0x0800
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 20,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0,
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index b8eda0e78..396b30214 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -195,6 +195,7 @@
#define SMSG_MVP 0x010c
#define SMSG_MONSTER_HP 0x0977
+#define SMSG_PLAYER_HP 0x080e
/**********************************
* Packets from client to server *