Commit 0688c346 by BellCodeEditor

auto save

parent ee01c2b9
Showing with 2 additions and 2 deletions
...@@ -11,12 +11,12 @@ class Hero(object): ...@@ -11,12 +11,12 @@ class Hero(object):
sas=self.name+"对"+vvv.name+"发起攻击," sas=self.name+"对"+vvv.name+"发起攻击,"
ses="造成"+str(self.attack)+"的伤害," ses="造成"+str(self.attack)+"的伤害,"
if vvv.hp > 0: if vvv.hp > 0:
sos=vvv.name+"还剩下"+str(vvv.hp)+"血量..." sos=vvv.name+"还剩下"+str(vvv.hp)+"血量。。。"
print(sas+ses+sos) print(sas+ses+sos)
else: else:
sos=vvv.name+"阵亡" sos=vvv.name+"阵亡"
print(sas+ses+sos) print(sas+ses+sos)
exit() exit()
yase = Hero("垭瑟") yase = 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