| | |
| | | #"""Version = 2023-12-05 15:30"""
|
| | | #-------------------------------------------------------------------------------
|
| | |
|
| | | import FBCommon
|
| | | import GameWorld
|
| | | import NetPackCommon
|
| | | import IpyGameDataPY
|
| | |
| | | ZhanlingType_ArenaCnt, # 演武场次数 5
|
| | | ZhanlingType_WeekActivity, # 周活跃 6
|
| | | ZhanlingType_MainLevelPlus, # 主线关卡 7
|
| | | ) = range(1, 1 + 7)
|
| | | ZhanlingType_DingjungeLVID, # 定军阁关卡ID 8
|
| | | ) = range(1, 1 + 8)
|
| | |
|
| | | # 用Value1记录进度的战令类型
|
| | | ZhanlingValue1TypeList = [ZhanlingType_ArenaCnt, ZhanlingType_WeekActivity]
|
| | |
| | | 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:
|