From ad46a0c520f5b6e8e432c97bb2416e80a5b6eceb Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 19 一月 2019 00:42:20 +0800 Subject: [PATCH] 5722 【后端】【1.5】跨服BOSS开发(跨服PK重复领取赛季奖励防范) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index b559aef..6695f98 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -355,6 +355,7 @@ Def_ItemType_DogzEquipTooth = 121 # 神兽獠牙 Def_ItemType_DogzEquipClaw = 122 # 神兽兽爪 Def_ItemType_DogzEquipScute = 123 # 神兽鳞甲 +Def_ItemType_AddCrossRealmPKCnt = 127 #增加跨服PK次数 #以下定义物品类型下次删除 Def_Item_Type_Horse = 1000036 #坐骑 @@ -1887,9 +1888,7 @@ 'Guard':[Def_FBMapID_Guard], #守护副本 'SealDemon':[Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx], #封魔坛 'XMZZ':[Def_FBMapID_XMZZ], #仙魔之争 - 'Dogz':[Def_FBMapID_Dogz], #神兽副本 'CrossRealmPK':[Def_FBMapID_CrossRealmPK], #跨服竞技场 - 'CrossPenglai':[Def_FBMapID_CrossPenglai], #跨服蓬莱仙境 'GatherSoul':[Def_FBMapID_GatherSoul],#聚魂副本 } @@ -1950,6 +1949,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" # 副本开始提示 @@ -2397,7 +2399,6 @@ #装备物品位置,不需要重刷属性 EquipItemNoRefreshState = [ ShareDefine.retHorse, #19 坐骑 - ShareDefine.retWing, #11 翅膀 ShareDefine.retWeaponSkin, #20 时装武器 ShareDefine.retClothesSkin, #21 时装衣服 ShareDefine.retWeapon2Skin, #22 时装副手 @@ -3262,7 +3263,7 @@ Def_PDictType_OpenServerCampaign, # 开服活动 Def_PDictType_WeekParty, Def_PDictType_Family_Contribution, # 战盟贡献度 -Def_PDictType_10, # 10 +Def_PDictType_LoginAward, # 登录奖励运营活动 Def_PDictType_OfficialRank, # 官爵 Def_PDictType_Horse, # 坐骑 Def_PDictType_Wing, # 翅膀 @@ -3479,9 +3480,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 @@ -3722,6 +3720,11 @@ Def_PDict_WeekPartyGotTimes = "WeekPartyGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID) Def_PDict_WeekPartyAwardRecord = "WeekPartyAwardRecord_%s" #积分领奖记录 参数(第X天) Def_PDict_WeekPartyPoint = "WeekPartyPoint_%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_PDictType_OnlinePrize Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt" # 新手在线已领取奖励次数 @@ -3849,6 +3852,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" # 段位达标奖励记录,二进制位存储是否已领取,按段位代表奖励位 @@ -4524,7 +4528,8 @@ Def_VerFix_Horse, # 坐骑等级上限修改,对应技能触发修改; Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改; Def_VerFix_AddPoint, # 老号属性点修复; -) = range(8) +Def_VerFix_GodWeaponItem, # 1.5删除中级神兵石; +) = range(9) ##================================================================================================== #游戏消费点类型定义 @@ -5139,7 +5144,8 @@ Def_RewardType_IceLodeStar, # 冰晶矿脉星级奖励19 Def_RewardType_WeekPartyAct, # 领取周狂欢活动奖励20 Def_RewardType_WeekPartyPoint, # 领取周狂欢积分奖励21 -)= range(22) +Def_RewardType_ActLoginAwardAct, # 领取登录奖励活动奖励22 +)= range(23) #boss复活相关活动定义 @@ -5197,7 +5203,8 @@ Def_WPAct_ChaosDemon, #混乱妖域 17 Def_WPAct_XMZZ, #仙魔之争 18 Def_WPAct_FamilyWar, #仙魔联赛 19 -) = range(1, 19+1) +Def_WPAct_Login, #每日登录 20 +) = range(1, 20+1) # 套装枚举,普通套装,强化套装 (EquipSuitType_Normal, -- Gitblit v1.8.0