mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +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
|
|
@ -9,9 +9,9 @@ namespace Dalamud.Game.ClientState.Structs.JobGauge {
|
|||
[StructLayout(LayoutKind.Explicit)]
|
||||
public struct DRKGauge {
|
||||
[FieldOffset(0)] public byte Blood;
|
||||
[FieldOffset(2)] public short DarksideTimeRemaining;
|
||||
[FieldOffset(2)] public ushort DarksideTimeRemaining;
|
||||
[FieldOffset(4)] private byte DarkArtsState;
|
||||
[FieldOffset(6)] public short ShadowTimeRemaining;
|
||||
[FieldOffset(6)] public ushort ShadowTimeRemaining;
|
||||
|
||||
public bool HasDarkArts() {
|
||||
return DarkArtsState > 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue