mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 11:52:32 +01:00
Core/Spells: Fixed spell Launch phase being handled at incorrect time for spells with LaunchDelay
This commit is contained in:
@@ -7965,7 +7965,7 @@ bool SpellEvent::Execute(uint64 e_time, uint32 p_time)
|
||||
else
|
||||
ASSERT(n_offset == m_Spell->GetDelayMoment());
|
||||
// re-plan the event for the delay moment
|
||||
m_Spell->GetCaster()->m_Events.AddEvent(this, Milliseconds(e_time + m_Spell->GetDelayMoment()), false);
|
||||
m_Spell->GetCaster()->m_Events.AddEvent(this, Milliseconds(e_time + n_offset), false);
|
||||
return false; // event not complete
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user