From 3ce7cddcff138fc163c636da784afd5f558bd68c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 十二月 2018 12:09:14 +0800
Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(历史赛季信息增加记录赛季积分)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py
index 63c8ba2..db95d49 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py
@@ -32,6 +32,7 @@
 import EventShell
 import ChPyNetSendPack
 import NetPackCommon
+import PlayerSuccess
 import BuffSkill
 
 import random
@@ -173,6 +174,7 @@
 #  @param tick
 #  @return None
 def DoEnterFB(curPlayer, tick):
+    PlayerControl.SetSight(curPlayer, ChConfig.Def_PlayerSight_Default * 2)
     playerID = curPlayer.GetPlayerID()
     mapID = GameWorld.GetGameWorld().GetMapID()
     gameFB = GameWorld.GetGameFB()
@@ -227,7 +229,7 @@
 # @param tick 时间戳
 # @return 无意义
 def DoExitFB(curPlayer, tick):
-    
+    PlayerControl.SetSight(curPlayer, ChConfig.Def_PlayerSight_Default)
     return
 
 ##玩家主动离开副本.
@@ -235,6 +237,7 @@
 # @param tick 时间戳
 # @return 返回值无意义
 def DoPlayerLeaveFB(curPlayer, tick):
+    PlayerControl.SetSight(curPlayer, ChConfig.Def_PlayerSight_Default)
     return
 
 ##玩家切换地图
@@ -586,6 +589,8 @@
         jsonItemList = FBCommon.GetJsonItemList(itemList)
         overDict[FBCommon.Over_itemInfo] = jsonItemList
         EventShell.EventRespons_FBEvent(curPlayer, 'icelode')
+        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_IceLode, 1)
+        
     # 通知结果
     __SendIceLodeOverInfo(curPlayer, overDict)
     
@@ -673,6 +678,7 @@
             addCnt += 1
         GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineid, 3, False, [mapID])
     PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_IceLode, addCnt)
+    PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_IceLode, len(lineList))
     FBCommon.Sync_FBPlayerFBInfoData(curPlayer, mapID) # 同步信息
 #    npcCountDict = {}
 #    iceLodeSweepDict = IpyGameDataPY.GetFuncEvalCfg('IceLodeSweep')

--
Gitblit v1.8.0