From 48eeb05182af261c50f6609e4de36c03bace4283 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 07 九月 2021 11:38:30 +0800
Subject: [PATCH] 5223 【主干】【BT3】竞技场功能未开启或者没有战斗记录过天也会收到保底奖励
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py
index 0ca959a..b1c451b 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldArena.py
@@ -578,12 +578,12 @@
# 其他的获得保底奖励
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)
--
Gitblit v1.8.0