From 66b62f390f79bb50b816e8cb5905aaaa1ac2022d Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 31 一月 2019 15:09:53 +0800 Subject: [PATCH] 6087 【后端】【1.5.200】春节红包雨活动(修复进入地图成就不增加bug) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 270 ++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 212 insertions(+), 58 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index c25bc11..070e8a7 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -68,7 +68,7 @@ Def_BuffValue_Count = 3 # buff记录的value个数 #游戏对象属性-------------------------------------------- -Def_Calc_AllAttrType_MAX = 131 +Def_Calc_AllAttrType_MAX = 133 #基本属性BUFF计算,顺序与 ObjProperty_AttrByIndex 对应,同时也为buff效果ID同步通知策划 TYPE_Calc_AttrList = ( #基础属性 @@ -214,7 +214,9 @@ TYPE_Calc_WingHPPer, # 翅膀生命百分比 TYPE_Calc_SuiteBasePer, # 套装基础属性百分比 TYPE_Calc_PlusBaseAtkPer, # 强化基础攻击百分比 -TYPE_Calc_ProDef, # 当前防护值 +TYPE_Calc_ProDef, # 当前防护值 130 +TYPE_Calc_ZhuxianRate, # 诛仙一击的概率 +TYPE_Calc_ZhuxianHurtPer, # 诛仙一击的伤害比 ) = range(1, Def_Calc_AllAttrType_MAX) @@ -265,9 +267,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 #所有类型 @@ -354,6 +357,21 @@ Def_ItemType_DogzEquipTooth = 121 # 神兽獠牙 Def_ItemType_DogzEquipClaw = 122 # 神兽兽爪 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_Item_Type_Horse = 1000036 #坐骑 @@ -364,22 +382,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 # 部位对应装备类型列表 @@ -435,9 +447,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 +781,10 @@ Def_HurtType_Miss, # 闪避 9 Def_HurtType_Immune, # 免疫 10 Def_HurtType_RealmSupress, # 境界压制 11 -) = range(1, 12) +Def_HurtType_Zhansha, # 斩杀 12 +Def_HurtType_Zhuxian, # 诛仙一击 13 +Def_HurtType_ZhognjiZhansha, # 终极斩杀 14 +) = range(1, 15) #Def_HurtType_SuckBlood, # 吸血 ( @@ -781,13 +796,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 @@ -847,6 +865,10 @@ Def_PackCnt_DogzItem = 100 #初始化神兽装备格子数 Def_PackCnt_DogzEquip = 100 +#初始化诛仙背包格子数 +Def_PackCnt_ZhuXianItem = 100 +#初始化诛仙装备格子数 +Def_PackCnt_ZhuXianEquip = 12 #初始化装备栏2 Def_PackCnt_Equip2 = 0 #初始化回收站 @@ -1090,6 +1112,8 @@ ShareDefine.rptPet, ShareDefine.rptDogzItem, ShareDefine.rptDogzEquip, + ShareDefine.rptZhuXianItem, + ShareDefine.rptZhuXianEquip, ] #装备可强化背包列表 @@ -1455,7 +1479,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 @@ -1779,7 +1803,10 @@ Def_FBMapID_SealDemon = 52010 #单人封魔坛 Def_FBMapID_SealDemonEx = 52020 - +#诛仙BOSS +Def_FBMapID_ZhuXianBoss = 31380 +#诛仙塔 +Def_FBMapID_ZhuXianTower = 31370 #仙魔之争 Def_FBMapID_XMZZ = 31010 #神兽副本 @@ -1788,10 +1815,22 @@ Def_FBMapID_GatherSoul = 31340 #跨服竞技场 Def_FBMapID_CrossRealmPK = 32010 +#跨服蓬莱仙境 +Def_FBMapID_CrossPenglai = 32020 + + +#注册上传跨服服务器数据后直接进入跨服服务器的地图 +RegisterEnter_CrossServerMapIDList = [Def_FBMapID_CrossPenglai] +#跨服地图 +Def_CrossMapIDList = [Def_FBMapID_CrossRealmPK, Def_FBMapID_CrossPenglai] +#跨服对应分区配置表名 +Def_CrossZoneTableName = {Def_FBMapID_CrossPenglai:"CrossPenglaiZone", + } + #副本关闭时未拾取的物品邮件发放给玩家 #这里只有需要的副本才配置,不做默认逻辑,防止某些副本实际不能给导致刷物品,如麒麟之府 Def_SendUnPickItemMailMapIDList = [Def_FBMapID_IceLode, Def_FBMapID_PersonalBoss, Def_FBMapID_MunekadoTrial, - Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx] + Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx, Def_FBMapID_ZhuXianBoss] #金钱不掉物品直接给玩家的地图 Def_GiveMoneyMapIDList = [] @@ -1799,13 +1838,13 @@ # 副本中玩家下线就被踢出 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] # 进入副本需要发送到GameServer的地图 -Def_MapID_SendToGameServer = [Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap, Def_FBMapID_SealDemon, Def_FBMapID_FamilyWar] + Def_MapID_LineIDToPropertyID +Def_MapID_SendToGameServer = [Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap, Def_FBMapID_SealDemon, Def_FBMapID_FamilyWar, Def_FBMapID_ZhuXianBoss] + Def_MapID_LineIDToPropertyID ## 进入副本需要根据请求的功能线路处理的地图, hxp-改了进入模式,暂不需要了 180320 #Def_MapID_ReqFBFuncLine = [Def_FBMapID_KirinHome, Def_FBMapID_BZZD, Def_FBMapID_SealDemonEx, @@ -1813,10 +1852,10 @@ # + Def_FBMapID_ClearDevil # 刷新标识点在无玩家的情况下也需要刷新的地图 -Def_NoPlayerNeedProcessRefreshPointMap = [Def_FBMapID_SealDemon, Def_FBMapID_GodArea, Def_FBMapID_BossHome, Def_FBMapID_GatherSoul] +Def_NoPlayerNeedProcessRefreshPointMap = [Def_FBMapID_SealDemon, Def_FBMapID_GodArea, Def_FBMapID_BossHome, Def_FBMapID_GatherSoul, Def_FBMapID_ZhuXianBoss] # 可重复进的副本 -Def_NoLimitEnterCntMap = [Def_FBMapID_FamilyParty, Def_FBMapID_FamilyWar, Def_FBMapID_FamilyInvade, Def_FBMapID_ElderBattlefield] +Def_NoLimitEnterCntMap = [Def_FBMapID_FamilyParty, Def_FBMapID_FamilyWar, Def_FBMapID_FamilyInvade, Def_FBMapID_ElderBattlefield, Def_FBMapID_ZhuXianBoss] # 无玩家时不自动关闭的自伸缩副本 Def_NoPlayerNotCloseAutoSizeMap = [Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap, Def_FBMapID_GatherSoul] @@ -1874,9 +1913,10 @@ 'Guard':[Def_FBMapID_Guard], #守护副本 'SealDemon':[Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx], #封魔坛 'XMZZ':[Def_FBMapID_XMZZ], #仙魔之争 - 'Dogz':[Def_FBMapID_Dogz], #神兽副本 'CrossRealmPK':[Def_FBMapID_CrossRealmPK], #跨服竞技场 'GatherSoul':[Def_FBMapID_GatherSoul],#聚魂副本 + 'ZhuXianBoss':[Def_FBMapID_ZhuXianBoss],#诛仙BOSS + 'ZhuXianTower':[Def_FBMapID_ZhuXianTower],#诛仙塔 } #特殊副本ID, 由系统分配, 进入时候不验证IsMapCopyFull @@ -1936,6 +1976,9 @@ Def_RMark_HasRefreshPoint = 'RMark_HasRefreshPoint_%s' #该点是否已经刷新 参数 刷怪点在地图中的索引 Def_RMark_TimePassCnt = 'Def_RMark_TimePassCnt' #时间超过刷新个数 Def_RMark_RefreshStep = 'Def_RMark_RefreshStep' #刷怪波数 + +Def_RMark_RandomRefreshNPCTick = 'RandomRefreshNPCTick' # 地图自定义随机刷怪,上次检查时间 +Def_RMark_RandomRefreshNPCNumTime = 'RandomRefreshNPCNumTime_%s' # 地图自定义随机刷怪,刷怪编号上次检查时间,参数(编号) Map_FBDict_NotifyOpen = "Map_FB_NTOpen" # 副本开启提示 Map_FBDict_NotifyStart = "Map_FB_NTStart" # 副本开始提示 @@ -2381,7 +2424,12 @@ Type_Equip_CanTake = ShareDefine.RoleEquipType #装备物品位置,不需要重刷属性 -EquipItemNoRefreshState = [] +EquipItemNoRefreshState = [ + ShareDefine.retHorse, #19 坐骑 + ShareDefine.retWeaponSkin, #20 时装武器 + ShareDefine.retClothesSkin, #21 时装衣服 + ShareDefine.retWeapon2Skin, #22 时装副手 + ] # 需要广播外观的装备部位 Def_SyncEquipStateByIndex = [ @@ -2835,14 +2883,12 @@ Def_RebornPos_Area_Range = 3 #复活类型(需要和C++统一) -RebornTypeCount = 8 +RebornTypeCount = 6 Def_RebornTypeList = [ -rebornType_City, #回城虚弱复活 -rebornType_Skill, #技能复活 -rebornType_Health, #原地健康复活 -rebornType_UseItem, #使用还阳咒复活 -rebornType_FBGold, #副本元宝复活 -rebornType_FBUseItem, #副本使用道具复活 +rebornType_City, #回城虚弱复活 0 +rebornType_Skill, #技能复活 1 +rebornType_Health, #原地健康复活 2 +rebornType_UseItem, #使用道具复活 3 rebornType_MainCity, #回主城复活 rebornType_System, #系统复活 ] = range(0, RebornTypeCount) @@ -3006,6 +3052,9 @@ #---SetDict 玩家字典KEY,不存于数据库--- # key的长度不能超过29个字节 +Def_PlayerKey_Zhansha = "zhansha" # 斩杀标志 +Def_PlayerKey_ZhuxianRate = "ZXRate" # 诛仙一击的概率 +Def_PlayerKey_ZhuxianHurtPer = "ZXHurtPer" # 诛仙一击的伤害% Def_PlayerKey_LockHPSkillID = "LockHPSkillID" # 锁血功能的技能 Def_PlayerKey_GodWeaponBeforeProDef = "GWBPD" # 神兵护盾被攻击前的值 Def_PlayerKey_curHurtValue = "curHurtValue" # 计算中的临时伤害值,技能特殊用 @@ -3242,9 +3291,9 @@ Def_PDictType_LVAward, # 等级奖励领取信息记录5 Def_PDictType_GoldGift, # 充值豪礼 Def_PDictType_OpenServerCampaign, # 开服活动 -Def_PDictType_8, -Def_PDictType_Family_Contribution, # 战盟贡献度 -Def_PDictType_10, # 10 +Def_PDictType_WeekParty, #周狂欢 +Def_PDictType_FeastWeekParty, # 节日巡礼 +Def_PDictType_LoginAward, # 登录奖励运营活动 Def_PDictType_OfficialRank, # 官爵 Def_PDictType_Horse, # 坐骑 Def_PDictType_Wing, # 翅膀 @@ -3269,6 +3318,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点 @@ -3280,7 +3331,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 @@ -3310,6 +3360,8 @@ Def_Player_Dict_FromPosY = 'FromPosY' # 最后一次离开的非中立常规地图,坐标X Def_Player_Dict_FromLineID = 'FromLineID' # 最后一次离开的非中立常规地图,线路ID +Def_PlayerKey_CrossRegisterMap = "CrossRegisterMap" #跨服注册活动地图, dataMapID +Def_PlayerKey_IsCrossPKMatching = "IsCrossPKMatching" #是否跨服匹配中 Def_Player_Dict_FamilyTechLV = "FamilyTechLV_%s" #家族科技等级, 参数(科技ID) Def_Player_Dict_RouteServerInitOK = "RouteServerInitOK_33" #RouteServer初始化成功(仅登陆一次) @@ -3383,13 +3435,10 @@ Def_Player_Dict_SignDayCnt = "SignDayCnt_151" # 签到次数 Def_Player_Dict_ForbidFamilyAction = 'ForbidFamilyAction_168' # 玩家是否能参加家族活动 Def_Player_Dict_ForbidFamilyAward = "ForbidFamilyAward" # 当日家族相关活动是否领奖受限, 按位存储 -Def_Player_Dict_RoomID = 'RoomID_184' # 房间ID Def_Player_Dict_HasApplyVIPClub = 'HasApplyVIPClub_185' # 是否申请过贵宾俱乐部 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" # 改名锁 @@ -3463,9 +3512,6 @@ Def_PDict_FreshmanGuideSpeakerCntToday = "FreshmanGuideSpeakerCntDay" # 新手指导员今日已免费传音次数 Def_PDict_LoginDayCnt = "PLoginDayCnt" # 累计登陆天数 Def_PDict_LoginDayAward = "PLoginDayAward" # 累计登陆领取情况 -Def_PDict_CollNpcCollTotalCnt = "CollNpcCollTotalCnt_%s" # 采集NPC累计采集次数,参数为NPCID -Def_PDict_CollNpcCollTime = "CollNpcCollTime_%s" # 采集NPC功能号对应每日对应采集次数,%sNPC功能号 -Def_PDict_CollNpcBuyTime = "CollNpcBuyTime_%s" # 采集NPC功能号对应每日购买采集次数,%sNPC功能号 Def_PDict_CollNpcIDCollTime = "CollNpcIDCollTime_%s" # 采集NPCID对应每日对应采集次数,%sNPCID Def_PDict_ShopItemDayBuyCnt = "ShopItemDayBuyCnt_%s" # 商店NPC商品已购买次数,itemIndex Def_PDict_ShopItemStartTime = "ShopItemStartTime_%s" # 神秘限购商品开卖时间,itemIndex @@ -3537,9 +3583,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等级奖励 @@ -3599,6 +3645,9 @@ #试炼之塔 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_GodArea_Anger = "GodArea_Anger" # 古神禁地怒气值 @@ -3656,6 +3705,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_FairyCeremonyID = "FairyCeremonyID" # 玩家身上的仙界盛典活动ID,唯一标识,取活动开始日期time值 @@ -3665,6 +3715,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" # 今日已转次数 @@ -3698,6 +3757,28 @@ Def_PDict_HelpBattleCheckInCount = "HelpBattleCheckInCount" #助战登记次数, 登记次数*10+今日是否登记过 Def_PDict_HelpBattleTotalCount = "HelpBattleTotalCount" #累计助战次数 Def_PDict_FBRealHelpCount = "FBRealHelpCount_%s" #副本真实助战次数,仅针对真实进去打的副本,参数mapID + +#周狂欢 +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) + +#诛仙BOSS +Def_PDict_ZhuXianBossHelpCnt = "ZhuXianBossHelpCnt" # 协助次数 #------------------------------------------------------------------------------- #类型 Def_PDictType_OnlinePrize Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt" # 新手在线已领取奖励次数 @@ -3825,6 +3906,7 @@ Def_PDict_CrossPK_TodayPKCount = "CrossPK_TodayPKCount" # 今日已PK次数 Def_PDict_CrossPK_TodayWinCount = "CrossPK_TodayWinCount" # 今日已胜利次数 Def_PDict_CrossPK_TodayBuyCount = "CrossPK_TodayBuyCount" # 今日已购买PK次数 +Def_PDict_CrossPK_ItemAddCount = "CrossPK_ItemAddCount" # 今日道具增加PK次数 Def_PDict_CrossPK_DayPKCountAwardState = "CrossPK_DayPKCountAwardState" # 每日匹配次数奖励记录,二进制位存储是否已领取,按匹配次数升序排序索引代表奖励位 Def_PDict_CrossPK_DayWinCountAwardState = "CrossPK_DayWinCountAwardState" # 每日胜利次数奖励记录,二进制位存储是否已领取,按胜利次数升序排序索引代表奖励位 Def_PDict_CrossPK_DanLVAwardState = "CrossPK_DanLVAwardState" # 段位达标奖励记录,二进制位存储是否已领取,按段位代表奖励位 @@ -3832,6 +3914,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 @@ -3850,6 +3933,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可升级境界 @@ -4138,6 +4226,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], @@ -4317,8 +4411,12 @@ 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 +Def_CalcAttrFunc_ZXEquip, # 诛仙装备42 +Def_CalcAttrFunc_ZXEquipSuit, # 诛仙装备套装43 +Def_CalcAttrFunc_ZXEquipStone, # 诛仙宝石属性44 +) = range(45) # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算 @@ -4359,8 +4457,10 @@ 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_ZhuXian:[Def_CalcAttrFunc_ZXEquipSuit, Def_CalcAttrFunc_ZXEquipStone], ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose], } @@ -4432,7 +4532,8 @@ TriggerType_LockHP, # 锁血触发技能 63 TriggerType_BeLuckyHit, # 被会心一击触发技能 64 TriggerType_BeLuckyHitSubPer, # 减少受到的会心伤害 65 -) = range(1, 66) +TriggerType_ZhongjiZhansha, # 终极斩杀 66 +) = range(1, 67) # NPC功能类型定义 @@ -4496,7 +4597,9 @@ Def_VerFix_SuperGift, # 超值礼包开启变更,原领取首充开启,改成等级到开启; Def_VerFix_Horse, # 坐骑等级上限修改,对应技能触发修改; Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改; -) = range(7) +Def_VerFix_AddPoint, # 老号属性点修复; +Def_VerFix_GodWeaponItem, # 1.5删除中级神兵石; +) = range(9) ##================================================================================================== #游戏消费点类型定义 @@ -4673,9 +4776,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 @@ -4799,7 +4902,9 @@ ItemDel_DogzEquipPlus, # 神兽装备强化 ItemDel_ChatBubbleBox, # 激活聊天气泡框 ItemDel_GatherSoul, # 聚魂分解 -) = range(2000, 2000 + 36) +ItemDel_CoatDecompose, # 时装分解 +ItemDel_ZhuXianDecompose, # 诛仙装备分解 +) = range(2000, 2000 + 38) # 物品扣除类型对应信息 {类型:eventName, ...} ItemDelTypeDict = { @@ -4837,6 +4942,10 @@ ItemDel_AddFBCnt:"AddFBCnt", ItemDel_AddKillBossCnt:"AddKillBossCnt", ItemDel_DogzEquipPlus:"DogzEquipPlus", + ItemDel_ChatBubbleBox:"ChatBubbleBox", + ItemDel_GatherSoul:"GatherSoul", + ItemDel_CoatDecompose:"CoatDecompose", + ItemDel_ZhuXianDecompose:"ZhuXianDecompose", } ##================================================================================================== @@ -4939,7 +5048,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 娲皇遗迹购买次数 - 副本总表统一处理 @@ -4948,7 +5057,8 @@ VIPPrivilege_32, #32 封魔坛自动挑战 VIPPrivilege_XianyuanCoinUpperAdd, #33 仙缘币上限加成 VIPPrivilege_XianyuanCoinAddPer, #34 仙缘币获得倍率加成(万分比) -) = range(1, 35) +VIPPrivilege_35, #35 诛仙BOSS购买次数 - 副本总表统一处理 +) = range(1, 36) ( @@ -4991,7 +5101,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视野刷新 @@ -5031,11 +5142,14 @@ GoldInvestType_Month, # 月卡投资 GoldInvestType_VIP, # vip投资 GoldInvestType_Gold, # 仙玉投资 -) = range(1,3+1) +GoldInvestType_Gold2, # 仙玉投资2 +GoldInvestType_Gold3, # 仙玉投资3 +) = range(1,5+1) #可以循环投资的类型 CanRepeatInvestType = [GoldInvestType_Month, GoldInvestType_VIP] - +#仙玉投资类型 +InvestGoldTypeList = [GoldInvestType_Gold, GoldInvestType_Gold2, GoldInvestType_Gold3] #前端特殊新手引导存储标记 GuideState_BZZDShow = 202 @@ -5102,7 +5216,14 @@ Def_RewardType_OpenFunc, # 功能开启奖励17 Def_RewardType_TotalRecharge, # 累计充值奖励18 Def_RewardType_IceLodeStar, # 冰晶矿脉星级奖励19 -)= range(20) +Def_RewardType_WeekPartyAct, # 领取周狂欢活动奖励20 +Def_RewardType_WeekPartyPoint, # 领取周狂欢积分奖励21 +Def_RewardType_ActLoginAwardAct, # 领取登录奖励活动奖励22 +Def_RewardType_NewFairyCRecharge, # 新仙界盛典充值大礼23 +Def_RewardType_NewFairyCParty, # 新仙界盛典全民来嗨24 +Def_RewardType_FeastWeekPartyAct, # 领取节日巡礼活动奖励25 +Def_RewardType_FeastWeekPartyPoint, # 领取节日巡礼积分奖励26 +)= range(27) #boss复活相关活动定义 @@ -5139,6 +5260,39 @@ Def_PPAct_VIPBoss, #vipBOSS 13 ) = range(1, 13+1) +#周狂欢活动定义 +WeekPartyActIDList = ( +Def_WPAct_RunTask, #师门悬赏 1 +Def_WPAct_XJMJ, #仙境秘境 2 +Def_WPAct_KirinHome, #麒麟之府 3 +Def_WPAct_QueenRelices, #娲皇遗迹 4 +Def_WPAct_IceLode, #冰晶矿脉 5 +Def_WPAct_Tower, #符印塔 6 +Def_WPAct_WorldBOSS, #世界boss 7 +Def_WPAct_BOSSHome, #boss之家 8 +Def_WPAct_FMT, #封魔坛 9 +Def_WPAct_GodArea, #古神禁地 10 +Def_WPAct_CrossPK, #跨服pk 11 +Def_WPAct_Recharge, #充值X仙玉 12 +Def_WPAct_GiftBag, #购买限时礼包 13 +Def_WPAct_FamilyRobBoss, #boss争夺战 14 +Def_WPAct_SWRH, #守卫人皇 15 +Def_WPAct_ElderBattlefield, #上古战场 16 +Def_WPAct_ChaosDemon, #混乱妖域 17 +Def_WPAct_XMZZ, #仙魔之争 18 +Def_WPAct_FamilyWar, #仙魔联赛 19 +Def_WPAct_Login, #每日登录 20 +Def_WPAct_Horse, #激活某只坐骑 21 +Def_WPAct_Pet, #激活某只灵宠 22 +Def_WPAct_Dogz, #出战某只神兽 23 +Def_WPAct_Stone, #宝石总等级 24 +Def_WPAct_GodWeapon, #神兵总等级 25 +Def_WPAct_Rune, #穿戴某品质符印 26 +) = range(1, 26+1) + +#可提前完成的周狂欢活动 +AheadFinishWPActList = [Def_WPAct_Horse, Def_WPAct_Pet, Def_WPAct_Dogz, Def_WPAct_Rune] + # 套装枚举,普通套装,强化套装 (EquipSuitType_Normal, EquipSuitType_Plus, -- Gitblit v1.8.0