refactor(Core/Spells): Pass nullptr as victim for PROC_SPELL_PHASE_CAST (#25007)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-03-11 07:51:23 -05:00
committed by GitHub
parent 803f1c76ff
commit 00d4f68e36
2 changed files with 5 additions and 1 deletions

View File

@@ -4026,7 +4026,7 @@ void Spell::_cast(bool skipCheck)
break;
}
Unit::ProcSkillsAndAuras(m_originalCaster, m_originalCaster, procAttacker, PROC_FLAG_NONE, hitMask, 1, BASE_ATTACK, m_spellInfo, m_triggeredByAuraSpell.spellInfo,
Unit::ProcSkillsAndAuras(m_originalCaster, nullptr, procAttacker, PROC_FLAG_NONE, hitMask, 1, BASE_ATTACK, m_spellInfo, m_triggeredByAuraSpell.spellInfo,
m_triggeredByAuraSpell.effectIndex, this, nullptr, nullptr, PROC_SPELL_PHASE_CAST);
}