Commit 8e38ee5a by BellCodeEditor

save project

parent 856ed557
Showing with 2 additions and 3 deletions
...@@ -43,8 +43,8 @@ print("🙂"*30) ...@@ -43,8 +43,8 @@ print("🙂"*30)
print(" 战斗开始") print(" 战斗开始")
while True: while True:
print("🙂"*30) print("🙂"*30)
kill=input("请选择释放英雄技能(1 攻击/2 治疗):") kill=input("请选择释放英雄技能(1 攻击/2 治疗/p 放弃):")
if kill == "p" if kill == "p":
break break
if kill == "2": if kill == "2":
...@@ -52,7 +52,6 @@ while True: ...@@ -52,7 +52,6 @@ while True:
if kill == "1": if kill == "1":
houyi.combat(yase) houyi.combat(yase)
else: else:
print("鬼")
continue continue
pkill = random.randint(1,2) pkill = random.randint(1,2)
if pkill == 1: if pkill == 1:
......
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