From f00d18cdfa6c3abdd69ef090dcb176d67b235fa5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 18 一月 2025 11:40:25 +0800
Subject: [PATCH] 1111 【越南】【英语】【BT】【砍树】增加判断坐骑是否满级任务接口

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 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 f1ad1d1..bc7a597 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
@@ -844,6 +844,17 @@
     ## 坐骑总等级
     return curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserLV)
 
+def IsHorseLVFull(curPlayer):
+    ## 坐骑是否满级
+    horseLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserLV)    
+    horseIpyData = IpyGameDataPY.GetIpyGameData("HorseLVUp", horseLV)
+    if not horseIpyData:
+        return False
+    needEatCount = horseIpyData.GetNeedEatCount()
+    if not needEatCount:
+        return True
+    return False
+
 #============================骑宠觉醒=============================
 #// A5 29 骑宠觉醒 #tagCMHorsePetAwake
 #

--
Gitblit v1.8.0