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

Commit 1d1ac56

Browse files
committed
fix: state update and defense fix.
1 parent 438598c commit 1d1ac56

File tree

14 files changed

+181
-23
lines changed

14 files changed

+181
-23
lines changed

Resources/AnimationLockTime.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,8 @@
685685
"34711": 0.1,
686686
"35663": 0.1,
687687
"36623": 0.1,
688+
"36921": 0.6,
689+
"36922": 0.6,
688690
"36923": 0.6,
689691
"36924": 0.6,
690692
"36969": 0.6,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
xr3o9iHF3RQFBt+Qw6g3uHMZD1xzVVD+kGDb509UUQeoq1E6TtjmtanK2txymJ/1ZBRZKwOFEfs7yShVUM8eFZ9UsIVNVcStNuvmUGKtQwxLjZLSIzuMnrcEziHNOIQQPW0mrTBWCh11YOYLQEThqY0Cxo+06+/GOjYzVoXkwfLYnbJhOmz533oDsdfaGXgl+I11ibws34sV41RkLUZ2h/EbSRgcvn9XBajCxJuGx8x4w/9iBKdCqbndwkaUOVfoDy0mbd+/BukCNUqByMQfFQ==
1+
xr3o9iHF3RQFBt+Qw6g3uHMZD1xzVVD+kGDb509UUQeoq1E6TtjmtS7PPFsQv7EbZtxJYKo/4ceFYvxKFIZNITokP2JJyJyNbI6Mfm3yhY4rNSe5HN3KZ/rzbf7rFiGDbzNriyR9N8TOANIHdQQxQRmMwZip+rI5qqYJksjQoRKwf7fj6+tePZif7YGCr1Ddqmr5bzekXjPx8Six82fZJ/8uUlODKmdJBcGXUI/B9oUOUhiszS/pu7zaA3tUW9QjFAK6+K/kEnhIwtZlbAtVaQ==

Resources/StatusProvide.json

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,5 +282,64 @@
282282
],
283283
"36969": [],
284284
"36973": [],
285-
"24386": []
285+
"24386": [],
286+
"9": [],
287+
"15": [],
288+
"3539": [
289+
1902
290+
],
291+
"16460": [
292+
3827
293+
],
294+
"7384": [],
295+
"36918": [
296+
3828
297+
],
298+
"36919": [],
299+
"36921": [
300+
1368
301+
],
302+
"16459": [],
303+
"25748": [],
304+
"25749": [],
305+
"25750": [
306+
3831
307+
],
308+
"36922": [],
309+
"22": [
310+
77
311+
],
312+
"20": [
313+
3847
314+
],
315+
"3538": [],
316+
"28": [],
317+
"23": [],
318+
"25747": [],
319+
"16461": [],
320+
"25746": [
321+
2674
322+
],
323+
"152": [],
324+
"36986": [],
325+
"16505": [],
326+
"154": [],
327+
"3576": [],
328+
"25797": [],
329+
"141": [],
330+
"25795": [],
331+
"159": [],
332+
"25794": [],
333+
"162": [],
334+
"36989": [],
335+
"149": [],
336+
"36987": [],
337+
"16507": [],
338+
"3577": [],
339+
"158": [],
340+
"142": [],
341+
"7421": [
342+
1211
343+
],
344+
"7422": []
286345
}

Resources/TargetStatusProvide.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,56 @@
220220
"24391": [],
221221
"36969": [],
222222
"36973": [],
223-
"24386": []
223+
"24386": [],
224+
"9": [],
225+
"15": [],
226+
"3539": [],
227+
"16460": [],
228+
"7384": [],
229+
"36918": [],
230+
"36919": [],
231+
"36921": [],
232+
"16459": [],
233+
"25748": [],
234+
"25749": [],
235+
"25750": [],
236+
"36922": [],
237+
"22": [],
238+
"20": [
239+
76
240+
],
241+
"3538": [],
242+
"28": [
243+
79
244+
],
245+
"23": [
246+
248
247+
],
248+
"25747": [],
249+
"16461": [],
250+
"25746": [],
251+
"152": [],
252+
"36986": [
253+
3871
254+
],
255+
"16505": [],
256+
"154": [],
257+
"3576": [],
258+
"25797": [],
259+
"141": [],
260+
"25795": [],
261+
"159": [],
262+
"25794": [],
263+
"162": [],
264+
"36989": [],
265+
"149": [],
266+
"36987": [
267+
3872
268+
],
269+
"16507": [],
270+
"3577": [],
271+
"158": [],
272+
"142": [],
273+
"7421": [],
274+
"7422": []
224275
}

