fix(Core/Item): Renataki's Charm of Beasts (#13124)

This commit is contained in:
Angelo Venturini
2022-09-28 00:22:08 -03:00
committed by GitHub
parent 1f6076c275
commit 47f9f4917a
2 changed files with 8 additions and 6 deletions

View File

@@ -3403,9 +3403,7 @@ class spell_item_chicken_cover : public SpellScript
enum Refocus
{
SPELL_AIMED_SHOT = 19434,
SPELL_MULTISHOT = 2643,
SPELL_VOLLEY = 42243,
SPELL_CATEGORY_AIMED_MULTI = 85
};
class spell_item_refocus : public SpellScript
@@ -3419,9 +3417,7 @@ class spell_item_refocus : public SpellScript
if (!caster || caster->getClass() != CLASS_HUNTER)
return;
caster->RemoveSpellCooldown(SPELL_AIMED_SHOT, true);
caster->RemoveSpellCooldown(SPELL_MULTISHOT, true);
caster->RemoveSpellCooldown(SPELL_VOLLEY, true);
caster->RemoveCategoryCooldown(SPELL_CATEGORY_AIMED_MULTI);
}
void Register() override