From 8305e47be942c376430044332780e6e69a3c7a7f Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期一, 28 一月 2019 10:40:46 +0800 Subject: [PATCH] 6077 【后端】【1.5.200】新增一个仙界盛典(特殊版本)活动 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py index 37d46ab..e352709 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py @@ -64,6 +64,7 @@ import PlayerRune import GameFuncComm import PlayerFairyCeremony +import PlayerNewFairyCeremony import PlayerSpringSale import PyGameData @@ -601,6 +602,9 @@ SyncShoppingResult(curPlayer, itemIndex, clientBuyCount) if itemIndex in IpyGameDataPY.GetFuncEvalCfg('CeremonyFireParty', 1, {}).values(): PlayerFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_Fireworks, clientBuyCount) + if itemIndex in IpyGameDataPY.GetFuncEvalCfg('NewCeremonyFireParty', 1, {}).values(): + PlayerNewFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_Fireworks, clientBuyCount) + return def GetShopJobItem(job, itemID, jobItemList): @@ -645,7 +649,8 @@ #烟花狂欢 if itemIndex in IpyGameDataPY.GetFuncEvalCfg('CeremonyFireParty', 1, {}).values(): return not PlayerFairyCeremony.IsCanBuyFireworks(curPlayer, itemIndex) - + if itemIndex in IpyGameDataPY.GetFuncEvalCfg('NewCeremonyFireParty', 1, {}).values(): + return not PlayerNewFairyCeremony.IsCanBuyFireworks(curPlayer, itemIndex) # if itemIndex in dict(IpyGameDataPY.GetFuncEvalCfg('SuperGiftTimeList')): # return not CheckSuperGiftBuy(curPlayer, itemIndex) if shopNPCID == 16:#神秘限购 -- Gitblit v1.8.0