Commit 6e08c501 by BellCodeEditor

save project

parent 90c6069c
Showing with 2 additions and 15 deletions
......@@ -44,18 +44,4 @@ print('*' * 30)
print('战斗开始')
while True:
print('*' * 30)
manuy=input('开始攻击(1攻击)(2治疗)')
if manuy == "1":
houyi.combat(yase)
elif manuy == "2":
houyi.cure()
elif manuy =="q":
break
else:
print("请重新输入")
continue
num=random.randint(1,3)
if num == "1":
yase.cure()
else:
yase.combat(houyi)
input('开始攻击(1攻击)(2治疗)')
\ 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