Commit bf6222be by BellCodeEditor

save project

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