From 5422e17a7eb223df25b7646a37bb42f4a0b2156e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 29 一月 2021 14:53:33 +0800
Subject: [PATCH] 4923 【主干】竞技场未开启,收到了每日保底奖励邮件(没有对战记录不发奖励);
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSignDay.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSignDay.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSignDay.py
index 23fa579..92d26c0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSignDay.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSignDay.py
@@ -30,7 +30,6 @@
import ChPyNetSendPack
import PlayerMagicWeapon
import PlayerPet
-import PlayerSuccess
import PlayerControl
import GameWorld
import ChConfig
@@ -54,7 +53,7 @@
# @return: None
def OnSignDay(index, clientData, tick):
# 跨服服务器功能限制
- if GameWorld.IsMergeServer():
+ if GameWorld.IsCrossServer():
return
curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
#功能开启判断
@@ -273,7 +272,7 @@
packSpace = ItemCommon.GetItemPackSpace(curPlayer, IPY_GameWorld.rptItem, signCount)
if packSpace >= signCount:
for awardInfo in awardInfoList:
- ItemControler.GivePlayerItem(curPlayer, awardInfo[0], awardInfo[1], awardInfo[2], [IPY_GameWorld.rptItem], True, showSysInfo=True)
+ ItemControler.GivePlayerItem(curPlayer, awardInfo[0], awardInfo[1], 0, [IPY_GameWorld.rptItem])
else:
GameWorld.DebugLog("背包已满 邮件发送物品")
PlayerControl.SendMailByKey(mailTypeKey, [curPlayer.GetPlayerID()], awardInfoList)
--
Gitblit v1.8.0