From 00b076d0f6fec2844363efba8f75a1a675086e95 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 13 十一月 2023 13:14:42 +0800
Subject: [PATCH] 9912 [BT0.1]BOSS凭证(boss历练活动)

---
 ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py |  108 ++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 77 insertions(+), 31 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py b/ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py
index 76a086e..1e8b082 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py
@@ -369,7 +369,7 @@
 Def_WorldKey_BossIsAlive = 'BossIsAlive_%s'                  #boss是否活着
 Def_WorldKey_IsGameWorldInit = 'IsGameWorldInit'             #GameWold是否初始化完成
 Def_WorldKey_BossIsGeTui = "BossGeTui%s"                     #当前复活通知
-Def_WorldKey_OperationActionState = "OperationActState_%s"   #运营活动状态,参数为运营活动名
+Def_WorldKey_OperationActionState = "State_%s"               #运营活动状态,参数为(运营活动名)
 Def_WorldKey_BossRebornNeedPoint = "BossRebornNeedPoint"     #boss复活需要总点数
 Def_WorldKey_CrossBossIsAlive = 'CrossBossIsAlive_%s_%s'     #跨服boss是否活着,参数(zoneID, bossID)
 Def_WorldKey_GameWorldInitOK = 'GameWorldInitOK'             #GameWold是否初始化完成OK
@@ -534,6 +534,7 @@
                                 ShareDefine.Def_UniversalGameRecType_DujieHelpRecord:10000,   #渡劫副本护法详细记录
                                 ShareDefine.Def_UniversalGameRecType_ZhuXianBossRecord:100,   #诛仙BOSS结算记录
                                 ShareDefine.Def_UniversalGameRecType_LuckyTreasure:5,   #幸运鉴宝记录
+                                ShareDefine.Def_UniversalGameRecType_FeastWish:30,   #节日祝福大奖记录
                               }
 #---------------------------------------------------------------------
 #比较标识
@@ -568,12 +569,13 @@
             ShareDefine.Def_BT_FightPower_Horse         : 100,           #坐骑战斗力总榜
             ShareDefine.Def_BT_FightPower_Pet           : 100,           #宠物总战力榜
             ShareDefine.Def_BT_TrialTower               : 100,           #天神之塔榜
+            ShareDefine.Def_BT_SkyTower                 : 100,           #天星塔榜
             ShareDefine.Def_BT_OffLineEfficient         : 100,           #脱机效率榜
             ShareDefine.Def_BT_Realm                    : 100,           #境界榜
             ShareDefine.Def_BT_TotalRecharge            : 100,           #充值榜
             
-            ShareDefine.Def_BT_Campaign_PlusLV          : 100,           #强化等级(开服活动榜)
-            ShareDefine.Def_BT_Campaign_HorseLV         : 100,           #坐骑等级(开服活动榜)  
+            ShareDefine.Def_BT_Campaign_Plus            : 100,           #强化战力(开服活动榜)
+            ShareDefine.Def_BT_Campaign_Horse           : 100,           #坐骑战力(开服活动榜)  
             ShareDefine.Def_BT_Campaign_StoneLV         : 100,           #宝石等级(开服活动榜)
             ShareDefine.Def_BT_Campaign_LV              : 100,           #冲级排行(开服活动榜)
             ShareDefine.Def_BT_Campaign_RealmLV         : 100,           #境界等级(开服活动榜)
@@ -582,17 +584,18 @@
             ShareDefine.Def_BT_Campaign_GodWeaponLV     : 100,           #神兵等级(开服活动榜)
             ShareDefine.Def_BT_Campaign_Recharge        : 100,           #累计充值(开服活动榜)
             ShareDefine.Def_BT_Campaign_PetLV           : 100,           #灵宠等级(开服活动榜)  
+            ShareDefine.Def_BT_Campaign_LingGen         : 100,           #灵根总点(开服活动榜)  
+            ShareDefine.Def_BT_Campaign_StarLV          : 100,           #升星等级(开服活动榜)  
+            ShareDefine.Def_BT_Campaign_Wash            : 100,           #洗练战力(开服活动榜)
             ShareDefine.Def_BT_FCCostGold               : 5,             #消费排行榜(仙界盛典)
             ShareDefine.Def_BT_NewFCCostGold            : 5,             #消费排行榜(仙界盛典)
-            ShareDefine.Def_BT_FBHelpBattle             : 100,           #助战次数榜
-            ShareDefine.Def_BT_ZhuXianTower             : 100,           #诛仙塔榜
-            ShareDefine.Def_BT_HighLadder               : 1000,          #玩家天梯竞技场排行
-            ShareDefine.Def_BT_HighLadder_Yester        : 1000,          #玩家天梯竞技场昨日排行
-            ShareDefine.Def_BT_RechargeTeHuiLast        : 20,            #充值特惠活动排行榜-上一期记录 
-            ShareDefine.Def_BT_RechargeTeHui            : 20,            #充值特惠活动排行榜-当前期记录 
             
