From d09b4b96bef696c9b8514c654b5a111b4342ba05 Mon Sep 17 00:00:00 2001 From: ApoC Date: Fri, 22 May 2009 19:31:55 +0200 Subject: [PATCH] [8093] Fixed effect of spell 25771. Signed-off-by: ApoC --- src/game/SpellAuras.cpp | 6 ++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 18150bfe3..eef4b9311 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3966,6 +3966,12 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/) uint32 misc = m_modifier.m_miscvalue; Unit* target = m_target; + // Forbearance + // in DBC wrong mechanic immune since 3.0.x + if (GetId() == 25771) + misc = MECHANIC_IMMUNE_SHIELD; + + if(apply && spellInfo->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY) { uint32 mechanic = 1 << m_modifier.m_miscvalue; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 55fd6b24a..bc81ad8d7 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 "8092" + #define REVISION_NR "8093" #endif // __REVISION_NR_H__