[10580] TARGET_ALL_RAID_AROUND_CASTER include caster only for positive spells.

This commit is contained in:
VladimirMangos 2010-10-06 04:16:59 +04:00
parent 8eddf07074
commit 119ce033a8
2 changed files with 2 additions and 2 deletions

View file

@ -1905,7 +1905,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
else if (m_spellInfo->Id==52759) // Ancestral Awakening (special target selection) else if (m_spellInfo->Id==52759) // Ancestral Awakening (special target selection)
FillRaidOrPartyHealthPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 1, true, false, true); FillRaidOrPartyHealthPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 1, true, false, true);
else else
FillRaidOrPartyTargets(targetUnitMap, m_caster, m_caster, radius, true, true, true); FillRaidOrPartyTargets(targetUnitMap, m_caster, m_caster, radius, true, true, IsPositiveSpell(m_spellInfo->Id));
break; break;
} }
case TARGET_SINGLE_FRIEND: case TARGET_SINGLE_FRIEND:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10579" #define REVISION_NR "10580"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__