From a0948adde92689bac0f0566cc257fd848fdfa184 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 13 十一月 2018 10:48:46 +0800
Subject: [PATCH] 4759 【1.2】【后端】开服期间定制运营活动限制几天开出配置
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py
index b2a1dca..0ade701 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerWishingWell.py
@@ -166,7 +166,8 @@
mailItemList.append([itemID, itemCnt, isBind])
__SetItemData(curPlayer, WellType_Result, i, 0, 0, 0, 0)
j +=1
-
+ if state > 0:
+ isOver = False
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_WishingWellAwardTime, 0 if isOver else curTime)
if mailItemList:
PlayerControl.SendMailByKey('WishPool', [curPlayer.GetID()], mailItemList)
--
Gitblit v1.8.0