Pirate Invasion



The Pirate Invasion is a Hardmode event where pirate-themed enemies spawn and swarm the world's original spawn point. A Pirate Invasion can occur randomly after certain conditions are met, or alternatively when the player uses a Pirate Map.

For a single-player invasion, the player must kill 120 pirates before the event is completed. This number increases with each additional player.

Once the first Pirate Invasion in a world has been defeated and a suitable house is vacant, the Pirate NPC will move in.

Once the player has defeated at least one pirate invasion in a post-Plantera world, they can purchase a Land Mine. However, on old Gen they can be purchased without defeating Plantera)

Summoning
The Pirate Invasion can be summoned manually using a Pirate Map, which drops from all enemies in the Ocean biome.

If the following conditions are fulfilled, a Pirate Invasion can also occur randomly:
 * No other events are currently in progress.
 * The Wall of Flesh has been defeated.
 * At least one Altar has been destroyed.
 * The player has at least 200 max health (if the player does not meet this requirement, the Pirate Map will also not work).