fix(Scripts/Spells): Shadow of Doom death sometimes deals no damage (#22813)

This commit is contained in:
Jelle Meeus
2025-09-06 00:44:07 -07:00
committed by GitHub
parent 0210e565da
commit fdc81f3be0

View File

@@ -5143,6 +5143,14 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(21); // -1
});
ApplySpellFix({
28032, // Zap Crystal
28056, // Zap Crystal Corpse
}, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];