From 734023157617e8ca10a9fc494bfcc85fd543e782 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 29 八月 2024 16:06:43 +0800 Subject: [PATCH] 10256 【越南】【砍树】排行榜名次加入积分限制(仙匣秘境;古宝养成;boss历练) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGubao.py | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGubao.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGubao.py index a7c3c5e..9c568d2 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGubao.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGubao.py @@ -267,7 +267,6 @@ clientPack.EndtDate = ipyDataDict.get("EndDate", "") clientPack.JoinStartTime = ipyDataDict.get("JoinStartTime", "") clientPack.JoinEndTime = ipyDataDict.get("JoinEndTime", "") - clientPack.RankLimitPersonal = ipyDataDict.get("RankLimitPersonal", 0) clientPack.PersonalBillboardInfoList = __GetTempRankBillPackList(personalTempIpyDataList) clientPack.PersonalBillCount = len(clientPack.PersonalBillboardInfoList) @@ -305,5 +304,27 @@ # rankInfo.MemAwardItemList.append(item) # rankInfo.MemCount = len(rankInfo.MemAwardItemList) + rankInfo.NeedScore = tempIpyData.GetNeedScore() + rankInfo.AwardItemExList = [] + scoreAwardEx = tempIpyData.GetScoreAwardEx() + scoreExList = scoreAwardEx.keys() + scoreExList.sort() + for scoreEx in scoreExList: + itemExList = scoreAwardEx[scoreEx] + awardEx = ChPyNetSendPack.tagMCActGubaoAwardEx() + awardEx.NeedScore = scoreEx + awardEx.AwardItemList = [] + for itemID, itemCount, isAuctionItem in itemExList: + item = ChPyNetSendPack.tagMCActGubaoItem() + item.Clear() + item.ItemID = itemID + item.ItemCount = itemCount + item.IsBind = isAuctionItem + awardEx.AwardItemList.append(item) + awardEx.Count = len(awardEx.AwardItemList) + + rankInfo.AwardItemExList.append(awardEx) + rankInfo.CountEx = len(rankInfo.AwardItemExList) + packBillList.append(rankInfo) return packBillList -- Gitblit v1.8.0