aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.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/Spell.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/Spell.cpp')
-rw-r--r--src/game/Spell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index e9ab64f87d4..001993201e0 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -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);