diff options
| author | Xanadu <none@none> | 2010-06-18 17:21:39 +0200 |
|---|---|---|
| committer | Xanadu <none@none> | 2010-06-18 17:21:39 +0200 |
| commit | 1218b001acce5c50e7ad781823fdc668e4c3a493 (patch) | |
| tree | 04a821171db93015f686bb1f0930feafb19c98c9 | |
| parent | 9cd4e4289c8ec58d2074f41907c39231bc085f48 (diff) | |
Fixed priest and druid AoE spells broken two commits back. Closes issue 2737.
--HG--
branch : trunk
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index cdc4cf2a3d5..7a975f021ff 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2461,6 +2461,8 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) maxSize = 3; power = POWER_MANA; } + else + break; // Remove targets outside caster's raid for (std::list<Unit*>::iterator itr = unitList.begin() ; itr != unitList.end();) @@ -2477,6 +2479,8 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) maxSize = m_caster->HasAura(62970) ? 6 : 5; // Glyph of Wild Growth power = POWER_HEALTH; } + else + break; // Remove targets outside caster's raid for (std::list<Unit*>::iterator itr = unitList.begin() ; itr != unitList.end();) |
