fix(Core/Spells): Ingvar Smash and Dark Smash should not ignore LOS (#21581)

This commit is contained in:
Andrew
2025-02-21 22:10:39 -03:00
committed by GitHub
parent dc646e8304
commit 4906867220

View File

@@ -4884,6 +4884,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_1].RealPointsPerLevel = 0.25;
});
// Smash
// Dark Smash
ApplySpellFix({ 42669, 59706, 42723, 59709 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx2 &= ~SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];