diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-06 23:54:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 23:54:04 +0300 |
commit | 6cd9fbf483eedbdc782688c3a0507e23930c4d5b (patch) | |
tree | fc0e81f65a17b520d4309ea68129d4e3e0ae0796 /src | |
parent | a80d52c7b85e3e844a0185eff53ec65b8a176bee (diff) | |
download | mv-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.tar.gz mv-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.tar.bz2 mv-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.tar.xz mv-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.zip |
eathena: add packet SMSG_PLAYER_HP 0x080e.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 3 | ||||
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
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 * |