Commit 5f49ebd7 by BellCodeEditor

save project

parent 4d59485f
Showing with 28 additions and 4 deletions
......@@ -45,17 +45,41 @@ while True:
print("-"*45)
choin=input("请选择英雄释放技能(攻击:1 治疗:2)")
if choin=="q":
print("退出游戏")
print("游戏结束")
break
elif choin=="1":
houyi.combat(yase)
elif choin=="2":
houyi.cure()
else:
print("请重新输入1或2")
print("请重新输入1或2.")
continue
nom=random.randint(1,3)
if nom==1:
yase.combat(houyi)
else:
yase.cure()
\ No newline at end of file
yase,cure()
\ 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