Skip to content

Commit

Permalink
[9538] Implement proper work spells 59465 and 56151.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
przemratajczak authored and VladimirMangos committed Mar 6, 2010
1 parent 4ee3ebc commit 2379cfd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/game/Spell.cpp
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/game/SpellAuras.cpp
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9537"
#define REVISION_NR "9538"
#endif // __REVISION_NR_H__

0 comments on commit 2379cfd

Please sign in to comment.