summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-20 02:28:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-20 02:28:34 +0300
commitd036ceb193139ada2322c0f3b16991d09301878f (patch)
treea0dabd17a645d36969dee4de81a5df5c021ef57c /src/net/eathena
parentc9433013925e52857a85a30a29e1265081091e14 (diff)
downloadmv-d036ceb193139ada2322c0f3b16991d09301878f.tar.gz
mv-d036ceb193139ada2322c0f3b16991d09301878f.tar.bz2
mv-d036ceb193139ada2322c0f3b16991d09301878f.tar.xz
mv-d036ceb193139ada2322c0f3b16991d09301878f.zip
Add packet CMSG_TAEKWON_RANKS 0x0225
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/packetsout.inc7
-rw-r--r--src/net/eathena/skillhandler.cpp8
-rw-r--r--src/net/eathena/skillhandler.h2
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;