*Fix Glyph of Wild Growth

--HG--
branch : trunk
This commit is contained in:
Nevan
2009-08-23 20:14:51 +02:00
parent e231bb6020
commit c59dcbbb85
+6 -1
View File
@@ -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();