From a5022b361188fa9f8ac0d5961c303c044ef55ebe Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 28 九月 2018 17:37:33 +0800
Subject: [PATCH] 3763 【优化】Boss动态CD参数
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldBoss.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldBoss.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldBoss.py
index db89328..571ee07 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldBoss.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldBoss.py
@@ -619,7 +619,8 @@
return
onlineCnt = __GetBossOnlineHeroCnt(bossid)[0]
LVLimit = ipyData.GetLVLimit()
- if PyGameData.g_yesterdayPlayerLVDict:
+ openServerDay = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ServerDay)
+ if openServerDay != 0:
yesterdayCnt = len([1 for lv in PyGameData.g_yesterdayPlayerLVDict.values() if LVLimit[0]<=lv <= LVLimit[1]]) #参数昨日活跃人数
else:
yesterdayCnt = IpyGameDataPY.GetFuncCfg('FirstDayActivePlayerCnt')
--
Gitblit v1.8.0