-----------------------------------
-- Area: Rolanberry Fields
--   NM: Drooling Daisy
-----------------------------------
local ID = zones[xi.zone.ROLANBERRY_FIELDS]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x = -691.786, y = -34.802, z = -335.763 },
    { x = -753.224, y = -30.894, z = -377.288 },
    { x = -690.129, y = -31.695, z = -358.295 },
    { x = -743.881, y = -30.321, z = -373.031 },
    { x = -744.488, y = -31.253, z = -478.356 },
    { x = -683.081, y = -31.282, z = -410.826 },
    { x = -706.311, y = -30.930, z = -374.743 },
    { x = -740.840, y = -31.612, z = -460.612 },
    { x = -751.233, y = -30.086, z = -399.438 },
    { x = -750.164, y = -30.417, z = -409.412 },
    { x = -733.364, y = -30.094, z = -372.728 },
    { x = -733.133, y = -31.491, z = -359.026 },
    { x = -762.268, y = -31.759, z = -408.851 },
    { x = -720.450, y = -31.956, z = -479.587 },
    { x = -685.918, y = -30.628, z = -407.367 },
    { x = -720.114, y = -31.392, z = -364.421 },
    { x = -749.701, y = -30.084, z = -386.454 },
    { x = -684.238, y = -31.373, z = -433.907 },
    { x = -762.692, y = -31.007, z = -419.890 },
    { x = -747.982, y = -29.188, z = -438.384 },
    { x = -684.953, y = -31.754, z = -364.919 },
    { x = -751.436, y = -30.135, z = -396.784 },
    { x = -675.875, y = -32.000, z = -321.323 },
    { x = -753.277, y = -30.435, z = -418.593 },
    { x = -734.879, y = -31.350, z = -368.408 },
    { x = -687.781, y = -30.358, z = -393.212 },
    { x = -735.147, y = -31.179, z = -478.170 },
    { x = -690.970, y = -31.735, z = -367.670 },
    { x = -719.742, y = -32.000, z = -483.375 },
    { x = -695.039, y = -31.887, z = -378.053 },
    { x = -760.063, y = -32.015, z = -403.227 },
    { x = -754.539, y = -31.201, z = -448.193 },
    { x = -688.153, y = -30.232, z = -443.443 },
    { x = -681.611, y = -31.182, z = -425.727 },
    { x = -731.078, y = -31.354, z = -477.599 },
    { x = -756.544, y = -31.140, z = -462.771 },
    { x = -683.412, y = -31.581, z = -439.145 },
    { x = -698.886, y = -31.057, z = -480.341 },
    { x = -689.360, y = -30.898, z = -426.613 },
    { x = -684.025, y = -31.352, z = -465.480 },
    { x = -678.708, y = -31.324, z = -385.194 },
    { x = -696.745, y = -31.850, z = -374.747 },
    { x = -751.326, y = -29.826, z = -435.796 },
    { x = -695.601, y = -31.527, z = -368.905 },
    { x = -677.765, y = -31.557, z = -348.050 },
    { x = -760.583, y = -31.722, z = -430.413 },
    { x = -749.582, y = -29.653, z = -439.655 },
    { x = -713.110, y = -31.306, z = -475.248 },
    { x = -719.996, y = -31.887, z = -360.957 },
    { x = -687.839, y = -30.531, z = -421.198 }
}

entity.phList =
{
    [ID.mob.DROOLING_DAISY - 1] = ID.mob.DROOLING_DAISY, -- -691.786 -34.802 -335.763
}

entity.onMobDeath = function(mob, player, optParams)
    xi.hunts.checkHunt(mob, player, 216)
    xi.magian.onMobDeath(mob, player, optParams, set{ 152 })
end

entity.onMobDespawn = function(mob)
    xi.mob.updateNMSpawnPoint(mob)
end

return entity
