Commit 4dab5cb8 by BellCodeEditor

save project

parent 2d05f6ad
Showing with 1 additions and 1 deletions
...@@ -11,7 +11,7 @@ class Hero(object): ...@@ -11,7 +11,7 @@ class Hero(object):
infq1=self.name+"对"+enemay.name+"发起攻击" infq1=self.name+"对"+enemay.name+"发起攻击"
info2="造成"+str(self.attack)+"点成伤害," info2="造成"+str(self.attack)+"点成伤害,"
info3=enemay.name+"还剩下"+str(enemay.hp)+"血量" info3=enemay.name+"还剩下"+str(enemay.hp)+"血量"
info=info1+info2+info3 攻击 info=info1+info2+info3
print(info) print(info)
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