Core/Spells: Fixed spell Launch phase being handled at incorrect time for spells with LaunchDelay
Port From (https://github.com/TrinityCore/TrinityCore/commit/3798de4b391ee74550083fd376faf69852f28e7e)
This commit is contained in:
@@ -8916,7 +8916,7 @@ namespace Game.Spells
|
||||
Cypher.Assert(n_offset == m_Spell.GetDelayMoment());
|
||||
|
||||
// re-plan the event for the delay moment
|
||||
m_Spell.GetCaster().m_Events.AddEvent(this, TimeSpan.FromMilliseconds(e_time + m_Spell.GetDelayMoment()), false);
|
||||
m_Spell.GetCaster().m_Events.AddEvent(this, TimeSpan.FromMilliseconds(e_time + n_offset), false);
|
||||
return false; // event not complete
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user