From 7c10c37309a5f9366614337a0eae53233298f913 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sun, 28 Dec 2008 23:57:57 +0300 Subject: [PATCH] [6967] Fix paladin seal and blessing family mask Signed-off-by: DiSlord --- src/game/SpellMgr.cpp | 2 +- src/game/SpellMgr.h | 2 +- src/shared/revision_nr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index be4b6c3fb..5ae1bc199 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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)) diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index f6f1ff435..d7870cccc 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -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) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 6e508402b..299924ce0 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 "6966" + #define REVISION_NR "6967" #endif // __REVISION_NR_H__ -- 2.11.4.GIT