-----------------------------------
-- Area: Cape Teriggan
--   NM: Frostmane
-----------------------------------
local ID = zones[xi.zone.CAPE_TERIGGAN]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.phList =
{
    [ID.mob.FROSTMANE - 5] = ID.mob.FROSTMANE, -- -262.000 -0.700 442.000
    [ID.mob.FROSTMANE - 4] = ID.mob.FROSTMANE, -- -272.224 -0.942 461.321
    [ID.mob.FROSTMANE - 3] = ID.mob.FROSTMANE, -- -268.000 -0.558 440.000
    [ID.mob.FROSTMANE - 2] = ID.mob.FROSTMANE, -- -283.874 -0.660 485.504
}

entity.spawnPoints =
{
    { x = -283.874, y = -0.660, z = 485.504 },
    { x = -272.224, y = -0.942, z = 461.321 },
    { x = -268.000, y = -0.558, z = 440.000 },
    { x = -262.000, y = -0.700, z = 442.000 },
    { x = -285.691, y = -0.295, z = 451.181 },
    { x = -284.157, y =  0.106, z = 457.050 },
    { x = -272.658, y =  0.432, z = 454.353 },
    { x = -278.557, y =  0.000, z = 441.306 },
    { x = -274.809, y =  0.784, z = 458.535 },
    { x = -277.748, y =  0.000, z = 438.305 },
    { x = -289.520, y = -1.163, z = 447.541 },
    { x = -272.850, y = -0.308, z = 473.888 },
    { x = -273.254, y = -0.220, z = 473.986 },
    { x = -282.771, y = -0.226, z = 486.986 },
    { x = -280.848, y =  0.176, z = 449.800 },
    { x = -283.549, y =  0.000, z = 477.576 },
    { x = -274.844, y = -0.089, z = 479.648 },
    { x = -285.299, y = -0.176, z = 477.741 },
    { x = -275.116, y =  0.257, z = 465.708 },
    { x = -267.361, y =  0.414, z = 444.021 },
    { x = -287.124, y = -0.279, z = 441.426 },
    { x = -276.502, y =  0.817, z = 462.031 },
    { x = -282.218, y =  0.001, z = 446.841 },
    { x = -278.855, y =  0.931, z = 461.357 },
    { x = -287.790, y = -0.301, z = 440.277 },
    { x = -278.524, y =  0.000, z = 483.608 },
    { x = -283.355, y =  0.000, z = 439.428 },
    { x = -282.145, y =  0.085, z = 445.727 },
    { x = -284.311, y = -0.219, z = 484.836 },
    { x = -256.485, y =  0.823, z = 442.872 },
    { x = -274.652, y = -0.015, z = 474.214 },
    { x = -281.216, y =  0.193, z = 472.118 },
    { x = -284.302, y = -0.047, z = 476.397 },
    { x = -280.234, y =  0.000, z = 483.199 },
    { x = -269.027, y =  0.374, z = 445.056 },
    { x = -277.316, y =  0.741, z = 463.192 },
    { x = -274.623, y =  0.068, z = 437.165 },
    { x = -280.987, y =  0.789, z = 461.301 },
    { x = -281.878, y =  0.000, z = 482.166 },
    { x = -282.064, y =  0.458, z = 453.960 },
    { x = -286.213, y = -0.168, z = 480.342 },
    { x = -279.835, y =  0.081, z = 445.640 },
    { x = -275.693, y = -0.025, z = 479.656 },
    { x = -271.681, y = -0.615, z = 469.612 },
    { x = -269.868, y = -0.769, z = 464.734 },
    { x = -271.194, y = -0.440, z = 481.698 },
    { x = -273.024, y = -0.253, z = 467.150 },
    { x = -277.366, y =  0.497, z = 453.016 },
    { x = -275.945, y =  0.257, z = 449.155 },
    { x = -272.622, y = -0.450, z = 469.839 },
}

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

return entity
