|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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]) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_HorseAllLV, 1, [horseID, updClassLV]) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | EventShell.EventRespons_HorseLV(curPlayer, updClassLV) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | EventShell.EventRespons_HorseUp(curPlayer) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | addLV = updClassLV - horseLV | 
|---|
|  |  |  | if addLV: | 
|---|
|  |  |  | 
|---|
|  |  |  | #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) | 
|---|
|  |  |  | # 玩家马匹进阶 | 
|---|
|  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 刷属性,更新排行榜 | 
|---|
|  |  |  | 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: | 
|---|