feat(Core/Spells): Allow modifying MiscValues during cast (#20731)

This commit is contained in:
Andrew
2024-11-26 12:17:02 -03:00
committed by GitHub
parent e5b83b29de
commit 2649ca2d65
4 changed files with 22 additions and 1 deletions

View File

@@ -2332,6 +2332,10 @@ void Spell::EffectSummonType(SpellEffIndex effIndex)
return;
uint32 entry = m_spellInfo->Effects[effIndex].MiscValue;
if (m_spellValue->MiscVal[effIndex])
entry = m_spellValue->MiscVal[effIndex];
if (!entry)
return;