| | |
| | | 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)
|
| | |
| | | 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()
|
| | |
| | | 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()
|