awacke1 commited on
Commit
ea0f961
Β·
1 Parent(s): f51e7e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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