-----------------------------------
-- Area: East Sarutabaruta (116)
--   NM: Sharp-Eared Ropipi
-----------------------------------
local ID = zones[xi.zone.EAST_SARUTABARUTA]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  363.152, y = -16.705, z = -326.213 },
    { x =  303.282, y = -17.642, z = -415.870 },
    { x =  224.258, y = -17.858, z = -486.256 },
    { x =  227.825, y = -16.978, z = -317.467 },
    { x =  288.506, y = -17.109, z = -451.513 },
    { x =  354.989, y = -16.097, z = -364.022 },
    { x =  240.848, y = -19.957, z = -515.600 },
    { x =  268.968, y = -16.441, z = -438.552 },
    { x =  280.940, y = -16.000, z = -357.909 },
    { x =  256.469, y = -17.345, z = -373.499 },
    { x =  262.101, y = -16.116, z = -397.031 },
    { x =  280.977, y = -16.573, z = -387.472 },
    { x =  253.403, y = -16.682, z = -396.899 },
    { x =  284.073, y = -16.870, z = -489.416 },
    { x =  297.117, y = -16.932, z = -360.204 },
    { x =  242.237, y = -16.009, z = -444.116 },
    { x =  249.063, y = -16.409, z = -365.426 },
    { x =  356.317, y = -16.993, z = -335.859 },
    { x =  315.674, y = -16.624, z = -372.508 },
    { x =  335.036, y = -16.941, z = -377.131 },
    { x =  261.501, y = -17.500, z = -430.836 },
    { x =  257.459, y = -16.931, z = -404.356 },
    { x =  293.988, y = -17.126, z = -464.977 },
    { x =  280.723, y = -16.080, z = -394.740 },
    { x =  308.479, y = -17.058, z = -387.101 },
    { x =  209.722, y = -16.507, z = -473.661 },
    { x =  276.395, y = -19.436, z = -511.445 },
    { x =  318.444, y = -16.626, z = -452.950 },
    { x =  291.415, y = -17.465, z = -454.335 },
    { x =  245.827, y = -16.116, z = -398.167 },
    { x =  270.369, y = -16.354, z = -479.054 },
    { x =  359.617, y = -16.608, z = -347.190 },
    { x =  258.188, y = -17.280, z = -432.036 },
    { x =  257.144, y = -17.576, z = -419.983 },
    { x =  303.988, y = -16.391, z = -371.342 },
    { x =  234.562, y = -16.816, z = -454.475 },
    { x =  226.907, y = -17.159, z = -459.761 },
    { x =  330.888, y = -16.432, z = -359.113 },
    { x =  225.068, y = -16.623, z = -468.783 },
    { x =  231.315, y = -16.295, z = -482.785 },
    { x =  247.807, y = -20.240, z = -517.716 },
    { x =  217.669, y = -17.106, z = -482.775 },
    { x =  281.864, y = -16.623, z = -412.930 },
    { x =  307.564, y = -15.759, z = -363.954 },
    { x =  269.292, y = -16.421, z = -359.520 },
    { x =  229.380, y = -16.768, z = -463.749 },
    { x =  293.077, y = -17.209, z = -489.995 },
    { x =  280.214, y = -16.000, z = -358.333 },
    { x =  278.267, y = -16.467, z = -428.556 },
    { x =  316.047, y = -16.168, z = -393.340 }
}

entity.phList =
{
    [ID.mob.SHARP_EARED_ROPIPI + 18] = ID.mob.SHARP_EARED_ROPIPI, -- 363.152 -16.705 -326.213
    [ID.mob.SHARP_EARED_ROPIPI + 17] = ID.mob.SHARP_EARED_ROPIPI, -- 303.282 -17.642 -415.870
    [ID.mob.SHARP_EARED_ROPIPI - 2]  = ID.mob.SHARP_EARED_ROPIPI, -- 224.258 -17.858 -486.256
    [ID.mob.SHARP_EARED_ROPIPI - 1]  = ID.mob.SHARP_EARED_ROPIPI, -- 227.825 -16.978 -317.467
}

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

return entity
