xdh
2019-02-22 a8e385260c4fc557bc23a9d9185c2f14ef140a36
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_WeekPartyPoint.py
@@ -25,6 +25,7 @@
        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
@@ -35,6 +36,7 @@
        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