Core/Spell: Fixed Val'kyr Target Search exploit

Closes #16347
by ariel-

(cherry picked from commit 28b955bd25)
This commit is contained in:
Keader
2017-01-19 14:11:58 -03:00
committed by funjoker
parent 545f641425
commit f3d946cee9

View File

@@ -3363,6 +3363,12 @@ void SpellMgr::LoadSpellInfoCorrections()
const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_1))->RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_200_YARDS); // 200yd
});
// Val'kyr Target Search
ApplySpellFix({ 69030 }, [](SpellInfo* spellInfo)
{
spellInfo->Attributes |= SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY;
});
// Raging Spirit Visual
ApplySpellFix({ 69198 }, [](SpellInfo* spellInfo)
{