From 572c67c78f4c34dbda4b44b365c14cb4b2d9c68d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 20 十二月 2018 16:41:43 +0800
Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(封包)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py |    8 ++++----
 1 files changed, 4 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..45a06f7 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
 
@@ -652,6 +651,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 +747,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