[9538] Implement proper work spells 59465 and 56151.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
przemratajczak 2010-03-06 21:12:10 +03:00 committed by VladimirMangos
parent 6adebba800
commit 8e9063ed80
3 changed files with 8 additions and 3 deletions

View file

@ -1729,11 +1729,15 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
case TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER:
switch (m_spellInfo->Id)
{
case 64844: // Divine Hymn
case 56153: // Guardian Aura - Ahn'Kahet
FillAreaTargets(targetUnitMap, m_targets.m_destX, m_targets.m_destY, radius, PUSH_SELF_CENTER, SPELL_TARGETS_FRIENDLY);
targetUnitMap.remove(m_caster);
break;
case 64844: // Divine Hymn
// target amount stored in parent spell dummy effect but hard to access
FillRaidOrPartyHealthPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 3, true, false, false);
break;
case 64904: // Hymn of Hope
case 64904: // Hymn of Hope
// target amount stored in parent spell dummy effect but hard to access
FillRaidOrPartyManaPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 3, true, false, false);
break;