ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -369,6 +369,10 @@
Def_ItemType_ZXWeapon2 = 135 # 诛仙剑2
Def_ItemType_ZXWeapon3 = 136 # 诛仙剑3
Def_ItemType_ZXWeapon4 = 137 # 诛仙剑4
Def_ItemType_ZhuXianStuff = 138 # 诛仙材料
Def_ItemType_DogzStuff = 139 # 神兽材料
Def_ItemType_ZhuXianStone = 140 # 诛仙宝石
#以下定义物品类型下次删除
Def_Item_Type_Horse = 1000036          #坐骑
@@ -379,23 +383,16 @@
                     ShareDefine.rptGatherSoul:'GatherSoulPackCount',
                     }
#背包可以放入的物品字典
Def_PackItemTypeList_Dict = {
ShareDefine.rptRune:[Def_ItemType_Rune, Def_ItemType_RuneExp],
ShareDefine.rptDogzItem:[Def_ItemType_DogzEquipExp, Def_ItemType_DogzEquipHorn, Def_ItemType_DogzEquipEye,
                         Def_ItemType_DogzEquipTooth, Def_ItemType_DogzEquipClaw, Def_ItemType_DogzEquipScute],
ShareDefine.rptZhuXianItem:range(Def_ItemType_ZXCloak, Def_ItemType_ZXWeapon4 + 1),
ShareDefine.rptGatherSoul:[Def_ItemType_GatherSoulExp, Def_ItemType_GatherSoul, Def_ItemType_GatherSoulCore],
                      }
def GetItemPackType(itemType, defaultPack=IPY_GameWorld.rptItem):
    ## 获取物品类型对应存放的默认背包类型
    if defaultPack in [ShareDefine.rptTreasure, ShareDefine.rptTempItem]:
        #寻宝背包、临时背包不做处理
        return defaultPack
    import IpyGameDataPY
    Def_PackItemTypeList_Dict = IpyGameDataPY.GetFuncEvalCfg("PutInItemPack", 1, {})
    for pack, itemTypeList in Def_PackItemTypeList_Dict.items():
        if itemType in itemTypeList:
            return pack
            return int(pack)
    return defaultPack
# 部位对应装备类型列表
@@ -1827,9 +1824,9 @@
RegisterEnter_CrossServerMapIDList = [Def_FBMapID_CrossPenglai]
#跨服地图
Def_CrossMapIDList = [Def_FBMapID_CrossRealmPK, Def_FBMapID_CrossPenglai]
#跨服对应分区配置表名
Def_CrossZoneTableName = {Def_FBMapID_CrossPenglai:"CrossPenglaiZone",
                          }
#跨服分区对应地图配置表名
Def_CrossZoneMapTableName = {Def_FBMapID_CrossPenglai:"CrossPenglaiZoneMap",
                             }
