ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Arena.py
@@ -22,8 +22,10 @@
import PlayerControl
import IpyGameDataPY
import PlayerBillboard
import PlayerZhanling
import ItemControler
import PlayerArena
import PlayerGubao
import PyGameData
import FBCommon
import ChConfig
@@ -36,8 +38,8 @@
    '''
    playerID = curPlayer.GetPlayerID()
    matchIDList = PyGameData.g_arenaPlayerMatchDict.get(playerID, [])
    #if tagPlayerID in matchIDList:
    #    return matchIDList.index(tagPlayerID)
    if tagPlayerID in matchIDList:
        return matchIDList.index(tagPlayerID)
    
    gameRecMgr = DBDataMgr.GetGameRecMgr()
    atkRecMgr = gameRecMgr.GetRecTypeIDMgr(ShareDefine.Def_GameRecType_ArenaRecord, playerID)
@@ -137,6 +139,9 @@
    
    # 战斗结束系统强制刷新匹配
    PlayerArena.DoArenaMatchRefresh(curPlayer, True, isSys=True)
    PlayerZhanling.AddZhanlingValue(curPlayer, PlayerZhanling.ZhanlingType_ArenaCnt, 1)
    PlayerGubao.AddGubaoSpecEffLayer(curPlayer, PlayerGubao.GubaoEffType_Arena, 1)
    return
def __updArenaBatRecord(curPlayer, turnFight, tagPlayerID, isWin, atkAddScore, defDecScore):
@@ -171,7 +176,7 @@
        
    # 被击方
    if tagPlayerID < ShareDefine.RealPlayerIDStart:
        GameWorld.DebugLog("目标非真实玩家不处理! tagPlayerID=%s" % tagPlayerID, playerID)
        #GameWorld.DebugLog("目标非真实玩家不处理! tagPlayerID=%s" % tagPlayerID, playerID)
        return
    
    # 以战斗记录作为最新积分的更新记录,支持离线玩家上线后更新最新积分