fix(Core/Spells): Razorgore's Explosion ignores LoS. (#11253)

* fix(Core/Spells): Razorgore's Explosion ignores LoS.

Fixes #11180

* Update.

* Update.

* Update.
This commit is contained in:
UltraNix
2022-04-05 10:29:36 +02:00
committed by GitHub
parent 5df8fd9ad7
commit 95ee81ae2a
3 changed files with 20 additions and 16 deletions

View File

@@ -4252,6 +4252,8 @@ void SpellMgr::LoadSpellInfoCorrections()
ApplySpellFix({ 20038 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_50000_YARDS);
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)