-----------------------------------
-- Area: South Gustaberg
--   NM: Carnero
-----------------------------------
local ID = zones[xi.zone.SOUTH_GUSTABERG]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  277.891, y = -39.854, z = -413.354 },
    { x =  186.081, y = -39.990, z = -367.942 },
    { x =  164.245, y = -39.900, z = -347.878 },
    { x =  160.304, y = -39.990, z = -460.400 },
    { x =  201.021, y = -39.904, z = -500.721 },
    { x =  275.135, y = -39.977, z = -477.840 },
    { x =  274.561, y = -39.972, z = -476.762 },
    { x =  213.010, y = -59.983, z = -442.766 },
    { x =  211.745, y = -59.938, z = -441.313 },
    { x =  200.544, y = -39.964, z = -501.705 },
    { x =  201.868, y = -40.094, z = -513.194 },
    { x =  158.657, y = -39.960, z = -432.131 },
    { x =  162.006, y = -40.000, z = -404.165 },
    { x =  165.738, y = -40.397, z = -454.507 },
    { x =  140.262, y = -40.020, z = -400.380 },
    { x =  159.969, y = -40.040, z = -448.497 },
    { x =  195.133, y = -39.993, z = -495.835 },
    { x =  145.050, y = -39.677, z = -412.044 },
    { x =  199.139, y = -39.910, z = -485.544 },
    { x =  162.590, y = -40.078, z = -451.164 },
    { x =  163.108, y = -39.948, z = -418.332 },
    { x =  162.070, y = -40.000, z = -435.503 },
    { x =  157.823, y = -40.138, z = -439.761 },
    { x =  163.696, y = -39.957, z = -409.384 },
    { x =  151.371, y = -39.390, z = -412.129 },
    { x =  161.971, y = -40.000, z = -437.321 },
    { x =  194.437, y = -39.859, z = -481.330 },
    { x =  201.157, y = -40.059, z = -514.733 },
    { x =  148.674, y = -40.010, z = -400.045 },
    { x =  183.707, y = -39.389, z = -484.519 },
    { x =  196.869, y = -39.687, z = -486.894 },
    { x =  196.798, y = -40.168, z = -500.110 },
    { x =  153.446, y = -40.422, z = -422.054 },
    { x =  163.377, y = -39.933, z = -412.575 },
    { x =  164.381, y = -39.960, z = -465.282 },
    { x =  132.707, y = -39.971, z = -404.853 },
    { x =  162.443, y = -40.027, z = -450.130 },
    { x =  162.204, y = -40.022, z = -462.845 },
    { x =  197.168, y = -40.198, z = -505.979 },
    { x =  164.004, y = -40.000, z = -477.675 },
    { x =  163.288, y = -40.000, z = -464.921 },
    { x =  137.811, y = -39.808, z = -407.065 },
    { x =  195.807, y = -39.672, z = -487.028 },
    { x =  150.611, y = -39.688, z = -413.599 },
    { x =  202.572, y = -40.130, z = -511.536 },
    { x =  164.667, y = -40.000, z = -473.736 },
    { x =  195.636, y = -39.623, z = -492.709 },
    { x =  189.817, y = -39.965, z = -480.368 },
    { x =  156.214, y = -39.905, z = -404.912 },
    { x =  170.812, y = -39.731, z = -473.537 }
}

entity.phList =
{
    [ID.mob.CARNERO - 2]  = ID.mob.CARNERO, -- 186.081 -39.990 -367.942
    [ID.mob.CARNERO - 1]  = ID.mob.CARNERO, -- 164.245 -39.900 -347.878
    [ID.mob.CARNERO + 11] = ID.mob.CARNERO, -- 160.304 -39.990 -460.400
    [ID.mob.CARNERO + 12] = ID.mob.CARNERO, -- 201.021 -39.904 -500.721
    [ID.mob.CARNERO + 25] = ID.mob.CARNERO, -- 277.891 -39.854 -413.354
    [ID.mob.CARNERO + 32] = ID.mob.CARNERO, -- 274.561 -39.972 -476.762
    [ID.mob.CARNERO + 33] = ID.mob.CARNERO, -- 275.135 -39.977 -477.840
    [ID.mob.CARNERO + 35] = ID.mob.CARNERO, -- 213.010 -59.983 -442.766
    [ID.mob.CARNERO + 36] = ID.mob.CARNERO, -- 211.745 -59.938 -441.313
}

entity.onMobDeath = function(mob, player, optParams)
    xi.hunts.checkHunt(mob, player, 202)
end

return entity
