-----------------------------------
-- Area: North Gustaberg
--   NM: Maighdean Uaine
-----------------------------------
local ID = zones[xi.zone.NORTH_GUSTABERG]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  121.242, y = -0.500, z =  654.504 },
    { x =  176.458, y = -0.347, z =  722.666 },
    { x =  164.140, y =  1.981, z =  740.020 },
    { x =  239.992, y = -0.493, z =  788.037 },
    { x =  203.606, y = -0.607, z =  721.541 },
    { x =  289.709, y = -0.297, z =  750.252 },
    { x =  166.333, y =  0.458, z =  780.370 },
    { x =  205.704, y =  0.206, z =  801.495 },
    { x =  152.479, y =  0.023, z =  759.022 },
    { x =  266.279, y =  0.278, z =  762.728 },
    { x =  196.257, y =  0.643, z =  791.309 },
    { x =  230.044, y =  0.760, z =  794.431 },
    { x =  202.844, y =  0.891, z =  790.316 },
    { x =  195.878, y =  0.408, z =  743.728 },
    { x =  216.813, y =  2.306, z =  801.709 },
    { x =  225.554, y =  0.228, z =  762.566 },
    { x =  201.620, y =  0.112, z =  738.506 },
    { x =  212.908, y =  0.527, z =  732.266 },
    { x =  160.699, y =  0.066, z =  778.247 },
    { x =  173.799, y =  1.831, z =  733.766 },
    { x =  172.296, y =  1.072, z =  780.868 },
    { x =  238.870, y =  0.000, z =  797.154 },
    { x =  196.135, y =  0.000, z =  803.595 },
    { x =  183.222, y =  2.290, z =  761.692 },
    { x =  268.628, y =  0.465, z =  772.987 },
    { x =  230.661, y =  0.223, z =  742.971 },
    { x =  232.091, y =  0.511, z =  776.470 },
    { x =  189.537, y =  1.769, z =  748.205 },
    { x =  198.048, y = -0.099, z =  809.176 },
    { x =  187.716, y =  1.537, z =  757.845 },
    { x =  176.476, y =  2.315, z =  764.398 },
    { x =  236.781, y = -0.492, z =  768.913 },
    { x =  201.563, y = -0.079, z =  821.147 },
    { x =  208.909, y =  2.639, z =  778.810 },
    { x =  227.255, y =  0.951, z =  735.545 },
    { x =  196.465, y =  2.275, z =  783.345 },
    { x =  221.755, y =  0.413, z =  733.040 },
    { x =  208.629, y = -0.217, z =  758.022 },
    { x =  161.946, y =  0.069, z =  767.466 },
    { x =  206.336, y = -0.543, z =  823.427 },
    { x =  185.989, y =  1.862, z =  753.057 },
    { x =  235.451, y = -0.535, z =  747.718 },
    { x =  202.700, y =  0.462, z =  792.048 },
    { x =  237.010, y =  0.000, z =  762.836 },
    { x =  220.122, y =  3.124, z =  810.036 },
    { x =  267.294, y = -0.616, z =  787.995 },
    { x =  272.390, y =  0.473, z =  769.455 },
    { x =  179.678, y =  1.754, z =  732.096 },
    { x =  213.464, y =  2.811, z =  811.334 },
    { x =  208.448, y =  2.563, z =  783.560 }
}

entity.phList =
{
    [ID.mob.MAIGHDEAN_UAINE - 5] = ID.mob.MAIGHDEAN_UAINE, -- 164.140 1.981  740.020
    [ID.mob.MAIGHDEAN_UAINE - 4] = ID.mob.MAIGHDEAN_UAINE, -- 121.242 -0.500 654.504
    [ID.mob.MAIGHDEAN_UAINE - 3] = ID.mob.MAIGHDEAN_UAINE, -- 94.521  2.365  648.439
    [ID.mob.MAIGHDEAN_UAINE - 2] = ID.mob.MAIGHDEAN_UAINE, -- 203.606 -0.607 721.541
    [ID.mob.MAIGHDEAN_UAINE - 1] = ID.mob.MAIGHDEAN_UAINE, -- 176.458 -0.347 722.666
    [ID.mob.MAIGHDEAN_UAINE + 8] = ID.mob.MAIGHDEAN_UAINE, -- 239.992 -0.493 788.037
    [ID.mob.MAIGHDEAN_UAINE + 9] = ID.mob.MAIGHDEAN_UAINE, -- 289.709 -0.297 750.252
}

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

return entity
