mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 04:37:04 +00:00
[11533] Fixed wrong call IsFitToFamilyMask in my prev commit.
Also prevent like wrong usage in future by additional check.
This commit is contained in:
parent
da06d09c45
commit
b5c3ec952f
3 changed files with 6 additions and 2 deletions
|
|
@ -3988,7 +3988,7 @@ SpellAuraProcResult Unit::HandleModResistanceAuraProc(Unit* /*pVictim*/, uint32
|
|||
SpellEntry const *spellInfo = triggeredByAura->GetSpellProto();
|
||||
|
||||
// Inner Fire
|
||||
if (spellInfo->IsFitToFamilyMask(SPELLFAMILY_PRIEST, UI64LIT(0x0000000000002)))
|
||||
if (spellInfo->IsFitToFamily(SPELLFAMILY_PRIEST, UI64LIT(0x0000000000002)))
|
||||
{
|
||||
// only at real damage
|
||||
if (!damage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue