From 3a5f6ff0fb1a00a926038b2f64c1133f4c608a7d Mon Sep 17 00:00:00 2001 From: KAPATEJIb Date: Tue, 2 Mar 2010 23:46:48 +0100 Subject: [PATCH] [9505] Removed facing limitation for spell 2764. Signed-off-by: ApoC --- src/game/Spell.cpp | 8 +++++--- src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 97f5a81ce..ba9ef854a 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4243,10 +4243,12 @@ SpellCastResult Spell::CheckCast(bool strict) //Must be behind the target. if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI_F, m_caster) ) { - //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 + // 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 + // Exclusion for Throw: Facing limitation was added in 3.2.x, but that shouldn't be if ((m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || (m_spellInfo->SpellFamilyFlags != UI64LIT(0x0000000000020000))) && - (m_spellInfo->SpellFamilyName != SPELLFAMILY_ROGUE || (m_spellInfo->SpellFamilyFlags != UI64LIT(0x0020000000000000)))) + (m_spellInfo->SpellFamilyName != SPELLFAMILY_ROGUE || (m_spellInfo->SpellFamilyFlags != UI64LIT(0x0020000000000000))) && + m_spellInfo->Id != 2764) { SendInterrupted(2); return SPELL_FAILED_NOT_BEHIND; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 3db05c658..deaa47d2d 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 "9504" + #define REVISION_NR "9505" #endif // __REVISION_NR_H__