Bound Health Percent UI to Get Combat Character Health

This commit is contained in:
Philip W 2023-04-24 12:08:59 +01:00
parent fa3a811553
commit ba35cfd06e
3 changed files with 5 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -300,7 +300,7 @@ void ATurnBaseCombatV2::DamageEnemy(int Damage, FString DamageType)
void ATurnBaseCombatV2::UpdateProgressBars() const
{
PlayerHealthBar->SetPercent(*PlayerHealth / 100.0f);
//PlayerHealthBar->SetPercent(*PlayerHealth / 100.0f);
EnemyHealthBar->SetPercent(*EnemyHealth / 100.0f);
}