From 2786606d81a3938bec26619884bff65c55af657d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 19 九月 2018 16:43:28 +0800
Subject: [PATCH] Fix: A5 C4 神兽装备强化 #tagCMDogzEquipPlus(增加消耗个数)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
index 79b326c..db15a00 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
@@ -114,7 +114,7 @@
ProductID = ReadChConfig.GetPyMongoConfig("EventReport", "ProductID")
ReportUrl = ReadChConfig.GetPyMongoConfig("EventReport", "ReportUrl")
- RegionName = GameWorld.GetServerSID() # 需考虑合服情况
+
playerInfo = ""
if curPlayer:
@@ -125,6 +125,11 @@
"Level": curPlayer.GetLV()})
OperatorID = GameWorld.GetPlayerPlatform(curPlayer.GetAccID())
+ RegionName = GameWorld.GetPlayerServerSID(curPlayer)
+
+ else:
+ # 合服情况,玩家取自己服发送,非玩家数据按指定平台配置发,没有则取配置主服
+ RegionName = 's%s'%GameWorld.GetPlayerMainServerID(OperatorID)
if eventParam:
eventParam = "&%s"%eventParam
--
Gitblit v1.8.0