-----------------------------------
-- Area: West Sarutabaruta
--   NM: Tom Tit Tat
-----------------------------------
local ID = zones[xi.zone.WEST_SARUTABARUTA]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.spawnPoints =
{
    { x =   31.149, y = -20.045, z =  358.265 },
    { x =   77.509, y = -20.719, z =  434.757 },
    { x =  139.154, y = -21.418, z =  505.416 },
    { x =  151.484, y = -21.133, z =  494.038 },
    { x =  211.910, y = -19.944, z =  546.316 },
    { x =  211.099, y = -20.673, z =  568.574 },
    { x =  239.421, y = -19.659, z =  583.122 },
    { x =  274.296, y = -20.357, z =  587.339 },
    { x =  195.479, y = -20.407, z =  529.743 },
    { x =  240.821, y = -20.406, z =  549.532 },
    { x =  209.180, y = -21.050, z =  533.435 },
    { x =  211.491, y = -20.833, z =  528.766 },
    { x =  216.583, y = -20.965, z =  530.631 },
    { x =  260.806, y = -21.500, z =  573.373 },
    { x =  236.967, y = -21.210, z =  539.336 },
    { x =  130.080, y = -20.723, z =  472.365 },
    { x =  139.572, y = -21.508, z =  495.614 },
    { x =  193.731, y = -20.290, z =  518.094 },
    { x =  117.798, y = -20.169, z =  486.672 },
    { x =  203.911, y = -20.406, z =  509.526 },
    { x =  107.026, y = -20.757, z =  500.660 },
    { x =  166.249, y = -20.166, z =  484.352 },
    { x =  171.346, y = -20.863, z =  489.107 },
    { x =  191.339, y = -19.500, z =  543.938 },
    { x =  235.600, y = -20.190, z =  565.967 },
    { x =  144.562, y = -20.937, z =  482.310 },
    { x =  199.970, y = -20.000, z =  518.704 },
    { x =  101.918, y = -21.267, z =  488.560 },
    { x =  229.605, y = -20.806, z =  529.069 },
    { x =  191.977, y = -21.003, z =  506.542 },
    { x =  160.422, y = -20.744, z =  493.900 },
    { x =  169.705, y = -21.256, z =  495.643 },
    { x =  108.632, y = -20.682, z =  494.884 },
    { x =  138.647, y = -21.167, z =  481.756 },
    { x =  200.384, y = -20.532, z =  507.796 },
    { x =  229.130, y = -20.928, z =  513.115 },
    { x =  116.245, y = -20.702, z =  493.429 },
    { x =  138.244, y = -21.596, z =  469.503 },
    { x =  178.790, y = -21.192, z =  483.926 },
    { x =  177.250, y = -20.924, z =  492.860 },
    { x =  181.991, y = -21.156, z =  494.750 },
    { x =  231.633, y = -21.250, z =  540.180 },
    { x =  179.961, y = -19.500, z =  509.121 },
    { x =  186.058, y = -21.373, z =  497.657 },
    { x =  139.386, y = -21.500, z =  493.401 },
    { x =  238.953, y = -21.008, z =  575.896 },
    { x =  203.150, y = -20.825, z =  534.546 },
    { x =  109.071, y = -20.500, z =  486.466 },
    { x =  154.426, y = -20.229, z =  475.023 },
    { x =  168.320, y = -20.272, z =  481.099 }
}

entity.phList =
{
    [ID.mob.TOM_TIT_TAT - 2] = ID.mob.TOM_TIT_TAT, -- 77.509 -20.719 434.757
    [ID.mob.TOM_TIT_TAT - 1] = ID.mob.TOM_TIT_TAT, -- 31.149 -20.045 358.265
}

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

return entity
