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

Commit

Permalink
fix: changed reprisal action type.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed May 5, 2023
1 parent fb94d60 commit f721872
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions Resources/AnimationLockTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
"20243": 0.1,
"20542": 2.1,
"21054": 2.1,
"21910": 2.1,
"22411": 1.1,
"22605": 2.1,
"24283": 0.1,
Expand Down
12 changes: 11 additions & 1 deletion Resources/HostileCastingArea.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
2375,
2398,
3416,
3676,
3691,
3696,
4116,
4126,
4135,
4149,
4162,
4323,
6469,
6547,
8023,
Expand All @@ -17,6 +21,7 @@
8028,
8039,
9523,
13262,
13314,
13343,
13389,
Expand All @@ -35,6 +40,7 @@
28493,
28495,
28512,
28527,
28528,
29818,
30134,
Expand All @@ -49,6 +55,10 @@
31376,
31390,
31835,
31885,
31910,
31925,
31956,
31978
31978,
32785
]
2 changes: 1 addition & 1 deletion RotationSolver.Basic/Rotations/CustomRotation_Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ internal RoleAction(ActionID actionID, JobRole[] roles, ActionOption option = Ac
FilterForHostiles = b => TargetFilter.ProvokeTarget(b),
};

public static IBaseAction Reprisal { get; } = new RoleAction(ActionID.Reprisal, new JobRole[] { JobRole.Tank }, ActionOption.Defense);
public static IBaseAction Reprisal { get; } = new RoleAction(ActionID.Reprisal, new JobRole[] { JobRole.Tank }, ActionOption.ActionSequencer);

public static IBaseAction Shirk { get; } = new RoleAction(ActionID.Shirk, new JobRole[] { JobRole.Tank }, ActionOption.Friendly | ActionOption.ActionSequencer)
{
Expand Down
7 changes: 6 additions & 1 deletion RotationSolver/Updaters/RotationUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,12 @@ private static Assembly LoadOne(string filePath)

private static void LoadRotationsFromLocal(string relayFolder)
{
var directories = new string[] { relayFolder }
var directories = new string[] {
#if DEBUG
#else
relayFolder
#endif
}
.Union(Service.Config.OtherLibs
.Where(Directory.Exists));

Expand Down

0 comments on commit f721872

Please sign in to comment.