Commit 7bb3ad12 by BellCodeEditor

auto save

parent fa7eaaed
Showing with 3 additions and 0 deletions
...@@ -5,6 +5,9 @@ class Hero: # 英雄类 ...@@ -5,6 +5,9 @@ class Hero: # 英雄类
self.hp = 250 self.hp = 250
self.attack = 40 self.attack = 40
self.max_hp = self.hp self.max_hp = self.hp
def cure()
def combat(self, enemy): # 攻击功能 def combat(self, enemy): # 攻击功能
......
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