Commit 75853047 by BellCodeEditor

save project

parent ffd7f888
Showing with 5 additions and 2 deletions
......@@ -47,11 +47,14 @@ while True:
a = input("你要使用什么技能?(1攻击/2治疗/q退出)")
if a=='1':
houyi.combat(yase)
if a=='2':
elif a=='2':
houyi.cure()
if a=='q':
elif a=='q':
print("退出游戏")
exit()
else:
print("重新输入")
continue
b = random.randint(1,2)
if b==1:
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