fix(Scripts/Karazhan): Fix Flame Wreath affecting pets (#17581)
This commit is contained in:
@@ -502,6 +502,8 @@ class spell_flamewreath_aura : public AuraScript
|
||||
if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_DEFAULT && GetDuration())
|
||||
{
|
||||
if (Unit* target = GetTarget())
|
||||
{
|
||||
if (target->IsPlayer())
|
||||
{
|
||||
target->CastSpell(target, SPELL_FLAME_WREATH_RAN_THRU, true);
|
||||
|
||||
@@ -512,6 +514,7 @@ class spell_flamewreath_aura : public AuraScript
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Register() override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user