Commit 8180d9be by BellCodeEditor

auto save

parent c01de1a6
Showing with 4 additions and 1 deletions
......@@ -21,10 +21,13 @@ class Hero: # 英雄类
print(info)
exit()
class Player(Hero):
def __init__(self,name):
def __init__(self,name,wr):
super().__init__(name)
self.hp = 200
self.attack = 100
self.wr=wr
print("英雄,")
print()
......
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