Commit 91f94997 by BellCodeEditor

save project

parent e781807f
Showing with 2 additions and 0 deletions
......@@ -27,6 +27,8 @@ class Player(Hero):
super().__init__(name)
self.hp = 2000000000000000000000000000000000000000000000000000000000000000000000000
self.attack = 500000000000000000000000000000000000000000000000000000000000000000000000000000000000
print("角色"+self.name+"类型",self.hero_type)
print("等级,血量,伤害",self.level,self.hp,self.attack)
player = player("狗哥")
print("玩家的血量",playerm.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