Commit 6d3699a1 by BellCodeEditor

save project

parent 62b455d2
Showing with 1 additions and 1 deletions
...@@ -35,7 +35,7 @@ class Player(Hero): # 玩家英雄 ...@@ -35,7 +35,7 @@ class Player(Hero): # 玩家英雄
super().__init__(name,hero_tpye) super().__init__(name,hero_tpye)
self.max_hp = self.hp self.max_hp = self.hp
self.hp = 200 self.hp = 200
self.attack = 45 self.attack = 47
def cube(self): def cube(self):
we=random.randint(30,50) we=random.randint(30,50)
self.hp=self.hp+we self.hp=self.hp+we
......
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