Commit efe79917 by BellCodeEditor

auto save

parent 7dacf4a3
Showing with 3 additions and 2 deletions
......@@ -28,9 +28,10 @@ class Player(Hero): # 玩家英雄
self.hp = 2000000000000000000000000000000000000000000000000000000000000000000000000000000000
self.attack = 10000000000000000000000000000000000000
self.hero_type=hero_type
print("角色"+self.name+"成功,类型",self.hero_type)
print("当等,血,攻是:",self.level,self.hp,self.attack)
player = Player("wk","ys")
print("角色"+player.name+"成功,类型",player.hero_type)
print("当等,血,攻是:",player.level,player.hp,player.attack)
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