mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Add missing fix for update arena use spell time cooldown. In 3.3.x 10min.
--HG-- branch : trunk
This commit is contained in:
@@ -3676,10 +3676,10 @@ void Player::RemoveArenaSpellCooldowns()
|
||||
next = itr;
|
||||
++next;
|
||||
SpellEntry const * entry = sSpellStore.LookupEntry(itr->first);
|
||||
// check if spellentry is present and if the cooldown is less than 15 mins
|
||||
// check if spellentry is present and if the cooldown is less than 10 mins
|
||||
if( entry &&
|
||||
entry->RecoveryTime <= 15 * MINUTE * IN_MILISECONDS &&
|
||||
entry->CategoryRecoveryTime <= 15 * MINUTE * IN_MILISECONDS )
|
||||
entry->RecoveryTime <= 10 * MINUTE * IN_MILISECONDS &&
|
||||
entry->CategoryRecoveryTime <= 10 * MINUTE * IN_MILISECONDS )
|
||||
{
|
||||
// remove & notify
|
||||
RemoveSpellCooldown(itr->first, true);
|
||||
|
||||
Reference in New Issue
Block a user