Commit 079d0edf by BellCodeEditor

auto save

parent b17c906a
Showing with 2 additions and 2 deletions
...@@ -11,11 +11,11 @@ class Hero(object): ...@@ -11,11 +11,11 @@ class Hero(object):
a2='搞出来' + str( self.attack) + '的伤害,' a2='搞出来' + str( self.attack) + '的伤害,'
enemy.hp-=self.attack enemy.hp-=self.attack
if enemy.hp > 0 : if enemy.hp > 0 :
a3=enemy.name + '还剩一点点血:' +str(enemy.hp) a3=enemy.name + '还剩一点点血:' +str(enemy.hp)+'(亚哥,不要啦)'
a=a1+a2+a3 a=a1+a2+a3
print(a) print(a)
else: else:
a3=enemy.name+'被黑人抬走了' a3=enemy.name+'被黑人抬走了(亚哥,我恨你)'
a=a1+a2+a3 a=a1+a2+a3
print(a) print(a)
exit() exit()
......
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