xdh
2018-08-21 3d214c60456c914be4fde1b3c07e30d6729e6315
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
@@ -631,9 +631,10 @@
        
        skillIDList = upIpyData.GetSkillID()
        if skillIDList:
            sysMark = upIpyData.GetSysMark() or 'MountUpLv'
            for skillID in skillIDList:
                __GiveSkill(curPlayer, skillID, tick)
                PlayerControl.WorldNotify(0, 'MountUpLv', [playerName, horseID, updClassLV, skillID])
                PlayerControl.WorldNotify(0, sysMark, [playerName, horseID, updClassLV, skillID])
        if not skillIDList and updClassLV == maxLV:
            PlayerControl.WorldNotify(0, 'MountUpLvMax', [playerName, horseID])
        
@@ -641,7 +642,7 @@
        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_HorseAllLV, 1, [horseID, updClassLV])
        
        EventShell.EventRespons_HorseLV(curPlayer, updClassLV)
        EventShell.EventRespons_HorseUp(curPlayer)
        
    addLV = updClassLV - horseLV
    if addLV:
@@ -682,6 +683,7 @@
    #EventReport.WriteEvent_custom_mission_log(curPlayer, ChConfig.CME_Class_Horse, ChConfig.CME_Log_End, 1, cmeInfoEx=str(updateClassLV))
    sumLV = GetHorseSumLV(curPlayer)
    PlayerMagicWeapon.SetMWPrivilegeData(curPlayer, ChConfig.MWPrivilege_Horse, sumLV)
    # 刷属性,更新排行榜
    RefreshHorseAttr(curPlayer)
    # 玩家马匹进阶
@@ -850,7 +852,8 @@
    # 刷属性,更新排行榜
    RefreshHorseAttr(curPlayer)
    PlayerControl.WorldNotify(0, 'GetMount', [curPlayer.GetName(), ipyData.GetItemID()])
    sysMark = ipyData.GetUnlockSys() or 'GetMount'
    PlayerControl.WorldNotify(0, sysMark, [curPlayer.GetName(), ipyData.GetItemID()])
#    
#    HorseSkinNotifyDict = ReadChConfig.GetEvalChConfig("HorseSkinNotify")
#    if horseSkinID in HorseSkinNotifyDict: