From 9bbff431b0f42a19ed6efe6b98164586b5984a20 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 20 一月 2026 15:55:00 +0800
Subject: [PATCH] 16 卡牌服务端(后台GM广播;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py | 5 +++--
1 files changed, 3 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..26f5dff 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py
@@ -36,7 +36,8 @@
ZhanlingType_GubaoCnt, # 古宝数量 4
ZhanlingType_ArenaCnt, # 演武场次数 5
ZhanlingType_WeekActivity, # 周活跃 6
-) = range(1, 1 + 6)
+ZhanlingType_MainLevelPlus, # 主线关卡 7
+) = range(1, 1 + 7)
# 用Value1记录进度的战令类型
ZhanlingValue1TypeList = [ZhanlingType_ArenaCnt, ZhanlingType_WeekActivity]
@@ -227,7 +228,7 @@
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_GubaoCnt:
--
Gitblit v1.8.0