| | |
| | | return
|
| | | curPlayer.SetSight(min(ChConfig.Def_PlayerSight_Default, clientData.Sight))
|
| | | GameWorld.DebugLog("OnSightZoom:%s"%clientData.Sight)
|
| | | |
| | | # 脱机玩家过多,需要隐身一部分
|
| | | if curPlayer.GetLV() < 190:
|
| | | if random.randint(0, 5) != 2:
|
| | | curPlayer.SetVisible(False)
|
| | | return
|
| | |
|
| | | # 需要处理的点,防沉迷
|
| | |
| | |
|
| | | # 击杀特定NPC成就
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_KillSpecificNPC, killCnt, [npcID])
|
| | | |
| | | # 日常活动
|
| | | if npcData.GetLV()>=curPlayer.GetLV() - IpyGameDataPY.GetFuncCfg('DailyQuestKillMonster'):
|
| | | PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_KillNPC, killCnt)
|
| | | # 击杀任务怪, 杀怪日常已经没有了,暂时屏蔽
|
| | | #for _ in xrange(killCnt):
|
| | | # EventShell.Event_OnKillByID(curPlayer, npcID)
|