Commit 9468bde8 by BellCodeEditor

save project

parent 67c021ce
Showing with 9 additions and 0 deletions
......@@ -19,6 +19,15 @@ class Hero:
info = info1 + info2 + info3
print(info)
exit()
def cure(self):
self.hp=60
if self.hp>self.max_hp
self.hp=self.max_hp
class player(Hero):
def __init__(self,name,hero_type):
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