summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
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