Commit 8c757fee by BellCodeEditor

save project

parent 9f23d95b
Showing with 5 additions and 2 deletions
......@@ -50,8 +50,10 @@ print(" 战斗开始")
print("-"*50)
while True:
a=input("请选择要释放的技能:攻击按1,治疗按2")
b=random.randint(0,2)
a=input("请选择要释放的技能:攻击按1,治疗按2:")
b=random.randint(1,2)
if a=="q":
break
if a==1:
houyi.combat(yase)
if a==2:
......@@ -60,3 +62,4 @@ while True:
yase.combat(houyi)
if b==2:
yase.cure()
print("-"*50)
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