hch
2018-11-30 4440cae9a947827004016e2cd486b639b3dca7e8
860312 神兵去除等级广播提示
1个文件已修改
12 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGodWeapon.py 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGodWeapon.py
@@ -316,11 +316,13 @@
            PlayerControl.WorldNotify(0, sysMark, [curPlayer.GetName(), weaponType])
            
        #{1:[100,200,300,400],2:[100,200,300,400],3:[100,200,300,400]}
        notifyDict = IpyGameDataPY.GetFuncEvalCfg('GodLv', 1, {})
        if weaponType in notifyDict:
            for notifyLV in notifyDict[weaponType]:
                if beforeAttrLV < notifyLV and attrLV >= notifyLV:
                    PlayerControl.WorldNotify(0, 'GodWeaponLv', [curPlayer.GetName(), weaponType, notifyLV])
        #=======================================================================
        # notifyDict = IpyGameDataPY.GetFuncEvalCfg('GodLv', 1, {})
        # if weaponType in notifyDict:
        #    for notifyLV in notifyDict[weaponType]:
        #        if beforeAttrLV < notifyLV and attrLV >= notifyLV:
        #            PlayerControl.WorldNotify(0, 'GodWeaponLv', [curPlayer.GetName(), weaponType, notifyLV])
        #=======================================================================
                
        # 神兵特效激活广播
        godWeaponEffectData = IpyGameDataPY.GetIpyGameDataByCondition('GodWeaponEffect', {'GWType':weaponType, "Level":attrLV}, False, False)