Commit 06eb6574 by BellCodeEditor

save project

parent 8a860f93
Showing with 1 additions and 1 deletions
...@@ -14,7 +14,7 @@ class Hero(object): ...@@ -14,7 +14,7 @@ class Hero(object):
info3=enemy.name+"还剩下"+str(enemy.hp)+"血!" info3=enemy.name+"还剩下"+str(enemy.hp)+"血!"
info=info1+info2+info3 info=info1+info2+info3
else: else:
info3=enemy.name+"你没了!" info3=enemy.name+"你没了!游戏结束"
info=info1+info2+info3 info=info1+info2+info3
print(info) print(info)
yase = Hero("垭瑟") yase = 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