Commit f0dd6591 by BellCodeEditor

save project

parent ed0cb385
Showing with 1 additions and 0 deletions
......@@ -5,6 +5,7 @@ class Hero: # 英雄类
self.hp = 250
self.attack = 40
self.max_hp = self.hp
print("*")*30
print("英雄"+name+"创建成功"
print("初始等级"+str(self.level))
print("血量"+str(self.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