From 99b1763f4fcf0690eb1e94db3fb888784a28b785 Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Fri, 12 May 2023 16:51:06 +0100 Subject: [PATCH] Bugfix Changed Max Ammo for Resource Bars --- .../TurnBasedCombatV2/TurnBaseCombatV2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp index 9dd5f7c..9c80469 100644 --- a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp +++ b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp @@ -716,10 +716,10 @@ void ATurnBaseCombatV2::UpdateBattleLog() void ATurnBaseCombatV2::UpdateResourceBars() const { - ProbertiumResourceBar->SetPercent(ProbertiumResource / 10.0f); - EisResourceBar->SetPercent(EisResource / 10.0f); - AzosResourceBar->SetPercent(AzosResource / 10.0f); - IroquoidResourceBar->SetPercent(IroquoidResource / 10.0f); + ProbertiumResourceBar->SetPercent(ProbertiumResource / 20.0f); + EisResourceBar->SetPercent(EisResource / 20.0f); + AzosResourceBar->SetPercent(AzosResource / 20.0f); + IroquoidResourceBar->SetPercent(IroquoidResource / 20.0f); ToggleButtonIfResourceAvailable(); }