-----------------------------------
-- Area: South Gustaberg
--   NM: Leaping Lizzy
-----------------------------------
local ID = zones[xi.zone.SOUTH_GUSTABERG]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x = -364.189, y =  30.000, z = -442.720 },
    { x = -292.232, y =  21.428, z = -413.230 },
    { x = -270.019, y =  20.612, z = -389.970 },
    { x = -303.720, y =  26.918, z = -320.710 },
    { x = -307.972, y =  27.455, z = -367.421 },
    { x = -283.056, y =  20.000, z = -398.952 },
    { x = -259.746, y =  22.722, z = -412.237 },
    { x = -357.308, y =  32.336, z = -422.769 },
    { x = -290.946, y =  21.210, z = -321.456 },
    { x = -275.636, y =  22.476, z = -420.625 },
    { x = -289.261, y =  21.320, z = -328.841 },
    { x = -321.379, y =  29.821, z = -322.494 },
    { x = -260.427, y =  22.593, z = -405.967 },
    { x = -360.824, y =  30.114, z = -454.615 },
    { x = -297.822, y =  23.327, z = -318.877 },
    { x = -288.541, y =  21.439, z = -330.873 },
    { x = -264.865, y =  20.765, z = -336.617 },
    { x = -332.532, y =  31.063, z = -381.882 },
    { x = -339.668, y =  28.619, z = -388.642 },
    { x = -321.228, y =  30.000, z = -382.849 },
    { x = -284.635, y =  20.810, z = -386.643 },
    { x = -333.047, y =  30.800, z = -325.419 },
    { x = -302.158, y =  27.208, z = -350.053 },
    { x = -315.889, y =  29.358, z = -318.021 },
    { x = -278.573, y =  20.138, z = -339.390 },
    { x = -293.311, y =  21.933, z = -318.758 },
    { x = -286.319, y =  20.645, z = -391.222 },
    { x = -322.615, y =  32.348, z = -417.432 },
    { x = -339.649, y =  32.626, z = -336.988 },
    { x = -336.543, y =  31.582, z = -341.736 },
    { x = -264.601, y =  22.994, z = -419.366 },
    { x = -278.841, y =  20.000, z = -362.440 },
    { x = -280.307, y =  20.035, z = -382.155 },
    { x = -368.938, y =  30.712, z = -429.955 },
    { x = -332.177, y =  30.313, z = -345.107 },
    { x = -330.438, y =  30.000, z = -327.495 },
    { x = -353.660, y =  29.043, z = -449.413 },
    { x = -323.998, y =  30.032, z = -404.350 },
    { x = -268.856, y =  21.258, z = -398.745 },
    { x = -264.791, y =  21.973, z = -374.422 },
    { x = -320.521, y =  29.886, z = -320.865 },
    { x = -355.270, y =  28.576, z = -463.004 },
    { x = -350.338, y =  32.823, z = -421.285 },
    { x = -263.350, y =  20.661, z = -331.257 },
    { x = -330.561, y =  30.093, z = -399.022 },
    { x = -273.274, y =  21.144, z = -347.048 },
    { x = -300.770, y =  26.288, z = -344.735 },
    { x = -318.258, y =  29.993, z = -347.883 },
    { x = -309.062, y =  28.860, z = -321.399 },
    { x = -317.119, y =  30.000, z = -322.596 },
    { x = -377.054, y =  36.182, z = -385.888 },
    { x = -340.632, y =  34.587, z = -373.477 },
    { x = -239.546, y =  20.444, z = -352.119 },
    { x = -248.098, y =  19.810, z = -321.719 },
    { x = -275.319, y =  19.746, z = -329.243 },
    { x = -258.644, y =  22.424, z = -362.713 },
    { x = -284.305, y =  19.641, z = -367.149 },
    { x = -242.089, y =  19.787, z = -385.635 },
    { x = -232.903, y =  19.126, z = -410.558 },
    { x = -248.527, y =  19.606, z = -437.438 },
    { x = -275.682, y =  20.000, z = -438.592 },
    { x = -280.685, y =  19.994, z = -392.479 },
    { x = -304.221, y =  27.090, z = -345.392 },
    { x = -296.685, y =  23.114, z = -318.141 }
}

entity.phList =
{
    [ID.mob.LEAPING_LIZZY[1] - 1] = ID.mob.LEAPING_LIZZY[1], -- -275.441 20.451 -347.294
    [ID.mob.LEAPING_LIZZY[2] - 1] = ID.mob.LEAPING_LIZZY[2], -- -322.871 30.052 -401.184
}

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

return entity
