From f80f5f21ef8ea9e4c69c673c305af74296726763 Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Tue, 31 Jan 2023 01:02:03 +0000 Subject: [PATCH] Bugfix Action Point Count Down --- .../the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp index c0edfb8..4fb30da 100644 --- a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp +++ b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp @@ -317,7 +317,7 @@ void ATurnBaseCombatV2::UpdateComboString(FString NewCombo) const void ATurnBaseCombatV2::UpdateActionPoints() const { - ActionPointsTextBlock->SetText(FText::FromString(FString::FromInt(ActiveActionPoints))); + ActionPointsTextBlock->SetText(FText::FromString(FString::FromInt(DefaultActionPoints - ActiveActionPoints))); } void ATurnBaseCombatV2::AddBattleLogMessage(FString Message)