Fix throw health bug and minor ui polish

This commit is contained in:
David Kalatzis
2023-10-15 10:25:11 +03:00
parent 3f3f3f53de
commit f70a6086cd
5 changed files with 259 additions and 48 deletions

View File

@@ -32,8 +32,7 @@ public class ThrowState : State
if (player.attackFrames <= -1 && !player.hitstop)
{
ResetCombo(player.otherPlayer);
player.otherPlayer.player.PlayerUI.Damaged();
player.otherPlayer.player.PlayerUI.UpdateHealthDamaged(player.healthRecoverable);
player.otherPlayer.pushbox.active = true;
if (player.health <= 0)
EnterState(player.otherPlayer, "Death");