summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/skill.cpp2
-rw-r--r--src/mmo/skill.t.hpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.cpp b/src/map/skill.cpp
index cf99af8..cf7ab6b 100644
--- a/src/map/skill.cpp
+++ b/src/map/skill.cpp
@@ -738,6 +738,7 @@ void skill_status_change_end(dumb_ptr<block_list> bl, StatusChange type, TimerDa
case StatusChange::SC_MATKPOT: /* magic attack potion [Valaris] */
case StatusChange::SC_PHYS_SHIELD:
case StatusChange::SC_HASTE:
+ case StatusChange::SC_COOLDOWN:
calc_flag = 1;
break;
@@ -1003,6 +1004,7 @@ int skill_status_effect(dumb_ptr<block_list> bl, StatusChange type,
case StatusChange::SC_HASTE:
case StatusChange::SC_PHYS_SHIELD:
case StatusChange::SC_MBARRIER:
+ case StatusChange::SC_COOLDOWN:
calc_flag = 1;
break;
case StatusChange::SC_HALT_REGENERATE:
diff --git a/src/mmo/skill.t.hpp b/src/mmo/skill.t.hpp
index df9c40c..8238e11 100644
--- a/src/mmo/skill.t.hpp
+++ b/src/mmo/skill.t.hpp
@@ -52,6 +52,8 @@ enum class StatusChange : uint16_t
SC_HEALING = 70, // item script
+ SC_COOLDOWN = 71, // Spell cooldown
+
SC_POISON = 132, // bad; actually used
SC_ATKPOT = 185, // item script