Commit 30736ede by BellCodeEditor

save project

parent f4f16125
Showing with 0 additions and 1 deletions
...@@ -23,7 +23,6 @@ class Hero(object): ...@@ -23,7 +23,6 @@ class Hero(object):
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
print(self.name+"加血",60,"現血"+self.hp) print(self.name+"加血",60,"現血"+self.hp)
class Player(Hero): class Player(Hero):
......
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