| | |
| | | actWeekPartyInfo = PyGameData.g_operationActionDict.get(ShareDefine.OperationActionName_WeekParty, {})
|
| | | state = actWeekPartyInfo.get(ShareDefine.ActKey_State, 0)
|
| | | if not state:
|
| | | PlayerControl.NotifyCode(curPlayer, 'SevenDayIntegral2')
|
| | | return
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_WeekPartyPoint % dayIndex, 0, ChConfig.Def_PDictType_WeekParty)
|
| | | updPoint = curPoint + useCnt
|
| | |
| | | actFeastWeekPartyInfo = PyGameData.g_operationActionDict.get(ShareDefine.OperationActionName_FeastWeekParty, {})
|
| | | state = actFeastWeekPartyInfo.get(ShareDefine.ActKey_State, 0)
|
| | | if not state:
|
| | | PlayerControl.NotifyCode(curPlayer, 'SevenDayIntegral2')
|
| | | return
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FeastWeekPartyPoint % dayIndex, 0, ChConfig.Def_PDictType_FeastWeekParty)
|
| | | updPoint = curPoint + useCnt
|