xdh
2019-06-03 dbcfd3f16072fb70909f6f6e209e437af97c98a6
6969 【2.0】【后端】缥缈仙域奇遇(奇遇可能随不出问题)
1个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
@@ -150,7 +150,7 @@
    else:
        fdEventTypeDict = {}
        #先随机独立事件
        singleEventRateDict = IpyGameDataPY.GetFuncCfg('ImmortalDomain')
        singleEventRateDict = IpyGameDataPY.GetFuncEvalCfg('ImmortalDomain', 1, {})
        for eventType, rate in singleEventRateDict.items():
            if GameWorld.CanHappen(rate):
                fdEventTypeDict[eventType] = 1
@@ -160,8 +160,8 @@
            otherEventRateList = copy.deepcopy(IpyGameDataPY.GetFuncEvalCfg('ImmortalDomain', 3))
            unRepeatTypeList = IpyGameDataPY.GetFuncEvalCfg('ImmortalDomain', 4)
            for _ in xrange(otherCnt):
                otherEventType = GameWorld.GetResultByRandomList(otherEventRateList, 0)
                if not otherEventType:
                otherEventType = GameWorld.GetResultByRandomList(otherEventRateList)
                if otherEventType is None:
                    continue
                if otherEventType in unRepeatTypeList:
                    for index, info in enumerate(otherEventRateList):