From 3128b603606057b8b6ddbaf6a86e4493b4ce292a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 17 十二月 2019 18:22:39 +0800 Subject: [PATCH] 8358 【主干】【后端】坐骑修改 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCacheTube.py | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCacheTube.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCacheTube.py index 75c4012..e529d59 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCacheTube.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCacheTube.py @@ -275,15 +275,11 @@ ## 坐骑信息 def __GetHorseInfo(curPlayer): - horseList = [] - ipyDataMgr = IpyGameDataPY.IPY_Data() - for i in xrange(ipyDataMgr.GetHorseCount()): - ipyData = ipyDataMgr.GetHorseByIndex(i) - horseID = ipyData.GetHorseID() - horseLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Horser_LV % horseID, 0, ChConfig.Def_PDictType_Horse) - if horseLV: - horseList.append({"id":horseID, 'lv':horseLV}) - return horseList + horseInfo = {"LV":curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserLV), + "EatItemCount":curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserEatItemCount), + "SkinPlusState":curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserSkinPlusState), + } + return horseInfo ## 神器信息 def __GetGodWeaponInfo(curPlayer): -- Gitblit v1.8.0