aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-12-29 21:48:01 +0100
committerAnubisss <none@none>2009-12-29 21:48:01 +0100
commitcd824b50fe9864883eb29a0651e1f62b6fd80154 (patch)
tree0af00a87a291ede88e6739974ef655b212172a3e /src
parentd847e1db2ab921e3bd5fad75a5f0c2805499bc30 (diff)
Implement Glyph of Circle of Healing.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index fc65773f1cf..8d6ce04f6ff 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2520,8 +2520,11 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
unitList.clear();
uint32 maxsize = 5;
- if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x04000000)
- maxsize += m_caster->HasAura(62970) ? 1 : 0;
+ if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x04000000) // Wild Growth
+ 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)
{