mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
fix: buff time in DRKGauge is ushort
This commit is contained in:
parent
9fd0272d3d
commit
83a4fe1048
2 changed files with 6 additions and 5 deletions
|
|
@ -246,10 +246,11 @@ namespace Dalamud {
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
PluginRepository.CleanupPlugins();
|
this.PluginRepository.CleanupPlugins();
|
||||||
|
|
||||||
PluginManager = new PluginManager(this, this.StartInfo.PluginDirectory, this.StartInfo.DefaultPluginDirectory);
|
this.PluginManager =
|
||||||
PluginManager.LoadPlugins();
|
new PluginManager(this, this.StartInfo.PluginDirectory, this.StartInfo.DefaultPluginDirectory);
|
||||||
|
this.PluginManager.LoadPlugins();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ namespace Dalamud.Game.ClientState.Structs.JobGauge {
|
||||||
[StructLayout(LayoutKind.Explicit)]
|
[StructLayout(LayoutKind.Explicit)]
|
||||||
public struct DRKGauge {
|
public struct DRKGauge {
|
||||||
[FieldOffset(0)] public byte Blood;
|
[FieldOffset(0)] public byte Blood;
|
||||||
[FieldOffset(2)] public short DarksideTimeRemaining;
|
[FieldOffset(2)] public ushort DarksideTimeRemaining;
|
||||||
[FieldOffset(4)] private byte DarkArtsState;
|
[FieldOffset(4)] private byte DarkArtsState;
|
||||||
[FieldOffset(6)] public short ShadowTimeRemaining;
|
[FieldOffset(6)] public ushort ShadowTimeRemaining;
|
||||||
|
|
||||||
public bool HasDarkArts() {
|
public bool HasDarkArts() {
|
||||||
return DarkArtsState > 0;
|
return DarkArtsState > 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue