mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[11547] Fixed spell 24604 targets.
Fix based at DENNO's idea.
This commit is contained in:
parent
325e610b2a
commit
21a1240811
2 changed files with 15 additions and 3 deletions
|
|
@ -2012,11 +2012,17 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case TARGET_ALL_PARTY_AROUND_CASTER:
|
case TARGET_ALL_PARTY_AROUND_CASTER:
|
||||||
case TARGET_ALL_PARTY_AROUND_CASTER_2:
|
|
||||||
case TARGET_ALL_PARTY:
|
|
||||||
{
|
{
|
||||||
switch(m_spellInfo->Id)
|
switch(m_spellInfo->Id)
|
||||||
{
|
{
|
||||||
|
case 24604: // Furious Howl
|
||||||
|
{
|
||||||
|
// from 3.1.0 only affect pet and owner
|
||||||
|
targetUnitMap.push_back(m_caster);
|
||||||
|
if (Unit *owner = m_caster->GetOwner())
|
||||||
|
targetUnitMap.push_back(owner);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 70893: // Culling the Herd
|
case 70893: // Culling the Herd
|
||||||
case 53434: // Call of the Wild
|
case 53434: // Call of the Wild
|
||||||
{
|
{
|
||||||
|
|
@ -2032,6 +2038,12 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case TARGET_ALL_PARTY_AROUND_CASTER_2:
|
||||||
|
case TARGET_ALL_PARTY:
|
||||||
|
{
|
||||||
|
FillRaidOrPartyTargets(targetUnitMap, m_caster, m_caster, radius, false, true, true);
|
||||||
|
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 "11546"
|
#define REVISION_NR "11547"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue