From 999d67cffaf12233b98103b513309d5a3a8b6311 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 15 十一月 2018 16:17:48 +0800 Subject: [PATCH] 2357 【主干】仙盟boss被击杀后,其他玩家进入副本,评级显示错误 --- 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