This commit is contained in:
aozhiwei 2024-01-23 16:19:40 +08:00
parent d75a71170d
commit 2bb5ecf8b6

View File

@ -273,7 +273,7 @@ class Hero(object):
['offer_reward_state', 0, '是否悬赏中'],
['tags', '', '1Gen状态'],
['!avatarInfo', [AvatarInfo()], '装饰信息'],
['ability', Ability(), '属性'],
]
class LevelingHero(object):
@ -389,6 +389,17 @@ class ItemPriceInfo(object):
['price_info', PriceInfo(), '价格信息'],
]
class Ability(object):
def __init__(self):
self.fields = [
['hp', 0, '血量'],
['attack', 0, '攻击'],
['defence', 0, '防御'],
['block', 0, '格挡'],
['critical', 0, '暴击'],
]
class GoodsInfo(object):
def __init__(self):