-----------------------------------
-- Area: Labyrinth of Onzozo
--   NM: Peg Powler
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x = -100.912, y =  4.263, z = -21.983 },
    { x = -128.471, y =  4.952, z =   0.489 },
    { x = -104.000, y =  4.000, z =  28.000 },
    { x = -111.183, y =  5.357, z =  44.411 },
    { x =  -81.567, y =  5.013, z =  37.186 },
    { x =  -72.956, y =  4.943, z =  39.293 },
    { x =  -33.112, y =  4.735, z =  34.742 },
    { x =  -51.745, y =  4.288, z =  46.295 },
    { x =  -54.100, y =  5.462, z =  81.680 },
    { x =  -65.089, y =  5.386, z =  81.363 },
    { x =  -64.269, y =  5.441, z =  72.382 },
    { x =  -56.906, y =  5.580, z =  28.932 },
    { x =  -54.692, y =  4.555, z =  71.387 },
    { x =  -52.125, y =  4.071, z =  67.900 },
    { x =  -85.799, y =  5.238, z =  60.992 },
    { x = -107.402, y =  4.964, z =  14.114 },
    { x =  -75.891, y =  5.092, z =  66.345 },
    { x = -116.159, y =  5.378, z =  17.424 },
    { x =  -61.229, y =  5.764, z =  77.796 },
    { x =  -85.452, y =  5.265, z =  62.933 },
    { x =  -82.480, y =  5.331, z =  59.373 },
    { x =  -65.401, y =  5.388, z =  76.408 },
    { x = -107.185, y =  5.000, z =  25.409 },
    { x =  -49.498, y =  4.505, z =  44.242 },
    { x = -108.592, y =  4.507, z =  20.323 },
    { x =  -88.618, y =  5.371, z =  53.156 },
    { x =  -66.556, y =  5.549, z =  43.566 },
    { x = -106.930, y =  4.849, z =  28.139 },
    { x = -100.376, y =  4.974, z =  46.484 },
    { x =  -62.868, y =  5.123, z =  30.981 },
    { x =  -42.206, y =  5.992, z =  54.144 },
    { x = -118.996, y =  4.911, z =  32.143 },
    { x = -108.265, y =  4.405, z =  18.198 },
    { x =  -55.668, y =  3.642, z =  66.386 },
    { x = -104.795, y =  5.379, z =  45.296 },
    { x =  -78.124, y =  6.000, z =  58.109 },
    { x = -121.533, y =  6.000, z =  12.873 },
    { x =  -81.990, y =  5.000, z =  34.787 },
    { x = -125.035, y =  4.483, z =  22.277 },
    { x =  -89.209, y =  5.949, z =  36.472 },
    { x = -118.126, y =  4.973, z =   4.085 },
    { x =  -81.203, y =  5.874, z =  61.703 },
    { x =  -82.307, y =  5.624, z =  51.571 },
    { x = -123.058, y =  5.923, z =  16.132 },
    { x = -121.187, y =  5.892, z =  21.123 },
    { x =  -70.914, y =  4.570, z =  66.863 },
    { x =  -75.848, y =  4.787, z =  35.149 },
    { x = -113.402, y =  5.154, z =  16.410 },
    { x =  -62.300, y =  5.386, z =  76.543 },
    { x =  -61.656, y =  5.255, z =  58.971 }
}

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

return entity
