Commit a7439a90 by BellCodeEditor

save project

parent 22df3193
Showing with 17 additions and 0 deletions
......@@ -42,6 +42,23 @@ yase = Hero("垭瑟")
print("-"*20)
print( "come fight!")
print("-"*20)
import random
while True:
a=input("请选择(攻击1,治疗2):")
print("请选择(攻击1,治疗2):",a)
print("-"*20)
if print("1"):
houyi.combat(yase)
elif print("2"):
houyi.cure()
else:
print("重新选择技能")
if print("q"):
print("退出")
exit()
continue
print(random.randint(1,3))
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