Implement Glyph of Circle of Healing.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-12-29 21:48:01 +01:00
parent d847e1db2a
commit cd824b50fe
+5 -2
View File
@@ -2520,8 +2520,11 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
unitList.clear(); unitList.clear();
uint32 maxsize = 5; uint32 maxsize = 5;
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x04000000) if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x04000000) // Wild Growth
maxsize += m_caster->HasAura(62970) ? 1 : 0; maxsize += m_caster->HasAura(62970) ? 1 : 0; // Glyph of Wild Growth
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_PRIEST && m_spellInfo->SpellFamilyFlags[0] & 0x10000000 && m_spellInfo->SpellIconID == 2214) // Circle of Healing
maxsize += m_caster->HasAura(55675) ? 1 : 0; // Glyph of Circle of Healing
while(!healedMembers.empty() && unitList.size()<maxsize) while(!healedMembers.empty() && unitList.size()<maxsize)
{ {