Commit a50d3c08 by BellCodeEditor

save project

parent b353e029
Showing with 20 additions and 1 deletions
...@@ -44,4 +44,23 @@ print(30 * '-') ...@@ -44,4 +44,23 @@ print(30 * '-')
print(' open') print(' open')
while True: while True:
print(30 * '-') print(30 * '-')
choice = ("技能:") choice = input("技能:")
if choice == "q":
print("结束")
break
elif choice == "1":
yase.combat(houyi)
elif choice == "2":
yase.cure()
else:
print("重输1,2")
choice
status = random.randint(1,3)
if status == 1:
houyi.cure()
else:
houyi.combat(yase)
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