-----------------------------------
-- Area: Castle Oztroja (151)
--   NM: Yaa Haqa the Profane
-----------------------------------
mixins = { require('scripts/mixins/job_special') }
-----------------------------------
local ID = zones[xi.zone.CASTLE_OZTROJA]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x = -24.719, y = -16.250, z = -139.678 },
    { x = -22.395, y = -16.250, z = -139.341 },
    { x = -25.044, y = -16.250, z = -141.534 },
    { x = -32.302, y = -16.250, z = -139.169 },
    { x = -29.183, y = -15.750, z = -138.570 },
    { x = -25.614, y = -15.750, z = -140.554 },
    { x = -25.452, y = -15.750, z = -142.555 },
    { x = -17.265, y = -15.757, z = -142.178 },
    { x = -22.289, y = -15.750, z = -139.974 },
    { x = -28.842, y = -15.750, z = -143.449 },
    { x = -18.228, y = -15.760, z = -140.001 },
    { x = -17.141, y = -15.708, z = -143.753 },
    { x = -17.931, y = -15.764, z = -139.736 },
    { x = -28.751, y = -15.720, z = -136.806 },
    { x = -27.222, y = -15.750, z = -141.494 },
    { x = -16.807, y = -15.740, z = -142.289 },
    { x = -30.659, y = -15.692, z = -142.444 },
    { x = -20.715, y = -15.708, z = -139.125 },
    { x = -33.415, y = -15.711, z = -136.960 },
    { x = -33.038, y = -15.739, z = -137.695 },
    { x = -30.477, y = -15.724, z = -143.294 },
    { x = -32.896, y = -15.750, z = -143.785 },
    { x = -17.567, y = -15.733, z = -142.465 },
    { x = -31.409, y = -15.750, z = -137.651 },
    { x = -18.963, y = -15.755, z = -135.885 },
    { x = -30.290, y = -15.750, z = -136.543 },
    { x = -34.992, y = -15.750, z = -137.555 },
    { x = -27.239, y = -15.750, z = -143.741 },
    { x = -28.660, y = -15.713, z = -137.008 },
    { x = -35.184, y = -15.720, z = -139.923 },
    { x = -35.778, y = -15.753, z = -140.268 },
    { x = -36.529, y = -15.750, z = -140.516 },
    { x = -35.725, y = -15.750, z = -141.930 },
    { x = -17.831, y = -15.723, z = -136.738 },
    { x = -22.688, y = -15.750, z = -140.562 },
    { x = -33.953, y = -15.689, z = -136.351 },
    { x = -35.044, y = -15.761, z = -137.227 },
    { x = -20.363, y = -15.735, z = -141.591 },
    { x = -18.788, y = -15.750, z = -142.209 },
    { x = -27.578, y = -15.702, z = -138.702 },
    { x = -35.857, y = -15.750, z = -141.870 },
    { x = -22.452, y = -15.750, z = -140.219 },
    { x = -34.578, y = -15.750, z = -142.335 },
    { x = -18.177, y = -15.698, z = -137.395 },
    { x = -23.227, y = -15.750, z = -138.763 },
    { x = -19.639, y = -15.737, z = -137.914 },
    { x = -26.419, y = -15.750, z = -141.544 },
    { x = -34.987, y = -15.725, z = -138.689 },
    { x = -19.550, y = -15.734, z = -137.402 },
    { x = -18.110, y = -15.755, z = -141.780 }
}

entity.phList =
{
    [ID.mob.YAA_HAQA_THE_PROFANE - 4] = ID.mob.YAA_HAQA_THE_PROFANE, -- Yagudo_Zealot:       -24.719 -16.250 -139.678
    [ID.mob.YAA_HAQA_THE_PROFANE - 1] = ID.mob.YAA_HAQA_THE_PROFANE, -- Yagudo_Prior:        -32.302 -16.250 -139.169
    [ID.mob.YAA_HAQA_THE_PROFANE - 2] = ID.mob.YAA_HAQA_THE_PROFANE, -- Yagudo_Lutenist:     -25.044 -16.250 -141.534
    [ID.mob.YAA_HAQA_THE_PROFANE - 3] = ID.mob.YAA_HAQA_THE_PROFANE, -- Yagudo_Conquistador: -22.395 -16.250 -139.341
}

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

return entity
