From cf6dd722bfc07a6ae19dd0378ecfda667d35ca67 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 09 一月 2019 09:52:43 +0800
Subject: [PATCH] 5730 【后端】【1.5】时装功能开发

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   57 +++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 39 insertions(+), 18 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index f6021ab..f5f6b9d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -265,9 +265,10 @@
 Def_ItemID_SoulDust = 700               # 直接给魂尘
 Def_ItemID_SoulSplinters = 701               # 直接给聚魂碎片
 Def_ItemID_SoulCore = 702               # 直接给核心环
+Def_ItemID_Honor = 2141               # 直接给荣誉
 Def_TransformItemIDList = [Def_ItemID_FamilyContribution, Def_ItemID_FamilyActive, Def_ItemID_SP, Def_ItemID_GoldPaper, 
                            Def_ItemID_RealmPoint, Def_ItemID_SilverMoney, Def_ItemID_BossReborn, Def_ItemID_Ysog,
-                           Def_ItemID_SoulDust, Def_ItemID_SoulSplinters, Def_ItemID_SoulCore]
+                           Def_ItemID_SoulDust, Def_ItemID_SoulSplinters, Def_ItemID_SoulCore, Def_ItemID_Honor]
 #---------------------------------------------------------------------
 #写死的物品类型都放这边
 Def_ItemType_All = -1             #所有类型
@@ -435,9 +436,9 @@
 Def_Effect_ItemGiveSoulDust = 239   # 使用道具给予魂尘
 Def_Effect_ItemGiveSoulSplinters = 240   # 使用道具给予聚魂碎片
 Def_Effect_ItemGiveSoulCore = 241      #使用道具给予核心环
+Def_Effect_ItemGiveHonor = 242      #使用道具给予荣誉
 #----以下未使用或代码依然存在的---
 Def_Effect_ItemGiveGongXun = 1920        #使用道具给予功勋
-Def_Effect_ItemGiveHonorPoint = 1922       #使用道具给予荣誉积分
 Def_Effect_ItemGiveRuneJH = 1925       #使用道具给予符印精华
 Def_Effect_ItemGiveRuneSplinters = 1926       #使用道具给予符印碎片
 Def_Effect_SuiteMark = 2838    #用于标示套装装备,过滤等使用
@@ -769,7 +770,8 @@
 Def_HurtType_Miss,           # 闪避 9
 Def_HurtType_Immune,           # 免疫 10
 Def_HurtType_RealmSupress,     # 境界压制 11
