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
+2
View File
@@ -5467,6 +5467,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Seed of Corruption
if (dummySpell->SpellFamilyFlags & 0x0000001000000000LL)
{
if(procSpell && procSpell->Id == 27285)
return false;
Modifier* mod = triggeredByAura->GetModifier();
// if damage is more than need or target die from damage deal finish spell
if( mod->m_amount <= damage || GetHealth() <= damage )