Commit 8dfec169 by BellCodeEditor

auto save

parent 6436d523
Showing with 2 additions and 6 deletions
...@@ -43,8 +43,6 @@ class Player(Hero): ...@@ -43,8 +43,6 @@ class Player(Hero):
self.hp=self.max_hp self.hp=self.max_hp
print(self.name+"使用了治疗,血量增加:", c,",目前的血量为:",self.hp) print(self.name+"使用了治疗,血量增加:", c,",目前的血量为:",self.hp)
houyi = Player("射手", "后羿") houyi = Player("射手", "后羿")
yase = Hero("垭瑟") yase = Hero("垭瑟")
print('-'*30) print('-'*30)
...@@ -65,6 +63,4 @@ while True: ...@@ -65,6 +63,4 @@ while True:
if b=="1": if b=="1":
yase.cure() yase.cure()
else: else:
yase.combat(houyi) yase.combat(houyi)
\ No newline at end of file
\ No newline at end of file
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