[6951] Ignore oudated from behind facing requirement in flags for spell 9005 and ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Sarjuuk 2008-12-27 13:34:13 +03:00 committed by VladimirMangos
parent 871ea8a3be
commit 2476ce7f72
2 changed files with 7 additions and 3 deletions

View file

@ -3519,8 +3519,12 @@ uint8 Spell::CanCast(bool strict)
//Must be behind the target. //Must be behind the target.
if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster) ) if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster) )
{ {
SendInterrupted(2); //Exclusion for Pounce: Facing Limitation was removed in 2.0.1, but it still uses the same, old Ex-Flags
return SPELL_FAILED_NOT_BEHIND; if( m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || m_spellInfo->SpellFamilyFlags != 0x0000000000020000LL )
{
SendInterrupted(2);
return SPELL_FAILED_NOT_BEHIND;
}
} }
//Target must be facing you. //Target must be facing you.

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "6950" #define REVISION_NR "6951"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__