ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
@@ -194,13 +194,12 @@
        return
    
    isWin = 1 if result == 1 else 0
    # 木桩被击杀,后端判断,其他前端同步
    if isWin:
        GameWorld.ErrLog("前端不能同步竞技场胜利状态!", playerID)
        return
#    # 木桩被击杀,后端判断,其他前端同步
#    if isWin:
#        GameWorld.ErrLog("前端不能同步竞技场胜利状态!", playerID)
#        return
    
    recTagPlayerID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ArenaBattleTagID)
    GameWorld.DebugLog("竞技场被对手击杀! tagPlayerID=%s,recTagPlayerID=%s" % (tagPlayerID, recTagPlayerID), playerID)
    if tagPlayerID != recTagPlayerID:
        GameWorld.ErrLog("竞技场结算时对手ID不一致! tagPlayerID(%s) != recTagPlayerID(%s)" % (tagPlayerID, recTagPlayerID), playerID)
        __DoArenaBattleOver(curPlayer)
@@ -211,17 +210,17 @@
    return
def OnKillBattleNPC(curPlayer, curNPC):
    ## 击杀对手,前端本,使用木桩NPC作为对手
    if curNPC.GetGameObjType() != IPY_GameWorld.gotNPC or curNPC.GetType() not in [ChConfig.ntPriWoodPilePVE, ChConfig.ntPriWoodPilePVP]:
        GameWorld.DebugLog("击杀非木桩NPC,不结算!")
        return
    # 胜利结算入口:后端验证击杀对手
    tagPlayerID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ArenaBattleTagID)
    GameWorld.DebugLog("竞技场击杀对手! tagPlayerID=%s" % tagPlayerID, curPlayer.GetPlayerID())
    isWin = 1
    SendGameServer_ArenaBattleOver(curPlayer, isWin)
#    ## 击杀对手,前端本,使用木桩NPC作为对手
#
#    if curNPC.GetGameObjType() != IPY_GameWorld.gotNPC or curNPC.GetType() not in [ChConfig.ntPriWoodPilePVE, ChConfig.ntPriWoodPilePVP]:
#        GameWorld.DebugLog("击杀非木桩NPC,不结算!")
#        return
#
#    # 胜利结算入口:后端验证击杀对手
#    tagPlayerID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ArenaBattleTagID)
#    GameWorld.DebugLog("竞技场击杀对手! tagPlayerID=%s" % tagPlayerID, curPlayer.GetPlayerID())
#    isWin = 1
#    SendGameServer_ArenaBattleOver(curPlayer, isWin)
    return
def SendGameServer_ArenaBattleOver(curPlayer, isWin):