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:
hondacrx
2022-05-09 12:35:24 -04:00
parent 72684c5245
commit 252cf1cfd0
+1 -1
View File
@@ -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;