fix(Core/Spells): Fixed cooldowns on shaman totems. (#12166)

Fixed #11937
This commit is contained in:
UltraNix 2022-06-26 09:46:22 +02:00 committed by GitHub
parent afe48578d7
commit 68d026e8ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10592,7 +10592,7 @@ void Player::AddSpellAndCategoryCooldowns(SpellInfo const* spellInfo, uint32 ite
// cooldown information stored in item prototype
// This used in same way in WorldSession::HandleItemQuerySingleOpcode data sending to client.
bool useSpellCooldown = false;
bool useSpellCooldown = spellInfo->HasAttribute(SPELL_ATTR7_CAN_BE_MULTI_CAST);
if (itemId)
{
if (ItemTemplate const* proto = sObjectMgr->GetItemTemplate(itemId))