From 10a8911b87261fd20314009562b76242901f3e4f Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 10 八月 2021 19:02:53 +0800 Subject: [PATCH] 9135 【主干】【BT3】活动逻辑优化(世界等级变更不影响已经开启活动的玩家奖励;多日连充、单笔累充、单日/多日累充、转盘活动、仙匣秘境、boss复活、消费返利、周狂欢) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py index 7970d51..2358e1b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWeekParty.py @@ -273,7 +273,8 @@ return #给奖励 - awardDict = __GetAwardItem(curPlayer, ipyData, actWeekPartyInfo.get(ShareDefine.ActKey_WorldLV, 0)) + playerWorldLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_WeekPartyWorldLV, 0, ChConfig.Def_PDictType_WeekParty) + awardDict = __GetAwardItem(curPlayer, ipyData, playerWorldLV) # 检查背包 needSpace = len(awardDict) packSpace = ItemCommon.GetItemPackSpace(curPlayer, IPY_GameWorld.rptItem, needSpace) @@ -305,7 +306,8 @@ curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_WeekPartyPoint % day, 0, ChConfig.Def_PDictType_WeekParty) if curPoint < getPoint: return - pointAwardInfo = __GetPointAwardInfo(actBossIpyData.GetPointAward(), actWeekPartyInfo.get(ShareDefine.ActKey_WorldLV, 0)) + worldLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_WeekPartyWorldLV, 0, ChConfig.Def_PDictType_WeekParty) + pointAwardInfo = __GetPointAwardInfo(actBossIpyData.GetPointAward(), worldLV) pointAwardDict = pointAwardInfo.get(day, {}) pointList = pointAwardDict.keys() pointList.sort() @@ -410,7 +412,7 @@ templateIDList = actBossIpyData.GetTemplateID() if not templateIDList: return - worldLV = actWeekPartyInfo.get(ShareDefine.ActKey_WorldLV, 0) + worldLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_WeekPartyWorldLV, 0, ChConfig.Def_PDictType_WeekParty) pointAwardDict = __GetPointAwardInfo(actBossIpyData.GetPointAward(), worldLV) startDateStr, endDateStr = GameWorld.GetOperationActionDateStr(actBossIpyData) actInfo = ChPyNetSendPack.tagMCWeekPartyInfo() -- Gitblit v1.8.0