From abe6fdab99df2e4200a59a6b6c46f6de913632b8 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 22 二月 2019 10:28:26 +0800
Subject: [PATCH] 3023 【1.6】【2.0】七日巡礼道具使用无效
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_WeekPartyPoint.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_WeekPartyPoint.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_WeekPartyPoint.py
index 5d93cee..4b79579 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_WeekPartyPoint.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_WeekPartyPoint.py
@@ -11,6 +11,8 @@
#
#---------------------------------------------------------------------
import PlayerControl
+import PlayerWeekParty
+import PlayerFeastWeekParty
import ItemCommon
import PyGameData
import ShareDefine
@@ -28,7 +30,7 @@
updPoint = curPoint + useCnt
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_WeekPartyPoint % dayIndex, updPoint, ChConfig.Def_PDictType_WeekParty)
PlayerControl.NotifyCode(curPlayer, 'SevenDayIntegral', [dayIndex+1, useCnt])
-
+ PlayerWeekParty.SyncWeekPartyPlayerInfo(curPlayer, dayIndex)
elif curEffID == ChConfig.Def_Effect_ItemGiveWeekPartyPoint1:
actFeastWeekPartyInfo = PyGameData.g_operationActionDict.get(ShareDefine.OperationActionName_FeastWeekParty, {})
state = actFeastWeekPartyInfo.get(ShareDefine.ActKey_State, 0)
@@ -38,6 +40,6 @@
updPoint = curPoint + useCnt
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FeastWeekPartyPoint % dayIndex, updPoint, ChConfig.Def_PDictType_FeastWeekParty)
PlayerControl.NotifyCode(curPlayer, 'SevenDayIntegral1', [dayIndex+1, useCnt])
-
+ PlayerFeastWeekParty.SyncFeastWeekPartyPlayerInfo(curPlayer, dayIndex)
ItemCommon.DelItem(curPlayer, curRoleItem, useCnt, True)
return True, useCnt
--
Gitblit v1.8.0