Core/Spells: Drain Soul need be affected by Death's Embrace

Make Warlock Affliction great again !
This commit is contained in:
Keader
2019-08-13 13:02:23 -03:00
parent 95284b23d1
commit fec48caabe

View File

@@ -3855,7 +3855,7 @@ void SpellMgr::LoadSpellInfoCorrections()
/// @todo: remove this when basepoints of all Ride Vehicle auras are calculated correctly
spellInfo->Effects[EFFECT_0].BasePoints = 1;
});
// Summon Scourged Captive
ApplySpellFix({ 51597 }, [](SpellInfo* spellInfo)
{
@@ -4894,7 +4894,7 @@ void SpellMgr::LoadSpellInfoCorrections()
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_INITIAL_AGGRO;
});
// Spore - Spore Visual
ApplySpellFix({ 42525 }, [](SpellInfo* spellInfo)
{
@@ -4902,6 +4902,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx2 |= SPELL_ATTR2_CAN_TARGET_DEAD;
});
// Death's Embrace
ApplySpellFix({ 47198, 47199, 47200 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_1].SpellClassMask[0] |= 0x00004000; // Drain soul
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];