From 0f32ffb90ed4d0fe8ecd00451bb282c38f2164fe Mon Sep 17 00:00:00 2001 From: w12x Date: Thu, 23 Oct 2008 09:40:37 -0500 Subject: [svn] Prevent Bestial Wrath from being applied 5 times when cast by a hunter with The Beast Within talent. Hopefully this will also fix the crashes caused by this spell. Change 'tbc' to 'expansion' in realmd.sql. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 9c8fdfb496e..7e255d25a62 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3770,7 +3770,7 @@ void Aura::HandleModMechanicImmunity(bool apply, bool Real) } // Bestial Wrath - if ( GetSpellProto()->SpellFamilyName == SPELLFAMILY_HUNTER && GetSpellProto()->SpellIconID == 1680) + if ( GetSpellProto()->SpellFamilyName == SPELLFAMILY_HUNTER && GetSpellProto()->Id == 19574) { // The Beast Within cast on owner if talent present if ( Unit* owner = m_target->GetOwner() ) -- cgit v1.2.3