Commit bf6222be by BellCodeEditor

save project

parent ae568fb1
Showing with 5 additions and 5 deletions
......@@ -20,11 +20,11 @@ class Hero(object):
print(info)
exit()
def cure(self)
self.hp=self.hp=60
if self.hp=250:
self.hp=250
print(self.name+"加血",60,"現血"+self.hp)
def cure(self):
self.hp=self.hp=60
if self.hp = 250:
self.hp=250
print(self.name+"加血",60,"現血"+self.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