Commit 24655ded by BellCodeEditor

save project

parent ba6fe960
Showing with 3 additions and 2 deletions
......@@ -7,4 +7,6 @@ class Hero: # 狗类
def combat(self,enemy):
enemy.hp-=self.attack
info1=self.name+
\ No newline at end of file
class play(Hero):
def __init__(self,name):
super().__init__(name)
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