#副本关闭时未拾取的物品邮件发放给玩家
#这里只有需要的副本才配置,不做默认逻辑,防止某些副本实际不能给导致刷物品,如麒麟之府
@@ -3295,8 +3292,8 @@
Def_PDictType_LVAward,  # 等级奖励领取信息记录5
Def_PDictType_GoldGift,  # 充值豪礼
Def_PDictType_OpenServerCampaign,  # 开服活动
Def_PDictType_WeekParty,
Def_PDictType_Family_Contribution,    # 战盟贡献度
Def_PDictType_WeekParty, #周狂欢
Def_PDictType_FeastWeekParty,    # 节日巡礼
Def_PDictType_LoginAward,    # 登录奖励运营活动
Def_PDictType_OfficialRank,    # 官爵
Def_PDictType_Horse,    # 坐骑
@@ -3650,7 +3647,9 @@
Def_Player_Dict_TrialTower_PassLV = "TrialTower_PassLV"  # 试炼之塔通关层数
Def_Player_Dict_TrialTower_LastDayPassLV = "Tower_LastDayPassLV"  # 试炼之塔昨日通关层数
#诛仙塔
Def_Player_Dict_ZhuXianTowerPassLV = "ZhuXianTowerPassLV"  # 诛仙塔通关层数
Def_Player_Dict_ZhuXianTowerPassLV = "ZhuXianTowerPassLV"  # 诛仙塔已通关层数
Def_Player_Dict_ZhuXianTowerLastFloor = "ZhuXianTowerLastFloor"  # 诛仙塔上次挑战层数
#古神禁地
Def_Player_Dict_GodArea_Anger = "GodArea_Anger"  # 古神禁地怒气值
Def_Player_Dict_GodArea_LastAddAngerTime = "GodArea_LastAddAngerTime"  # 古神禁地上一次增加怒气值的时间
@@ -3686,12 +3685,14 @@
Def_PDict_CostRebateTemplateID = "CostRebateTemplateID"  # 玩家身上的消费返利模板ID
Def_PDict_CostRebateGold = "CostRebateGold"  # 消费返利总累计消费仙玉
Def_PDict_CostRebateAwardRecord = "CostRebateAwardRecord"  # 消费返利领奖记录
Def_PDict_CostRebateWorldLV = "CostRebateWorldLV" #消费返利活动开启时世界等级
#累计充值活动
Def_PDict_TotalRechargeID = "TotalRechargeID"  # 玩家身上的累计充值活动ID,唯一标识,取活动开始日期time值
Def_PDict_TotalRechargeTemplateID = "TotalRechargeTemplateID"  # 玩家身上的累计充值模板ID
Def_PDict_TotalRechargeGold = "TotalRechargeGold"  # 消费返利总累计充值X元
Def_PDict_TotalRechargeAwardRecord = "TotalRechargeAwardRecord"  # 累计充值领奖记录
Def_PDict_TotalRechargeWorldLV = "TotalRechargeWorldLV" #累计充值活动开启时世界等级
#限时特惠活动
Def_PDict_SpringSaleID = "SpringSaleID"  # 玩家身上的限时特惠活动ID,唯一标识,取活动开始日期time
@@ -3707,7 +3708,7 @@
Def_PDict_BossRebornTemplateID = "BossRebornTemplateID"  # 玩家身上的BOSS复活模板ID
Def_PDict_BRActionCurTimes = "BRActionCurTimes_%s" #当前完成次数 参数BOSS复活活动ID
Def_PDict_BRActionGotTimes = "BRActionGotTimes_%s" #当前已领次数 参数BOSS复活活动ID
Def_PDict_BRActionWorldLV = "BRActionWorldLV_%s" #BOSS复活活动开启时世界等级
Def_PDict_BRActionWorldLV = "BRActionWorldLV" #BOSS复活活动开启时世界等级
#仙界盛典
Def_PDict_FairyCeremonyID = "FairyCeremonyID"  # 玩家身上的仙界盛典活动ID,唯一标识,取活动开始日期time值
@@ -3717,6 +3718,15 @@
Def_PDict_FCPartyCurPoint = "FCPartyCurPoint" #全民来嗨活动当前总点数
Def_PDict_FCPartyAwardRecord = "FCPartyAwardRecord" #全民来嗨活动领奖记录
Def_PDict_FCCostGold = "FCCostGold"  # 绝版降临总累计消费仙玉
#新仙界盛典
Def_PDict_NewFairyCeremonyID = "NewFairyCeremonyID"  # 玩家身上的仙界盛典活动ID,唯一标识,取活动开始日期time值
Def_PDict_NewFCActionWorldLV = "NewFCActionWorldLV" #玩家身上的仙界盛典时的世界等级
Def_PDict_NewFCRechargeState = "NewFCRechargeState"  # 充值大礼状态 0-不可领 1-可领 2-已领取
Def_PDict_NewFCPartyCurCnt = "NewFCPartyCurCnt_%s" #全民来嗨活动当前完成次数 参数活动ID
Def_PDict_NewFCPartyCurPoint = "NewFCPartyCurPoint" #全民来嗨活动当前总点数
Def_PDict_NewFCPartyAwardRecord = "NewFCPartyAwardRecord" #全民来嗨活动领奖记录
Def_PDict_NewFCCostGold = "NewFCCostGold"  # 绝版降临总累计消费仙玉
#绑玉转盘
Def_PDict_BindJadeWheelCurCnt = "BindJadeWheelCurCnt"  # 今日已转次数
@@ -3752,11 +3762,18 @@
Def_PDict_FBRealHelpCount = "FBRealHelpCount_%s" #副本真实助战次数,仅针对真实进去打的副本,参数mapID
#周狂欢
Def_PDict_WeekPartyID = "WeekPartyID"  # 玩家身上的BOSS复活活动ID,唯一标识,取活动开始日期time值
Def_PDict_WeekPartyID = "WeekPartyID"  # 玩家身上的活动ID,唯一标识,取活动开始日期time值
Def_PDict_WeekPartyCurTimes = "WeekPartyCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
Def_PDict_WeekPartyGotTimes = "WeekPartyGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
Def_PDict_WeekPartyAwardRecord = "WeekPartyAwardRecord_%s" #积分领奖记录  参数(第X天)
Def_PDict_WeekPartyPoint = "WeekPartyPoint_%s" #当天积分  参数(第X天)
#节日巡礼周狂欢
Def_PDict_FeastWeekPartyID = "FeastWeekPartyID"  # 玩家身上的活动ID,唯一标识,取活动开始日期time值
Def_PDict_FeastWeekPartyCurTimes = "FeastWPCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
Def_PDict_FeastWeekPartyGotTimes = "FeastWPGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
Def_PDict_FeastWeekPartyAwardRecord = "FeastWPAward_%s" #积分领奖记录  参数(第X天)
Def_PDict_FeastWeekPartyPoint = "FeastWPPoint_%s" #当天积分  参数(第X天)
#登录奖励运营活动
Def_PDict_LoginAwardID = "LoginAwardID"  # 玩家身上的BOSS复活活动ID,唯一标识,取活动开始日期time值
@@ -3919,6 +3936,11 @@
Def_PDict_OSRedPacketGrabMoney = "OSRedPacketGrabMoney"  # 开服红包已抢数量
Def_PDict_OSRedPacketCanGrabCnt = "OSRedPacketCanGrabCnt"  # 开服红包可抢次数
Def_PDict_OSRedPacketStartTime = "OSRedPacketStartTime" #开服红包开始倒计时时间
#节日红包
Def_PDict_FeastRedPacketActID = "FeastRedPacketActID"  # 玩家身上的节日红包活动ID,唯一标识,取活动开始日期time值
Def_PDict_FeastRedPacketGrabMoney = "FeastRedPacketGrabMoney"  # 节日红包已抢数量
Def_PDict_FeastRedPacketCanGrabCnt = "FeastRedPacketCanGrabCnt"  # 节日红包可抢次数
#境界
Def_PDict_RealmFBIsOpen = "RealmFBIsOpen" #渡劫副本是否开启 0未开启 1已开启 2可升级境界
@@ -4396,7 +4418,8 @@
Def_CalcAttrFunc_Coat, # ʱװ41
Def_CalcAttrFunc_ZXEquip, # 诛仙装备42
Def_CalcAttrFunc_ZXEquipSuit, # 诛仙装备套装43
) = range(44)
Def_CalcAttrFunc_ZXEquipStone, # 诛仙宝石属性44
) = range(45)
# 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
@@ -4440,7 +4463,7 @@
                            ShareDefine.Def_MFPType_Coat:[Def_CalcAttrFunc_Coat],
                            # 诛仙装备战力、神兽战力同装备模块战力一致,受评分影响,装备评分相关的战力另外算
                            ShareDefine.Def_MFPType_Dogz:[Def_CalcAttrFunc_Dogz, Def_CalcAttrFunc_DogzEquipPlus],
                            ShareDefine.Def_MFPType_ZhuXian:[Def_CalcAttrFunc_ZXEquipSuit],
                            ShareDefine.Def_MFPType_ZhuXian:[Def_CalcAttrFunc_ZXEquipSuit, Def_CalcAttrFunc_ZXEquipStone],
                            ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose],
                            }
@@ -4579,7 +4602,8 @@
Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改;
Def_VerFix_AddPoint, # 老号属性点修复;
Def_VerFix_GodWeaponItem, # 1.5删除中级神兵石;
) = range(9)
Def_VerFix_ZXTower, # 诛仙塔奖励变更补偿;
) = range(10)
##==================================================================================================
#游戏消费点类型定义
@@ -5199,7 +5223,11 @@
Def_RewardType_WeekPartyAct, # 领取周狂欢活动奖励20
Def_RewardType_WeekPartyPoint, # 领取周狂欢积分奖励21
Def_RewardType_ActLoginAwardAct, # 领取登录奖励活动奖励22
)= range(23)
Def_RewardType_NewFairyCRecharge, # 新仙界盛典充值大礼23
Def_RewardType_NewFairyCParty, # 新仙界盛典全民来嗨24
Def_RewardType_FeastWeekPartyAct, # 领取节日巡礼活动奖励25
Def_RewardType_FeastWeekPartyPoint, # 领取节日巡礼积分奖励26
)= range(27)
#boss复活相关活动定义