From d70324d5963b2c4832f3696e08825999b3848822 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 07 十一月 2018 16:05:45 +0800
Subject: [PATCH] 2306 【1.2】【BUG】老号的封魔之魂次数满了无法领取
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
index de50965..82156df 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -53,6 +53,7 @@
import ChEquip
import time
+import FunctionNPCCommon
# 定义配表外围索引
(
@@ -270,13 +271,11 @@
def Sync_FirstGoldTime(curPlayer):
##通知首充提示剩余时间
showSysTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FirstGoldRemainTime)
- firstGoldTry = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FirstGoldTry)
- if not showSysTime and not firstGoldTry:
+ if not showSysTime:
return
sendPack = ChPyNetSendPack.tagMCFirstGoldTime()
sendPack.Clear()
sendPack.FirstGoldRemainTime = showSysTime
- sendPack.FirstGoldTry = firstGoldTry
NetPackCommon.SendFakePack(curPlayer, sendPack)
return
@@ -325,6 +324,9 @@
# 通知客户端
Sync_FirstGoldInfo(curPlayer)
+
+ #超值礼包记录时间
+ FunctionNPCCommon.UpdataSuperGiftTime(curPlayer)
return
###################################################################
@@ -652,6 +654,7 @@
sendPack = ChPyNetSendPack.tagMCFirstGoldInfo()
sendPack.Clear()
sendPack.FirstGoldRewardState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GoldGiftFirstRecord)
+ sendPack.FirstGoldTry = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FirstGoldTry)
NetPackCommon.SendFakePack(curPlayer, sendPack)
return
@@ -747,7 +750,7 @@
else:
curItem.clear()
GameWorld.Log(' 试用首充武器 试穿失败!!tryItemID=%s'%tryItemID, curPlayer.GetID())
- Sync_FirstGoldTime(curPlayer)
+ Sync_FirstGoldInfo(curPlayer)
return
def FirstGoldTryItemOutTime(curPlayer):
--
Gitblit v1.8.0