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

Commit

Permalink
fix: removed plugin master.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed May 4, 2023
1 parent 2a5db28 commit e98e375
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 156 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ko_fi: RotationSolver
ko_fi: ArchiTed
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,6 @@ jobs:
- name: Trigger Repo Update
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT }}
repository: ${{ github.repository_owner }}/Dalamud_Plugins
event-type: new-release
14 changes: 0 additions & 14 deletions .github/workflows/schedule-repo.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/update-repo.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Download it at this url:

```
https://raw.githubusercontent.com/ArchiDog1998/RotationSolver/main/pluginmaster.json
https://raw.githubusercontent.com/ArchiDog1998/Dalamud_Plugins/main/pluginmaster.json
```

## Brief
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver.Basic/Helpers/ObjectHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static uint GetHealthFromMulty(float mult)
}

/// <summary>
/// 对象<paramref name="obj"/>距玩家的距离
/// The distance from <paramref name="obj"/> to the player
/// </summary>
/// <param name="obj"></param>
/// <returns></returns>
Expand Down
4 changes: 0 additions & 4 deletions RotationSolver/RotationSolverPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ public unsafe RotationSolverPlugin(DalamudPluginInterface pluginInterface)

MajorUpdater.Enable();
OtherConfiguration.Init();
ActionSequencerUpdater.Enable(pluginInterface.ConfigDirectory.FullName + "\\Conditions");
SocialUpdater.Enable();
_dis.Add(new Watcher());
_dis.Add(new MovingController());

Expand Down Expand Up @@ -103,8 +101,6 @@ public void Dispose()
_dis?.Clear();

MajorUpdater.Dispose();
ActionSequencerUpdater.SaveFiles();
SocialUpdater.Disable();

IconSet.Dispose();
OtherConfiguration.Save();
Expand Down
6 changes: 5 additions & 1 deletion RotationSolver/UI/RotationConfigWindow_Debug.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ private unsafe void DrawTargetData()
{
ImGui.Text("Kind: " + Service.TargetManager.Target.GetObjectKind().ToString());
ImGui.Text("SubKind: " + Service.TargetManager.Target.GetBattleNPCSubKind().ToString());

var owner = Service.ObjectTable.SearchById(Service.TargetManager.Target.OwnerId);
if(owner != null)
{
ImGui.Text("Owner: " + owner.Name.ToString());
}
}
if (Service.TargetManager.Target is BattleChara b)
{
Expand Down
5 changes: 5 additions & 0 deletions RotationSolver/Updaters/MajorUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ private static void FrameworkUpdate(Framework framework)
public static void Enable()
{
Service.Framework.Update += FrameworkUpdate;
ActionSequencerUpdater.Enable(Service.Interface.ConfigDirectory.FullName + "\\Conditions");

SocialUpdater.Enable();
}

static bool _work;
Expand Down Expand Up @@ -115,5 +118,7 @@ public static void Dispose()
{
Service.Framework.Update -= FrameworkUpdate;
PreviewUpdater.Dispose();
ActionSequencerUpdater.SaveFiles();
SocialUpdater.Disable();
}
}
52 changes: 0 additions & 52 deletions UpdateDownloads.ts

This file was deleted.

4 changes: 3 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ It is designed for `general combat`, not for savage or ultimate. So use it caref

After installing [Dalamud](https://goatcorp.github.io/), input `/xlplugins` command to the chat box. Add go to`Settings` -> `Experimental` -> `Custom Plugin Repositories`, add url here. Finally, save it.

`https://raw.githubusercontent.com/ArchiDog1998/RotationSolver/main/pluginmaster.json`
```
https://raw.githubusercontent.com/ArchiDog1998/Dalamud_Plugins/main/pluginmaster.json
```

![Add Url](assets/image-20230129154207892.png)

Expand Down
44 changes: 0 additions & 44 deletions pluginmaster.json

This file was deleted.

0 comments on commit e98e375

Please sign in to comment.