Commit 45ec5723 by BellCodeEditor

save project

parent 4ed635ad
Showing with 4 additions and 3 deletions
......@@ -19,9 +19,10 @@ class Hero():
print(info)
exit()
class Player(Hero):
super().__init__(name)
name.hp -= 50
name.attack += 20
def __init__(self,name):
super().__init__(name)
name.hp -= 50
name.attack += 20
yase = Player("垭瑟")
houyi= Hero("后羿")
while True:
......
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