mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Script/Spells): Book of Fel Names (#17051)
This commit is contained in:
@@ -2451,7 +2451,7 @@ class spell_q4735_collect_rookery_egg : public SpellScript
|
||||
}
|
||||
};
|
||||
|
||||
enum book
|
||||
enum BookOfFelNames
|
||||
{
|
||||
SPELL_METAMORPHOSIS = 36298
|
||||
};
|
||||
@@ -2462,7 +2462,8 @@ class spell_q10651_q10692_book_of_fel_names : public SpellScript
|
||||
|
||||
void HandleScript(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
GetHitUnit()->RemoveAurasDueToSpell(SPELL_METAMORPHOSIS);
|
||||
if (GetHitUnit()->HasAura(SPELL_METAMORPHOSIS))
|
||||
GetHitUnit()->RemoveAurasDueToSpell(SPELL_METAMORPHOSIS);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in New Issue
Block a user