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

Commit

Permalink
fix: for debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 19, 2023
1 parent 2af2bf2 commit fed23fc
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
35 changes: 34 additions & 1 deletion Resources/AnimationLockTime.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,45 @@
{
"31": 0.6,
"37": 0.6,
"42": 0.6,
"45": 0.6,
"52": 0.6,
"53": 0.6,
"54": 0.6,
"56": 0.6,
"61": 0.6,
"66": 0.6,
"74": 0.6,
"75": 0.6,
"78": 0.6,
"83": 0.6,
"85": 0.6,
"87": 0.6,
"95": 0.8,
"96": 0.8,
"3546": 0.6,
"3547": 0.6,
"3549": 0.6,
"3554": 0.6,
"3555": 0.6,
"3556": 0.6,
"3557": 0.6,
"4262": 0.6,
"7386": 0.6,
"7387": 0.6,
"7389": 0.6,
"7395": 0.6,
"7396": 0.6,
"7398": 0.6,
"7399": 0.6,
"7400": 0.6,
"7546": 0.6,
"16465": 0.6,
"25753": 1.15
"16478": 0.8,
"16479": 0.6,
"16480": 1.5,
"25753": 1.15,
"25771": 0.6,
"25772": 0.6,
"25773": 0.6
}
4 changes: 4 additions & 0 deletions RotationSolver.Basic/Helpers/IActionHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ public static class IActionHelper

public static async void GetAnimationLockTimeAsync(string directory)
{
#if DEBUG
directory = @"E:\OneDrive - stu.zafu.edu.cn\PartTime\FFXIV\RotationSolver\Resources";
if (!Directory.Exists(directory)) return;
#endif
var filename = $"{nameof(AnimationLockTime)}.json";
var filePath = Path.Combine(directory, filename);
if (File.Exists(filePath))
Expand Down

0 comments on commit fed23fc

Please sign in to comment.