xdh
2019-01-24 95d92494e3f8db6674470f460d7e3eb3b326f8e9
5919 【后端】【1.5.100】诛仙塔功能开发(次数扣修改)
1个文件已修改
9 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
@@ -49,7 +49,7 @@
FBDict_BossTotalHP = 'FBDict_BossTotalHP'  #BOSS血量
FBDict_LastHurtTick = 'FBDict_LastHurtTick'  #上次伤害时间
FBDict_HasGiveAward = 'FBDict_HasGiveAward'  # 是否有给奖励
FBDict_HasAddCnt = 'FBDict_HasAddCnt'  # 是否有扣次数
# 副本通用配置
(
@@ -480,13 +480,12 @@
        for itemID, itemCnt, isBind in prizeItemList:
            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem],
                                            event=["ZhuXianTower", False, {}])
    #本次副本里第一次给奖励时扣次数(非首次S也扣次数)
    if (not isFirstPass and curStar == Def_MaxStar) or not gameFB.GetGameFBDictByKey(FBDict_HasAddCnt):
    #首次S级不扣次数,非S级给奖励扣次数,非首次S扣次数
    if not isFirstPass:
        FBCommon.AddEnterFBCount(curPlayer, ChConfig.Def_FBMapID_ZhuXianTower, 1)
        gameFB.SetGameFBDict(FBDict_HasAddCnt, 1)
        
    gameFB.SetGameFBDict(FBDict_HasGiveAward, 1)
    return