Commit a8a386ae by BellCodeEditor

auto save

parent cb718e5e
Showing with 2 additions and 2 deletions
...@@ -9,8 +9,8 @@ class Hero(object): ...@@ -9,8 +9,8 @@ class Hero(object):
def combat(self,enemy): def combat(self,enemy):
enemy.hp -= self.attack enemy.hp -= self.attack
info1 = self.name + '对' enemy.name + '发出攻击,' info1 = self.name + '对' enemy.name + '发出攻击,'
info2 = '造成' + str(self.attack) + '真实' info2 = '造成' + str(self.attack) + '真实伤害'
def enemy.hp
......
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