xdh
2018-11-22 8db8cf2b050a25ede6672e8e37860fcdbfa29b7f
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_TrialTower.py
@@ -409,7 +409,7 @@
def __GetEndAward(curPlayer, fbLevel):
    #结算奖励
    giveItemCountRateList = IpyGameDataPY.GetFuncEvalCfg('RuneAwardCntRate')
    giveItemCountRateList = GameWorld.GetDictValueByRangeKey(IpyGameDataPY.GetFuncEvalCfg('RuneAwardCntRate', 1, {}), fbLevel, [])
    giveItemCount = GameWorld.GetResultByRandomList(giveItemCountRateList)
    if not giveItemCount:
        return []
@@ -420,7 +420,7 @@
    InitRuneTypeColorInfo(curPlayer)
    
    giveItemList = []
    runeColorRateDict = IpyGameDataPY.GetFuncEvalCfg('RuneAwardColor')
    runeColorRateDict = GameWorld.GetDictValueByRangeKey(IpyGameDataPY.GetFuncEvalCfg('RuneAwardColor', 1, {}), fbLevel, {})
    for _ in xrange(giveItemCount):
        giveRuneType = random.choice(runeTypeList)
        
@@ -569,8 +569,8 @@
    giveRuneYsogDict = {}
    giveRunePoint = 0
    giveRuneYsog = 0
    giveItemCountRateList = IpyGameDataPY.GetFuncEvalCfg('RuneAwardCntRate', 2)
    runeColorRateDict = IpyGameDataPY.GetFuncEvalCfg('RuneAwardColor')
    ipyDataMgr = IpyGameDataPY.IPY_Data()
    for i in xrange(ipyDataMgr.GetRuneTowerCount()):
        ipyData = ipyDataMgr.GetRuneTowerByIndex(i)
@@ -583,14 +583,14 @@
        giveRunePoint += ipyData.GetSweepRunePoint()
        giveRuneYsogDict[floor] = giveRuneYsogDict.get(floor, 0) + ipyData.GetSweepYsog()
        giveRuneYsog += ipyData.GetSweepYsog()
        giveItemCountRateList = GameWorld.GetDictValueByRangeKey(IpyGameDataPY.GetFuncEvalCfg('RuneAwardCntRate', 2, {}), towerLV, [])
        giveItemCount = GameWorld.GetResultByRandomList(giveItemCountRateList)
        if not giveItemCount:
            continue
        runeTypeList = GetRuneTypeByTowerLV(towerLV)
        if not runeTypeList:
            continue
        runeColorRateDict = GameWorld.GetDictValueByRangeKey(IpyGameDataPY.GetFuncEvalCfg('RuneAwardColor', 2, {}), towerLV, {})
        for _ in xrange(giveItemCount):
            giveRuneType = random.choice(runeTypeList)