aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorkrz <none@none>2009-05-29 00:07:38 +0200
committerkrz <none@none>2009-05-29 00:07:38 +0200
commit2d69889a687b00cc231e19a7ec79b9d72f3b8b2f (patch)
tree1e96dbee93fd46850dac24d26f5e6f195b1d88b7 /src/game/Unit.cpp
parentbc55209b3e2723ef39935d6c4ff3f8b442b98f1c (diff)
Do not allow Seed of Corruption to damage affected target and trigger from other SoC proc.
Original patch by freeganja --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 752248d7b26..86811c52a66 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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 )