From ba0a86e24c17b4f9a0ada323f7ebc3b32fb0b169 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 14 五月 2021 10:30:22 +0800 Subject: [PATCH] 8921 【主干】【BT2】【后端】H.活动-节日活动-垃圾分类 --- ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py index b2ba2c3..d88f64e 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py @@ -33,6 +33,7 @@ import PlayerFamilyRedPacket import PlayerFairyCeremony import PlayerNewFairyCeremony +import PlayerActGarbageSorting import PlayerUniversalGameRec import GameWorldAverageLv import PlayerFamilyBoss @@ -838,6 +839,12 @@ #限时抢购重置购买次数 本次活动每场不能重复 #dayIndex = sendMapServerMsgDict.get(ShareDefine.ActKey_DayIndex, 0) PlayerStore.ResetFlashSaleBuyCnt(ipyData) + elif actName == ShareDefine.OperationActionName_GarbageSorting: + PlayerActGarbageSorting.OnActStart(actNum) + else: + if actName == ShareDefine.OperationActionName_GarbageSorting: + PlayerActGarbageSorting.OnActEnd(actNum) + else: GameWorld.Log(" dbActID不变: dbActID=%s,curActID=%s" % (dbActID, curActID)) -- Gitblit v1.8.0