From e09078f025c95560e15e95085537e439025d05cf Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 21 九月 2018 14:57:46 +0800
Subject: [PATCH] 3751 【后端】日常任务新增“击杀怪物”条目

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
index 37d3df5..19da755 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -373,6 +373,9 @@
     activityNum = GetActivityNum(RelatedType_1, dailyID)
     dailyQuestData = IpyGameDataPY.GetIpyGameDataNotLog('DailyQuest', activityNum)
     unLimitCnt = dailyQuestData and not dailyQuestData.GetTotalActiveValue()
+    funcID = dailyQuestData.GetUnLockFuncID() if dailyQuestData else 0
+    if funcID and not GameFuncComm.GetFuncCanUse(curPlayer, funcID):
+        return
         
     updDayTimes = 0
     if dayTimesLimit:

--
Gitblit v1.8.0