[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;

View file

@ -5316,6 +5316,7 @@ void Aura::HandleAuraModIncreaseHealth(bool apply, bool Real)
case 50322: // Survival Instincts
case 54443: // Demonic Empowerment (Voidwalker)
case 55233: // Vampiric Blood
case 59465: // Brood Rage (Ahn'Kahet)
{
if(Real)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9537"
#define REVISION_NR "9538"
#endif // __REVISION_NR_H__