[11571] Fixed P2 Hunter T10 effects (limit to owner and pet only)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Janu 2011-05-31 00:06:01 +04:00 committed by VladimirMangos
parent 4d5e6126fe
commit f45b03f256
2 changed files with 4 additions and 3 deletions

View file

@ -2038,9 +2038,10 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
{ {
switch(m_spellInfo->Id) switch(m_spellInfo->Id)
{ {
case 24604: // Furious Howl case 24604: // Furious Howl, from 3.1.0
case 70728: // Exploit Weakness
{ {
// from 3.1.0 only affect pet and owner // only affect pet and owner
targetUnitMap.push_back(m_caster); targetUnitMap.push_back(m_caster);
if (Unit *owner = m_caster->GetOwner()) if (Unit *owner = m_caster->GetOwner())
targetUnitMap.push_back(owner); targetUnitMap.push_back(owner);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11570" #define REVISION_NR "11571"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__