225 【付费内容】功能基金-服务端(增加基金类型7 - 主线关卡基金plus;)
1个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerZhanling.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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: