From bbab19065276532a54eb8905079ebf1d81915bdf Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 十一月 2021 11:19:08 +0800
Subject: [PATCH] 9351 【BT3】【BT4】【BT5】【主干】副本扫荡后不能完成任务(Boss复活、仙界盛典、周狂欢、节日游历、任务等)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py
index 05bbd56..4a3d852 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py
@@ -538,6 +538,7 @@
     gradeAddExpRate = rewardRateList[maxGrade - grade]
     gradeExp = int(totalExp * gradeAddExpRate / 100.0)
     totalExp += gradeExp
+    totalExp *= sweepCnt
     
     GameWorld.DebugLog("    totalExp=%s,gradeExp=%s,gradeAddExpRate=%s" % (totalExp, gradeExp, gradeAddExpRate), playerID)
     playerControl = PlayerControl.PlayerControl(curPlayer)
@@ -552,6 +553,14 @@
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_BZZD_TotalFightExpPoint, totalExp / ChConfig.Def_PerPointValue)
         upPer = (totalExp - totalExpRecord) * 100 / totalExpRecord if totalExpRecord else 0
         
+    PlayerBossReborn.AddBossRebornActionCnt(curPlayer, ChConfig.Def_BRAct_XJMJ, sweepCnt)
+    PlayerFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_XJMJ, sweepCnt)
+    PlayerNewFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_XJMJ, sweepCnt)
+    PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_XJMJ, sweepCnt)
+    PlayerFeastTravel.AddFeastTravelTaskValue(curPlayer, ChConfig.Def_FeastTravel_XJMJ, sweepCnt)
+    PlayerActLogin.AddLoginAwardActionCnt(curPlayer, ChConfig.Def_LoginAct_XJMJ, sweepCnt)
+    EventShell.EventRespons_FBEvent(curPlayer, 'passxjmj')
+    
     # 通知结果
     overDict = {FBCommon.Over_enterLV:enterLV, FBCommon.Over_exp:totalExp % ChConfig.Def_PerPointValue, 
                 FBCommon.Over_expPoint: totalExp / ChConfig.Def_PerPointValue, 

--
Gitblit v1.8.0