Commit 02038803 by BellCodeEditor

save project

parent 36967aef
Showing with 2 additions and 16 deletions
...@@ -43,19 +43,4 @@ print('-'*30) ...@@ -43,19 +43,4 @@ print('-'*30)
print(' 战斗开始') print(' 战斗开始')
while True: while True:
print('-'*30) print('-'*30)
choice=input("请选择释放的技能(1/攻击,2/治疗,q/退出游戏,其余无效!):") choice=input("请选择释放的技能(1/攻击,2/治疗):")
if choice=="1": \ No newline at end of file
houyi.combat(yase)
elif choice=="2":
houyi.cure()
elif choice=="q":
break
else:
print("无效字符,请输入有效字符!")
continue
num=random.randint(1,3)
if num==1:
yase.combat(houyi)
else:
yase.cure()
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