-----------------------------------
-- Area: East Ronfaure
--   NM: Swamfisk
-----------------------------------
local ID = zones[xi.zone.EAST_RONFAURE]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.phList =
{
    [ID.mob.SWAMFISK[1] - 2] = ID.mob.SWAMFISK[1], -- 379.120 -27.898 -46.436
    [ID.mob.SWAMFISK[1] - 1] = ID.mob.SWAMFISK[1], -- 417.542 -17.210 -177.883

    [ID.mob.SWAMFISK[2] - 4] = ID.mob.SWAMFISK[2], -- 443.334 -17.000 -303.275
    [ID.mob.SWAMFISK[2] - 3] = ID.mob.SWAMFISK[2], -- 423.000 -16.000 -285.000
    [ID.mob.SWAMFISK[2] - 2] = ID.mob.SWAMFISK[2], -- 461.268 -6.674 -391.342
    [ID.mob.SWAMFISK[2] - 1] = ID.mob.SWAMFISK[2], -- 459.345 -6.686 -363.842
}

entity.spawnPoints =
{
    { x = 461.000, y = -6.000,  z = -356.000 },
    { x = 459.345, y = -6.686,  z = -363.842 },
    { x = 443.334, y = -17.000, z = -303.275 },
    { x = 423.000, y = -16.000, z = -285.000 },
    { x = 417.542, y = -17.210, z = -177.883 },
    { x = 379.120, y = -27.898, z = -46.436  },
    { x = 373.619, y = -37.093, z = 8.811    },
    { x = 377.901, y = -36.500, z = 7.777    },
    { x = 420.839, y = -16.500, z = -207.904 },
    { x = 426.296, y = -16.506, z = -291.591 },
    { x = 424.172, y = -16.503, z = -289.191 },
    { x = 377.867, y = -25.844, z = -87.369  },
    { x = 420.762, y = -16.500, z = -200.909 },
    { x = 419.846, y = -16.500, z = -260.191 },
    { x = 378.750, y = -16.500, z = -121.205 },
    { x = 419.641, y = -16.500, z = -197.930 },
    { x = 419.303, y = -16.500, z = -279.431 },
    { x = 381.394, y = -33.607, z = -15.583  },
    { x = 459.819, y = -12.172, z = -340.312 },
    { x = 381.792, y = -16.500, z = -105.199 },
    { x = 382.381, y = -16.510, z = -112.047 },
    { x = 381.871, y = -16.500, z = -121.944 },
    { x = 380.094, y = -36.063, z = -5.659   },
    { x = 459.206, y = -6.500,  z = -372.370 },
    { x = 416.200, y = -16.500, z = -190.821 },
    { x = 418.770, y = -16.500, z = -161.189 },
    { x = 381.740, y = -16.500, z = -126.554 },
    { x = 377.099, y = -16.500, z = -116.978 },
    { x = 442.671, y = -16.500, z = -300.560 },
    { x = 458.712, y = -6.500,  z = -369.144 },
    { x = 457.633, y = -6.510,  z = -351.833 },
    { x = 378.340, y = -16.500, z = -114.598 },
    { x = 401.565, y = -16.500, z = -138.771 },
    { x = 377.775, y = -21.140, z = -100.793 },
    { x = 417.506, y = -16.500, z = -245.870 },
    { x = 380.565, y = -26.500, z = -23.264  },
    { x = 416.735, y = -16.500, z = -194.003 },
    { x = 381.896, y = -16.500, z = -108.963 },
    { x = 415.116, y = -16.513, z = -152.470 },
    { x = 380.016, y = -26.500, z = -78.870  },
    { x = 381.009, y = -32.946, z = -18.757  },
    { x = 379.222, y = -16.500, z = -104.756 },
    { x = 456.867, y = -6.502,  z = -348.728 },
    { x = 445.518, y = -16.500, z = -301.930 },
    { x = 422.399, y = -16.500, z = -282.901 },
    { x = 380.701, y = -26.500, z = -25.746  },
    { x = 457.218, y = -15.228, z = -329.574 },
    { x = 460.024, y = -6.500,  z = -342.350 },
    { x = 377.196, y = -26.500, z = -41.709  },
    { x = 455.806, y = -16.500, z = -315.716 },
}

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

return entity
