diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/packetsout.inc | 12 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.h | 2 |
3 files changed, 17 insertions, 2 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index ee5d35ba5..5d06b5953 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -275,12 +275,20 @@ packet(CMSG_ONLINE_LIST, 0x0b0f); packet(CMSG_SELECT_CART, 0x0980); #ifdef PACKETS_UPDATE +// 20041108 +if (packetVersion >= 20041108) +{ + packet(CMSG_ALCHEMIST_RANKS, 0x0218); +} // 20150513 if (packetVersion >= 20150513) { - packet(CMSG_SEARCHSTORE_CLICK, 0x0838); - packet(CMSG_BUYINGSTORE_CLOSE, 0x022d); + packet(CMSG_SEARCHSTORE_CLICK, 0x0838); + packet(CMSG_BUYINGSTORE_CLOSE, 0x022d); } +#else +// 0 +packet(CMSG_ALCHEMIST_RANKS, 0x0000); #endif // 20150513 diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index fb56fae4b..7cc681c6b 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -76,4 +76,9 @@ void SkillHandler::useMap(const int id, const std::string &map) const outMsg.writeString(map, 16, "map name"); } +void SkillHandler::getAlchemistRanks() const +{ + createOutPacket(CMSG_ALCHEMIST_RANKS); +} + } // namespace EAthena diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h index d6344ab9f..9e609488e 100644 --- a/src/net/eathena/skillhandler.h +++ b/src/net/eathena/skillhandler.h @@ -49,6 +49,8 @@ class SkillHandler final : public Ea::SkillHandler const std::string &text) const override final; void useMap(const int id, const std::string &map) const override final; + + void getAlchemistRanks() const override final; }; } // namespace EAthena |