Commit 80f1ce75 by BellCodeEditor

save project

parent ce9bbfe5
Showing with 4 additions and 7 deletions
......@@ -3,7 +3,7 @@ class Hero(object):
def __init__(self, name):
self.name = name
self.level = 1
self.hp = 250
self.hp = 300
self.attack = 40
self.jia=60
self.max_hp = self.hp
......@@ -56,12 +56,9 @@ while True:
exit()
else:
print("输入错误,请重新输入!")
continue
jkl=random.randint(1,3)
if jkl==1:
yase.cure()
else:
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