Commit cf23ceae by BellCodeEditor

save project

parent cbdc39a3
Showing with 8 additions and 3 deletions
import random
class Hero(object):
def __init__(self, name):
......@@ -57,4 +57,9 @@ while True:
elif choice == "2":
houyi.cure()
else:
print("输错了,请重新输入:")
\ No newline at end of file
print("输错了,请重新输入:")
status = random.randint(1,3)
if status == 1:
yase.combat(houyi)
else:
yase.cure()
\ No newline at end of file
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