-----------------------------------
-- Area: Labyrinth of Onzozo
--   NM: Ose
-----------------------------------
local ID = zones[xi.zone.LABYRINTH_OF_ONZOZO]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  -1.758, y =  4.982, z =  153.412 },
    { x =   8.113, y =  5.055, z =  159.197 },
    { x =   9.000, y =  4.000, z =  176.000 },
    { x =  -7.000, y =  4.467, z =  184.000 },
    { x =  -7.233, y =  4.976, z =  204.202 },
    { x =  26.971, y =  4.440, z =  216.229 },
    { x =  48.440, y =  5.070, z =  174.352 },
    { x =  39.858, y =  4.364, z =  164.961 },
    { x =  -9.860, y =  5.000, z =  157.107 },
    { x =  -4.819, y =  4.997, z =  187.279 },
    { x =  -5.480, y =  5.494, z =  177.016 },
    { x =  42.083, y =  5.000, z =  157.020 },
    { x =  29.577, y =  5.580, z =  159.990 },
    { x =   9.142, y =  4.628, z =  179.913 },
    { x =  35.096, y =  4.845, z =  158.344 },
    { x =  43.935, y =  4.616, z =  164.665 },
    { x =   9.698, y =  5.300, z =  196.612 },
    { x =  34.299, y =  5.750, z =  177.411 },
    { x =  39.423, y =  5.000, z =  200.673 },
    { x =  37.125, y =  5.365, z =  185.204 },
    { x =  21.707, y =  4.469, z =  189.550 },
    { x =  10.144, y =  5.522, z =  161.599 },
    { x =  36.580, y =  4.993, z =  184.457 },
    { x =  21.885, y =  4.912, z =  180.982 },
    { x =  50.998, y =  5.612, z =  183.429 },
    { x =  -1.155, y =  5.431, z =  151.473 },
    { x =  14.400, y =  5.583, z =  150.008 },
    { x =  25.632, y =  3.720, z =  186.014 },
    { x =  29.374, y =  3.505, z =  190.121 },
    { x =  24.605, y =  4.521, z =  180.938 },
    { x =  14.340, y =  5.280, z =  174.699 },
    { x =  32.724, y =  4.594, z =  169.051 },
    { x =  29.209, y =  5.478, z =  205.358 },
    { x =   4.631, y =  5.004, z =  153.875 },
    { x =   1.482, y =  6.000, z =  178.313 },
    { x =  21.752, y =  5.946, z =  157.108 },
    { x =  26.548, y =  4.373, z =  166.393 },
    { x =  -1.625, y =  5.000, z =  195.947 },
    { x =  24.204, y =  4.296, z =  167.082 },
    { x =  10.948, y =  5.711, z =  200.284 },
    { x = -12.273, y =  4.984, z =  174.358 },
    { x =  38.889, y =  5.282, z =  173.433 },
    { x =  18.121, y =  4.958, z =  184.339 },
    { x =   7.471, y =  5.000, z =  167.265 },
    { x =  43.358, y =  5.323, z =  172.545 },
    { x =   2.505, y =  5.000, z =  162.695 },
    { x =  35.051, y =  5.000, z =  197.337 },
    { x =   7.846, y =  5.191, z =  202.515 },
    { x =  19.666, y =  6.000, z =  160.166 },
    { x =  39.591, y =  5.000, z =  165.616 }
}

entity.phList =
{
    [ID.mob.OSE - 9] = ID.mob.OSE, -- -1.758 4.982 153.412
    [ID.mob.OSE - 8] = ID.mob.OSE, -- 8.113 5.055 159.197
    [ID.mob.OSE - 7] = ID.mob.OSE, -- 39.858 4.364 164.961
    [ID.mob.OSE - 6] = ID.mob.OSE, -- 48.440 5.070 174.352
    [ID.mob.OSE - 3] = ID.mob.OSE, -- -7.000 4.467 184.000
    [ID.mob.OSE - 2] = ID.mob.OSE, -- -7.233 4.976 204.202
    [ID.mob.OSE + 1] = ID.mob.OSE, -- 26.971 4.440 216.229
    [ID.mob.OSE + 2] = ID.mob.OSE, -- 9.000 4.000 176.000
}

entity.onMobInitialize = function(mob)
    mob:setMobMod(xi.mobMod.ADD_EFFECT, 1)
end

entity.onAdditionalEffect = function(mob, target, damage)
    return xi.mob.onAddEffect(mob, target, damage, xi.mob.ae.PARALYZE)
end

entity.onMobDeath = function(mob, player, optParams)
end

return entity
