mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10580] TARGET_ALL_RAID_AROUND_CASTER include caster only for positive spells.
This commit is contained in:
parent
8eddf07074
commit
119ce033a8
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue