xdh
2019-02-25 70a89ab1f96dff5633cf9746167ba7e94e0b0c31
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -359,6 +359,21 @@
Def_ItemType_DogzEquipScute = 123   # 神兽鳞甲
Def_ItemType_AddCrossRealmPKCnt = 127 #增加跨服PK次数
Def_ItemType_ZXCloak = 128 # 诛仙披风
Def_ItemType_ZXMask = 129 # 诛仙面具
Def_ItemType_ZXGlove = 130 # 诛仙手套
Def_ItemType_ZXRuyi = 131 # 诛仙如意
Def_ItemType_ZXPendant = 132 # 诛仙吊坠
Def_ItemType_ZXRing = 133 # 诛仙戒指
Def_ItemType_ZXWeapon1 = 134 # 诛仙剑1
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          #坐骑
@@ -368,22 +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.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
# 部位对应装备类型列表
@@ -440,6 +449,8 @@
Def_Effect_ItemGiveSoulSplinters = 240   # 使用道具给予聚魂碎片
Def_Effect_ItemGiveSoulCore = 241      #使用道具给予核心环
Def_Effect_ItemGiveHonor = 242      #使用道具给予荣誉
Def_Effect_ItemGiveWeekPartyPoint = 245      #使用道具给予七日巡礼积分
Def_Effect_ItemGiveWeekPartyPoint1 = 246      #使用道具给予节日巡礼积分
#----以下未使用或代码依然存在的---
Def_Effect_ItemGiveGongXun = 1920        #使用道具给予功勋
Def_Effect_ItemGiveRuneJH = 1925       #使用道具给予符印精华
@@ -788,13 +799,16 @@
Def_EquipItemType_TJGAutoEat = xrange(Def_ItemType_retWeapon, Def_ItemType_retShoes + 1)
#装备类型
Def_EquipItemType = xrange(Def_ItemType_retWeapon, Def_ItemType_DogzEquipScute + 1)
Def_EquipItemType = range(Def_ItemType_retWeapon, Def_ItemType_DogzEquipScute + 1) + range(Def_ItemType_ZXCloak, Def_ItemType_ZXWeapon4 + 1)
#武器类型
Def_WeaponItemType = [Def_ItemType_retWeapon, Def_ItemType_retWeapon2]
#神兽装备类型
Def_DogzEquiipType = xrange(Def_ItemType_DogzEquipHorn, Def_ItemType_DogzEquipScute + 1)
#诛仙装备类型
Def_ZhuXianEquiipType = xrange(Def_ItemType_ZXCloak, Def_ItemType_ZXWeapon4 + 1)
# 技能造成实质性伤害的类型
Def_RealAttack_Type = [Def_HurtType_Normal,         # 普通伤害 1
@@ -854,6 +868,10 @@
Def_PackCnt_DogzItem = 100
#初始化神兽装备格子数
Def_PackCnt_DogzEquip = 100
#初始化诛仙背包格子数
Def_PackCnt_ZhuXianItem = 100
#初始化诛仙装备格子数
Def_PackCnt_ZhuXianEquip = 12
#初始化装备栏2
Def_PackCnt_Equip2 = 0
#初始化回收站
@@ -1097,6 +1115,8 @@
                                    ShareDefine.rptPet,
                                    ShareDefine.rptDogzItem,
                                    ShareDefine.rptDogzEquip,
                                    ShareDefine.rptZhuXianItem,
                                    ShareDefine.rptZhuXianEquip,
                                    ]
#装备可强化背包列表
@@ -1462,7 +1482,7 @@
#自动恢复计算间隔
Def_HPRestoreInterval = 5000
#允许重置的背包索引
Def_CanItemResetPack = [IPY_GameWorld.rptItem, IPY_GameWorld.rptWarehouse, ShareDefine.rptTreasure]
Def_CanItemResetPack = [IPY_GameWorld.rptItem, IPY_GameWorld.rptWarehouse, ShareDefine.rptTreasure, ShareDefine.rptZhuXianItem]
#仓库分页个数
Def_ItemReset_WarehousePageCnt = 56
#玩家捡起物品的距离 8
@@ -1788,6 +1808,8 @@
Def_FBMapID_SealDemonEx = 52020
#诛仙BOSS
Def_FBMapID_ZhuXianBoss = 31380
#诛仙塔
Def_FBMapID_ZhuXianTower = 31370
#仙魔之争
Def_FBMapID_XMZZ = 31010
#神兽副本
@@ -1804,9 +1826,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",
                             }
