hxp
2026-01-13 09c67573ee3759802de4d40ea70813d2ce71be0c
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
@@ -815,6 +815,7 @@
GameFuncID_OSA_MainLevel = 45   # 开服关卡榜
GameFuncID_OSA_HeroCall = 46    # 开服招募榜
GameFuncID_OSA_Celebration = 47 # 开服庆典
GameFuncID_Mingge = 54          # 命格
# 以下为暂时无用的
GameFuncID_Pet = -1             # 宠物,灵宠 6
@@ -829,8 +830,10 @@
rptDogzEquip,       # 神兽装备背包 33
rptGarbage,         # 垃圾分类背包 34
rptHero,            # 武将英雄背包 35
rptMGGuayu,         # 命格卦玉背包 36
rptMGTuiyan,        # 命格推演背包 37
rptMax,             # 最大背包类型数量,放在最后一个
) = range(28, 28 + 9)  #C++定义的枚举到27
) = range(28, 28 + 11)  #C++定义的枚举到27
#虚拟背包类型, 从255递减
Def_VPack_TypeList = (
@@ -1214,12 +1217,6 @@
Def_IudetItemDecompound = 33  # 拆解返还物品列表 [装备ID,材料1ID,个数,是否绑定,材料2ID,个数,是否绑定,...]
Def_IudetLiantaiItemID = 35  # 合成该莲台的所有莲台ID [itemID, itemID, ...]
Def_IudetAddSkillID = 37  # 可添加的技能ID列表  [skillID, skillID, ...]
Def_IudetLegendAttrIDShen = 51  # 物品传奇属性ID列表 - 神
Def_IudetLegendAttrValueShen = 61  # 物品传奇属性值列表 - 神
Def_IudetLegendAttrIDXian = 53  # 物品传奇属性ID列表 - 仙
Def_IudetLegendAttrValueXian = 63  # 物品传奇属性值列表 - 仙
Def_IudetLegendAttrIDJi = 55  # 物品传奇属性ID列表 - 极
Def_IudetLegendAttrValueJi = 65  # 物品传奇属性值列表 - 极
Def_IudetHeroTalentID = 71  # 英雄天赋ID列表
Def_IudetHeroTalentIDLV = 73  # 英雄天赋ID等级列表
Def_IudetHeroTalentWashLock = 75  # 英雄天赋洗炼锁定索引列表
@@ -1264,13 +1261,16 @@
LineupObjMax = 6 # 阵容最大上阵武将数
# 阵容定义
# 阵容定义,主动进攻阵容只使用主阵容,功能可以有指定的阵容,如防守阵容、系统PK阵容等
LineupList = (
Lineup_Main, # 主阵容 1
Lineup_ArenaAtk, # 竞技场进攻阵容 2
Lineup_2, # 废弃
Lineup_ArenaDef, # 竞技场防守阵容 3
) = range(1, 1 + 3)
# 需要存储查看缓存的阵容ID列表,一般只存储主阵容及各功能所需的防守阵容
NeedViewCacheLineupIDList = [Lineup_Main, Lineup_ArenaDef]
# 宠物物品数据状态
Def_PetStateList = (
Def_PetState_Null, # 无