| | |
| | |
|
| | | battle = MirrorAttack.GetMirrorBattleByID(battleID)
|
| | | if not battle:
|
| | | GameWorld.DebugLog("镜像战斗结算时战场数据不存在!", battleID)
|
| | | return
|
| | | mapID = battle.mapID
|
| | | funcLineID = battle.funcLineID
|
| | | isWin = battle.isWin
|
| | | curPlayerID = battle.playerID # 副本所属玩家ID,该玩家不一定参与实际战斗
|
| | | tagPlayerID = battle.GetTagPlayerID()
|
| | | curPlayer = GameWorld.GetMapCopyPlayerManager().FindPlayerByID(curPlayerID) |
| | | curPlayer = GameWorld.GetMapCopyPlayerManager().FindPlayerByID(curPlayerID)
|
| | | if not curPlayer: # 防范GetMapCopyPlayerManager找不到的情况,不在1线,系统后台战斗默认在1线,非1线玩家请求的情况
|
| | | curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(curPlayerID)
|
| | | |
| | | if not curPlayer:
|
| | | GameWorld.DebugLog("镜像战斗结算时所属玩家不在线! curPlayerID=%s" % curPlayerID, battleID)
|
| | | return
|
| | |
|
| | | if mapID == ChConfig.Def_FBMapID_ArenaBattle:
|