-----------------------------------
-- Area: Eastern Altepa Desert (114)
--   NM: Dune Widow
-----------------------------------
local ID = zones[xi.zone.EASTERN_ALTEPA_DESERT]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  -85.000, y =   2.952, z =  -46.000 },
    { x =  -38.000, y =  -7.000, z =  -35.000 },
    { x =  -75.000, y =  -7.000, z =   -1.000 },
    { x =  -36.319, y = -16.343, z =  127.472 },
    { x = -129.646, y = -10.544, z =  106.096 },
    { x = -110.259, y = -11.813, z =   54.668 },
    { x =  -63.693, y = -15.468, z =   37.550 },
    { x =  -83.726, y =  -6.622, z =  -10.144 },
    { x =  -20.594, y = -23.555, z =  106.357 },
    { x =  -23.368, y = -17.144, z =   63.099 },
    { x =  -59.688, y = -14.870, z =   33.356 },
    { x =  -93.032, y =  -0.462, z =  -28.587 },
    { x = -119.540, y =  -7.307, z =   14.973 },
    { x =  -70.788, y = -11.475, z =   20.180 },
    { x =  -78.935, y = -15.855, z =   86.996 },
    { x =  -33.337, y = -15.868, z =   40.390 },
    { x =  -45.211, y = -15.941, z =   39.410 },
    { x =  -10.584, y = -18.871, z =   59.009 },
    { x = -102.978, y = -17.091, z =   69.244 },
    { x =  -78.373, y = -15.784, z =   48.355 },
    { x =  -72.244, y = -11.739, z =   20.626 },
    { x =  -65.870, y = -15.392, z =   39.099 },
    { x =  -23.193, y = -15.046, z =   31.130 },
    { x =  -19.887, y = -17.946, z =   61.193 },
    { x =  -26.568, y =  -8.024, z =  -22.999 },
    { x =  -56.695, y =  -7.618, z =   -8.281 },
    { x =  -28.907, y = -15.602, z =   54.441 },
    { x =  -70.961, y =  -7.621, z =    3.338 },
    { x =  -37.367, y = -15.392, z =   32.664 },
    { x =  -59.024, y =  -9.066, z =   11.697 },
    { x =  -29.261, y = -16.534, z =   73.444 },
    { x =  -21.108, y = -15.669, z =   47.696 },
    { x =  -49.271, y =  -6.618, z =  -21.130 },
    { x =    6.769, y = -34.016, z =   95.170 },
    { x =  -62.906, y = -11.926, z =   22.329 },
    { x =  -63.037, y = -15.211, z =   84.416 },
    { x =  -28.561, y = -15.834, z =   49.097 },
    { x =  -76.755, y = -15.629, z =  108.536 },
    { x =  -79.100, y =  -8.000, z =   -0.868 },
    { x =    2.487, y = -26.410, z =  117.536 },
    { x =  -95.926, y = -16.983, z =   75.985 },
    { x =  -28.674, y =  -7.636, z =    1.811 },
    { x = -107.573, y =  -9.440, z =   44.493 },
    { x =  -14.245, y = -17.387, z =   54.664 },
    { x =   -0.825, y = -20.358, z =   59.822 },
    { x =  -78.395, y = -16.000, z =   40.173 },
    { x =  -50.692, y = -15.668, z =   82.271 },
    { x = -109.238, y = -11.541, z =   55.028 },
    { x =  -40.196, y = -15.905, z =   74.080 },
    { x =   12.310, y = -32.154, z =  111.476 }
}

entity.phList =
{
    [ID.mob.DUNE_WIDOW - 1] = ID.mob.DUNE_WIDOW,
}

entity.onMobDeath = function(mob, player, optParams)
    xi.hunts.checkHunt(mob, player, 408)
    xi.magian.onMobDeath(mob, player, optParams, set{ 712 })
end

return entity