#副本关闭时未拾取的物品邮件发放给玩家
#这里只有需要的副本才配置,不做默认逻辑,防止某些副本实际不能给导致刷物品,如麒麟之府
@@ -1897,6 +1919,7 @@
                'CrossRealmPK':[Def_FBMapID_CrossRealmPK], #跨服竞技场
                'GatherSoul':[Def_FBMapID_GatherSoul],#聚魂副本
                'ZhuXianBoss':[Def_FBMapID_ZhuXianBoss],#诛仙BOSS
                'ZhuXianTower':[Def_FBMapID_ZhuXianTower],#诛仙塔
                }
#特殊副本ID, 由系统分配, 进入时候不验证IsMapCopyFull
@@ -3042,6 +3065,7 @@
Def_PlayerKey_SomersaultTime = "Somersault"     # 翻滚一定时间内无敌,表现为MISS
Def_PlayerKey_CopyFuncAttr = "CopyFuncAttr%s"     # 玩家属性刷新中的计算属性缓存,便于buff刷新计算
Def_Player_RefreshAttrByBuff = "PlayerAttrByBuff"   # 玩家属性刷新功能属性缓存,便于buff刷新计算, 间隔刷新
Def_PlayerKey_ClientCustomScene = "ClientCustomScene"     # 客户端自定义场景状态
Def_PlayerKey_ChangeMapID = "ChangeMapID"     # 请求切换的地图ID
Def_PlayerKey_ResetFBLinePosX = "ResetFBLinePosX"     # 请求切换副本多合一地图功能线路ID
Def_PlayerKey_ResetFBLinePosY = "ResetFBLinePosY"     # 请求切换副本多合一地图功能线路ID
@@ -3092,7 +3116,6 @@
Def_PlayerKey_AtkInterval = "NormalAtkInterval_%s"  # 公共技能CD类型
Def_PlayerKey_AtkTick = "NormalAtkTick_%s"  # 公共技能CD类型
Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState"  # 查询开服奖励状态
Def_PlayerKey_QueryMixServerAwardState = "QueryMixServerAwardState"  # 查询合服奖励状态
Def_PlayerKey_QueryFamilyStoreTick = "QueryFamilyStoreTick"  # 战盟仓库操作tick
Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex'  # 指定账号生成卡类型
@@ -3106,6 +3129,7 @@
Def_PlayerKey_ComboBuffProcessState = "ComboBuffProcessState"    #持续性buff连击处理状态
Def_PlayerKey_LvAwardQueryState = 'LvAwardQueryState'  # 等级奖励领奖查询状态
Def_PlayerKey_StoreQueryState = 'StoreQueryState'  # 商店全服购买次数查询状态
Def_PlayerKey_MysticalShopLastTime = 'MysticalShopLastTime'  # 神秘商店刷新时间
#===============================================================================
# # 持续性buff伤害处理连击技能ID列表
# # 因为释放一次技能后一段时间内是持续性的, 故连接判断效果仅处理一次, 持续时间内均受此效果影响, 不重复处理连击
@@ -3271,8 +3295,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,    # 坐骑
@@ -3298,6 +3322,8 @@
# 玩家字典key定义规则, key的长度不能超过29个字节, 注意尽量避免命名重复
# 新增参数TYPE 用于字典分类,默认0
Def_QuDao_DoubleBillGold = "qddbGold"   # 渠道返利的仙玉
Def_QuDao_DoubleBillCount = "qddbCount"   # 渠道返利的仙玉领取次数 日期+次数组合数字
Def_PDict_GeTuiSet = "GetuiSet"     # 推送提醒的设置
Def_PDict_NoGeTuiTime = "NoGetuiTime"     # 推送提醒免打扰时间,将字符串组合数字
Def_PlayerKey_TJGNPC = "TJGNPC"     # 脱机挂机NPC点
@@ -3476,8 +3502,6 @@
Def_PDict_SuperGiftHasOpen = "SuperGiftHasOpen"  # 超值礼包是否开过
Def_PDict_DailyGoldChargePrizeRecord = "DailyGoldChargePrizeRecord"  # 天天首充领奖记录,0-不可领;1-可领;2-已领
Def_PDict_DailyGoldChargeCnt = "DailyGoldChargeCnt"  # 当日已充值数
Def_PDict_SingleGoldGiftIndex = "SingleGoldGiftIndex"  # 单日充值多选一礼包领取状态, 0-未领取,>0已领取索引
Def_PDict_UnlimitedGoldGiftCnt = "UnlimitedGoldGiftCnt"  # 当日无限领取礼包已领取次数
Def_PDict_IsReBorn = "Def_PDict_IsReBorn"  # 是否回城复活
Def_PDict_FamilyWarDailyReward = "FamilyWarDailyReward"  # 王者仙盟每日俸禄领取状态
Def_PDict_Family_Contribution = "FamilyContribution"  #战盟贡献度
@@ -3493,6 +3517,9 @@
Def_PDict_CollNpcIDCollTime = "CollNpcIDCollTime_%s"   # 采集NPCID对应每日对应采集次数,%sNPCID
Def_PDict_ShopItemDayBuyCnt = "ShopItemDayBuyCnt_%s"   # 商店NPC商品已购买次数,itemIndex
Def_PDict_ShopItemStartTime = "ShopItemStartTime_%s"   # 神秘限购商品开卖时间,itemIndex
Def_PDict_MysticalShopGoods = "MysticalShopGoods_%s"   # 神秘商店商品ID,索引
Def_PDict_MysticalShopRefreshCnt = "MysticalShopRefreshCnt"   # 神秘商店已手动刷新次数
Def_PDict_MysticalShopLVRefreshCnt = "MysticalShopLVRefreshCnt"   # 神秘商店等级段刷新次数
Def_PDict_ShopItemBuyCnt = "ShopItemBuyCnt_%s_%s"   # 自定义商品已购买次数,(shopID, itemIndex)
Def_PDict_ShopItemOpenState = "ShopItemOpenState_%s_%s"   # 自定义神秘商店物品开启状态,(shopID, keyNum)
Def_PDict_TimeShopRefreshCnt = "TimeShopRefreshCnt_%s"   # 自定义神秘商店已手动刷新次数,(shopID)
@@ -3506,7 +3533,6 @@
Def_PDict_HighLadder_IsRelCD = "HighLadderIsRelCD"           #天梯是否进入真正挑战冷却
Def_PDict_HighLadder_WinningStreak = "HighLadderWinningStreak"   #天梯连胜场次
Def_PDict_HighLadder_HistoryMaxOrder = "HighLadderMaxOrder"   #天梯历史最高排名
Def_PDict_MixLoginDayState = "PMixLoginDayState"  # 合服天登陆状态<按登陆天从低位起0-未领1-可领2-已领>
Def_PDict_FestivalLoginState = "FestivalLoginState_%s"  # 节日登陆奖励状态_%s表示节日类型<按登陆天从低位起0-未领1-可领2-已领>
Def_PDict_Currency = "PlayerCurrency_%s"  # 自定义货币类型, 参数[自定义货币类型]
Def_PDict_TJGSet = "TJGSet"  # 脱机挂系统设定
@@ -3517,9 +3543,7 @@
Def_PDict_LoginClientType = "LoginClientType"  # 客户端登录类型
Def_PDict_ReUpdBillboardSign = "ReUpdBillboardSign"  # 重新同步排行表标记
Def_PDict_MSFirstLogin_UpdBillboard = "MSFirstLogin_UpdBillboard"  # 合服首登同步排行榜信息
Def_PDict_MixLoginDay = "MixLoginDay"  # 合服首登处理标记
Def_PDict_MixLoginDay = "MixLoginDay"  # 合服首登处理标记天
Def_PDict_ExcActionItemCnt = "ExcI_%s_%s"  # 活动兑换物品已兑换次数,参数(活动key,兑换物品对应次数编号标识)
@@ -3623,6 +3647,10 @@
#试炼之塔
Def_Player_Dict_TrialTower_PassLV = "TrialTower_PassLV"  # 试炼之塔通关层数
Def_Player_Dict_TrialTower_LastDayPassLV = "Tower_LastDayPassLV"  # 试炼之塔昨日通关层数
#诛仙塔
Def_Player_Dict_ZhuXianTowerPassLV = "ZhuXianTowerPassLV"  # 诛仙塔已通关层数
Def_Player_Dict_ZhuXianTowerLastFloor = "ZhuXianTowerLastFloor"  # 诛仙塔上次挑战层数
Def_Player_Dict_ZhuXianTowerCostTime = "ZhuXianTowerCostTime"  # 诛仙塔通关时间
#古神禁地
Def_Player_Dict_GodArea_Anger = "GodArea_Anger"  # 古神禁地怒气值
@@ -3659,12 +3687,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
@@ -3680,7 +3710,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值
@@ -3690,6 +3720,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"  # 今日已转次数
@@ -3725,19 +3764,33 @@
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值
Def_PDict_LoginAwardCurTimes = "LoginAwardCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
Def_PDict_LoginAwardGotTimes = "LoginAwardGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
Def_PDict_LoginAwardWorldLV = "LoginAwardWorldLV%s" #活动开启时世界等级参数(第X天)
#诛仙BOSS
Def_PDict_ZhuXianBossHelpCnt = "ZhuXianBossHelpCnt"  # 协助次数
#幸运鉴宝
Def_PDict_LuckyTreasureID = "LuckyTreasureID"  # 玩家身上的活动ID,唯一标识,取活动开始日期time值
Def_PDict_LuckyTreasureFree = "LuckyTreasureFree" #是否免费过
Def_PDict_LuckyTreasurePoint = "LuckyTreasurePoint" #幸运值
Def_PDict_LuckyTreasureCnt = "LuckyTreasureCnt" #鉴宝次数
#-------------------------------------------------------------------------------
#类型 Def_PDictType_OnlinePrize
Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt"  # 新手在线已领取奖励次数
@@ -3751,10 +3804,6 @@
Def_PDict_OSC_TagAwardRecord = "OSCTagAwardRecord_%s"  # 开服活动目标奖励记录, 参数(活动类型), 按奖励位存储是否领取
Def_PDict_OSC_RecordData = "OSCRecordData_%s"  # 开服活动记录数值, 参数(活动类型)
Def_PDict_OSC_EndMailState = "EndMailState"  # 开服活动结束发放邮件处理状态, 记录该状态的目的是防止开服活动版本变更导致旧号重复补发奖励;
Def_PDict_MixServerCampaign_AwardRecord = "MSCAwardRecord_%s"  # 合服活动奖励记录
Def_PDict_MixServerCampaign_RecordData = "MSCRecordData_%s"  # 合服活动记录数值
Def_PDict_MixServerCampaign_MailState = "MSCMailState"  # 合服活动结束补发未领奖记录邮件状态, 按类型位二进制存储状态
# 坐骑 Def_PDictType_Horse
Def_PDict_Horser_LV = "Horser_LV_%d"  # 坐骑等级 0代表未激活 1代表1级
@@ -3892,6 +3941,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可升级境界
@@ -4180,6 +4234,12 @@
    AttrName_SuperHit:[[TYPE_Calc_SuperHit], False, TYPE_Linear],
    AttrName_NPCHurtAddPer:[[TYPE_Calc_NPCHurtAddPer], False, TYPE_Linear],
    ShareDefine.Def_Effect_NPCHurtAddPer:[[TYPE_Calc_NPCHurtAddPer], False, TYPE_Linear],
    ShareDefine.Def_Effect_JobAHurtAddPer:[[TYPE_Calc_JobAHurtAddPer], False, TYPE_Linear],
    ShareDefine.Def_Effect_JobBHurtAddPer:[[TYPE_Calc_JobBHurtAddPer], False, TYPE_Linear],
    ShareDefine.Def_Effect_JobCHurtAddPer:[[TYPE_Calc_JobCHurtAddPer], False, TYPE_Linear],
    ShareDefine.Def_Effect_JobAAtkReducePer:[[TYPE_Calc_JobAAtkReducePer], False, TYPE_Linear],
    ShareDefine.Def_Effect_JobBAtkReducePer:[[TYPE_Calc_JobBAtkReducePer], False, TYPE_Linear],
    ShareDefine.Def_Effect_JobCAtkReducePer:[[TYPE_Calc_JobCAtkReducePer], False, TYPE_Linear],
    AttrName_JobAHurtAddPer:[[TYPE_Calc_JobAHurtAddPer], False, TYPE_Linear],
    AttrName_JobBHurtAddPer:[[TYPE_Calc_JobBHurtAddPer], False, TYPE_Linear],
    AttrName_JobCHurtAddPer:[[TYPE_Calc_JobCHurtAddPer], False, TYPE_Linear],
