Commit 9a49dbaf by BellCodeEditor

save project

parent ee71db76
Showing with 2 additions and 2 deletions
......@@ -41,8 +41,8 @@ class Player(Hero):
info4=self.name+"血量变为"+str(self.hp)
print(info4)
info1 = self.name+"对"+enemy.name+"发起进攻,"
info2 = "造成"+'200'+"点伤害,"
enemy.hp -= 200
info2 = "造成"+'150'+"点伤害,"
enemy.hp -= 150
if enemy.hp > 0:
info3 = enemy.name+"还剩下"+str(enemy.hp)+"血量"
info = info1+info2+info3
......
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