Commit 50e41f37 by BellCodeEditor

save project

parent 85ff9807
Showing with 2 additions and 0 deletions
......@@ -40,6 +40,8 @@ class Player(Hero):
print('-'*30)
print(' 战斗开始')
def cure(self):
c = random randint(0,250)
c=random.randint(35,50)
self.hp+=c
if self.hp>self.max_hp:
......
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