From c53bdc3bc2a095d25e5fdd7fa4b37c0106db874f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 23 八月 2021 22:16:17 +0800
Subject: [PATCH] 8796 【主干】【gt_1.101.1】【后端】Part1 2、每日在线送符印寻宝20次(主干固定为七日在线奖励);
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/ClearOpenServerDay.py | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/ClearOpenServerDay.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/ClearOpenServerDay.py
index c7e35b6..717ac12 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/ClearOpenServerDay.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/ClearOpenServerDay.py
@@ -13,11 +13,9 @@
#
# @change: "2012-07-20 19:00" whx 世界等级和开服天书有关,也要清除
# @change: "2013-12-06 15:00" hxp 增加通知MapServer开服天数
-# @change: "2014-11-27 16:30" hxp 增加开服活动数据重置相关; 增加清除竞技场数据
# @change: "2014-12-02 11:30" hxp 增加合服状态及天数;强制刷新全服活动
# @change: "2014-12-03 14:30" hxp 增加合服活动重置
# @change: "2015-01-21 16:00" hxp 增加重置合服寻宝活动
-# @change: "2015-06-16 15:00" hxp 屏蔽清除竞技场数据; 玩家允许None
#
#------------------------------------------------------------------------------
#"""Version = 2015-06-16 15:00"""
@@ -29,6 +27,7 @@
import PlayerBillboard
import PlayerUniversalGameRec
import GameWorldProcess
+import GameWorldArena
import GameWorldBoss
import GMCommon
@@ -70,7 +69,7 @@
PlayerBillboard.ClearBillboardByIndex(oscBillboardType)
# 清除Rec
- delRecTypeList = []
+ delRecTypeList = [ShareDefine.Def_UniversalGameRecType_BossFirstKill]
universalRecMgr = GameWorld.GetUniversalRecMgr()
for recType in delRecTypeList:
universalRecMgr.Delete(recType)
@@ -83,6 +82,10 @@
# 广播分流boss状态
GameWorldBoss.Sync_BossShuntLineInfo()
+ # 竞技场重置
+ PlayerDBGSEvent.SetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ArenaOSSeasonState, 0)
+ GameWorldArena.__DoArenaSeasonReset("GMReset")
+
if curPlayer:
PlayerEventCounter.Sync_OpenServerDay(curPlayer)
GameWorld.DebugAnswer(curPlayer, '开服星期%s, 天数:%s 是否合服:%s, 合服天数:%s'%\
--
Gitblit v1.8.0