[6967] Fix paladin seal and blessing family mask

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2008-12-28 23:57:57 +03:00
parent 53127cd6d9
commit 963c6e5cf7
3 changed files with 3 additions and 3 deletions

View file

@ -176,7 +176,7 @@ SpellSpecific GetSpellSpecific(uint32 spellId)
if (IsSealSpell(spellInfo))
return SPELL_SEAL;
if (spellInfo->SpellFamilyFlags & 0x10000100LL)
if (spellInfo->SpellFamilyFlags & 0x0000000011010002LL)
return SPELL_BLESSING;
if ((spellInfo->SpellFamilyFlags & 0x00000820180400LL) && (spellInfo->AttributesEx3 & 0x200))

View file

@ -301,7 +301,7 @@ inline bool IsSealSpell(SpellEntry const *spellInfo)
{
//Collection of all the seal family flags. No other paladin spell has any of those.
return spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN &&
( spellInfo->SpellFamilyFlags & 0x4000A000200LL );
( spellInfo->SpellFamilyFlags & 0x26000C000A000000LL );
}
inline bool IsElementalShield(SpellEntry const *spellInfo)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6966"
#define REVISION_NR "6967"
#endif // __REVISION_NR_H__