Commit e5cf805c by BellCodeEditor

save project

parent b20ea04e
Showing with 1 additions and 1 deletions
......@@ -18,7 +18,7 @@ class Hero(object):
def cure(self):
self.hp=60
if self.hp>self.max_hp:
self.hp>self.max_hp
self.hp=self.max_hp
class Player(Hero):
def __init__(self, name,hero_type):
......
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