Commit 8310a6d8 by BellCodeEditor

save project

parent 73a7ccc8
Showing with 1 additions and 0 deletions
...@@ -13,6 +13,7 @@ class Hero(object): ...@@ -13,6 +13,7 @@ class Hero(object):
if b.hp>0: if b.hp>0:
a3=b.name+'还剩下'+str(b.hp)+'血量,' a3=b.name+'还剩下'+str(b.hp)+'血量,'
a=a1+a2+a3 a=a1+a2+a3
print(a) print(a)
else: else:
a3='你的角色阵亡了' a3='你的角色阵亡了'
......
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