Commit c0db69c0 by BellCodeEditor

auto save

parent 153e708f
Showing with 2 additions and 17 deletions
......@@ -50,20 +50,4 @@ houyi = Player("射手", "后羿")
yase = Hero("垭瑟")
while True:
print('-'*30)
choise=input("请选择释放英雄技能(1攻击/2治疗)")
if choise=="q":
print("游戏结束")
break
elif choise=="1":
houyi
elif choise=="2":
houyi
else:
print("请重新输入")
continue
num=random.randint(1,3)
if num==1:
yase
else:
yase
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