Commit 23f25a56 by BellCodeEditor

save project

parent 61282325
Showing with 3 additions and 0 deletions
...@@ -47,8 +47,11 @@ while True: ...@@ -47,8 +47,11 @@ while True:
time.sleep(0.5) time.sleep(0.5)
c = input('请选择释放英雄技能(1攻击/2治疗):') c = input('请选择释放英雄技能(1攻击/2治疗):')
if c == '1' or c == '攻击': if c == '1' or c == '攻击':
time.sleep(0.5)
houyi.combat(yase) houyi.combat(yase)
elif c == '2' or c == '治疗': elif c == '2' or c == '治疗':
time.sleep(0.5)
houyi.cure() houyi.cure()
else: else:
time.sleep(0.5)
print('输入错误!') print('输入错误!')
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