mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10133] Fix targetmap of spell 53434 and 70893
Thanks to Blaymoira for 70893
This commit is contained in:
parent
885c3449b4
commit
38d3fd9c6e
2 changed files with 18 additions and 2 deletions
|
|
@ -1846,8 +1846,24 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
case TARGET_ALL_PARTY_AROUND_CASTER:
|
case TARGET_ALL_PARTY_AROUND_CASTER:
|
||||||
case TARGET_ALL_PARTY_AROUND_CASTER_2:
|
case TARGET_ALL_PARTY_AROUND_CASTER_2:
|
||||||
case TARGET_ALL_PARTY:
|
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;
|
break;
|
||||||
|
}
|
||||||
case TARGET_ALL_RAID_AROUND_CASTER:
|
case TARGET_ALL_RAID_AROUND_CASTER:
|
||||||
{
|
{
|
||||||
if(m_spellInfo->Id == 57669) // Replenishment (special target selection)
|
if(m_spellInfo->Id == 57669) // Replenishment (special target selection)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10132"
|
#define REVISION_NR "10133"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue