From 8418473f574503da7bcd4891e9b9ce4af456147f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 23 九月 2019 15:36:25 +0800
Subject: [PATCH] 8279 【后端】【主干】开服排行榜的奖励过天通过邮件发放

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArrestTask.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArrestTask.py
index 65c9984..946bcbc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArrestTask.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArrestTask.py
@@ -78,9 +78,8 @@
 
 ## 刷新悬赏任务
 def OnRefreshArrestTask(index, clientData, tick):
-    GameWorld.Log('1111111111111刷新悬赏任务')
     # 跨服服务器功能限制
-    if GameWorld.IsMergeServer():
+    if GameWorld.IsCrossServer():
         return
     
     curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
@@ -226,7 +225,7 @@
 ## 接悬赏任务
 def OnAcceptArrestTask(curPlayer):
     # 跨服服务器功能限制
-    if GameWorld.IsMergeServer():
+    if GameWorld.IsCrossServer():
         return
     if not __IsArrestTaskFuncOpen(curPlayer):
         GameWorld.DebugLog("OnRefreshArrestTask() 功能未开启")
@@ -341,8 +340,7 @@
         return
     
     for itemID, itemCnt, isBind in awardItemList:
-            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere],
-                                         showEff=True, showSysInfo=True)
+            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere])
     
     #更新记录
     awardRecord |= pow(2, scoreIndex)

--
Gitblit v1.8.0