Commit 2328ab89 by BellCodeEditor

save project

parent 3ca16a0b
Showing with 2 additions and 1 deletions
......@@ -26,6 +26,6 @@ class Player(Hero): # 玩家英雄
def __init__(self,name):
super().__init__(name)
print("英雄"+str(name)+"创建成功")
print("等级:"+str(self.level),"血量:"+str(self.hp),"攻击力:"+(self.attack))
print("等级:"+str(self.level),"血量:"+str(self.hp),"攻击力:"+str(self.attack))
player = Player("后羿")
\ 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