feat: monster card
This commit is contained in:
parent
3220f4937f
commit
46e4ba0fbb
5 changed files with 125 additions and 85 deletions
|
|
@ -21,7 +21,7 @@ func show_monster(monster: MatchMonster):
|
|||
return
|
||||
|
||||
name_label.text = monster.card.id
|
||||
health_label.text = "HP %d" % [monster.health]
|
||||
health_label.text = "HP %d/%d" % [monster.health, monster.card.base_health]
|
||||
icon_texture_rect.texture = monster.card.icon
|
||||
|
||||
paper_damage.text = str(monster.card.paper)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue