From f45b03f256dabd3b87a708b98de80fa437f1c701 Mon Sep 17 00:00:00 2001 From: Janu Date: Tue, 31 May 2011 00:06:01 +0400 Subject: [PATCH] [11571] Fixed P2 Hunter T10 effects (limit to owner and pet only) Signed-off-by: VladimirMangos --- src/game/Spell.cpp | 5 +++-- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index c4a547a35..20065966d 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2038,9 +2038,10 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& { 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); if (Unit *owner = m_caster->GetOwner()) targetUnitMap.push_back(owner); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 52680a590..3cd2ea085 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11570" + #define REVISION_NR "11571" #endif // __REVISION_NR_H__