From 392d0eb7cf141e59e899b1570b817f4b7f6c8fa3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 18 一月 2025 11:42:07 +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 74c98e7..b613498 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py @@ -845,6 +845,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