Goblin Army



The Goblin Army (also known as the Goblin Invasion) is an event when unique Goblin enemies spawn in waves. A Goblin Invasion has a random chance of occurring at any particular dawn, if the criteria stated below are met. It can also be triggered manually using a Goblin Battle Standard.

Defeating at least one Goblin Army fulfills the criteria for the Goblin Tinkerer NPC to make his initial appearance in a random Cavern area.

Criteria
The criteria for a Goblin Invasion to occur naturally are as follows:
 * It must be daytime (4:30 AM is when it triggers)..(I have a big sword)
 * The player must be standing near the World Spawn Point (not necessarily the player's spawn point).
 * At least one Shadow Orb or Crimson Heart must have been destroyed.
 * At least one player must have 200 health or more. (If this is not met the Goblin Battle Standard will not work)
 * There must be no Goblin Invasion already in progress.

A Goblin Battle Standard can be used to manually summon the event if a player meets the health requirement, even if no Shadow Orb or Crimson Heart has been smashed.

Chances

 * After the spawn criteria have been met, there will be a 1/3 chance every day for the army to first invade.
 * Further invasions (after the first has been defeated) have a 1/30 chance of occurring each day before Hardmode begins, and 1/60 chance afterwards.
 * The Goblin invasion takes a higher priority than the Pirate Invasion, which can only occur when the Goblin Invasion fails to do so.

On average, a random Goblin Invasion will occur about every 12 real-world hours of playing in normal mode, and every 24 hours of playing in Hardmode.

Initial event
When a Goblin invasion is approaching, one of the two following status messages will appear: ""&thinsp;/&thinsp;""

The message repeats a few times (one time on a small- or medium-sized world, and twice on a large-sized world). The direction specified in this message only pertains to the initial wave of Goblins, which spawns at the world's edge and travels to the player's original spawn point. Additional waves spawn immediately near the player's original spawn point, when the player is in that area.

If the message says "west", the initial Goblins will come from the left. If the message says "east", they will arrive from the right. Note that these directions are not related to the apparent motion of the sun and the moon, which, in Terraria, appear to move from left ("west") to right ("east").

When the Goblin Army is about to begin spawning around the player's spawn point, another status message appears: "" and the theme music will switch to the "Goblin Invasion" /  "Boss 1" track.

Completing the event
The event is completed when the player defeats all goblins in the army.

The size of the army is based on the number of players currently in the world, and their health capacity:
 * There will be 80 base goblins.
 * There will be an additional 40 goblins for each player that has a maximum health of 200 or more.

This means that in single player, the army will consist of 120 goblins, while in an 8-player game, with each player having 200 health or more, it will spawn 400 goblins. The maximum number of goblins in an invasion is 10,280 (255 players above 200 health).

When the final wave of goblins is on the screen, the status message "" will appear; and goblins will stop spawning. Even after the message is displayed, the event theme will keep playing until the last remaining goblin is dead.

Other Goblins
These goblin characters are not part of the Goblin Invasion:
 * Goblin Tinkerer: A town NPC that appears randomly, only after at least one Goblin Invasion has been defeated. He initially appears bound in a random area of the cavern layer.
 * Goblin Scout: An enemy Goblin that drops Tattered Cloth and spawns near the edges of the world. Tattered Cloth can be collected and used to craft a Goblin Battle Standard, which is used to trigger an invasion manually.

Tips

 * Piercing items like spears and flails can take out several goblins at once.
 * The Spiky Balls dropped during the invasion are effective in fighting off further goblins, as the majority of them follow the basic Fighter AI and will mindlessly walk through them.
 * Goblin Peons cannot break doors that are already open.