From f00a589b2a19dc5ac059b91c997a8f1c3addc9de Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 26 Dec 2010 17:15:41 +0100 Subject: Scripts/Icecrown Citadel: Mutated Abomination should not damage its owner Closes issue #5252. --HG-- branch : trunk --- src/server/game/Spells/Spell.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 9e5cef5b740..51498ffaacc 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2816,6 +2816,11 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) ++itr; } break; + case 70402: case 72511: + case 72512: case 72513: + if (Unit* owner = ObjectAccessor::GetUnit(*m_caster, m_caster->GetCreatorGUID())) + unitList.remove(owner); + break; case 71390: // Pact of the Darkfallen { for (std::list::iterator itr = unitList.begin(); itr != unitList.end();) -- cgit v1.2.3