Core/Spells: Prevent Mind Sear from damaging the target itself. Patch by PrinceCreed.

Fixes issue 2534

--HG--
branch : trunk
This commit is contained in:
leak
2010-12-09 21:45:04 +01:00
parent be73926ab3
commit 855b8bcd20

View File

@@ -2765,6 +2765,8 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
switch (m_spellInfo->Id)
{
case 27285: // Seed of Corruption proc spell
case 49821: // Mind Sear proc spell Rank 1
case 53022: // Mind Sear proc spell Rank 2
unitList.remove(m_targets.getUnitTarget());
break;
case 55789: // Improved Icy Talons