From 1ee5a1bc2efee571b23e2f4423bbd2aa94b7be75 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 14 一月 2026 10:05:48 +0800 Subject: [PATCH] 389 流向记录(调整对指定背包处理流向代码;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py index 082dd5b..397f6dc 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py @@ -15,6 +15,8 @@ #"""Version = 2013-10-30 15:20""" #--------------------------------------------------------------------- +import IPY_GameWorld + # 游戏默认编码 Def_Game_Character_Encoding = 'gbk' @@ -815,6 +817,7 @@ GameFuncID_OSA_MainLevel = 45 # 开服关卡榜 GameFuncID_OSA_HeroCall = 46 # 开服招募榜 GameFuncID_OSA_Celebration = 47 # 开服庆典 +GameFuncID_Mingge = 54 # 命格 # 以下为暂时无用的 GameFuncID_Pet = -1 # 宠物,灵宠 6 @@ -829,8 +832,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 = ( @@ -838,6 +843,7 @@ rptRune, # 符印背包 255 ) = range(256 - 2, 256) +NeedRecordRPType = [IPY_GameWorld.rptItem, rptTreasure, rptHero, IPY_GameWorld.rptIdentify, rptMGTuiyan] #武器的手持形式 ( @@ -1214,12 +1220,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 +1264,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, # 无 -- Gitblit v1.8.0