[GP] pet_move.lua--宠物逃跑动作

[复制链接]
发表于 5 天前 | 显示全部楼层 |阅读模式
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

回复

使用道具 举报

快速回复 返回顶部 返回列表