Commit f927de84 by BellCodeEditor

save project

parent 4fdc810c
Showing with 0 additions and 1 deletions
...@@ -12,7 +12,6 @@ class Hero(object): ...@@ -12,7 +12,6 @@ class Hero(object):
i2='造成'+str(self.attack)+'点伤害,' i2='造成'+str(self.attack)+'点伤害,'
i3=enemy.name+'还剩下'+str(enemy.hp)+'点血量' i3=enemy.name+'还剩下'+str(enemy.hp)+'点血量'
i=i1+i2+i3 i=i1+i2+i3
print(i)
if enemy.hp>0: if enemy.hp>0:
print(i) print(i)
else: else:
......
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