-            ShareDefine.Def_BT_CostTeHui                : 10,            #消费特惠排行榜
-            ShareDefine.Def_BT_CostTeHuiLast            : 10,            #消费特惠排行榜上一期
+            ShareDefine.Def_BT_Arena                    : 1000,          #竞技场榜
+            ShareDefine.Def_BT_Environment              : 20,            #环保榜 (垃圾分类活动)
+            ShareDefine.Def_BT_CharmTotal               : 100,           #魅力总榜
+            ShareDefine.Def_BT_CharmWeek                : 100,           #魅力周榜
+            ShareDefine.Def_BT_CharmDay                 : 100,           #魅力日榜
+            ShareDefine.Def_BT_BossTrialSubmit          : 20,            #boss凭证 (boss历练活动)
             }
 
 #排行榜保存类型(和BillboardType匹配), 默认保存, 如果不保存,可配置进去
@@ -622,7 +625,6 @@
 Def_PlayerDataCollect_Key = 0x86
 
 #---SetDict  玩家字典不存数据库---
-Def_Player_NoSave_Dict_RecallCountGift = 'RecallCountGift_0'    # 召回玩家个数奖励发包限制
 Def_Player_NoSave_Dict_PlayerExamRightCnt = 'PlayerExamRightCnt_1_%s'  # 玩家答题正确数量
 Def_Player_NoSave_Dict_PlayerExamCRightCnt = 'PlayerExamCRightCnt_1_%s'  # 玩家答题连续正确数量
 
@@ -639,8 +641,6 @@
 Def_PlayerKey_MergeRegisterRoomID = "MergeRegisterRoomID"  #当前上传数据的roomID
 Def_PlayerKey_IsLoginToMergeServer = "IsLoginToMergeServer"  #是否要登陆跨服服务器
 Def_PlayerKey_IsCrossPKMatching = "IsCrossPKMatching"  #是否跨服匹配中
-
-Def_PlayerKey_FreshmanGuiderDay = "FreshmanGuiderDay"  #新手指导员天数
 
 Def_PlayerKey_PlayerFromPID = "PlayerFromPID"  #pid
 
@@ -659,6 +659,8 @@
 
 Def_PlayerKey_ViewCrossPKBillboardTick = "ViewCrossPKBillboardTick_%s_%s"  #查询PK排行榜tick,参数(zoneID, seasonID)
 
+#主城地图、缥缈宗
+Def_FBMapID_MainCity = 10010
 #渡劫副本
 Def_FBMapID_DuJie = 31110
 #仙盟联赛
@@ -675,24 +677,63 @@
 Def_FBMapID_XMZZ = 31010
 #仙盟boss副本
 Def_FBMapID_FamilyBossMap = 31210
+#多仙盟Boss
+Def_FBMapID_AllFamilyBoss = 31260
 #宗门试炼
 Def_FBMapID_MunekadoTrial = 60010
 #混乱妖域
 Def_FBMapID_ChaosDemon = 31180
+#讨伐妖魔
+Def_FBMapID_KillDevil = 31280
 #娲皇遗迹
 Def_FBMapID_QueenRelics = 51010
 #跨服竞技场
 Def_FBMapID_CrossRealmPK = 32010
+#跨服排位
+Def_FBMapID_CrossChampionship = 32070
 #跨服蓬莱仙境
 Def_FBMapID_CrossPenglai = 32020
+#跨服魔化之地
+Def_FBMapID_CrossDemonLand = 32080
+#跨服妖王
+Def_FBMapID_CrossDemonKing = 32030
+#本服妖王
+Def_FBMapID_DemonKing = 22030
+#骑宠Boss
+Def_FBMapID_HorsePetBoss = 31200
+#跨服灵草园
+Def_FBMapID_CrossGrasslandLing = 32040
+#跨服仙草园
+Def_FBMapID_CrossGrasslandXian = 32050
+#跨服战场
+Def_FBMapID_CrossBattlefield = 32060
+#情缘副本
+Def_FBMapID_Love = 31300
 
 #需要刷世界BOSS的副本
-WorldBossFBMapIDList = [Def_FBMapID_SealDemon, Def_FBMapID_ZhuXianBoss]
+WorldBossFBMapIDList = [Def_FBMapID_SealDemon, Def_FBMapID_ZhuXianBoss, Def_FBMapID_DemonKing]
 #跨服地图
