Commit ae030e74 by BellCodeEditor

save project

parent 0b52b39b
Showing with 2 additions and 1 deletions
......@@ -30,6 +30,6 @@ class Player(Hero): # 玩家英雄
self.attack=50
self.hero_type=hero_type
print("角色"+self.name+"成功,类型是",self.hero_type)
print("level,hp,attack:")
print("level,hp,attack:",self.level,self.hp,self.attack)
houyi=Player("后羿","射手")
yase=Hero("垭瑟")
\ No newline at end of file
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