| | |
| | | import IpyGameDataPY
|
| | | import PlayerControl
|
| | | import ChPyNetSendPack
|
| | | import PlayerGatherTheSoul
|
| | | import PlayerActHorsePetTrain
|
| | | import PlayerActGubao
|
| | | import ItemControler
|
| | | import IPY_GameWorld
|
| | | import PlayerGubao
|
| | |
| | | ZhanlingType_GubaoStar, # 古宝总星数 4
|
| | | ZhanlingType_Login, # 登录 5
|
| | | ZhanlingType_GatherTheSoulLV, # 聚魂 6
|
| | | ZhanlingType_HorsePetTrain, # 骑宠养成 7
|
| | | ZhanlingType_GubaoTrain, # 古宝养成 8
|
| | | ZhanlingType_7, # 骑宠养成 7
|
| | | ZhanlingType_8, # 古宝养成 8
|
| | | ZhanlingType_Xianyuan, # 仙缘 9
|
| | | ZhanlingType_Huanjingge, # 幻境阁 10
|
| | | ZhanlingType_Lianqi, # 炼器 11
|
| | |
| | | curValue = curPlayer.GetLV()
|
| | | elif zhanlingType == ZhanlingType_Realm:
|
| | | curValue = curPlayer.GetOfficialRank()
|
| | | elif zhanlingType == ZhanlingType_SkyTower:
|
| | | curValue = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_SkyTowerFloor)
|
| | | elif zhanlingType == ZhanlingType_GubaoStar:
|
| | | _, curValue = PlayerGubao.GetGubaoTotalLVStar(curPlayer)
|
| | | elif zhanlingType == ZhanlingType_Login:
|
| | |
| | | if not firstLoginTime:
|
| | | return
|
| | | curValue = GameWorld.GetDiff_Day(int(time.time()), firstLoginTime) + 1
|
| | | elif zhanlingType == ZhanlingType_GatherTheSoulLV:
|
| | | curValue = PlayerGatherTheSoul.GetGatherTheSoulTotalLV(curPlayer)
|
| | | elif zhanlingType == ZhanlingType_HorsePetTrain:
|
| | | curValue = PlayerActHorsePetTrain.GetActHorsePetTrainScore(curPlayer)
|
| | | elif zhanlingType == ZhanlingType_GubaoTrain:
|
| | | curValue = PlayerActGubao.GetActGubaoTrainScore(curPlayer)
|
| | | elif zhanlingType == ZhanlingType_Xianyuan:
|
| | | curValue = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_XianyuanScore)
|
| | | elif zhanlingType in ZhanlingValue1TypeList:
|