Skip to content

Commit

Permalink
Less tight slideover.
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Feb 6, 2025
1 parent 5cd4fbf commit 569f590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BossMod/Modules/Dawntrail/Ultimate/FRU/P2DiamondDust.cs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignme
{
// if we're behind boss, slide over to the safe point as opposite to the boss as possible
var farthestDir = Angle.FromDirection(-sourceOffset);
var bestRange = zoneList.Allowed(1.Degrees()).MinBy(r => farthestDir.DistanceToRange(r.min, r.max).Abs().Rad);
var bestRange = zoneList.Allowed(5.Degrees()).MinBy(r => farthestDir.DistanceToRange(r.min, r.max).Abs().Rad);
var dir = farthestDir.ClosestInRange(bestRange.min, bestRange.max);
hints.AddForbiddenZone(ShapeDistance.InvertedCircle(actor.Position + SlideDistance * dir.ToDirection(), 1), DateTime.MaxValue);
}
Expand Down

0 comments on commit 569f590

Please sign in to comment.