diff --git a/NGUInjector/AllocationProfiles/Breakpoints/R3Breakpoints.cs b/NGUInjector/AllocationProfiles/Breakpoints/R3Breakpoints.cs index 1a72460..c9c1618 100644 --- a/NGUInjector/AllocationProfiles/Breakpoints/R3Breakpoints.cs +++ b/NGUInjector/AllocationProfiles/Breakpoints/R3Breakpoints.cs @@ -13,17 +13,16 @@ public R3Breakpoints(JSONNode bps) : protected override bool PerformSwap(Breakpoint bp) { - var prio = bp.priorities.FirstOrDefault(x => x.IsValid()); - if (prio != null) + var temp = bp.priorities.Where(x => x.IsValid()).ToList(); + if (temp.Count == 0) + return false; + RemoveR3(); + foreach (var prio in temp) { - RemoveR3(); - prio.UpdateMaxAllocation(); prio.Allocate(); - - _character.hacksController.refreshMenu(); } - + _character.hacksController.refreshMenu(); return false; } diff --git a/NGUInjector/dist_3.6.1.zip b/NGUInjector/dist_3.6.1.zip deleted file mode 100644 index cb9333d..0000000 Binary files a/NGUInjector/dist_3.6.1.zip and /dev/null differ diff --git a/readme.MD b/readme.MD index c1676ce..6a5c281 100644 --- a/readme.MD +++ b/readme.MD @@ -412,7 +412,7 @@ An R3 breakpoint is structured as follows: "R3": [ { "Time": 0, - "Priorities": ["HACK-1"] + "Priorities": ["HACK-1:80","HACK-4"] } ] @@ -420,7 +420,7 @@ An R3 breakpoint is structured as follows: Available priorities for R3 are as follows: -- (CAP)HACK-X (0-14) - Allocate R3 to hacks. Will only ever allocate to the first hack in your priority list that hasn't met its target. +- (CAP)HACK-X (0-14) - Allocate R3 to hacks. Will allocate to the hack in the order of your priority list that hasn't met its target. - (CAP)ALLHACK - Adds every hack from 0 to 14 as a priority. Prioritizes hacks with target > 0. ## Gear