From b35a9d4c99587a3e9919b65e238d4c94a0a27f12 Mon Sep 17 00:00:00 2001 From: Sorken Date: Sun, 24 May 2009 17:14:56 +0200 Subject: [PATCH] [7889] Fixed from behind check for 1329 and ranks. Signed-off-by: ApoC --- src/game/Spell.cpp | 7 +++++-- src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 648552d36..3ccee4992 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3849,8 +3849,11 @@ SpellCastResult Spell::CheckCast(bool strict) //Must be behind the target. if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster) ) { - //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 ) + //Exclusion for Pounce: Facing Limitation was removed in 2.0.1, but it still uses the same, old Ex-Flags + //Exclusion for Mutilate:Facing Limitation was removed in 2.0.1 and 3.0.3, but they still use the same, old Ex-Flags + if( (m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || m_spellInfo->SpellFamilyFlags != 0x0000000000020000LL) && + (m_spellInfo->SpellFamilyName != SPELLFAMILY_ROGUE || m_spellInfo->SpellFamilyFlags != 0x0020000000000000LL) + ) { SendInterrupted(2); return SPELL_FAILED_NOT_BEHIND; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5ac231a65..60e6c5c47 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 "7888" + #define REVISION_NR "7889" #endif // __REVISION_NR_H__