-----------------------------------
-- Area: East Sarutabaruta
--   NM: Spiny Spipi
-----------------------------------
local ID = zones[xi.zone.EAST_SARUTABARUTA]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  285.575, y = -12.656, z =  126.129 },
    { x =  367.961, y = -12.894, z =   83.454 },
    { x =  354.185, y =  -4.590, z =  244.205 },
    { x =  421.795, y =  -5.536, z =  277.605 },
    { x =  238.442, y =  -8.000, z =  236.401 },
    { x =  271.331, y =  -8.293, z =  243.108 },
    { x =  282.362, y =  -8.000, z =  238.097 },
    { x =  330.263, y = -12.500, z =  133.625 },
    { x =  380.521, y =  -5.653, z =  246.825 },
    { x =  311.298, y = -13.250, z =  140.366 },
    { x =  321.094, y =  -4.000, z =  241.614 },
    { x =  286.959, y =  -7.637, z =  242.114 },
    { x =  409.763, y =  -5.535, z =  267.935 },
    { x =  320.101, y = -12.847, z =  134.725 },
    { x =  194.150, y = -10.876, z =  213.142 },
    { x =  211.152, y = -12.585, z =  177.329 },
    { x =  345.385, y =  -4.833, z =  239.222 },
    { x =  250.134, y =  -8.385, z =  242.199 },
    { x =  237.861, y = -12.320, z =  165.261 },
    { x =  297.554, y =  -6.313, z =  236.474 },
    { x =  214.601, y = -12.832, z =  166.712 },
    { x =  177.874, y =  -9.151, z =  230.291 },
    { x =  407.030, y =  -5.812, z =  265.557 },
    { x =  416.203, y =  -5.032, z =  278.004 },
    { x =  345.695, y =  -4.796, z =  237.470 },
    { x =  297.033, y =  -6.378, z =  240.070 },
    { x =  214.448, y = -10.345, z =  223.663 },
    { x =  275.997, y = -12.300, z =  151.353 },
    { x =  291.627, y = -12.478, z =  158.758 },
    { x =  319.827, y =  -4.000, z =  241.987 },
    { x =  399.503, y =  -5.706, z =  266.407 },
    { x =  256.223, y =  -9.016, z =  241.744 },
    { x =  334.700, y =  -4.731, z =  242.649 },
    { x =  204.630, y = -12.041, z =  156.675 },
    { x =  306.505, y = -12.908, z =  151.004 },
    { x =  288.717, y = -13.358, z =  144.527 },
    { x =  310.679, y =  -4.856, z =  236.851 },
    { x =  261.716, y = -13.596, z =  152.072 },
    { x =  321.463, y = -12.068, z =  125.052 },
    { x =  306.332, y =  -5.716, z =  237.148 },
    { x =  199.378, y = -12.021, z =  195.698 },
    { x =  251.685, y = -12.705, z =  154.159 },
    { x =  203.216, y =  -8.000, z =  239.540 },
    { x =  319.413, y =  -4.000, z =  244.020 },
    { x =  258.638, y =  -9.167, z =  237.868 },
    { x =  240.313, y = -12.000, z =  159.260 },
    { x =  224.269, y =  -9.322, z =  229.849 },
    { x =  355.681, y =  -4.022, z =  244.202 },
    { x =  285.730, y = -12.110, z =  157.787 },
    { x =  286.366, y =  -7.711, z =  245.328 }
}

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

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

return entity
