Commit ffd7f888 by BellCodeEditor

save project

parent 83dc60d2
Showing with 6 additions and 1 deletions
......@@ -27,7 +27,7 @@ class Hero(object):
info = info1+info2+info3
print(info)
exit()
def shengji(self)
#def shengji(self)
class Player(Hero):
def __init__(self,hero_type,name):
super().__init__(name)
......@@ -52,6 +52,11 @@ while True:
if a=='q':
print("退出游戏")
exit()
b = random.randint(1,2)
if b==1:
yase.combat(houyi)
if b==2:
yase.cure()
# b = random.randid
# houyi.combat(yase)
# 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