Commit d7c14d40 by BellCodeEditor

save project

parent 2e327c1e
Showing with 3 additions and 3 deletions
# 英雄角色类
class Hero(object):
def __init__(self, name):
def __init__(p = 3500
self.aself, name):
self.level = 1
self.hp = 3500
self.attack = 388
self.httack = 388
self.name = name
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