From 8a805761a9eaacd9cd371e14629959c10c7c95fb Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 27 十一月 2018 16:35:37 +0800
Subject: [PATCH] 2482 【BUG】【1.3】玩家进入冰晶矿脉,视野太小

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_IceLode.py |    4 +++-
 1 files changed, 3 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..7726ee7 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
@@ -173,6 +173,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 +228,7 @@
 # @param tick 时间戳
 # @return 无意义
 def DoExitFB(curPlayer, tick):
-    
+    PlayerControl.SetSight(curPlayer, ChConfig.Def_PlayerSight_Default)
     return
 
 ##玩家主动离开副本.
@@ -235,6 +236,7 @@
 # @param tick 时间戳
 # @return 返回值无意义
 def DoPlayerLeaveFB(curPlayer, tick):
+    PlayerControl.SetSight(curPlayer, ChConfig.Def_PlayerSight_Default)
     return
 
 ##玩家切换地图

--
Gitblit v1.8.0