Commit 4694544c by BellCodeEditor

save project

parent 221b204c
Showing with 1 additions and 1 deletions
...@@ -33,7 +33,7 @@ class Player(Hero): # 玩家英雄 ...@@ -33,7 +33,7 @@ class Player(Hero): # 玩家英雄
print("玩家的血量值为:",self.hp) print("玩家的血量值为:",self.hp)
print("玩家的攻击力为:",self.attack) print("玩家的攻击力为:",self.attack)
print("玩家的职业为:",self.zhiye) print("玩家的职业为:",self.zhiye)
print("玩家的名字为:",self.name)
houyi = Player("后羿","射手") houyi = 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