Skip to content

Commit

Permalink
Regress breaks ar without this condition lmfao
Browse files Browse the repository at this point in the history
  • Loading branch information
Akechi-kun committed Feb 4, 2025
1 parent 073dc76 commit cac919d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BossMod/Autorotation/Utility/ClassRPRUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public override void Execute(StrategyValues strategy, ref Actor? primaryTarget,
var reg = strategy.Option(Track.Regress);
var regStrat = strategy.Option(Track.Regress).As<RegressStrategy>();
var zone = World.Actors.FirstOrDefault(x => x.OID == 0x4C3 && x.OwnerID == Player.InstanceID);
if (regStrat != RegressStrategy.None)
if (regStrat != RegressStrategy.None && Player.FindStatus(RPR.SID.Threshold) != null)
Hints.ActionsToExecute.Push(ActionID.MakeSpell(RPR.AID.Regress), Player, reg.Priority(), reg.Value.ExpireIn, targetPos: zone!.PosRot.XYZ());

var ing = strategy.Option(Track.Ingress);
Expand Down

0 comments on commit cac919d

Please sign in to comment.