Commit 47323d8b by BellCodeEditor

save project

parent e9561dc9
Showing with 2 additions and 3 deletions
......@@ -22,9 +22,8 @@ class Player (Hero):
super().__init__(name)
self.hp = 200
self.attack = 45
self.Hero name = Hero name
print("")
print("请打印英雄的名字 血量 伤害"self.Hero,self.hp,self.attack)
print("角色:" + self.name + "创建成功")
print("角色的,等级,血量,攻击力 为:"+" "+str(self.level)+" "+str(self.hp)+" "+str(self.attack))
yase = Hero("垭瑟")
......
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