mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Core/Spells): Add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase. (#9765)
* Move EffectInterruptCast to LAUNCH_TARGET Phase. * Source: TrinityCore. * Fixes #8484
This commit is contained in:
@@ -7746,6 +7746,8 @@ void Spell::HandleLaunchPhase()
|
||||
usesAmmo = false;
|
||||
}
|
||||
|
||||
PrepareTargetProcessing();
|
||||
|
||||
bool firstTarget = true;
|
||||
for (std::list<TargetInfo>::iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit)
|
||||
{
|
||||
@@ -7783,6 +7785,8 @@ void Spell::HandleLaunchPhase()
|
||||
DoAllEffectOnLaunchTarget(target, multiplier, firstTarget);
|
||||
firstTarget = false;
|
||||
}
|
||||
|
||||
FinishTargetProcessing();
|
||||
}
|
||||
|
||||
void Spell::DoAllEffectOnLaunchTarget(TargetInfo& targetInfo, float* multiplier, bool firstTarget)
|
||||
|
||||
Reference in New Issue
Block a user