Do not allow Seed of Corruption to damage affected target and trigger from other SoC proc.

Original patch by freeganja

--HG--
branch : trunk
This commit is contained in:
krz
2009-05-29 00:07:38 +02:00
parent bc55209b3e
commit 2d69889a68
2 changed files with 4 additions and 1 deletions

View File

@@ -2069,7 +2069,8 @@ void Spell::SetTargetMap(uint32 i, uint32 cur)
unitList.remove(m_targets.getUnitTarget());
Trinity::RandomResizeList(unitList, m_spellValue->MaxAffectedTargets);
}
}else if(m_spellInfo->Id == 27285) // Seed of Corruption proc spell
unitList.remove(m_targets.getUnitTarget());
for(std::list<Unit*>::iterator itr = unitList.begin(); itr != unitList.end(); ++itr)
AddUnitTarget(*itr, i);