Merge pull request #13558 from MrSmite/3.3.5
Fix spell cooldown for guardian pets Fixes https://github.com/TrinityCore/TrinityCore/issues/13450 , closes https://github.com/TrinityCore/TrinityCore/pull/13452 and https://github.com/TrinityCore/TrinityCore/pull/13558
This commit is contained in:
commit
ce5226dc55
1 file changed
+1
-1
@@ -3438,7 +3438,7 @@ void Spell::SendSpellCooldown()
|
||||
{
|
||||
// Handle pet cooldowns here if needed instead of in PetAI to avoid hidden cooldown restarts
|
||||
Creature* _creature = m_caster->ToCreature();
|
||||
if (_creature && _creature->IsPet())
|
||||
if (_creature && (_creature->IsPet() || _creature->IsGuardian()))
|
||||
_creature->AddCreatureSpellCooldown(m_spellInfo->Id);
|
||||
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user