| | |
| | |
|
| | | # 清NPCID每日采集次数
|
| | | collectNPCIDTimeLimit = ReadChConfig.GetEvalChConfig('CollectNPCIDTimeLimit')
|
| | | for npcID in collectNPCIDTimeLimit.keys():
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CollNpcIDCollTime % npcID, 0)
|
| | | |
| | | # 清NPC功能类型每日采集次数
|
| | | collectNPCFuncTimeLimit = ReadChConfig.GetEvalChConfig('CollectNPCFuncTimeLimit')
|
| | | for funcType in collectNPCFuncTimeLimit.keys():
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CollNpcCollTime % funcType, 0)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CollNpcBuyTime % funcType, 0)
|
| | | for npcIDTuple in collectNPCIDTimeLimit.keys():
|
| | | for npcID in npcIDTuple:
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CollNpcIDCollTime % npcID, 0)
|
| | |
|
| | | NPCCommon.SyncCollNPCTime(curPlayer)
|
| | |
|