Commit a8aa47b8 by BellCodeEditor

save project

parent 52495b38
Showing with 1 additions and 1 deletions
......@@ -28,7 +28,7 @@ class Player(Hero): # 玩家英雄
self.hp=300
self.attack=200
self.hero_type=hero_type
print("英雄",yingself.name=name,"创建成功,英雄类型为",self.hero_type=hero_type)
print("英雄",yingself.name,"创建成功,英雄类型为",self.hero_type)
print("攻击力","血量","等级",self.attack,self.hp,self.leve)
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