mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Core/Spells): Ingvar Smash and Dark Smash should not ignore LOS (#21581)
This commit is contained in:
@@ -4884,6 +4884,13 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->Effects[EFFECT_1].RealPointsPerLevel = 0.25;
|
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)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user