mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[6967] Fix paladin seal and blessing family mask
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
53127cd6d9
commit
963c6e5cf7
3 changed files with 3 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ SpellSpecific GetSpellSpecific(uint32 spellId)
|
||||||
if (IsSealSpell(spellInfo))
|
if (IsSealSpell(spellInfo))
|
||||||
return SPELL_SEAL;
|
return SPELL_SEAL;
|
||||||
|
|
||||||
if (spellInfo->SpellFamilyFlags & 0x10000100LL)
|
if (spellInfo->SpellFamilyFlags & 0x0000000011010002LL)
|
||||||
return SPELL_BLESSING;
|
return SPELL_BLESSING;
|
||||||
|
|
||||||
if ((spellInfo->SpellFamilyFlags & 0x00000820180400LL) && (spellInfo->AttributesEx3 & 0x200))
|
if ((spellInfo->SpellFamilyFlags & 0x00000820180400LL) && (spellInfo->AttributesEx3 & 0x200))
|
||||||
|
|
|
||||||
|
|
@ -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.
|
//Collection of all the seal family flags. No other paladin spell has any of those.
|
||||||
return spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN &&
|
return spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN &&
|
||||||
( spellInfo->SpellFamilyFlags & 0x4000A000200LL );
|
( spellInfo->SpellFamilyFlags & 0x26000C000A000000LL );
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool IsElementalShield(SpellEntry const *spellInfo)
|
inline bool IsElementalShield(SpellEntry const *spellInfo)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6966"
|
#define REVISION_NR "6967"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue