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

entity.spawnPoints =
{
    { x = -18.415, y = -0.075, z =  -92.889 },
    { x = -38.689, y =  0.191, z = -101.068 },
    { x = -24.315, y =  0.250, z = -101.500 },
    { x = -15.872, y =  0.250, z =  -98.425 },
    { x = -17.396, y =  0.250, z = -100.340 },
    { x = -19.581, y =  0.250, z = -104.355 },
    { x = -28.921, y =  0.250, z =  -98.793 },
    { x = -19.743, y =  0.250, z =  -93.066 },
    { x = -19.709, y =  0.250, z =  -96.261 },
    { x = -20.191, y =  0.250, z = -102.924 },
    { x = -20.603, y =  0.250, z = -105.054 },
    { x = -21.559, y =  0.250, z = -104.258 },
    { x = -16.239, y =  0.250, z =  -97.816 },
    { x = -24.217, y =  0.250, z =  -99.364 },
    { x = -22.529, y =  0.250, z = -102.536 },
    { x = -19.158, y =  0.250, z = -104.644 },
    { x = -23.564, y =  0.250, z =  -96.539 },
    { x = -27.335, y =  0.250, z = -101.808 },
    { x = -17.519, y =  0.250, z =  -97.587 },
    { x = -25.836, y =  0.250, z = -102.063 },
    { x = -20.967, y =  0.250, z = -103.552 },
    { x = -16.636, y =  0.250, z = -101.631 },
    { x = -17.719, y =  0.250, z =  -95.570 },
    { x = -17.414, y =  0.250, z =  -96.572 },
    { x = -18.585, y =  0.250, z = -102.978 },
    { x = -26.714, y =  0.250, z =  -96.958 },
    { x = -17.927, y =  0.250, z = -102.846 },
    { x = -20.287, y =  0.250, z =  -96.071 },
    { x = -17.299, y =  0.250, z =  -97.394 },
    { x = -15.524, y =  0.250, z = -102.807 },
    { x = -22.853, y =  0.250, z =  -97.476 },
    { x = -16.106, y =  0.250, z = -102.738 },
    { x = -24.097, y =  0.250, z = -103.490 },
    { x = -16.518, y =  0.250, z =  -98.874 },
    { x = -19.174, y =  0.250, z = -104.778 },
    { x = -23.901, y =  0.250, z = -100.963 },
    { x = -16.586, y =  0.250, z =  -97.817 },
    { x = -22.283, y =  0.250, z =  -97.459 },
    { x = -22.798, y =  0.250, z = -103.107 },
    { x = -15.250, y =  0.250, z = -100.998 },
    { x = -17.719, y =  0.250, z =  -93.766 },
    { x = -17.945, y =  0.250, z = -102.594 },
    { x = -23.475, y =  0.250, z = -100.430 },
    { x = -20.098, y =  0.250, z =  -93.699 },
    { x = -15.638, y =  0.250, z = -100.742 },
    { x = -25.013, y =  0.250, z =  -96.586 },
    { x = -21.207, y =  0.250, z =  -96.523 },
    { x = -23.110, y =  0.250, z = -103.401 },
    { x = -16.420, y =  0.250, z = -100.133 },
    { x = -21.342, y =  0.250, z = -103.643 }
}

entity.phList =
{
    [ID.mob.MOO_OUZI_THE_SWIFTBLADE - 7] = ID.mob.MOO_OUZI_THE_SWIFTBLADE, -- -18.415 -0.075 -92.889
    [ID.mob.MOO_OUZI_THE_SWIFTBLADE - 3] = ID.mob.MOO_OUZI_THE_SWIFTBLADE, -- -38.689 0.191 -101.068
}

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

return entity
