From ccfc4d06d43db9cd0a9ef4b8ba5bbc1258be95c3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 04 七月 2024 22:42:58 +0800
Subject: [PATCH] 10198 【香港】【越南】【主干】【砍树】【后端】BOSS凭证优化(社交表结构同步;)
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
index 0480bd5..bd6ee23 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActBossTrial.py
@@ -65,7 +65,9 @@
def __OnEndAward(actNum, ipyData, dayIndex):
## 结算奖励
- cfgID = ipyData.GetCfgID() if ipyData else 0
+ if not ipyData:
+ return
+ cfgID = ipyData.GetCfgID()
awardState = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActBossTrialAward % actNum)
if awardState:
#已经结算过该活动
--
Gitblit v1.8.0