Commit b279f11e by BellCodeEditor

save project

parent bfc025e0
Showing with 1 additions and 1 deletions
...@@ -30,5 +30,5 @@ class Player(Hero): # 玩家英雄 ...@@ -30,5 +30,5 @@ class Player(Hero): # 玩家英雄
self.hero_type = hero_type self.hero_type = hero_type
print("角色"+self.name+"chuanjichenggong,yingmanlaixingwei:",self.hero_type) print("角色"+self.name+"chuanjichenggong,yingmanlaixingwei:",self.hero_type)
print("玩家的攻击力、血量、等级为:",self.attack,self.hp,self.level) print("玩家的攻击力、血量、等级为:",self.attack,self.hp,self.level)
player = Player("后羿") player = Player("后羿","辅助")
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