From d6641e24bb33be9a0aad206dc12701f1ff5fcbb5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 16 十月 2019 15:19:01 +0800
Subject: [PATCH] 8262 【主干】【后端】仙盟宴会及传功优化(答题改为立即给每题奖励,只要在宴会地图即可获得奖励) 去除boss首杀记录查询CD

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
index f381183..85d9dbe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
@@ -61,6 +61,10 @@
     NetPackCommon.SendFakePack(curPlayer, pack)
     
     
+def OnLoadMap(curPlayer):
+    PlayerControl.SetYinjiCnt(curPlayer, 0)
+    return
+    
 #===============================================================================
 # // B4 0D 战斗印记 #tagCMYinji
 # 
@@ -73,10 +77,8 @@
 #===============================================================================
 def OnYinji(index, clientData, tick):
     curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
-    if curPlayer.GetLV() > 100:
-        # 只是为了前期前端战斗的使用
+    if curPlayer.GetSightLevel() == 0:
         return
-    
     if clientData.Type == 0:
         AddYinji(curPlayer, clientData.Count)
     elif clientData.Type == 1:

--
Gitblit v1.8.0