From f1572374f5738b5cb60ead69d03866f9b2bd8242 Mon Sep 17 00:00:00 2001 From: iisaev Date: Sat, 24 Oct 2026 10:01:06 +0200 Subject: [PATCH] Battle HUD: extra unit gauges (MP and others from BattleUnitGauges) under the HP bar Co-Authored-By: Claude Opus 5.5 --- src/UI/FFCharacterWidget.cs | 82 +++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/src/UI/FFCharacterWidget.cs b/src/UI/FFCharacterWidget.cs index c3edc35..444c2a7 100644 --- a/src/UI/FFCharacterWidget.cs +++ b/src/UI/FFCharacterWidget.cs @@ -1,5 +1,7 @@ using System; +using System.Collections.Generic; using System.Linq; +using Cthangover.Core.Battle; using Cthangover.Core.Cards.StatusEffect; using Cthangover.Core.Characters; using Cthangover.Core.Mods.Resolvers; @@ -54,6 +56,8 @@ namespace Cthangover.FFBattle.UI private TextureRect _stunIcon; private Label _stunLabel; private Tween _animTween; + private VBoxContainer _gaugesBox; + private bool _gaugesSubscribed; private static Shader _dissolveShader; /// Whether this widget belongs to the player party (affects highlight/targeting logic). @@ -89,6 +93,13 @@ namespace Cthangover.FFBattle.UI _stunLabel = GetNode