Skip to content

Commit

Permalink
fix(Core/SpellMgr): Remove binary attribute from Drain Soul. (azeroth…
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitsbench authored Aug 27, 2024
1 parent db9fb5f commit 8f335bb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/server/game/Spells/SpellMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3070,10 +3070,11 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
if (spellInfo->SpellFamilyName != SPELLFAMILY_MAGE || !(spellInfo->SpellFamilyFlags[0] & 0x20)) // frostbolt
if (spellInfo->Id != 55095) // frost fever
if (spellInfo->SpellFamilyName != SPELLFAMILY_WARLOCK || !(spellInfo->SpellFamilyFlags[1] & 0x40000)) // Haunt
{
spellInfo->AttributesCu |= SPELL_ATTR0_CU_BINARY_SPELL;
break;
}
if (spellInfo->SpellFamilyName != SPELLFAMILY_WARLOCK || !(spellInfo->SpellFamilyFlags[0] & 0x4000)) // Drain Soul
{
spellInfo->AttributesCu |= SPELL_ATTR0_CU_BINARY_SPELL;
break;
}
continue;
}
}
Expand Down

0 comments on commit 8f335bb

Please sign in to comment.