-----------------------------------
-- Area: Giddeus (145)
--   NM: Vuu Puqu the Beguiler
-----------------------------------
mixins = { require('scripts/mixins/job_special') }
-----------------------------------
local ID = zones[xi.zone.GIDDEUS]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x = -23.973, y =  0.459, z = -399.155 },
    { x = -16.162, y =  0.972, z = -442.341 },
    { x = -30.201, y =  1.290, z = -451.293 },
    { x = -11.776, y =  0.312, z = -423.920 },
    { x = -16.062, y =  1.000, z = -397.764 },
    { x = -42.880, y =  1.208, z = -431.751 },
    { x = -33.448, y =  1.000, z = -404.362 },
    { x =   9.491, y =  0.947, z = -394.842 },
    { x = -43.719, y =  0.905, z = -442.343 },
    { x = -34.721, y =  1.362, z = -452.833 },
    { x =  -7.079, y =  0.359, z = -427.846 },
    { x = -41.774, y =  1.000, z = -447.188 },
    { x = -44.266, y =  0.478, z = -443.736 },
    { x = -26.949, y =  0.755, z = -396.144 },
    { x = -37.559, y =  1.000, z = -407.265 },
    { x =   8.054, y =  0.884, z = -444.050 },
    { x = -24.722, y =  0.905, z = -396.844 },
    { x = -12.229, y =  1.273, z = -444.978 },
    { x =   6.512, y =  0.657, z = -419.587 },
    { x = -13.731, y =  0.948, z = -404.361 },
    { x =  -0.253, y =  1.000, z = -389.341 },
    { x = -22.162, y =  0.473, z = -422.905 },
    { x =   4.230, y =  0.943, z = -390.702 },
    { x =  10.149, y =  1.000, z = -399.547 },
    { x = -10.861, y =  0.811, z = -390.019 },
    { x =   7.351, y =  1.246, z = -423.952 },
    { x = -40.505, y =  1.000, z = -435.957 },
    { x = -32.796, y =  1.062, z = -432.045 },
    { x = -12.690, y =  0.755, z = -394.148 },
    { x = -18.517, y =  0.942, z = -415.834 },
    { x = -18.396, y =  0.891, z = -389.958 },
    { x = -51.505, y =  1.313, z = -413.423 },
    { x = -19.308, y =  0.926, z = -442.627 },
    { x = -50.548, y =  1.049, z = -428.500 },
    { x = -28.067, y =  0.688, z = -448.233 },
    { x =   5.251, y =  0.917, z = -413.893 },
    { x = -31.186, y =  1.000, z = -400.763 },
    { x = -19.782, y =  0.662, z = -387.789 },
    { x = -15.505, y =  0.663, z = -409.358 },
    { x = -21.466, y =  0.985, z = -393.328 },
    { x = -22.731, y =  0.977, z = -391.702 },
    { x = -21.979, y =  1.124, z = -411.164 },
    { x = -26.920, y =  0.729, z = -445.507 },
    { x = -24.993, y =  1.000, z = -403.340 },
    { x = -31.894, y =  1.081, z = -450.774 },
    { x = -26.442, y =  0.951, z = -411.526 },
    { x =   3.909, y =  1.000, z = -439.793 },
    { x = -38.884, y =  1.000, z = -450.274 },
    { x = -53.392, y =  1.000, z = -398.981 },
    { x = -13.440, y =  0.727, z = -390.878 }
}

entity.phList =
{
    [ID.mob.VUU_PUQU_THE_BEGUILER - 1] = ID.mob.VUU_PUQU_THE_BEGUILER, -- -23.973 0.459 -399.155
}

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

return entity
