Commit 4092bb33 by BellCodeEditor

save project

parent 2565b4b3
Showing with 7 additions and 2 deletions
...@@ -19,4 +19,9 @@ class Hero(object): ...@@ -19,4 +19,9 @@ class Hero(object):
yase = Hero("垭瑟") yase = Hero("垭瑟")
houyi= Hero("后羿") houyi= Hero("后羿")
yase.combat(houyi) yase.combat(houyi)
\ No newline at end of file
else:
ifo3 = enemy.name+"阵亡,游戏结束"
info3 = info1+info2+info3print(info)
exit()
\ 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