fix(Core/Spells): improve displaying spell category cooldowns in client UI. (#8172)

This commit is contained in:
UltraNix 2021-10-04 15:47:44 +02:00 committed by GitHub
parent 60fb2c38f8
commit 3aadaa6d0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10225,7 +10225,7 @@ void Player::AddSpellAndCategoryCooldowns(SpellInfo const* spellInfo, uint32 ite
continue;
}
_AddSpellCooldown(i_scset->second, cat, itemId, catrecTime, true);
_AddSpellCooldown(i_scset->second, cat, itemId, catrecTime, !spellInfo->IsCooldownStartedOnEvent() && catrec && rec && catrec != rec);
}
}
}