Updated Combat UI to Make Extra Turn More Readable

This commit is contained in:
Philip W 2023-05-09 13:29:52 +01:00
parent e1027d5d8e
commit 2638e71f97
3 changed files with 13 additions and 3 deletions

Binary file not shown.

View File

@ -141,10 +141,13 @@ void ATurnBaseCombatV2::CombatCheck(const bool bWasShot)
{
//bEnemyHasExtraTurn = true;
SwitchTurn();
return;
}
else if (Cast<ATempCharacter>(PlayerActor)->ReactionSpeed > *EnemyReactionSpeedPtr && bWasShot)
{
TurnIndicatorTextBlock->SetText(FText::FromString("Player Turn\nExtra"));
bPlayerHasExtraTurn = true;
return;
}
TurnIndicatorTextBlock->SetText(FText::FromString("Player Turn"));
}
@ -363,8 +366,12 @@ void ATurnBaseCombatV2::ExecuteCast(FString Combo)
{
SwitchTurn();
}
else
{
TurnIndicatorTextBlock->SetText(FText::FromString("Player Turn"));
bPlayerHasExtraTurn = false;
}
}
void ATurnBaseCombatV2::UseActionPoint()
{

BIN
UI designs/Coins.png (Stored with Git LFS) Normal file

Binary file not shown.