private Vector2 GetGlobalMissilePosition(int time)
{
return this.Start
+ this.Direction
* (int)
Math.Max(
0,
Math.Min(
this.End.Distance(this.Start),
(float)Math.Max(0, Extensions.GameTimeTickCount + time - this.StartTick - this.SpellData.Delay)
* this.SpellData.MissileSpeed / 1000));
}