diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-19 23:50:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-19 23:50:53 +0300 |
commit | c9433013925e52857a85a30a29e1265081091e14 (patch) | |
tree | b3300a86fcc6ce06b820b390e5fd36778ce97b0e /src/net/eathena/skillhandler.cpp | |
parent | 0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1 (diff) | |
download | mv-c9433013925e52857a85a30a29e1265081091e14.tar.gz mv-c9433013925e52857a85a30a29e1265081091e14.tar.bz2 mv-c9433013925e52857a85a30a29e1265081091e14.tar.xz mv-c9433013925e52857a85a30a29e1265081091e14.zip |
Add packet CMSG_PLAYER_LESS_EFFECTS 0x021d.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 9 |
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 |