From d42896d1fe05ba65cf3bf537075c3d00467dfbb8 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 11 七月 2019 11:38:48 +0800
Subject: [PATCH] 860312  混服或合服情况下需要指定修改的平台和服务器,Serverid不填写代表不改变只替换spid

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index ed46c5d..95e2b3b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -1780,7 +1780,9 @@
         elif mapID == ChConfig.Def_FBMapID_DemonKing:
             bossID = GameLogic_CrossDemonKing.GetCurFBLineBOSSID(mapID, lineID)
             extendParamList = [bossID]
-            
+        elif mapID in ChConfig.Def_MapID_LineIDToPropertyID:
+            enterCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_EnterFbCntDay % mapID)
+            extendParamList = [enterCnt]
         SendToGameServerEnterFB(curPlayer, mapID, lineID, tick, extendParamList)
         return
     
@@ -4186,7 +4188,8 @@
                 CalcAttrDict_Type(int(pqAttrID), pqAttrValue, lingGenQualityAttrList)
             #GameWorld.DebugLog("        属性点(%s)品阶等级属性: befPQLV=%s,curPQLV=%s,pqAttrInfoDict=%s" % (pointAttrID, befPQLV, curPQLV, pqAttrInfoDict))
             if hadRefreshAttr and befPQLV < curPQLV:
-                EventShell.EventRespons_LingGenQualityUP(curPlayer, pointAttrID, curPQLV)
+                for pqlv in xrange(befPQLV+1, curPQLV+1):
+                    EventShell.EventRespons_LingGenQualityUP(curPlayer, pointAttrID, pqlv)
                 
         #GameWorld.DebugLog("等级属性点加属性: %s" % allAttrList)
         #GameWorld.DebugLog("灵根品阶等级属性: %s" % lingGenQualityAttrList)

--
Gitblit v1.8.0