@@ -4361,7 +4421,10 @@
Def_CalcAttrFunc_GatherSoul, # 聚魂39
Def_CalcAttrFunc_MagicWeapon4, # 王者法宝40
Def_CalcAttrFunc_Coat, # ʱװ41
) = range(42)
Def_CalcAttrFunc_ZXEquip, # 诛仙装备42
Def_CalcAttrFunc_ZXEquipSuit, # 诛仙装备套装43
Def_CalcAttrFunc_ZXEquipStone, # 诛仙宝石属性44
) = range(45)
# 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
@@ -4403,8 +4466,9 @@
                            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_ZhuXian:[Def_CalcAttrFunc_ZXEquipSuit, Def_CalcAttrFunc_ZXEquipStone],
                            ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose],
                            }
@@ -4543,7 +4607,8 @@
Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改;
Def_VerFix_AddPoint, # 老号属性点修复;
Def_VerFix_GodWeaponItem, # 1.5删除中级神兵石;
) = range(9)
Def_VerFix_ZXTower, # 诛仙塔奖励变更补偿;
) = range(10)
##==================================================================================================
#游戏消费点类型定义
@@ -4590,6 +4655,8 @@
Def_Cost_FBHelpBattle, # 副本助战
Def_Cost_FBGatherSoulBoss, # 聚魂副本BOSS召唤 40
Def_Cost_CrossRealmPK, # 跨服PK
Def_Cost_LuckyTreasure, #幸运鉴宝
Def_Cost_MysteryShopRefresh, # 神秘商店刷新
#-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------
Def_Cost_RefreshArrestTask, # 刷新悬赏任务
Def_Cost_OffLineExp, # 兑换离线经验
@@ -4606,7 +4673,7 @@
Def_Cost_Trade, # 交易
Def_Cost_Rename, # 改名
Def_Cost_SkillLvUp, # 技能升级
) = range(2000, 2000 + 57)
) = range(2000, 2000 + 59)
Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key
@@ -4691,6 +4758,8 @@
Def_Cost_FBHelpBattle:"FBHelpBattle",
Def_Cost_FBGatherSoulBoss:"FBGatherSoulBoss",
Def_Cost_CrossRealmPK:"CrossRealmPK",
Def_Cost_LuckyTreasure:"LuckyTreasure",
Def_Cost_MysteryShopRefresh:"MysteryShopRefresh",
}
## -----------------------------------------------------
@@ -4782,7 +4851,8 @@
ItemGive_Refine, # 炼丹
ItemGive_Chests, # 宝箱
ItemGive_TrialExchange, # 宗门兑换
) = range(1000, 1000 + 20)
ItemGive_LuckyTreasure, #幸运鉴宝
) = range(1000, 1000 + 21)
# 物品获得类型对应信息 {类型:eventName, ...}
ItemGiveTypeDict = {
@@ -4806,6 +4876,7 @@
                    ItemGive_Refine:"Refine",
                    ItemGive_Chests:"Chests",
                    ItemGive_TrialExchange:"TrialExchange",
                    ItemGive_LuckyTreasure:"LuckyTreasure",
                    }
