Commit dbe9a493 by BellCodeEditor

save project

parent 55173fad
Showing with 2 additions and 2 deletions
......@@ -12,8 +12,8 @@ class Hero(object):
info = self.name + "使用一技能对" + enemy.name + "造成" + str(self.attack) + "点伤害," + enemy.name + "血量还剩下" + str(enemy.hp)
else:
info = self.name + "使用一技能对" + enemy.name + "造成" + str(self.attack) + "点伤害," + enemy.name + "已阵亡"
print(info + "游戏结束")
exit()
print(info + "游戏结束")
exit()
yase = Hero("垭瑟")
houyi= 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