Core/Pets
Fixed infinite cooldown bugging after relogging Restored pet create health for pets without pet_levelstats data Corrected health gain from stamina for DK Ghouls
This commit is contained in:
1 parent
119bb6fcd5
commit
12b65aa206
4 files changed
+8
-8
No files matched your search
@@ -9622,7 +9622,7 @@ void Unit::SetMinion(Minion *minion, bool apply)
|
||||
// Send infinity cooldown - client does that automatically but after relog cooldown needs to be set again
|
||||
SpellEntry const *spellInfo = sSpellStore.LookupEntry(minion->GetUInt32Value(UNIT_CREATED_BY_SPELL));
|
||||
if (spellInfo && (spellInfo->Attributes & SPELL_ATTR0_DISABLED_WHILE_ACTIVE))
|
||||
this->ToPlayer()->AddSpellAndCategoryCooldowns(spellInfo, 0, NULL ,true);
|
||||
this->ToPlayer()->AddSpellAndCategoryCooldowns(spellInfo, 0, NULL, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user