From bc0c9d89c0811bb32f98ba45dfaff6b10661c45a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 12 九月 2024 17:01:46 +0800 Subject: [PATCH] 10261 【越南】【砍树】仙盟徽章,头像框,头像(动态),聊天气泡,聊天表情(增加头像、头像框) --- ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py index 0ca959a..cbccd5c 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py @@ -578,11 +578,11 @@ # 其他的获得保底奖励 orderPlayerIDList = orderPlayerIDDict.keys() floorPlayerIDList = [] - for playerID, batRecList in PyGameData.g_arenaPlayerBattleRecDict.items(): - if not batRecList: - #GameWorld.DebugLog("没有对战记录,不发奖励") - continue + for playerID, battleRecList in PyGameData.g_arenaPlayerBattleRecDict.items(): if playerID in orderPlayerIDList: + continue + if not battleRecList: + #GameWorld.DebugLog("没有对战记录的不发! ", playerID) continue floorPlayerIDList.append(playerID) PlayerCompensation.SendMailByKey("ArenaFloorAward%s" % awardType, [playerID], floorAwardList) @@ -939,8 +939,10 @@ curOrder = billBoard.IndexOfByID(playerID) + 1 # 更新前获取名次 cmpValue2 = fightPower / ShareDefine.Def_PerPointValue cmpValue3 = fightPower % ShareDefine.Def_PerPointValue + face = curPlayer.GetFace() + facePic = curPlayer.GetFacePic() PlayerBillboard.UpdatePlayerBillboard(playerID, playerName, opInfo, ShareDefine.Def_BT_Arena, playerJob, - realmLV, playerLV, updScore, autoSort=False, cmpValue2=cmpValue2, cmpValue3=cmpValue3) + realmLV, playerLV, updScore, autoSort=False, cmpValue2=cmpValue2, cmpValue3=cmpValue3, value3=face, value4=facePic) awardItemList = [] if isWin: @@ -967,8 +969,10 @@ tagAccID = cacheDict["AccID"] tagCmpValue2 = tagFightPower / ShareDefine.Def_PerPointValue tagCmpValue3 = tagFightPower % ShareDefine.Def_PerPointValue + tagFace = cacheDict.get("Face", 0) + tagFacePic = cacheDict.get("FacePic", 0) PlayerBillboard.UpdatePlayerBillboard(tagPlayerID, tagPlayerName, tagOpInfo, ShareDefine.Def_BT_Arena, tagJob, - tagRealmLV, tagLV, updTagScore, autoSort=False, cmpValue2=tagCmpValue2, cmpValue3=tagCmpValue3) + tagRealmLV, tagLV, updTagScore, autoSort=False, cmpValue2=tagCmpValue2, cmpValue3=tagCmpValue3, value3=tagFace, value4=tagFacePic) else: robotBillboardData = billBoard.FindByID(tagPlayerID) if robotBillboardData: -- Gitblit v1.8.0