Tusken Raider

A Tusken Raider is a hostile sentient mob armed with cycler rifle that patrol on the planet Tatooine and participate in raids.

=Spawning=

Patrols
The number of Tusken Raiders spawning in each patrol depends on the local difficulty, with one spawning as a Tusken Raider chief. Patrols occur any time and independently of structures. A patrol will spawn 24 to 48 blocks away from a random player, on the highest solid block. The individual Tusken Raiders of a patrol can only spawn at block light level 7 or lower, regardless of sky light.

Outposts
Tusken Raiders continually spawn in outposts on the Tatooine. They may spawn on any valid opaque block as long as the sky light level is 11 or lower, and the block light level is 8 or lower, but can also spawn on grass or sand blocks regardless of block light level.

Raids
In the fifth raid wave, one Tusken Raider spawns riding a hostile bantha.

=Behavior= Tusken Raiders are hostile toward players and merchants. They attack by shooting slugs from their cycler rifles every 3 seconds up to 8 blocks away, and pursue their targets over a long distance of 64 blocks. Taking into account their fast walking pace, they are extremely difficult to shake off as such. Tusken Raiders never retaliate against other Tusken Raiders or Tusken Raiders. They always seek their assailant when attacked from any distance.

A Tusken Raider's cycler rifle eventually breaks with repeated use, unlike weapons wielded by other mobs. Unarmed Tusken Raiders are passive.

=Drops= WIP
 * 8.5% chance for a cycler rifle when killed by a player or a hound.
 * 5 experience points and an additional 1–3 experience points per naturally-spawned equipment when killed by a player or a hound.
 * 1 ? banner, if spawned as a chief.

=Bad Omen= WIP If a player kills a Tusken Raider chief, which wears a ? banner on its head, they receive the Bad Omen status effect. The effect lasts for 100 minutes (5 in-game days) and can be removed by drinking milk. When a player afflicted with Bad Omen enters a village, a raid commences in that village, bringing about waves of Tusken Raider that seek and try to eliminate all merchants in the village.

Each patrol spawn one chief, while outposts can continually spawn Tusken Raider chiefs, both of which beset the player with one level of Bad Omen upon death. Raid chiefs do not inflict Bad Omen when defeated in a raid. As long as the Bad Omen level is higher than I, the resulting raid includes an additional wave with a raider composition identical to that of the last wave.

=See also=
 * Rebel trooper
 * Outpost