Commit 7baa5cff by BellCodeEditor

save project

parent cbd75bfc
Showing with 1 additions and 1 deletions
......@@ -30,5 +30,5 @@ class Player(Hero): # 玩家英雄
self.attack = 50
self.hero_type=hero_type
player = Player("后羿")
print("角色"+self.name+"创建成功,英雄类型为"):
print("角色"+self.name+"创建成功,英雄类型为:"self.hero_type)
print(self.level,hp,attack:1 2900 749)
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