Commit 87b371ce by BellCodeEditor

save project

parent da60e227
Showing with 1 additions and 1 deletions
......@@ -4,7 +4,7 @@ class Hero(object):
self.level = 1
self.hp = 3500
self.attack = 388
self.name = name
self.name = nameWindows PowerShell
def combat(self,enemy): # 攻击
enemy.hp -= self.attack
......
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