diff options
Diffstat (limited to 'src')
-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(); |