Core/Spells: Fixed Sacred Cleansing range

- It was not working into friends/pets
This commit is contained in:
Keader
2021-08-14 20:39:43 -03:00
parent 8014054ef9
commit c8f2056b17

View File

@@ -4944,6 +4944,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Attributes |= SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY;
});
// Sacred Cleansing
ApplySpellFix({ 53659 }, [](SpellInfo* spellInfo)
{
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(5); // 40yd
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];