From dde0bcc48a5b91a74b1d69ce9be1245811382f42 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 24 十一月 2025 12:03:38 +0800
Subject: [PATCH] 332 【主界面】座骑系统-服务端(修复默认激活的坐骑外观无法佩戴bug)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
index 0a510b1..df1bd30 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
@@ -408,14 +408,16 @@
if state:
return True
-# if not ipyData:
-# ipyData = IpyGameDataPY.GetIpyGameData("HorseSkin", horseSkinID)
-# if ipyData:
-# unlockWay = ipyData.GetUnlockWay()
-# if unlockWay == 1:
-# classLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorseClassLV)
-# if classLV >= ipyData.GetUnlockValue():
-# return True
+ if not ipyData:
+ ipyData = IpyGameDataPY.GetIpyGameData("HorseSkin", horseSkinID)
+ if ipyData:
+ unlockWay = ipyData.GetUnlockWay()
+ if unlockWay == 1:
+ if not ipyData.GetUnlockValue():
+ return True
+ #classLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorseClassLV)
+ #if classLV >= ipyData.GetUnlockValue():
+ # return True
return False
--
Gitblit v1.8.0