| | |
| | | return
|
| | |
|
| | | #副本中不打断
|
| | | if GameWorld.GetMap().GetMapFBType() != IPY_GameWorld.fbtNull:
|
| | | return
|
| | | #if GameWorld.GetMap().GetMapFBType() != IPY_GameWorld.fbtNull:
|
| | | # return
|
| | |
|
| | | tagObj = curPlayer.GetActionObj()
|
| | |
|
| | |
| | | #GameWorld.Log("BreakPlayerCollect ->没有这个NPC", curPlayer.GetPlayerID())
|
| | | return
|
| | |
|
| | | if curNPC.GetNPCID() not in ReadChConfig.GetEvalChConfig('BreakPlayerCollectNPCIDList'):
|
| | | npcID = curNPC.GetNPCID()
|
| | | collectNPCIpyData = IpyGameDataPY.GetIpyGameDataNotLog("CollectNPC", npcID)
|
| | | if not collectNPCIpyData:
|
| | | return
|
| | |
|
| | | GameWorld.DebugLog(' 采集被打断 采集物NPCID=%s' % curNPC.GetNPCID())
|
| | | if not collectNPCIpyData.GetCanBreakCollect():
|
| | | return
|
| | | |
| | | #取消采集状态
|
| | | ChangePlayerAction(curPlayer, IPY_GameWorld.paNull)
|
| | |
|