diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/packetsout.inc | 7 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.h | 2 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 889179353..0c07f8966 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -277,6 +277,7 @@ packet(CMSG_SELECT_CART, 0x0980, 7, clif->pSelectCart); packet(CMSG_ALCHEMIST_RANKS, 0x0000, 0, nullptr); packet(CMSG_BLACKSMITH_RANKS, 0x0000, 0, nullptr); packet(CMSG_PK_RANKS, 0x0000, 0, nullptr); +packet(CMSG_TAEKWON_RANKS, 0x0000, 0, nullptr); packet(CMSG_BUYINGSTORE_CLOSE, 0x0000, 0, nullptr); packet(CMSG_BUYINGSTORE_CREATE, 0x0000, 0, nullptr); packet(CMSG_BUYINGSTORE_SELL, 0x0000, 0, nullptr); @@ -328,6 +329,12 @@ if (packetVersion >= 20050110) packet(CMSG_CLOSE_STORAGE, 0x0193, 2, clif->pCloseKafra); } +// 20050328 +if (packetVersion >= 20050328) +{ + packet(CMSG_TAEKWON_RANKS, 0x0225, 2, clif->pTaekwon); +} + // 20050530 if (packetVersion >= 20050530) { diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 3957527b1..3a815e5af 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -102,6 +102,14 @@ void SkillHandler::getPkRanks() const } } +void SkillHandler::getTaekwonRanks() const +{ + if (packetVersion >= 20050328) + { + createOutPacket(CMSG_TAEKWON_RANKS); + } +} + void SkillHandler::feelSaveOk(const int which) const { if (packetVersion >= 20050817) diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h index 5333ed22c..fceebbecb 100644 --- a/src/net/eathena/skillhandler.h +++ b/src/net/eathena/skillhandler.h @@ -56,6 +56,8 @@ class SkillHandler final : public Ea::SkillHandler void getPkRanks() const override final; + void getTaekwonRanks() const override final; + void feelSaveOk(const int which) const override final; void lessEffects(const bool isLess) const override final; |