Commit 94159b44 by BellCodeEditor

save project

parent 184d6dd3
Showing with 16 additions and 1 deletions
......@@ -42,4 +42,19 @@ print('-'*30)
print("战斗开始")
while True:
print('-'*30)
cout=input("请选择释放英雄技能(1攻击/2治疗):")
choie=input("请选择释放英雄技能(1攻击/2治疗):")
if choie == "q":
break
elif choie == "1":
houyi=combat(yase)
elif choie == "2":
houyi=cute()
else:
print("请重新输入1或者2!")
continue
serty=random.ranint(1,3)
if serty==1:
yase.cute()
else:
yase.combat(houyi)
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