Every room where energy is mined has an inner counter at approximately 100,000 units of mined energy (plus some random variable). After this counter times out, a new game-controlled creep appears at one of the room exits with the goal of hunting your creeps. It will not touch your structures most of the time, but if a structure gets on its way, it will try to destroy it. This creep can use attackrangedAttack, and dismantle. It is unable to move between rooms.

https://docs.screeps.com/img/invader.png

An important feature of these creeps is that they can appear only at exits to neutral rooms. If the target room is under your (or someone else’s) control or it is a reserved room, an invader creep will never appear at this exit. If all exits in the room are of this kind, invaders cannot appear at all.

Currently, NPC invaders attacks do not generate any e-mail notifications, since generally they appear several times a day even in a single room if it's being actively harvested.

Raids

There is a 10% chance that you will get not only a lone Invader but a whole company of them, from 2 to 5. Each Invader has its own role: melee attacker, ranged attacker, or healer. Ranged attackers are different from melee ones in their behavior: they try to stay at a distance from your creeps. The function of healers is evidently to heal other raid members. Also, some creeps may be boosted with

https://static.screeps.com/upload/mineral-icons/UH.png

,

https://static.screeps.com/upload/mineral-icons/KO.png

,

https://static.screeps.com/upload/mineral-icons/LO.png

,

https://static.screeps.com/upload/mineral-icons/ZH.png

, or

https://static.screeps.com/upload/mineral-icons/GO.png

.

Invader creep types

There are two sizes of invader creeps: