From f53c98b08787e03283f5d0b9d139ba3e7b097472 Mon Sep 17 00:00:00 2001 From: Raymond Date: Fri, 3 Dec 2021 23:51:13 -0500 Subject: [PATCH] ASTGauge: split drawn card --- Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs | 8 +++++++- lib/FFXIVClientStructs | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs b/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs index 45175344f..14b2ff19f 100644 --- a/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs +++ b/Dalamud/Game/ClientState/JobGauge/Types/ASTGauge.cs @@ -22,7 +22,13 @@ namespace Dalamud.Game.ClientState.JobGauge.Types /// Gets the currently drawn . /// /// Currently drawn . - public CardType DrawnCard => (CardType)this.Struct->Card; + public CardType DrawnCard => (CardType)(this.Struct->Card & 0xF); + + /// + /// Gets the currently drawn crown . + /// + /// Currently drawn crown . + public CardType DrawnCrownCard => (CardType)(this.Struct->Card - (this.Struct->Card % 10)); /// /// Check if a is currently active on the divination gauge. diff --git a/lib/FFXIVClientStructs b/lib/FFXIVClientStructs index d578045be..306695be6 160000 --- a/lib/FFXIVClientStructs +++ b/lib/FFXIVClientStructs @@ -1 +1 @@ -Subproject commit d578045bea85822bdf7853d3182c5b28d6fffd1c +Subproject commit 306695be6ad489d1f596c1d5fa8db9206b742189