1
This commit is contained in:
parent
d75a71170d
commit
2bb5ecf8b6
@ -273,7 +273,7 @@ class Hero(object):
|
|||||||
['offer_reward_state', 0, '是否悬赏中'],
|
['offer_reward_state', 0, '是否悬赏中'],
|
||||||
['tags', '', '1:Gen状态'],
|
['tags', '', '1:Gen状态'],
|
||||||
['!avatarInfo', [AvatarInfo()], '装饰信息'],
|
['!avatarInfo', [AvatarInfo()], '装饰信息'],
|
||||||
|
['ability', Ability(), '属性'],
|
||||||
]
|
]
|
||||||
|
|
||||||
class LevelingHero(object):
|
class LevelingHero(object):
|
||||||
@ -389,6 +389,17 @@ class ItemPriceInfo(object):
|
|||||||
['price_info', PriceInfo(), '价格信息'],
|
['price_info', PriceInfo(), '价格信息'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class Ability(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['hp', 0, '血量'],
|
||||||
|
['attack', 0, '攻击'],
|
||||||
|
['defence', 0, '防御'],
|
||||||
|
['block', 0, '格挡'],
|
||||||
|
['critical', 0, '暴击'],
|
||||||
|
]
|
||||||
|
|
||||||
class GoodsInfo(object):
|
class GoodsInfo(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user