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

Commit

Permalink
fix: fixed with ui.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 30, 2023
1 parent 51ad02c commit b1096a8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 33 deletions.
1 change: 1 addition & 0 deletions Resources/AnimationLockTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"153": 0.6,
"154": 0.1,
"158": 0.6,
"167": 0.6,
"185": 0.1,
"3549": 0.6,
"3550": 0.6,
Expand Down
35 changes: 3 additions & 32 deletions RotationSolver.Basic/Configuration/OtherConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,9 @@ public class OtherConfiguration

public static Dictionary<uint, string[]> NoHostileNames = new Dictionary<uint, string[]>();

public static SortedSet<uint> DangerousStatus = new SortedSet<uint>()
{
(uint)StatusID.Doom,
(uint)StatusID.Amnesia,
(uint)StatusID.Stun,
(uint)StatusID.Stun2,
(uint)StatusID.Sleep,
(uint)StatusID.Sleep2,
(uint)StatusID.Sleep3,
(uint)StatusID.Pacification,
(uint)StatusID.Pacification2,
(uint)StatusID.Silence,
(uint)StatusID.Slow,
(uint)StatusID.Slow2,
(uint)StatusID.Slow3,
(uint)StatusID.Slow4,
(uint)StatusID.Slow5,
(uint)StatusID.Blind,
(uint)StatusID.Blind2,
(uint)StatusID.Blind3,
(uint)StatusID.Paralysis,
(uint)StatusID.Paralysis2,
(uint)StatusID.Nightmare,
(uint)StatusID.Necrosis,
};

public static SortedSet<uint> InvincibleStatus = new SortedSet<uint>()
{
151, //StoneSkin
198, //IceSpikesInvincible
3012, //VortexBarrier
};
public static SortedSet<uint> DangerousStatus = new SortedSet<uint>();

public static SortedSet<uint> InvincibleStatus = new SortedSet<uint>();

public static void Init()
{
Expand Down
1 change: 0 additions & 1 deletion RotationSolver.Basic/Data/ActionEffectSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public Dictionary<uint, ushort> GetSpecificTypeEffect(ActionEffectType type)
public override string ToString()
{
var str = $"S:{Source?.Name}, T:{Target?.Name}, Lock:{AnimationLock}";
str = $"Lock:{AnimationLock}";
str += $"\nType: {Type}, Name: {Action?.Name}({Action?.RowId})";
if (TargetEffects != null)
{
Expand Down
3 changes: 3 additions & 0 deletions RotationSolver/UI/RotationConfigWindow_List.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ private void DrawListTab()
Util.OpenLink("https://archidog1998.github.io/RotationSolver/#/RotationDev/");
}

ImGui.SameLine();
ImGuiHelper.Spacing();

if (ImGuiHelper.IconButton(FontAwesomeIcon.Plus, "Add Rotation"))
{
Service.Config.OtherLibs = Service.Config.OtherLibs.Append(string.Empty).ToArray();
Expand Down

0 comments on commit b1096a8

Please sign in to comment.