From 627d74f19237a0dca6512afc7ce9dfaba14e1339 Mon Sep 17 00:00:00 2001 From: laise Date: Wed, 20 Jan 2010 06:50:15 +0300 Subject: [PATCH] [9217] Fixed spell 34471 applying from 34692. (based on commit 7a9dc4e from insider42/mangos) Signed-off-by: VladimirMangos --- src/game/SpellAuras.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 19fc26a33..d196874b4 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -4350,8 +4350,8 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/) // The Beast Within cast on owner if talent present if (Unit* owner = m_target->GetOwner()) { - // Search talent - Unit::AuraList const& dummyAuras = owner->GetAurasByType(SPELL_AURA_DUMMY); + // Search talent The Beast Within + Unit::AuraList const& dummyAuras = owner->GetAurasByType(SPELL_AURA_MOD_DAMAGE_PERCENT_DONE); for(Unit::AuraList::const_iterator i = dummyAuras.begin(); i != dummyAuras.end(); ++i) { if ((*i)->GetSpellProto()->SpellIconID == 2229) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1ac2c09a1..d03bab030 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 "9216" + #define REVISION_NR "9217" #endif // __REVISION_NR_H__