wuduz游戏站
标题:
诛仙宠物驯养LUA代码
[打印本页]
:
无度站
时间:
2022-10-13 21:55
标题:
诛仙宠物驯养LUA代码
宠物驯养LUA代码 不多说什么 高手自己修复下把 根据talisman_combine
---宠物驯养-------------------------------------------------------------------------------
function PetBedgeAdopt(pet_tid,pet,origin)
local DataIndex=ZLuaPetBedgeDataIndex()
local availablePets = ZLuaAvailablePets()
pet:SetLevel(1)
pet:UpdateData(DataIndex["identify"], 1)
pet:SetCurHonorPoint(math.max(pet:QueryCurHonorPoint()/2,1))
pet:SetMaxHonorPoint(math.max(pet:QueryMaxHonorPoint()/2,80))
pet:SetCurHungerPoint(450)
pet:SetMaxHungerPoint(500)
ZLuaPetBedgeRollBack(pet_tid,pet)
pet:UpdateData(DataIndex["feedaids"],0)
ZLuaPetBedgeRebuild(pet_tid,pet,origin,_)
return pet_tid;
end
欢迎光临 wuduz游戏站 (http://bbs.wuduz.com/)