Bound Health Percent UI to Get Combat Character Health
This commit is contained in:
parent
fa3a811553
commit
ba35cfd06e
BIN
Content/Blueprints/Combat_UI/BookCombat_UI.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/BookCombat_UI.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/CombatTutorial.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/CombatTutorial.uasset
(Stored with Git LFS)
Binary file not shown.
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user