[8503] Avoid classidy of seal triggred effects at targets as seal spells.

This fix problem with lost target seal buff at getting enamy seal debuff.
This commit is contained in:
VladimirMangos 2009-09-16 11:53:31 +04:00
parent 2d5b9c9efb
commit b8843ec4d6
2 changed files with 4 additions and 2 deletions

View file

@ -156,7 +156,9 @@ 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 & SPELLFAMILYFLAG_PALADIN_SEALS );
( spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_PALADIN_SEALS ) &&
// avoid counting target triggered effect as seal for avoid remove it or seal by it.
spellInfo->EffectImplicitTargetA[0] == TARGET_SELF;
}
inline bool IsElementalShield(SpellEntry const *spellInfo)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8502"
#define REVISION_NR "8503"
#endif // __REVISION_NR_H__