Commit 866637bc by BellCodeEditor

save project

parent 1f84333b
Showing with 2 additions and 1 deletions
......@@ -27,7 +27,8 @@ class Player(Hero): # 玩家英雄
super().__init__(name)
self.attack=50
self.hp=200
print(self.name+'创建成功,'+self.name+'为射手')
self.XX=XX
print(self.name+'创建成功,'+self.name+'为'+self.XX)
print('当前等级为、血量、攻击力分别为:',self.level,self.hp,self.attack)
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