mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/Spells: add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_T…
…ARGET phase. Move EffectInterruptCast to LAUNCH_TARGET Phase.
This commit is contained in:
@@ -6926,6 +6926,8 @@ void Spell::HandleLaunchPhase()
|
||||
|
||||
bool usesAmmo = m_spellInfo->HasAttribute(SPELL_ATTR0_CU_DIRECT_DAMAGE);
|
||||
|
||||
PrepareTargetProcessing();
|
||||
|
||||
for (std::list<TargetInfo>::iterator ihit= m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit)
|
||||
{
|
||||
TargetInfo& target = *ihit;
|
||||
@@ -6959,8 +6961,11 @@ void Spell::HandleLaunchPhase()
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
DoAllEffectOnLaunchTarget(target, multiplier);
|
||||
}
|
||||
|
||||
FinishTargetProcessing();
|
||||
}
|
||||
|
||||
void Spell::DoAllEffectOnLaunchTarget(TargetInfo& targetInfo, float* multiplier)
|
||||
|
||||
Reference in New Issue
Block a user