Commit 5ede3149 by BellCodeEditor

save project

parent fb191aba
Showing with 1 additions and 1 deletions
......@@ -39,7 +39,7 @@ class Player(Hero):
def cure(self): # 治疗
n = random.randint(30,50)
self.hp +=
self.hp += n
self.hp += random.randint(30,50)
if self.hp>self.max_hp:
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