-----------------------------------
-- Area: Labyrinth of Onzozo
--   NM: Lord of Onzozo
-----------------------------------
mixins =
{
    require('scripts/mixins/rage'),
    require('scripts/mixins/draw_in'),
}
-----------------------------------
local ID = zones[xi.zone.LABYRINTH_OF_ONZOZO]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x = -39.356, y =  14.265, z = -60.406 },
    { x = -42.177, y =  15.083, z = -61.268 },
    { x = -48.591, y =  13.670, z = -62.263 },
    { x = -39.077, y =  15.000, z = -59.959 },
    { x = -42.040, y =  15.119, z = -59.413 },
    { x = -45.355, y =  14.945, z = -63.082 },
    { x = -45.193, y =  14.955, z = -60.006 },
    { x = -46.133, y =  14.723, z = -58.024 },
    { x = -36.114, y =  13.989, z = -57.724 },
    { x = -44.620, y =  14.929, z = -58.605 },
    { x = -38.414, y =  14.750, z = -60.096 },
    { x = -37.471, y =  14.464, z = -58.490 },
    { x = -49.069, y =  14.049, z = -63.596 },
    { x = -35.559, y =  13.641, z = -60.284 },
    { x = -39.356, y =  14.726, z = -56.944 },
    { x = -41.782, y =  14.828, z = -62.819 },
    { x = -41.119, y =  14.902, z = -62.313 },
    { x = -44.116, y =  14.974, z = -58.091 },
    { x = -44.787, y =  14.938, z = -58.249 },
    { x = -39.329, y =  15.000, z = -60.935 },
    { x = -47.256, y =  14.195, z = -60.468 },
    { x = -40.315, y =  15.000, z = -61.106 },
    { x = -46.956, y =  14.285, z = -60.829 },
    { x = -41.968, y =  15.106, z = -59.468 },
    { x = -45.563, y =  14.874, z = -58.500 },
    { x = -43.377, y =  15.110, z = -62.059 },
    { x = -42.620, y =  14.884, z = -62.945 },
    { x = -43.278, y =  15.144, z = -61.741 },
    { x = -41.023, y =  14.673, z = -63.246 },
    { x = -43.524, y =  15.119, z = -62.085 },
    { x = -45.161, y =  14.976, z = -62.846 },
    { x = -41.322, y =  14.998, z = -60.555 },
    { x = -47.200, y =  14.111, z = -61.794 },
    { x = -41.550, y =  14.499, z = -63.605 },
    { x = -42.250, y =  14.591, z = -56.363 },
    { x = -40.948, y =  14.825, z = -62.632 },
    { x = -49.601, y =  14.065, z = -64.565 },
    { x = -44.667, y =  14.892, z = -63.163 },
    { x = -44.647, y =  15.059, z = -60.604 },
    { x = -39.933, y =  14.947, z = -62.122 },
    { x = -45.304, y =  14.946, z = -62.563 },
    { x = -41.809, y =  15.014, z = -61.388 },
    { x = -45.711, y =  14.864, z = -58.371 },
    { x = -43.851, y =  14.419, z = -56.093 },
    { x = -41.899, y =  14.990, z = -58.209 },
    { x = -44.736, y =  14.932, z = -58.965 },
    { x = -43.535, y =  14.512, z = -56.305 },
    { x = -41.900, y =  14.829, z = -62.887 },
    { x = -43.684, y =  14.866, z = -57.263 },
    { x = -40.679, y =  14.138, z = -64.338 }
}

entity.phList =
{
    [ID.mob.LORD_OF_ONZOZO - 1] = ID.mob.LORD_OF_ONZOZO, -- -39.356 14.265 -60.406
}

entity.onMobDeath = function(mob, player, optParams)
    xi.regime.checkRegime(player, mob, 774, 1, xi.regime.type.GROUNDS)
end

return entity
