Skip to content

Commit

Permalink
fix: run boosts
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-wos committed Jun 27, 2024
1 parent 2dedd71 commit 8bf0b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ private HookResult OnBulletImpact(EventBulletImpact @event, GameEventInfo info)
{
value.AddZone.Points[1] = new Vector(@event.X, @event.Y, @event.Z);

if (Math.Abs(value.AddZone.Points[0].Z - value.AddZone.Points[1].Z) < 76)
if (Math.Abs(value.AddZone.Points[0].Z - value.AddZone.Points[1].Z) < 72)
{
if (value.AddZone.Points[0].Z >= value.AddZone.Points[1].Z)
value.AddZone.Points[0].Z += 150;
value.AddZone.Points[0].Z += 200;
else
value.AddZone.Points[1].Z += 150;
value.AddZone.Points[1].Z += 200;
}
}

Expand Down

0 comments on commit 8bf0b0e

Please sign in to comment.