From 35032f3eeedd4c4f40338d9d7aa8cfa93f7266b9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 14 四月 2020 14:36:16 +0800
Subject: [PATCH] 8405 【后端】成就系统开发(修复领取通行证奖励未同步领取记录bug)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
index 9382a50..7e30328 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
@@ -95,6 +95,8 @@
def SetSuccPassportAwardHasGot(curPlayer, succID, hasGot=True):
#设置成就通行证奖励领取状态
GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_Success_PassportAward, succID, hasGot)
+ if hasGot:
+ Sync_SuccTypeIndexAwardRecord(curPlayer, [succID])
return
def SetSuccFinishValue(curPlayer, succType, condition, value):
--
Gitblit v1.8.0