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:
parent
8fd757a152
commit
f593f624b0
2 changed files with 5 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue