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.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 162448660..da8b94d11 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -45,6 +45,7 @@ SkillHandler::SkillHandler() :
SMSG_PLAYER_SKILLS,
SMSG_SKILL_FAILED,
SMSG_PLAYER_SKILL_UP,
+ SMSG_PLAYER_SKILL_COOLDOWN,
0
};
handledMessages = _messages;
@@ -67,6 +68,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillFailed(msg);
break;
+ case SMSG_PLAYER_SKILL_COOLDOWN:
+ processSkillCoolDown(msg);
+ break;
+
default:
break;
}
@@ -142,4 +147,11 @@ void SkillHandler::processPlayerSkills(Net::MessageIn &msg)
skillDialog->playUpdateEffect(updateSkill);
}
+void SkillHandler::processSkillCoolDown(Net::MessageIn &msg)
+{
+ // +++ need add cool down bar in skills window and in ministatus?
+ msg.readInt16("skill id");
+ msg.readInt32("duration");
+}
+
} // namespace EAthena