Commit 4d899b57 by BellCodeEditor

save project

parent 84ab58a6
Showing with 7 additions and 0 deletions
import random
class Hero(object):
def __init__(self, name):
self.name = name
......@@ -51,3 +52,8 @@ while True:
print("游戏借宿")
else:
print("请重新输入")
b=random.randint(1,2)
if b==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