Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnthesuper117 authored Feb 4, 2025
1 parent 0abab22 commit 2bfc12b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
time.sleep(3)

#set up variables
attack = ""
HP1 = 1000 #player health
HP2 = 1000 #bot health
SP1 = 2 #player stamina
Expand Down Expand Up @@ -93,7 +94,7 @@
print("Player's turn")
armor1 = False #player has armor ready
barrier1 = False #player has barrier ready
while attack != end:
while attack != "end":
attack = input("\nEnter attack:\n")
if str(attack.capitalize()) == "Sword" and str(attack.capitalize()) == str(moveset1[0].capitalize()):
if armor2 == False:
Expand Down

0 comments on commit 2bfc12b

Please sign in to comment.