feat: damage incoming -> HP +-
This commit is contained in:
parent
abd2feaab8
commit
728d848e5b
2 changed files with 11 additions and 13 deletions
|
|
@ -80,7 +80,7 @@ func _on_update(transition):
|
|||
if monster:
|
||||
monster_card_ui.visible = true
|
||||
monster_card_ui.show_monster(monster)
|
||||
incoming_damage_label.text = "Incoming Damage: " + str(monster.health_delta)
|
||||
incoming_damage_label.text = "HP " + ("+0" if monster.health_delta == 0 else str(monster.health_delta))
|
||||
|
||||
else:
|
||||
monster_card_ui.visible = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue