-----------------------------------
-- Area: Buburimu Peninsula (118)
--  Mob: Helldiver
-----------------------------------
local ID = zones[xi.zone.BUBURIMU_PENINSULA]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =  439.685, y = -0.200, z = -271.203 },
    { x =  509.641, y =  0.151, z = -267.664 },
    { x =  503.268, y = -0.981, z = -211.204 },
    { x =  395.297, y = -0.037, z = -149.776 },
    { x =  445.199, y = -0.323, z = -306.818 },
    { x =  520.713, y =  2.206, z = -259.703 },
    { x =  558.616, y =  0.000, z = -239.663 },
    { x =  498.300, y =  0.914, z = -200.483 },
    { x =  549.715, y =  1.779, z = -261.559 },
    { x =  474.851, y =  0.070, z = -235.094 },
    { x =  546.174, y =  0.578, z = -280.119 },
    { x =  499.420, y =  2.166, z = -240.400 },
    { x =  404.230, y =  0.887, z = -182.235 },
    { x =  585.119, y =  0.684, z = -282.300 },
    { x =  529.198, y =  0.174, z = -248.458 },
    { x =  475.634, y =  0.899, z = -213.776 },
    { x =  532.001, y =  1.123, z = -226.413 },
    { x =  498.720, y =  1.592, z = -246.799 },
    { x =  527.539, y =  0.176, z = -281.478 },
    { x =  360.363, y =  0.260, z = -230.785 },
    { x =  534.342, y =  2.069, z = -262.940 },
    { x =  437.628, y =  0.519, z = -193.156 },
    { x =  554.194, y =  0.730, z = -250.827 },
    { x =  454.033, y =  1.118, z = -289.185 },
    { x =  472.983, y =  1.102, z = -189.044 },
    { x =  481.555, y =  0.386, z = -268.262 },
    { x =  458.638, y =  3.286, z = -185.122 },
    { x =  543.852, y =  0.669, z = -242.164 },
    { x =  579.589, y =  0.978, z = -240.348 },
    { x =  544.124, y =  0.205, z = -236.194 },
    { x =  497.066, y = -0.655, z = -263.570 },
    { x =  514.305, y =  0.084, z = -202.539 },
    { x =  372.914, y =  0.487, z = -237.323 },
    { x =  484.352, y =  0.280, z = -286.505 },
    { x =  540.597, y =  1.811, z = -264.428 },
    { x =  475.758, y = -0.017, z = -200.115 },
    { x =  478.653, y =  0.484, z = -192.038 },
    { x =  428.849, y =  0.293, z = -195.011 },
    { x =  418.783, y =  0.574, z = -234.704 },
    { x =  432.704, y =  0.182, z = -239.684 },
    { x =  382.041, y =  2.538, z = -178.973 },
    { x =  441.166, y =  0.029, z = -244.602 },
    { x =  456.028, y =  0.798, z = -243.215 },
    { x =  554.174, y =  0.129, z = -244.401 },
    { x =  573.240, y =  0.520, z = -239.326 },
    { x =  560.510, y =  0.000, z = -278.132 },
    { x =  505.505, y =  2.591, z = -253.680 },
    { x =  497.943, y =  2.485, z = -231.361 },
    { x =  516.151, y =  0.000, z = -284.129 },
    { x =  465.669, y =  0.163, z = -266.000 }
}

entity.phList =
{
    [ID.mob.HELLDIVER - 1] = ID.mob.HELLDIVER, -- 509.641 0.151 -267.664
}

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

return entity