-) = range(1, 12)
+Def_HurtType_Zhansha,     # 斩杀 12
+) = range(1, 13)
 #Def_HurtType_SuckBlood,      # 吸血 
 
 (
@@ -1788,6 +1790,12 @@
 Def_FBMapID_GatherSoul = 31340
 #跨服竞技场
 Def_FBMapID_CrossRealmPK = 32010
+#跨服蓬莱仙境
+Def_FBMapID_CrossPenglai = 32020
+
+#注册上传跨服服务器数据后直接进入跨服服务器的地图
+RegisterEnter_CrossServerMapIDList = [Def_FBMapID_CrossPenglai]
+
 #副本关闭时未拾取的物品邮件发放给玩家
 #这里只有需要的副本才配置,不做默认逻辑,防止某些副本实际不能给导致刷物品,如麒麟之府
 Def_SendUnPickItemMailMapIDList = [Def_FBMapID_IceLode, Def_FBMapID_PersonalBoss, Def_FBMapID_MunekadoTrial, 
@@ -1799,7 +1807,7 @@
 # 副本中玩家下线就被踢出
 Def_DisconnectExit_FBID = []
 #会有阵营的地图
-Def_MapID_NeedCamp = [Def_FBMapID_FamilyWar, Def_FBMapID_GatherSoul]
+Def_MapID_NeedCamp = [Def_FBMapID_FamilyWar, Def_FBMapID_GatherSoul, Def_FBMapID_CrossRealmPK]
 
 # 进入副本需要根据请求lineID动态分配虚拟分线属性的地图
 Def_MapID_LineIDToPropertyID = [Def_FBMapID_ElderBattlefield]
@@ -1876,6 +1884,7 @@
                 'XMZZ':[Def_FBMapID_XMZZ], #仙魔之争
                 'Dogz':[Def_FBMapID_Dogz], #神兽副本
                 'CrossRealmPK':[Def_FBMapID_CrossRealmPK], #跨服竞技场
+                'CrossPenglai':[Def_FBMapID_CrossPenglai], #跨服蓬莱仙境
                 'GatherSoul':[Def_FBMapID_GatherSoul],#聚魂副本
                 }
 
@@ -2381,7 +2390,13 @@
 Type_Equip_CanTake = ShareDefine.RoleEquipType
 
 #装备物品位置,不需要重刷属性
-EquipItemNoRefreshState = []
+EquipItemNoRefreshState = [
+    ShareDefine.retHorse,        #19 坐骑
+    ShareDefine.retWing,        #11 翅膀
+    ShareDefine.retWeaponSkin,   #20 时装武器
+    ShareDefine.retClothesSkin,  #21 时装衣服
+    ShareDefine.retWeapon2Skin,  #22 时装副手
+                           ]
 
 # 需要广播外观的装备部位
 Def_SyncEquipStateByIndex = [
@@ -3208,6 +3223,7 @@
 Def_PlayerKey_CalcAddAttrType = "CalcAType_%s_%s_%s"   # 刷属性类型, 参数[funcIndex, attrIndex, 缓存编号]
 Def_PlayerKey_CalcAddAttrValue = "CalcAValue_%s_%s_%s"   # 刷属性值, 参数[funcIndex, attrIndex, 缓存编号]
 
+Def_PlayerKey_CrossRegisterType = "CrossRegisterType"  #跨服注册活动类型
 Def_PlayerKey_IsCrossPKMatching = "IsCrossPKMatching"  #是否跨服匹配中
 
 Def_PDict_QueryTechLVUPState = "QueryTechLVUPState"  # 查询科技等级提升状态
@@ -3282,7 +3298,6 @@
 Def_PDict_OnDayEx = "OnDayEx" # 特殊时间点凌晨X点过天
 Def_PDict_OnWeekEx = "OnWeekEx" # 特殊时间点凌晨X点过周
 Def_PDict_OnMonthEx = "OnMonthEx" # 特殊时间点凌晨X点过月
-Def_Player_Dict_ServerGroupID = "ServerGroupID"    # 合服/混服时所属游戏服务器组ID
 Def_Player_Dict_PlayerFromPID = "PlayerFromPID"    # pid
 Def_Player_Dict_Account_Type = "account_type"    # account_type
 Def_Player_Dict_TencentPF = "tencentPF"    # 腾讯平台来源pf
@@ -3390,8 +3405,6 @@
 Def_Player_Dict_HasVIPClubNote = 'HasVIPClubNote_186'  # 是否提示过vip升级可加入贵宾俱乐部信息
 Def_Player_Dict_PyPlayerAction = 'PyPlayerAction_187'  # py自定义玩家状态
 Def_Player_Dict_FamilyLV = 'FamilyLV_189'  # 玩家帮会等级
-Def_Player_Dict_MergeWarRegisterTime = 'MergeWarRegisterTime_190'  # 上传数据至万国服务器cd
-Def_Player_Dict_MergeRegisterTime = 'MergeRegisterTime%s_194'  # 活动的上传数据时间
 Def_Player_UpdatePlayerNameCnt = "UpdatePlayerNameCnt_196"  # 角色改名次数
 Def_Player_Dict_UpdatePlayerNameItemIndex = "UpdatePlayerNameItemIndex_198"  # 改名物品在背包的位置
 Def_Player_Dict_UpdatePlayerName = "UpdatePlayerName_199"  # 改名锁
@@ -3539,9 +3552,9 @@
 Def_PDict_GodWeaponExp = "GodWeaponExp_%s" # 神器等级对应祝福值经验, 参数神器索引
 Def_PDict_GodWeaponState = "GodWeaponState" # 神器是否已经激活, 按索引位存储神器是否激活
 
-Def_PDict_ClothesSkinOpenState = "ClothesSkinOpenState"  # 时装皮肤激活状态
 Def_PDict_ClothesSkinLV = "ClothesSkinLV_%s"  # 时装皮肤等级,参数时装索引
-Def_PDict_ClothesSkinCurBless = "ClothesSkinCurBless_%s"  # 时装皮肤祝福值,参数时装索引
+Def_PDict_ClothesChestLV = "ClothesChestLV"  # 时装柜等级
+Def_PDict_ClothesChestEXP = "ClothesChestEXP"  # 时装柜经验
 
 Def_PDict_CostVIPExp = "CostVIPExp"  # 消费VIP经验
 Def_PDict_CostVIPLVReward = "CostVIPLVReward"  # 消费VIP等级奖励
@@ -3834,6 +3847,7 @@
 Def_PDict_CrossPK_ZoneID = "CrossPK_ZoneID" # 玩家上次参与的赛区ID
 Def_PDict_CrossPK_SeasonID = "CrossPK_SeasonID" # 玩家上次参与的赛季ID
 Def_PDict_CrossPK_SeasonDanLV = "CrossPK_SeasonDanLV_%s" # 历史赛季段位,参数,赛季ID
+Def_PDict_CrossPK_SeasonScore = "CrossPK_SeasonScore_%s" # 历史赛季积分,参数,赛季ID
 Def_PDict_CrossPK_SeasonOrder = "CrossPK_SeasonOrder_%s" # 历史赛季名次,参数,赛季ID
 Def_PDict_CrossPK_SeasonAwardLV = "CrossPK_SeasonAwardLV_%s" # 历史赛季奖励等级(一般是段位等级,排行奖励的在最高段位等级基础上增加),参数,赛季ID
 
@@ -4319,8 +4333,9 @@
 Def_CalcAttrFunc_DogzEquip, # 神兽装备37
 Def_CalcAttrFunc_DogzEquipPlus, # 神兽装备强化38
 Def_CalcAttrFunc_GatherSoul, # 聚魂39
-Def_CalcAttrFunc_MagicWeapon4 # 王者法宝40
-) = range(41)
+Def_CalcAttrFunc_MagicWeapon4, # 王者法宝40
+Def_CalcAttrFunc_Coat, # 时装41
+) = range(42)
 
 
 # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
