mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Scripts/Spells): Readiness should remove all spell category coold… (#12595)
…owns.
This commit is contained in:
@@ -666,10 +666,13 @@ class spell_hun_readiness : public SpellScript
|
||||
&& spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER
|
||||
&& spellInfo->Id != SPELL_HUNTER_READINESS
|
||||
&& spellInfo->Id != SPELL_HUNTER_BESTIAL_WRATH
|
||||
&& spellInfo->Id != SPELL_DRAENEI_GIFT_OF_THE_NAARU
|
||||
&& spellInfo->GetRecoveryTime() > 0)
|
||||
&& spellInfo->Id != SPELL_DRAENEI_GIFT_OF_THE_NAARU)
|
||||
{
|
||||
caster->RemoveSpellCooldown(spellInfo->Id, itr->second.needSendToClient);
|
||||
if (spellInfo->RecoveryTime > 0)
|
||||
caster->RemoveSpellCooldown(spellInfo->Id, itr->second.needSendToClient);
|
||||
|
||||
if (spellInfo->CategoryRecoveryTime > 0)
|
||||
caster->RemoveCategoryCooldown(spellInfo->GetCategory());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user