Commit 4ae4a2b7 by BellCodeEditor

save project

parent 47323d8b
Showing with 2 additions and 4 deletions
...@@ -25,8 +25,6 @@ class Player (Hero): ...@@ -25,8 +25,6 @@ class Player (Hero):
print("角色:" + self.name + "创建成功") print("角色:" + self.name + "创建成功")
print("角色的,等级,血量,攻击力 为:"+" "+str(self.level)+" "+str(self.hp)+" "+str(self.attack)) print("角色的,等级,血量,攻击力 为:"+" "+str(self.level)+" "+str(self.hp)+" "+str(self.attack))
yase = Hero("垭瑟") yase = Hero("垭瑟")
houyi = Player("后羿") houyi = Player("后羿")
yase.combat(houyi) yase.combat(houyi)
\ No newline at end of file
\ 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