9351 【BT3】【BT4】【BT5】【主干】副本扫荡后不能完成任务(Boss复活、仙界盛典、周狂欢、节日游历、任务等)
1个文件已修改
9 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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,