1111 【越南】【英语】【BT】【砍树】增加判断坐骑是否满级任务接口
2个文件已修改
17 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -7047,6 +7047,12 @@
    horseLV = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
    return PlayerHorse.GetHorseSumLV(curPlayer) >= horseLV
##坐骑是否满级
# @param None
# @return None <Horselvfull />
def ConditionType_Horselvfull(curPlayer, curMission, curActionNode):
    return PlayerHorse.IsHorseLVFull(curPlayer)
##是否已购买VIP礼包
# @param None
# @return None <Buyvipitem value="viplv"/>
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
#