From 2476ce7f72b5848c77503cab6f492f0c44781edd Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sat, 27 Dec 2008 13:34:13 +0300 Subject: [PATCH] [6951] Ignore oudated from behind facing requirement in flags for spell 9005 and ranks. Signed-off-by: VladimirMangos --- src/game/Spell.cpp | 8 ++++++-- src/shared/revision_nr.h | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f94b22121..d7d5cba64 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3519,8 +3519,12 @@ uint8 Spell::CanCast(bool strict) //Must be behind the target. if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster) ) { - SendInterrupted(2); - return SPELL_FAILED_NOT_BEHIND; + //Exclusion for Pounce: Facing Limitation was removed in 2.0.1, but it still uses the same, old Ex-Flags + if( m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || m_spellInfo->SpellFamilyFlags != 0x0000000000020000LL ) + { + SendInterrupted(2); + return SPELL_FAILED_NOT_BEHIND; + } } //Target must be facing you. diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index aab6f22a7..7223f837b 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 "6950" + #define REVISION_NR "6951" #endif // __REVISION_NR_H__