diff options
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 1fc31e8a93a..a9eb6041488 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -2356,6 +2356,9 @@ void Creature::AddCreatureSpellCooldown(uint32 spellid) return; uint32 cooldown = GetSpellRecoveryTime(spellInfo); + if(Player *modOwner = GetSpellModOwner()) + modOwner->ApplySpellMod(spellid, SPELLMOD_COOLDOWN, cooldown); + if(cooldown) _AddCreatureSpellCooldown(spellid, time(NULL) + cooldown/IN_MILISECONDS); |