From e4fc3ac2dea951d1345acb647cf9bc36142951e9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 二月 2026 11:41:47 +0800
Subject: [PATCH] 16 卡牌服务端(删除不需要的旧活动:成长必买、限时特惠、限时礼包、每日礼包、限时抢购、极品白拿、运势活动、天帝礼包、转盘、许愿池、幸运鉴宝;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py
index 81a0369..bc622a5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py
@@ -15,6 +15,7 @@
 #"""Version = 2023-12-05 15:30"""
 #-------------------------------------------------------------------------------
 
+import FBCommon
 import GameWorld
 import NetPackCommon
 import IpyGameDataPY
@@ -36,7 +37,9 @@
 ZhanlingType_GubaoCnt, # 古宝数量 4
 ZhanlingType_ArenaCnt, # 演武场次数 5
 ZhanlingType_WeekActivity, # 周活跃 6
-) = range(1, 1 + 6)
+ZhanlingType_MainLevelPlus, # 主线关卡 7
+ZhanlingType_DingjungeLVID, # 定军阁关卡ID 8
+) = range(1, 1 + 8)
 
 # 用Value1记录进度的战令类型
 ZhanlingValue1TypeList = [ZhanlingType_ArenaCnt, ZhanlingType_WeekActivity]
@@ -227,9 +230,12 @@
         curValue = curPlayer.GetLV()
     elif zhanlingType == ZhanlingType_TreeLV:
         curValue = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TreeLV)
-    elif zhanlingType == ZhanlingType_MainLevel:
+    elif zhanlingType in [ZhanlingType_MainLevel, ZhanlingType_MainLevelPlus]:
         lvID = needValue
         curValue = lvID if PlayerControl.IsMainLevelPass(curPlayer, lvID) else 0
+    elif zhanlingType == ZhanlingType_DingjungeLVID:
+        lineID = needValue
+        curValue = lineID if FBCommon.IsFBPass(curPlayer, ChConfig.Def_FBMapID_Dingjunge, lineID) else 0
     elif zhanlingType == ZhanlingType_GubaoCnt:
         curValue = PlayerGubao.GetGubaoTotalCnt(curPlayer, needValue)
     #elif zhanlingType == ZhanlingType_Login:

--
Gitblit v1.8.0