Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,10 @@ def battle_player_card():
|
|
87 |
if player_data["Attack"] > monster_data["Defense"]:
|
88 |
st.success("You defeated the monster!")
|
89 |
# Increase player's Health Tokens
|
90 |
-
player_data["Health Tokens"] += 1
|
|
|
|
|
|
|
91 |
else:
|
92 |
st.error("The monster defeated you.")
|
93 |
save_data()
|
|
|
87 |
if player_data["Attack"] > monster_data["Defense"]:
|
88 |
st.success("You defeated the monster!")
|
89 |
# Increase player's Health Tokens
|
90 |
+
# player_data["Health Tokens"] += 1
|
91 |
+
# Increase player's Health Tokens and add an additional heart emoji
|
92 |
+
player_data["Health Tokens"] += "β€οΈ"
|
93 |
+
|
94 |
else:
|
95 |
st.error("The monster defeated you.")
|
96 |
save_data()
|