Commit 7da4af84 by BellCodeEditor

save project

parent 89827d02
Showing with 5 additions and 1 deletions
...@@ -46,7 +46,7 @@ print(" 战斗开始") ...@@ -46,7 +46,7 @@ print(" 战斗开始")
while True: while True:
print("-"*30) print("-"*30)
c=input("请选择英雄技能:(1:攻击 2:治疗") c=input("请选择英雄技能:(1:攻击 2:治疗")
if c="a" if c=="a":
print("jesu") print("jesu")
dreak dreak
elif c=="1": elif c=="1":
...@@ -57,6 +57,10 @@ while True: ...@@ -57,6 +57,10 @@ while True:
print(1.2) print(1.2)
continue continue
num=random.randint(1,3) num=random.randint(1,3)
if num==1
yase.cure()
else:
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