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

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 7cbb27b..9f58909 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -2383,7 +2383,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 = [
@@ -3540,9 +3546,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等级奖励
@@ -4321,8 +4327,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)
 
 
 # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
@@ -4363,6 +4370,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],
@@ -4804,7 +4812,8 @@
 ItemDel_DogzEquipPlus, # 神兽装备强化
 ItemDel_ChatBubbleBox, # 激活聊天气泡框
 ItemDel_GatherSoul, # 聚魂分解
-) = range(2000, 2000 + 36)
+ItemDel_CoatDecompose, # 时装分解
+) = range(2000, 2000 + 37)
 
 # 物品扣除类型对应信息 {类型:eventName, ...}
 ItemDelTypeDict = {
@@ -4842,6 +4851,9 @@
                    ItemDel_AddFBCnt:"AddFBCnt",
                    ItemDel_AddKillBossCnt:"AddKillBossCnt",
                    ItemDel_DogzEquipPlus:"DogzEquipPlus",
+                   ItemDel_ChatBubbleBox:"ChatBubbleBox",
+                   ItemDel_GatherSoul:"GatherSoul",
+                   ItemDel_CoatDecompose:"CoatDecompose",
                    }
 
 ##==================================================================================================

--
Gitblit v1.8.0