hch
2018-09-19 fe645e03c09fce1624ff7354beaed01375f1453c
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)
    # 玩家马匹进阶
@@ -820,7 +822,8 @@
    ItemCommon.ReduceItem(curPlayer, itemPack, itemList, needItemCnt, False, ChConfig.ItemDel_Horse)
    #设置初始等级
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Horser_LV % horseID, ipyData.GetInitLV(), ChConfig.Def_PDictType_Horse)
    for _ in xrange(ipyData.GetInitLV()):
        EventShell.EventRespons_HorseUp(curPlayer)
    # 记录开服活动马匹阶级
    sumLV = GetHorseSumLV(curPlayer)
    OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_HorseLV, sumLV)
@@ -850,7 +853,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: