Skip to content

Commit

Permalink
[10133] Fix targetmap of spell 53434 and 70893
Browse files Browse the repository at this point in the history
Thanks to Blaymoira for 70893
  • Loading branch information
Ligthguard committed Jul 1, 2010
1 parent 7a6fd8c commit 67aa044
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion src/game/Spell.cpp
Expand Up @@ -1846,8 +1846,24 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
case TARGET_ALL_PARTY_AROUND_CASTER:
case TARGET_ALL_PARTY_AROUND_CASTER_2:
case TARGET_ALL_PARTY:
FillRaidOrPartyTargets(targetUnitMap, m_caster, m_caster, radius, false, true, true);
{
switch(m_spellInfo->Id)
{
case 70893: // Culling the Herd
case 53434: // Call of the Wild
{
if (Unit *owner = m_caster->GetOwner())
targetUnitMap.push_back(owner);
break;
}
default:
{
FillRaidOrPartyTargets(targetUnitMap, m_caster, m_caster, radius, false, true, true);
break;
}
}
break;
}
case TARGET_ALL_RAID_AROUND_CASTER:
{
if(m_spellInfo->Id == 57669) // Replenishment (special target selection)
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 "10132"
#define REVISION_NR "10133"
#endif // __REVISION_NR_H__

0 comments on commit 67aa044

Please sign in to comment.