-----------------------------------
-- Area: West Sarutabaruta (115)
--   NM: Nunyenunc
-----------------------------------
local ID = zones[xi.zone.WEST_SARUTABARUTA]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  -95.000, y = -17.000, z =  383.000 },
    { x =   -7.194, y = -17.288, z =  431.604 },
    { x =   53.159, y = -24.540, z =  554.652 },
    { x =  159.501, y = -20.117, z =  485.528 },
    { x =   29.077, y = -21.261, z =  520.012 },
    { x =   23.741, y = -21.018, z =  476.485 },
    { x =   60.029, y = -21.250, z =  509.194 },
    { x =   -9.555, y = -16.146, z =  412.291 },
    { x =   39.197, y = -21.145, z =  458.296 },
    { x =  -61.658, y = -14.214, z =  359.306 },
    { x =  119.191, y = -20.015, z =  515.931 },
    { x =  134.793, y = -20.856, z =  516.479 },
    { x =   96.300, y = -21.391, z =  529.079 },
    { x =    7.336, y = -20.210, z =  477.338 },
    { x =   15.431, y = -24.174, z =  540.848 },
    { x =  124.999, y = -20.518, z =  510.648 },
    { x =    9.496, y = -20.345, z =  486.073 },
    { x =   32.751, y = -20.205, z =  477.970 },
    { x =   12.111, y = -23.124, z =  513.962 },
    { x =   28.631, y = -19.085, z =  443.794 },
    { x =   17.634, y = -20.067, z =  469.047 },
    { x =   26.928, y = -20.641, z =  476.519 },
    { x =  122.459, y = -20.000, z =  520.062 },
    { x =    5.143, y = -20.799, z =  489.371 },
    { x =   51.622, y = -20.826, z =  498.811 },
    { x =   44.224, y = -20.553, z =  491.913 },
    { x =   94.579, y = -22.084, z =  534.622 },
    { x =   72.830, y = -24.200, z =  557.850 },
    { x =   35.297, y = -21.311, z =  499.776 },
    { x =   25.647, y = -23.138, z =  540.841 },
    { x =   46.701, y = -20.893, z =  495.090 },
    { x =    2.729, y = -19.637, z =  473.044 },
    { x =   16.011, y = -22.506, z =  519.622 },
    { x =  107.550, y = -20.702, z =  500.509 },
    { x =   42.433, y = -20.550, z =  507.656 },
    { x =   21.565, y = -23.172, z =  538.833 },
    { x =  -74.126, y = -16.838, z =  378.245 },
    { x =    7.254, y = -22.889, z =  506.781 },
    { x =    1.532, y = -22.119, z =  500.898 },
    { x =   56.429, y = -21.029, z =  520.954 },
    { x =   49.050, y = -20.317, z =  483.420 },
    { x =   53.749, y = -20.725, z =  521.768 },
    { x =    3.259, y = -22.000, z =  495.847 },
    { x =   16.643, y = -22.817, z =  530.225 },
    { x =    6.107, y = -20.546, z =  488.599 },
    { x =   44.367, y = -22.054, z =  536.775 },
    { x =   50.180, y = -23.229, z =  547.382 },
    { x =   25.001, y = -21.671, z =  527.393 },
    { x =  113.740, y = -20.495, z =  512.805 },
    { x =  -43.177, y = -15.810, z =  394.430 }
}

entity.phList =
{
    [ID.mob.NUNYENUNC - 3] = ID.mob.NUNYENUNC, -- 159.501 -20.117 485.528
    [ID.mob.NUNYENUNC - 2] = ID.mob.NUNYENUNC, -- -7.194 -17.288 431.604
    [ID.mob.NUNYENUNC - 1] = ID.mob.NUNYENUNC, -- 53.159 -24.540 554.652
}

entity.onMobInitialize = function(mob)
    mob:setMod(xi.mod.LIGHT_MEVA, 50)
end

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

return entity
