Commit 03d4303b by BellCodeEditor

save project

parent 3fe028c3
Showing with 1 additions and 1 deletions
......@@ -29,7 +29,7 @@ class Player(Hero): # 玩家英雄
self.attack=673
print("角色"+self.name+'创建成功,英雄类型为: 法师')
print("玩家的攻击力,血量,等级为:",player.attack,player.hp,player.level)
print("玩家的攻击力,血量,等级为:"+str(self.attack)+str(self.hp)+str(self.level))
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