Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,8 @@ def battle_player_card():
|
|
109 |
return
|
110 |
player_data = PLAYERS[selected_player]
|
111 |
shuffle_monsters()
|
112 |
-
monster_data = MONSTERS[selected_monster]
|
|
|
113 |
if player_data["Attack"] > monster_data["Defense"]:
|
114 |
st.success("You defeated the monster!")
|
115 |
# Increase player's Health Tokens
|
|
|
109 |
return
|
110 |
player_data = PLAYERS[selected_player]
|
111 |
shuffle_monsters()
|
112 |
+
#monster_data = MONSTERS[selected_monster]
|
113 |
+
monster_data = selected_monster
|
114 |
if player_data["Attack"] > monster_data["Defense"]:
|
115 |
st.success("You defeated the monster!")
|
116 |
# Increase player's Health Tokens
|