## 物品扣除类型定义,与获得类型不重复,类型定义为 2000 ~ 2999
@@ -4847,7 +4918,8 @@
ItemDel_ChatBubbleBox, # 激活聊天气泡框
ItemDel_GatherSoul, # 聚魂分解
ItemDel_CoatDecompose, # 时装分解
) = range(2000, 2000 + 37)
ItemDel_ZhuXianDecompose, # 诛仙装备分解
) = range(2000, 2000 + 38)
# 物品扣除类型对应信息 {类型:eventName, ...}
ItemDelTypeDict = {
@@ -4888,6 +4960,7 @@
                   ItemDel_ChatBubbleBox:"ChatBubbleBox",
                   ItemDel_GatherSoul:"GatherSoul",
                   ItemDel_CoatDecompose:"CoatDecompose",
                   ItemDel_ZhuXianDecompose:"ZhuXianDecompose",
                   }
##==================================================================================================
@@ -5043,7 +5116,8 @@
Def_SkillFuncType_SkillRoll,  #10为翻滚    服务端未用到
Def_SkillFuncType_RealmSuppress,  #11为境界压制 目前是NPC在用
Def_SkillFuncType_Dogz,     #12 神兽技能
) = range(13)
Def_SkillFuncType_ZhuXian,     #13 诛仙技能
) = range(14)
# 受技能效果完全影响的怪, 对应 Def_BattleRelationType_CommNoBoss
Def_SkillAttack_NPCIsBoss = [ Def_NPCType_Ogre_Normal     ,  #平凡小怪 0    # c++ 定义为普通NPC视野刷新
@@ -5160,7 +5234,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复活相关活动定义
@@ -5219,7 +5297,40 @@
Def_WPAct_XMZZ, #仙魔之争 18
Def_WPAct_FamilyWar,  #仙魔联赛 19
Def_WPAct_Login,  #每日登录 20
) = range(1, 20+1)
Def_WPAct_Horse,  #激活某只坐骑 21
Def_WPAct_Pet,  #激活某只灵宠 22
Def_WPAct_Dogz,  #出战某只神兽 23
Def_WPAct_Stone,  #宝石总等级 24
Def_WPAct_GodWeapon,  #神兵总等级 25
Def_WPAct_Rune,  #穿戴某品质符印 26
Def_WPAct_Pray,  #祈愿 27
) = range(1, 27+1)
#可提前完成的周狂欢活动
AheadFinishWPActList = [Def_WPAct_Horse, Def_WPAct_Pet, Def_WPAct_Dogz, Def_WPAct_Rune]
#登录奖励活动定义
LoginAwardActIDList = (
Def_LoginAct_Login,  #每日登录1
Def_LoginAct_Pray, #祈愿2
Def_LoginAct_TowerSweep, #符印塔扫荡 3
Def_LoginAct_KirinHome, #麒麟之府 4
Def_LoginAct_RunTask, #师门悬赏5
Def_LoginAct_XJMJ, #仙境秘境 6
Def_LoginAct_FMT, #封魔坛7
Def_LoginAct_MunekadoTrial, #宗门试炼8
Def_LoginAct_FamilyParty, #仙盟宴会9
Def_LoginAct_WorldBOSS, #世界boss 10
Def_LoginAct_QueenRelices, #娲皇遗迹 11
Def_LoginAct_IceLode, #冰晶矿脉 12
Def_LoginAct_GodArea, #古神禁地 13
Def_LoginAct_ZhuXianTower, #诛仙塔挑战 14
Def_LoginAct_ZhuXianBOSS, #诛仙boss 15
Def_LoginAct_Alchemy, #炼丹 16
Def_LoginAct_EquipPlus, #强化 17
Def_LoginAct_EquipWash, #洗炼 18
) = range(1, 18+1)
# 套装枚举,普通套装,强化套装
(EquipSuitType_Normal,