hxp
2018-11-27 6da4a59d27711a752f18939f1e04857d924bab6d
2485 【BUG】【1.3】助战副本,能召出3个以上机器人
1个文件已修改
3 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBHelpBattle.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBHelpBattle.py
@@ -152,6 +152,9 @@
    for helpPlayerID, helpPlayerInfoDict in helpBattlePlayerDict.items():
        objID = gameFB.GetGameFBDictByKey(ChConfig.Def_FB_HelpBattleFBObjID % helpPlayerID)
        if objID:
            if helpPlayerID == calledPlayerID:
                GameWorld.DebugLog("该助战机器人ID已经召唤过,不允许重复召唤!calledPlayerID=%s" % calledPlayerID)
                return
            calledCount += 1
        # 统计免费的未召唤的
        elif not helpPlayerInfoDict.get("NeedGoldCall", 0):