From 968848d5a8b5e0308fedcd387a42fd45a886aec6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 26 九月 2019 16:07:51 +0800
Subject: [PATCH] 8281 【后端】【恺英】封魔坛每日刷新(新手封魔坛改为可重复进入,首次过关不扣次数)
---
ServerPython/CoreServerGroup/GameServer/Script/PyDataManager.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/PyDataManager.py b/ServerPython/CoreServerGroup/GameServer/Script/PyDataManager.py
index 0772738..1d073dc 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/PyDataManager.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/PyDataManager.py
@@ -151,7 +151,9 @@
def __InitAuctionAttentionAttrEx(self, attentionData):
## 初始化拍卖关注实例附加属性
- setattr(attentionData, "AttentionItemIDList", [] if not attentionData.AttentionInfo else eval(attentionData.AttentionInfo))
+ setattr(attentionData, "AttentionItemIDList", [])
+ if attentionData.AttentionInfo.startswith("[") and attentionData.AttentionInfo.endswith("]"):
+ attentionData.AttentionItemIDList = eval(attentionData.AttentionInfo)
return
#拍卖物品数据缓存,该类只做数据缓存存取,不写功能逻辑,防止重读脚本时功能逻辑脚本不生效
--
Gitblit v1.8.0