diff options
| author | Nevan <none@none> | 2009-08-23 20:14:51 +0200 |
|---|---|---|
| committer | Nevan <none@none> | 2009-08-23 20:14:51 +0200 |
| commit | c59dcbbb852142cc78851d5bb3a983827202f770 (patch) | |
| tree | 892c4737fa73cf5b7c07be01e0c6b3bec268d947 /src/game/Spell.cpp | |
| parent | e231bb6020028418417d80216dcd3a84f5bafc2d (diff) | |
*Fix Glyph of Wild Growth
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index a18c05e63b2..07d69bf25bb 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2528,7 +2528,12 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) } unitList.clear(); - while(!healedMembers.empty() && unitList.size()<5) + uint32 maxsize = 5; + + if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x04000000) + maxsize += m_caster->HasAura(62970) ? 1 : 0; + + while(!healedMembers.empty() && unitList.size()<maxsize) { unitList.push_back(healedMembers.top().getUnit()); healedMembers.pop(); |
