From ca2d1c3a34d8fbff4e3ed9e8493b416814d08cf3 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 29 十月 2018 20:41:32 +0800
Subject: [PATCH] 2249 【1.2.0】许愿池,领不到物品
---
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