-Def_CrossMapIDList = [Def_FBMapID_CrossRealmPK, Def_FBMapID_CrossPenglai]
-#跨服分区对应地图配置表名
+Def_CrossMapIDList = [Def_FBMapID_CrossRealmPK, Def_FBMapID_CrossPenglai, Def_FBMapID_CrossDemonLand, Def_FBMapID_CrossDemonKing, Def_FBMapID_CrossGrasslandLing, Def_FBMapID_CrossGrasslandXian]
+#跨服分区类型配置, 没配置的默认 CrossZoneComm
+Def_CrossZoneTypeName = {0:"CrossZoneComm", # 特殊0,默认常规分区
+                         Def_FBMapID_CrossPenglai:"CrossZoneComm",
+                         Def_FBMapID_CrossDemonLand:"CrossZoneComm",
+                         Def_FBMapID_CrossRealmPK:"CrossZonePK",
+                         Def_FBMapID_CrossDemonKing:"CrossZonePK",
+                         Def_FBMapID_CrossGrasslandLing:"CrossZonePK",
+                         Def_FBMapID_CrossGrasslandXian:"CrossZonePK",
+                         Def_FBMapID_CrossBattlefield:"CrossZonePK",
+                         Def_FBMapID_CrossChampionship:"CrossZonePK",
+                         }
+#跨服分区对应地图配置表名 - 仅适用于固定地图及虚拟分线的跨服玩法
 Def_CrossZoneMapTableName = {Def_FBMapID_CrossPenglai:"CrossPenglaiZoneMap",
+                             Def_FBMapID_CrossDemonLand:"CrossDemonLandZoneMap",
                              }
+#需要动态分配线路的跨服地图
+Def_CrossDynamicLineMap = [Def_FBMapID_CrossDemonKing, Def_FBMapID_CrossGrasslandLing, Def_FBMapID_CrossGrasslandXian]
+
+#需要统计副本功能线路ID人数的跨服地图
+Def_NeedCountFBFuncLinePlayerCrossMap = [Def_FBMapID_CrossDemonKing]
 
 #同系职业枚举
 JOB_TYPY_COUNT = 5
@@ -719,12 +760,6 @@
 # 邮件(补偿)默认发件人, 具体做活动再定
 Def_Mail_SenderSys = "SenderSys"    # 默认邮件发送人
 
-# 邮件类型划分,用于每种类型的保存上限
-(
-Mail_Type_Default,
-Mail_Type_Market,
-) = range(2)
-
 # 竖杠
 Def_Str_Montant = "|"
 
@@ -733,13 +768,14 @@
 Def_Online = 1
 Def_OnlineNoClient = 2
 
-# 分组 1 最近联系人 2 好友 3 仇人 4 黑名单
+# 分组 1 最近联系人 2 好友 3 仇人 4 黑名单 5 亲密
 (
 Def_SocialGroup_Contacts,
 Def_SocialGroup_Friend,
 Def_SocialGroup_Enemy,
 Def_SocialGroup_Black,
-) = range(1, 5)
+Def_SocialGroup_Intimacy,
+) = range(1, 6)
 
 Def_CDBPlayerRefresh_Online = "OnlineType"
 
@@ -792,11 +828,9 @@
 VIPPrivilege_BindJadeWheel,    #30 绑玉转盘次数
 VIPPrivilege_PrayElixir,    #31 丹药祈福次数
 VIPPrivilege_32,    #32 封魔坛自动挑战
-VIPPrivilege_XianyuanCoinUpperAdd,    #33 仙缘币上限加成
-VIPPrivilege_XianyuanCoinAddPer,    #34 仙缘币获得倍率加成(万分比)
+VIPPrivilege_33,    #33
+VIPPrivilege_34,    #34
 ) = range(1, 35)
-
-Def_MailMoneySource = "MoneySource" # 邮件货币来源key
 
 #游戏货币来源类型定义
 (
@@ -820,8 +854,8 @@
 Def_GiveMoney_Warehouse, # 仓库
 Def_GiveMoney_SellPackItem, # 出售背包物品
 Def_GiveMoney_CollectNPC, # 采集NPC
-Def_GiveMoney_HighLadder, # 天梯竞技场 20
-Def_GiveMoney_StallItem, # 摆摊
+Def_GiveMoney_BossFirstKill, # Boss首杀
+Def_GiveMoney_21,
 Def_GiveMoney_Trade, # 交易
 Def_GiveMoney_Truck, # 运镖
 Def_GiveMoney_FreeGoods, # 极品白拿 
@@ -830,3 +864,15 @@
 Def_GiveMoney_AuctionBidReturn, #拍卖竞价返还
 Def_GiveMoney_AuctionGain, #拍卖获得利润
 ) = range(1000, 1000 + 29)
+
+Def_ItemID_GoldMoney = 20               # 直接给仙玉
+Def_ItemID_GoldPaper = 30               # 直接给绑玉/灵石
+Def_ItemID_SilverPaper = 500               # 直接给金票物品
+Def_ItemID_GongdePoint = 530               # 直接给功德点
+# 货币类型对应直接给货币物品ID
+MoneyItemIDDict = {IPY_GameServer.TYPE_Price_Gold_Money:Def_ItemID_GoldMoney,
+                   IPY_GameServer.TYPE_Price_Gold_Paper:Def_ItemID_GoldPaper,
+                   IPY_GameServer.TYPE_Price_Silver_Paper:Def_ItemID_SilverPaper,
+                   ShareDefine.TYPE_Price_GongdePoint:Def_ItemID_GongdePoint,
+                   }
+

--
Gitblit v1.8.0