From 2c7485c11c4e62479a61d3b2e28fd84677e2fe40 Mon Sep 17 00:00:00 2001 From: talamortis Date: Fri, 6 Jul 2018 17:10:41 +0100 Subject: [PATCH] Removed the set faction from animal blood spell --- src/server/scripts/Spells/spell_generic.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index b3921f0f4..3450f3373 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -2268,17 +2268,12 @@ class spell_gen_animal_blood : public SpellScriptLoader // Remove all auras with spell id 46221, except the one currently being applied while (Aura* aur = GetUnitOwner()->GetOwnedAura(SPELL_ANIMAL_BLOOD, 0, 0, 0, GetAura())) GetUnitOwner()->RemoveOwnedAura(aur); - if (Unit* owner = GetUnitOwner()) - { - owner->setFaction(FACTION_DETHA_ATTACK); - } } void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { if (Unit* owner = GetUnitOwner()) { - owner->RestoreFaction(); if (owner->IsInWater()) owner->CastSpell(owner, SPELL_SPAWN_BLOOD_POOL, true); }