summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-19 23:50:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-19 23:50:53 +0300
commitc9433013925e52857a85a30a29e1265081091e14 (patch)
treeb3300a86fcc6ce06b820b390e5fd36778ce97b0e /src/net/eathena/skillhandler.cpp
parent0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1 (diff)
downloadmanaverse-c9433013925e52857a85a30a29e1265081091e14.tar.gz
manaverse-c9433013925e52857a85a30a29e1265081091e14.tar.bz2
manaverse-c9433013925e52857a85a30a29e1265081091e14.tar.xz
manaverse-c9433013925e52857a85a30a29e1265081091e14.zip
Add packet CMSG_PLAYER_LESS_EFFECTS 0x021d.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 70988efd1..3957527b1 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -112,4 +112,13 @@ void SkillHandler::feelSaveOk(const int which) const
}
}
+void SkillHandler::lessEffects(const bool isLess) const
+{
+ if (packetVersion >= 20041115)
+ {
+ createOutPacket(CMSG_PLAYER_LESS_EFFECTS);
+ outMsg.writeInt32(isLess ? 1 : 0, "state");
+ }
+}
+
} // namespace EAthena