[10133] Fix targetmap of spell 53434 and 70893

Thanks to Blaymoira for 70893
This commit is contained in:
Lightguard 2010-07-02 01:48:49 +02:00
parent 885c3449b4
commit 38d3fd9c6e
2 changed files with 18 additions and 2 deletions

View file

@ -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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10132"
#define REVISION_NR "10133"
#endif // __REVISION_NR_H__