Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: peloton will be used when partymember in radius doesn't has the …
Browse files Browse the repository at this point in the history
…status Peloton.
  • Loading branch information
ArchiDog1998 committed Feb 1, 2023
1 parent 48d5989 commit 253fa4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ internal RoleAction(ActionID actionID, JobRole[] roles, bool isFriendly = false,
/// </summary>
public static IBaseAction Peloton { get; } = new RoleAction(ActionID.Peloton, new JobRole[] { JobRole.RangedPhysical }, true)
{
StatusProvide = new StatusID[] { StatusID.Peloton },
ActionCheck = b => !InCombat && !TargetUpdater.HostileTargets.Any(),
ActionCheck = b => !InCombat && TargetUpdater.PartyMembers.GetObjectInRadius(20).Any(p => !p.HasStatus(false, StatusID.Peloton)),
};

private protected virtual IBaseAction Raise => null;
Expand Down
4 changes: 2 additions & 2 deletions discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Then, it will highlight the best action one the hot bar, or help you to click on

It is designed for `general combat`, not for savage or ultimate. So use it carefully.

Learn how to download, install and use here: https://archidog1998.github.io/RotationSolver/#/


`https://raw.githubusercontent.com/ArchiDog1998/RotationSolver/main/pluginmaster.json`
Change Logs are here: https://github.com/ArchiDog1998/RotationSolver/blob/release/CHANGELOG.md



Expand Down

0 comments on commit 253fa4c

Please sign in to comment.