1111 【越南】【英语】【BT】【砍树】增加判断坐骑是否满级任务接口
| | |
| | | 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"/>
|
| | |
| | | ## 坐骑总等级
|
| | | 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
|
| | | #
|