Resources/TerritoryConfigs/1208.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
"WAR": {
44
"Timeline": {},
55
"Trigger": []
6+
},
7+
"ADV": {
8+
"Timeline": {},
9+
"Trigger": []
10+
},
11+
"SGE": {
12+
"Timeline": {},
13+
"Trigger": []
614
}
715
},
816
"NoHostileNames": [],

Resources/TerritoryConfigs/641.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
"BRD": {
6464
"Timeline": {},
6565
"Trigger": []
66+
},
67+
"BLM": {
68+
"Timeline": {},
69+
"Trigger": []
6670
}
6771
},
6872
"NoHostileNames": [

Resources/TerritoryConfigs/952.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
"RPR": {
2828
"Timeline": {},
2929
"Trigger": []
30+
},
31+
"PLD": {
32+
"Timeline": {},
33+
"Trigger": []
34+
},
35+
"BLM": {
36+
"Timeline": {},
37+
"Trigger": []
3038
}
3139
},
3240
"NoHostileNames": [],

RotationSolver.Basic

RotationSolver/Localization/Localization.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,5 +630,8 @@
630630
"RotationSolver.Basic.Configuration.PositionName.Pos": "Pos",
631631
"RotationSolver.Basic.Configuration.PositionName.Draw": "Draw",
632632
"RotationSolver.Basic.Configuration.Position": "Position",
633-
"RotationSolver.Basic.Configuration.Drawing.ObjectLockOnGetterName.LockOnPath": "Path"
633+
"RotationSolver.Basic.Configuration.Drawing.ObjectLockOnGetterName.LockOnPath": "Path",
634+
"RotationSolver.Basic.Configuration.ConfigsName.OnlyPartiesAreFriendly": "Only the players in party are friendly.",
635+
"RotationSolver.Basic.Configuration.ConfigsName.DontTargetPetsAsFriendly": "Do not target pets as friendly",
636+
"RotationSolver.Basic.Configuration.ConfigsName.DontTargetChocoboAsFriendly": "Do not target chocobos as friendly"
634637
}

RotationSolver/UI/ConfigWindows/ActionsItem.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static void DrawConfigsOfBaseAction(IBaseAction a)
189189
}
190190
ImGuiHelper.HoveredTooltip(ConfigUnitType.Seconds.Local());
191191

192-
if (a.Setting.StatusProvide != null || a.Setting.TargetStatusProvide != null)
192+
if (a.Info.StatusProvide.Length > 0 || a.Info.TargetStatusProvide.Length > 0)
193193
{
194194
var shouldStatus = config.ShouldCheckStatus;
195195
if (ImGui.Checkbox($"{UiString.ConfigWindow_Actions_CheckStatus.Local()}##{a}", ref shouldStatus))
@@ -256,14 +256,19 @@ static void DrawActionDebug()
256256
ImGui.Text("AttackType: " + action.Info.AttackType.ToString());
257257
ImGui.Text("Aspect: " + action.Info.Aspect.ToString());
258258
ImGui.Text("Has One:" + action.CD.HasOneCharge.ToString());
259-
ImGui.Text("Recast One: " + action.CD.RecastTimeOneChargeRaw.ToString());
259+
ImGui.Text("Recast One: " + action.CD.RecastTime.ToString());
260260
ImGui.Text("Recast One Remain: " + action.CD.RecastTimeRemainOneCharge.ToString());
261261
ImGui.Text("Recast Elapsed: " + action.CD.RecastTimeElapsedRaw.ToString());
262262
ImGui.Text($"Charges: {action.CD.CurrentCharges} / {action.CD.MaxCharges}");
263263

264+
ImGui.Text("-----");
265+
264266
ImGui.Text("Status Need: " + string.Join(", ", action.Info.TargetStatusNeed));
265267
ImGui.Text("Status Provide: " + string.Join(", ", action.Info.StatusProvide));
266268
ImGui.Text("Status Target Provide: " + string.Join(", ", action.Info.TargetStatusProvide));
269+
ImGui.Text("Combo Actions: " + string.Join(", ", action.Info.ComboActions));
270+
271+
ImGui.Text("-----");
267272

268273
ImGui.Text($"Can Use: {action.CanUse(out _, skipClippingCheck: true)} ");
269274
ImGui.Text($"Why Can't: {action.WhyCant.Local()} ");

0 commit comments

Comments
 (0)