@@ -4361,6 +4376,7 @@
                             ShareDefine.Def_MFPType_StoveYao:[Def_CalcAttrFunc_StoveYao],
                             ShareDefine.Def_MFPType_MagicWeaponSoul:[Def_CalcAttrFunc_MagicWeaponSoul],
                             ShareDefine.Def_MFPType_GatherSoul:[Def_CalcAttrFunc_GatherSoul],
+                            ShareDefine.Def_MFPType_Coat:[Def_CalcAttrFunc_Coat],
                             # 神兽战力同装备模块战力一致,受评分影响,装备评分相关的战力另外算
                             ShareDefine.Def_MFPType_Dogz:[Def_CalcAttrFunc_Dogz, Def_CalcAttrFunc_DogzEquipPlus],
                             ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose],
@@ -4498,7 +4514,8 @@
 Def_VerFix_SuperGift, # 超值礼包开启变更,原领取首充开启,改成等级到开启;
 Def_VerFix_Horse, # 坐骑等级上限修改,对应技能触发修改;
 Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改;
-) = range(7)
+Def_VerFix_AddPoint, # 老号属性点修复;
+) = range(8)
 
 ##==================================================================================================
 #游戏消费点类型定义
@@ -4675,9 +4692,9 @@
 Def_GiveMoney_StallItem, # 摆摊
 Def_GiveMoney_Trade, # 交易
 Def_GiveMoney_Truck, # 运镖
-Def_GiveMoney_FreeGoods, # 极品白拿 25
-Def_GiveMoney_BindJadeWheel, # 绑玉转盘
-Def_GiveMoney_GatherSoulDecompose, #聚魂分解
+Def_GiveMoney_FreeGoods, # 极品白拿 
+Def_GiveMoney_BindJadeWheel, # 绑玉转盘 25
+Def_GiveMoney_GatherSoulDecompose, #聚魂分解 26
 ) = range(1000, 1000 + 27)
 
 Def_Give_Reason_SonKey = "reason_name_son" # 原因子类说明key
@@ -4801,7 +4818,8 @@
 ItemDel_DogzEquipPlus, # 神兽装备强化
 ItemDel_ChatBubbleBox, # 激活聊天气泡框
 ItemDel_GatherSoul, # 聚魂分解
-) = range(2000, 2000 + 36)
+ItemDel_CoatDecompose, # 时装分解
+) = range(2000, 2000 + 37)
 
 # 物品扣除类型对应信息 {类型:eventName, ...}
 ItemDelTypeDict = {
@@ -4839,6 +4857,9 @@
                    ItemDel_AddFBCnt:"AddFBCnt",
                    ItemDel_AddKillBossCnt:"AddKillBossCnt",
                    ItemDel_DogzEquipPlus:"DogzEquipPlus",
+                   ItemDel_ChatBubbleBox:"ChatBubbleBox",
+                   ItemDel_GatherSoul:"GatherSoul",
+                   ItemDel_CoatDecompose:"CoatDecompose",
                    }
 
 ##==================================================================================================
@@ -4941,7 +4962,7 @@
 VIPPrivilege_FamilyGoldPack,    #23 仙盟钻石红包
 VIPPrivilege_BoursePwd,    #24 集市上架使用密码
 VIPPrivilege_25,    #25 封魔坛购买次数 - 副本总表统一处理
-VIPPrivilege_BoursePwd,    #26 VIP被动技能孔——VIP4专属被动技能孔
+VIPPrivilege_26,    #26 VIP被动技能孔——VIP4专属被动技能孔
 VIPPrivilege_BOSSHomeKillLimit,    #27 BOSS之家疲劳值上限
 VIPPrivilege_FMTDouble,    #28 封魔坛双倍击杀
 VIPPrivilege_29,    #29 娲皇遗迹购买次数 - 副本总表统一处理

--
Gitblit v1.8.0