-----------------------------------
-- Area: Gustav Tunnel
--  Mob: Antares
-- Note: Place holder Amikiri
-----------------------------------
local ID = zones[xi.zone.GUSTAV_TUNNEL]
-----------------------------------
---@type TMobEntity
local entity = {}
local amikiriSpawnPoints =
{
    { x = -206.330, y =  0.044, z = 73.926 },
    { x = -245.000, y = -0.045, z = 146.000 },
    { x = -228.872, y = -0.264, z = 144.689 },
    { x = -209.552, y = -0.257, z = 161.728 },
    { x = -243.920, y = -0.086, z = 156.868 },
    { x = -205.333, y = -0.098, z = 165.709 },
    { x = -239.634, y =  0.000, z = 158.712 },
    { x = -232.128, y = -0.429, z = 156.572 },
    { x = -208.327, y =  0.768, z = 156.551 },
    { x = -220.583, y =  0.707, z = 157.530 },
    { x = -220.896, y =  0.116, z = 154.675 },
    { x = -229.763, y =  0.000, z = 153.177 },
    { x = -200.314, y =  0.366, z = 152.431 },
    { x = -224.295, y =  0.000, z = 152.051 },
    { x = -227.687, y =  0.159, z = 169.550 },
    { x = -201.458, y =  0.000, z = 154.655 },
    { x = -213.294, y =  0.816, z = 154.058 },
    { x = -217.620, y = -0.416, z = 145.604 },
    { x = -194.030, y = -0.035, z = 160.733 },
    { x = -198.799, y =  0.142, z = 166.667 },
    { x = -234.484, y = -0.038, z = 170.539 },
    { x = -223.953, y = -0.827, z = 140.942 },
    { x = -221.501, y =  0.237, z = 155.238 },
    { x = -215.502, y =  0.314, z = 150.008 },
    { x = -241.483, y = -0.008, z = 165.218 },
    { x = -224.222, y =  0.683, z = 165.025 },
    { x = -204.876, y =  0.351, z = 151.970 },
    { x = -229.840, y =  0.513, z = 161.627 },
    { x = -213.600, y =  0.986, z = 161.789 },
    { x = -220.875, y =  0.912, z = 161.704 },
    { x = -226.061, y =  0.929, z = 162.340 },
    { x = -205.234, y =  0.376, z = 152.759 },
    { x = -221.524, y =  0.903, z = 163.700 },
    { x = -210.569, y =  0.932, z = 156.048 },
    { x = -211.347, y = -0.377, z = 167.727 },
    { x = -216.238, y =  0.475, z = 154.067 },
    { x = -209.778, y =  0.417, z = 160.219 },
    { x = -240.936, y = -0.038, z = 165.945 },
    { x = -220.307, y = -0.179, z = 150.436 },
    { x = -228.652, y =  0.078, z = 149.291 },
    { x = -239.076, y =  0.500, z = 169.119 },
    { x = -216.123, y =  0.664, z = 155.895 },
    { x = -225.793, y =  0.312, z = 168.675 },
    { x = -210.991, y =  0.949, z = 153.204 },
    { x = -208.465, y = -0.224, z = 164.872 },
    { x = -224.489, y = -0.184, z = 147.041 },
    { x = -239.386, y =  0.000, z = 156.223 },
    { x = -220.458, y = -0.035, z = 144.088 },
    { x = -217.460, y =  0.529, z = 155.340 },
    { x = -220.605, y = -0.686, z = 147.272 },
}

entity.onMobDeath = function(mob, player, optParams)
    xi.regime.checkRegime(player, mob, 768, 2, xi.regime.type.GROUNDS)
end

entity.onMobDespawn = function(mob)
    xi.mob.phOnDespawn(mob, ID.mob.AMIKIRI, 5, 25200, { spawnPoints = amikiriSpawnPoints }) -- 7 hours
end

return entity
