From 46c9d7d80fb93f053bd64acd1fa94ee3dc181bf3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 11 二月 2020 13:41:51 +0800 Subject: [PATCH] 8377 新增任务接口(上架橙装、购买橙装、货币变更、更新货币;活跃放置各状态接口) --- 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