Commit 182aff92 by BellCodeEditor

save project

parent da60e227
Showing with 4 additions and 4 deletions
# 英雄角色类
class Hero(object):
def __init__(self, name):
self.level = 1
self.hp = 3500
self.attack = 388
self.name = name
self.level = 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
self.hp = 350000000009999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
self.name = name0
self.attack = 38899999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
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