Commit 467e169e by BellCodeEditor

save project

parent c12284df
Showing with 4 additions and 3 deletions
...@@ -38,7 +38,7 @@ while True: ...@@ -38,7 +38,7 @@ while True:
print('-'*30) print('-'*30)
a = input("(1攻击,2加血)") a = input("(1攻击,2加血)")
if a=="1": if a=="1":
houyi:combut(yase) houyi.combat(yase)
elif a=="2": elif a=="2":
houyi.cure() houyi.cure()
elif a=="q": elif a=="q":
...@@ -48,7 +48,7 @@ while True: ...@@ -48,7 +48,7 @@ while True:
continue continue
b=random.randint(1,3) b=random.randint(1,3)
if b==2: if b==2:
yese.cure() yase.cure()
else: else:
yese.combat(houyi) yase.combat(houyi)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment