-----------------------------------
-- Area: Sauromugue Champaign
--   NM: Deadly Dodo
-----------------------------------
local ID = zones[xi.zone.SAUROMUGUE_CHAMPAIGN]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  238.000, y =  40.000, z =  332.000 },
    { x =  369.564, y =  39.658, z =  345.197 },
    { x =  328.456, y =  40.613, z =  376.753 },
    { x =  384.242, y =  40.300, z =  345.813 },
    { x =  327.897, y =  39.892, z =  350.973 },
    { x =  404.505, y =  40.024, z =  403.374 },
    { x =  263.360, y =  41.586, z =  342.539 },
    { x =  339.739, y =  40.761, z =  391.518 },
    { x =  229.505, y =  39.878, z =  371.338 },
    { x =  365.048, y =  40.326, z =  390.478 },
    { x =  173.271, y =  40.523, z =  322.801 },
    { x =  381.082, y =  40.945, z =  362.725 },
    { x =  370.385, y =  40.398, z =  354.382 },
    { x =  269.881, y =  40.320, z =  393.710 },
    { x =  241.439, y =  40.699, z =  335.035 },
    { x =  355.667, y =  40.016, z =  396.811 },
    { x =  232.523, y =  40.043, z =  326.570 },
    { x =  295.417, y =  45.451, z =  384.079 },
    { x =  155.492, y =  39.967, z =  322.630 },
    { x =  376.117, y =  40.380, z =  343.626 },
    { x =  318.375, y =  40.339, z =  309.192 },
    { x =  371.433, y =  40.282, z =  418.874 },
    { x =  307.933, y =  40.300, z =  395.163 },
    { x =  296.978, y =  39.948, z =  371.670 },
    { x =  307.392, y =  40.277, z =  326.009 },
    { x =  394.457, y =  40.076, z =  400.577 },
    { x =  319.657, y =  40.939, z =  301.196 },
    { x =  375.655, y =  40.090, z =  337.488 },
    { x =  242.533, y =  40.117, z =  433.637 },
    { x =  359.589, y =  40.326, z =  410.539 },
    { x =  421.166, y =  40.564, z =  351.784 },
    { x =  184.439, y =  40.489, z =  328.015 },
    { x =  340.725, y =  40.237, z =  371.943 },
    { x =  336.696, y =  40.782, z =  364.475 },
    { x =  297.261, y =  40.862, z =  397.454 },
    { x =  409.999, y =  40.251, z =  353.385 },
    { x =  304.080, y =  42.994, z =  383.142 },
    { x =  306.665, y =  40.165, z =  293.697 },
    { x =  265.350, y =  45.291, z =  374.965 },
    { x =  295.028, y =  40.698, z =  360.490 },
    { x =  436.733, y =  39.772, z =  352.380 },
    { x =  385.814, y =  45.373, z =  382.925 },
    { x =  368.035, y =  40.600, z =  371.062 },
    { x =  155.198, y =  39.761, z =  311.945 },
    { x =  331.332, y =  40.123, z =  314.518 },
    { x =  458.460, y =  40.797, z =  364.424 },
    { x =  426.908, y =  40.544, z =  374.069 },
    { x =  259.169, y =  40.957, z =  323.145 },
    { x =  194.506, y =  40.012, z =  315.032 },
    { x =  221.046, y =  40.893, z =  364.831 }
}

entity.phList =
{
    [ID.mob.DEADLY_DODO - 2] = ID.mob.DEADLY_DODO, -- 238.000 40.000 332.000
    [ID.mob.DEADLY_DODO - 1] = ID.mob.DEADLY_DODO, -- 369.564 39.658 345.197
}

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

return entity
