fix(Core/Spells): Seed of Corruption cannot be reflected. (#15473)

* fix(Core/Spells): Seed of Corruption cannot be reflected.

Fixes #15458

* Update.
This commit is contained in:
UltraNix 2023-03-24 10:25:12 +01:00 committed by GitHub
parent 9e6dcb9e08
commit a90c3c387d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4495,6 +4495,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(1); // 0s
});
// Seed of Corruption
ApplySpellFix({ 27285, 47833, 47834 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx |= SPELL_ATTR1_NO_REFLECTION;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];