Global_Reg.RegInit("pet_move_init");
function pet_move_init()
NL.RegPetMovements(nil,"pet_move");--宠物行动注册
return 0
end
function pet_move(player,petindex,movements)
if movements == 1 then
-- NLG.SystemMessage(player,"\n宠物行动 "..movements)
return 3
end
--[[
if movements==2 then
NLG.SystemMessage(player,"宠物换位了")
end
if movements==6 then
local techid =Char.GetData(petindex,277)
if techid==16000 then
end
NLG.SystemMessage(player,"宠物使用了"..techid)
end--]]
return movements
end
|
|