-----------------------------------
-- Area: Beaucedine Glacier
--   NM: Gargantua
-----------------------------------
local ID = zones[xi.zone.BEAUCEDINE_GLACIER]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  339.000, y = -0.472, z = -20.000 },
    { x =  311.701, y =  0.110, z = -46.047 },
    { x =  339.589, y = -0.100, z = -12.670 },
    { x =  341.807, y = -0.223, z = -12.313 },
    { x =  342.663, y =  0.486, z =  28.435 },
    { x =  282.706, y =  0.000, z = -38.483 },
    { x =  302.529, y =  0.360, z =  30.251 },
    { x =  320.997, y =  0.331, z =  10.641 },
    { x =  338.129, y =  0.905, z = -38.965 },
    { x =  323.349, y =  0.890, z = -57.822 },
    { x =  352.379, y = -0.085, z =  -7.133 },
    { x =  301.916, y =  0.103, z = -58.846 },
    { x =  309.494, y =  0.539, z = -17.324 },
    { x =  362.484, y =  0.385, z = -11.897 },
    { x =  330.652, y =  0.332, z =   2.583 },
    { x =  352.063, y =  0.196, z = -43.520 },
    { x =  305.637, y =  0.232, z = -48.436 },
    { x =  351.296, y =  0.234, z = -41.178 },
    { x =  317.195, y =  0.810, z = -56.219 },
    { x =  334.463, y = -0.309, z = -19.662 },
    { x =  296.187, y =  0.803, z = -35.990 },
    { x =  355.967, y =  0.175, z =   7.570 },
    { x =  325.796, y =  0.279, z = -27.330 },
    { x =  320.713, y =  0.000, z = -42.444 },
    { x =  339.802, y = -0.202, z = -30.909 },
    { x =  315.168, y =  0.039, z =  34.351 },
    { x =  298.756, y =  0.814, z = -34.874 },
    { x =  304.605, y =  0.735, z = -37.672 },
    { x =  355.582, y =  0.145, z = -33.835 },
    { x =  291.646, y =  0.544, z = -47.484 },
    { x =  285.954, y =  0.097, z = -40.103 },
    { x =  294.364, y =  0.600, z = -49.252 },
    { x =  324.941, y =  0.499, z = -54.015 },
    { x =  307.969, y =  0.101, z = -53.054 },
    { x =  360.585, y =  0.000, z =  -0.759 },
    { x =  284.287, y =  0.845, z = -22.413 },
    { x =  303.445, y =  0.827, z =   0.838 },
    { x =  341.426, y =  0.928, z = -39.709 },
    { x =  290.230, y =  0.573, z = -20.922 },
    { x =  333.903, y =  0.186, z = -48.650 },
    { x =  327.591, y =  0.046, z = -47.442 },
    { x =  342.365, y =  0.881, z =  -0.875 },
    { x =  329.737, y =  0.600, z = -62.745 },
    { x =  322.341, y =  0.042, z =  -4.863 },
    { x =  293.582, y =  0.251, z = -26.982 },
    { x =  283.380, y =  0.199, z = -31.995 },
    { x =  344.515, y =  0.703, z =   4.793 },
    { x =  355.032, y =  0.376, z = -29.398 },
    { x =  324.808, y =  0.709, z = -23.770 },
    { x =  296.495, y =  0.824, z = -42.375 }
}

entity.phList =
{
    [ID.mob.GARGANTUA - 1] = ID.mob.GARGANTUA, -- 339 -0.472 -20
}

entity.onMobDeath = function(mob, player, optParams)
    xi.hunts.checkHunt(mob, player, 312)
    xi.magian.onMobDeath(mob, player, optParams, set{ 153, 367, 581 })
end

return entity
