Skip to content

Commit

Permalink
FRU fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CarnifexOptimus committed Dec 17, 2024
1 parent 0f0ec1e commit 2b1d29c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions BossMod/Modules/Dawntrail/Ultimate/FRU/P1CyclonicBreak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ class P1CyclonicBreakAIBait(BossModule module) : BossComponent(module)

public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints)
{
if (assignment == PartyRolesConfig.Assignment.Unassigned)

return;

var clockspot = _config.P1CyclonicBreakSpots[assignment];
if (clockspot < 0 || _spreadStack == null || !_spreadStack.Active)
return; // no assignment
Expand All @@ -101,6 +105,9 @@ class P1CyclonicBreakAIDodgeSpreadStack(BossModule module) : BossComponent(modul

public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints)
{
if (assignment == PartyRolesConfig.Assignment.Unassigned)

return;
var clockspot = _config.P1CyclonicBreakSpots[assignment];
if (clockspot < 0 || _cones == null || _spreadStack == null || !_spreadStack.Active)
return;
Expand Down
7 changes: 7 additions & 0 deletions BossMod/Modules/Dawntrail/Ultimate/FRU/P1UtopianSky.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class P1UtopianSkyAIInitial(BossModule module) : BossComponent(module)

public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints)
{
if (assignment == PartyRolesConfig.Assignment.Unassigned)

return;
var clockspot = _config.P1UtopianSkyInitialSpots[assignment];
if (clockspot < 0)
return; // no assignment
Expand Down Expand Up @@ -156,6 +159,10 @@ public override void Update()

public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints)
{
if (assignment == PartyRolesConfig.Assignment.Unassigned)

return;

var clockSpot = _config.P1UtopianSkyInitialSpots[assignment];
if (_aoes == null)
return;
Expand Down

0 comments on commit 2b1d29c

Please sign in to comment.