From 2bfc12b7d01d69ece575bd14b886a74648eebd97 Mon Sep 17 00:00:00 2001 From: Johnthesuper117 Date: Tue, 4 Feb 2025 12:03:50 -0500 Subject: [PATCH] Update main.py --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index c42a265..59d9fe9 100644 --- a/main.py +++ b/main.py @@ -17,6 +17,7 @@ time.sleep(3) #set up variables +attack = "" HP1 = 1000 #player health HP2 = 1000 #bot health SP1 = 2 #player stamina @@ -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: