mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9733] Make Replenishment only affect its caster in arena
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
6a50185cfd
commit
06378778e8
2 changed files with 8 additions and 2 deletions
|
|
@ -1676,7 +1676,13 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
|||
case TARGET_ALL_RAID_AROUND_CASTER:
|
||||
{
|
||||
if(m_spellInfo->Id == 57669) // Replenishment (special target selection)
|
||||
{
|
||||
// in arena, target should be only caster
|
||||
if (m_caster->GetMap()->IsBattleArena())
|
||||
targetUnitMap.push_back(m_caster);
|
||||
else
|
||||
FillRaidOrPartyManaPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 10, true, false, true);
|
||||
}
|
||||
else if (m_spellInfo->Id==52759) // Ancestral Awakening (special target selection)
|
||||
FillRaidOrPartyHealthPriorityTargets(targetUnitMap, m_caster, m_caster, radius, 1, true, false, true);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9732"
|
||||
#define REVISION_NR "9733"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue