From cdf895d134b49e69475a64670e1c6d53b835c6ea Mon Sep 17 00:00:00 2001 From: KAPATEJIb Date: Sat, 1 Aug 2009 19:13:47 +0400 Subject: [PATCH] [8287] Allow caster targeting in target selection for 52759 and buf from 51556 and rabks. Signed-off-by: VladimirMangos --- src/game/Spell.cpp | 6 +++--- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index eafee4451..3e33a691d 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1705,9 +1705,9 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,UnitList& TagUnitMap) case TARGET_ALL_RAID_AROUND_CASTER: { if(m_spellInfo->Id == 57669) // Replenishment (special target selection) - FillRaidOrPartyManaPriorityTargets(TagUnitMap, m_caster, m_caster, radius, 10, true, false, false); - else if (m_spellInfo->Id==52759) //Ancestral Awakening (special target selection) - FillRaidOrPartyHealthPriorityTargets(TagUnitMap, m_caster, m_caster, radius, 1, true, false, false); + FillRaidOrPartyManaPriorityTargets(TagUnitMap, m_caster, m_caster, radius, 10, true, false, true); + else if (m_spellInfo->Id==52759) // Ancestral Awakening (special target selection) + FillRaidOrPartyHealthPriorityTargets(TagUnitMap, m_caster, m_caster, radius, 1, true, false, true); else FillRaidOrPartyTargets(TagUnitMap, m_caster, m_caster, radius, true, true, true); break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cf285ee22..d7941f8a6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8286" + #define REVISION_NR "8287" #endif // __REVISION_NR_H__