Updated Combat UI to Make Extra Turn More Readable
This commit is contained in:
parent
e1027d5d8e
commit
2638e71f97
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.
@ -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
BIN
UI designs/Coins.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user