Enemy AI
Every entity in Risk of Rain 2 that is not controlled by the player implements a set of predefined behaviors and by using a series of logical steps it chooses how to move, engage in combat, or disengage. A lot of these behaviors have requirements to be met before they are chosen and as such the player can prevent any enemy from using a specific skill, or know when to expect a certain attack and prepare themselves in advance.
Behaviors
Every behavior can be described by its requirements for valid selection and what actions the enemy will take upon selecting it.
Requirements
Not every requirement has to be defined for a behavior, in which case it is assumed to have the least restrictive value.
- skill slot: defines which skill type is to be used, i.e., Primary, Secondary, Utility, or Special. Note that not all monsters have all four. The keyword None is used to not necessitate the existence of any specific skill.
- skill: the enemy must possess a certain skill. This is mostly used for the Umbra and
Survivors of the Void - DLC Content
Goobo Jr. is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run.
Click for more info.Gummy Clone
Survivors of the Void - DLC Content
This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run.
Click for more info.Goobo Jr.
Create a clone of you for 30 seconds.
Spawn a gummy clone that has 300% damage and 300% health. Expires in 30 seconds. Survivors who can have alternative skills for any of the skill slots. If the 'skill slot' is defined, but the 'skill' is not, it will simply use whichever skill is occupying that slot. - skill is ready: the selected skill must have at least one charge.
- equipment is ready: the user must possess an equipment and have at least one charge.
- user health: the user must have less than, more than, or a range of some health percentage.
- target health: the target must have less than, more than, or a range of some health percentage. This is mostly used by healing drones.
- distance: the target must be in less than, more than, or a range of some distance.
- line of sight: the user must have the target in line of sight, even if they are behind them.
- aim target: the user must be looking in the direction of the target.
- grounded: the user must be on the ground.
- no repetition: the same behavior cannot be chosen twice in a row.
Actions
Only the actions defined for a specific behavior will be taken.
- ignore node graph: the user will move without using the predifined points in an Environment as target destinations, but will attempt to reach the target destination directly.
- move type: defines how the user will move, i.e., Chase, Strafe, Flee, or Stop.
- target type: defines what the user will target, i.e., Enemy, Friend, Leader, or Custom. Friend is the nearest teammate within skill range, Leader is used for the owner of any minions, e.g., Drones,
Beetle GuardsBeetle Guard
HP: 480 (+144 per level)
Damage: 12 (+2.4 per level)
Class: Melee / Ranged
Speed: 17 m/s
Armor: 0, etc, and Custom is used for any targets that do not fit under the previous definitions. - aim type: defines where the user will look, i.e., Target, Enemy, Leader, Move Direction, or None.
- sprint: the user will attempt to sprint.
- fire equipment: the user will attempt to use the equipment. Equipment that require target confirmation, such as the
Royal CapacitorRoyal Capacitor
Call down a lightning strike on a targeted monster.
Call down a lightning strike on a targeted monster, dealing 3000% damage and stunning nearby monsters., can make sure the activation will succeed by using the 'line of sight' and 'aim target' requirements. - behavior timer: how long the user will stick with this behavior before selecting a new one. A negative value means a selection will be forced on the next frame.
- next behavior: when the 'behavior timer' triggers a new selection, check if a predefined next selection is valid. This can be used to chain certain actions.
- reset enemy target: upon selecting a different behavior to the current one, choose a new enemy target. This may end up being the same one.
Behavior Priority
Every monster has a predetermined list of behaviors and when it comes to choosing a new one the game will go over all of them in order until it finds the first one that passes all of its requirements. As such, the behaviors are generally ordered from most to least restrictive requirements. Considering skill cooldown timers or the fact that most bosses and special bosses use their Special skill only after having lost a percentage of their health, the ordering priority tends to be Special > Utility > Secondary > Primary. After that a monster may also have a few failsafe behaviors when it can't use any skills, such as strafing an enemy while waiting for a skill cooldown, repositioning, or finding a new target.
Certain behaviors can also be mutually exclusive. For example, an enemy that prefers to stay within a certain distance to use a skill will have 3 distinct behaviors which can be described as "flee and use skill if closer than some distance", "strafe and use skill if within the ideal distance range", "approach and use skill if further than some distance".
The vast number of combinations for skills, requirements, and actions can result in an engagement exhibiting complex behaviors. For example, when the Wandering VagrantWandering Vagrant
Gentle ProtectorHP: 2100 (+630 per level)
Damage: 6.5 (+1.3 per level)
Class: Ranged
Speed: 6 m/s
Armor: 15 uses its Homing Orb followed by the Orb Volley, it may give the impression that the Orb Volley is just a distraction tactic to force the player to evade the attack and not focus on the homing orb. However, this is technically the result of the Secondary skill being on cooldown and the Primary skill being the only other available option.
AI States
Wander
The majority of enemies will be in this state when they first spawn and will have no preset behavior. They will select a random nearby position from the node graph, look at it and move towards it. After 0.5 seconds they will select a new position and will repeat this process every 0.2 seconds from then on. For a random interval between 0.5 seconds and 4 seconds the enemy selects a new look position depending on which direction they are facing. If there is something in front of them within a 25 meter distance, they may switch to the Look Busy state. Every frame they will also try to select a valid behavior. If one is found, they will switch to the Combat state.
Look Busy
The enemy will select a duration between 2 seconds and 7 seconds randomly to stay in this state, during which they will stand still. If during this time a valid behavior is chosen, they will switch to the Combat state. Once this state expires, the enemy will revert back to the Wander state.
Guard
This is like the Look Busy state, but the duration is effectively 0. Only MithrixMithrix
King of NothingHP: 1000 (+300 per level)
Damage: 16 (+3.2 per level)
Class: Melee / Ranged
Speed: 15 m/s
Armor: 20 and the Twisted Scavenger spawn in this state. The point of this state is for the enemy to stand still until engaged in combat. Mithrix, due to the arena size and him having 360° field vision, will instantly find a target and engage in combat. The Twisted Scavenger sits facing away from the player, so until the player attacks him so he can be registered as an enemy to retaliate, or the player walks in front of the vision of the Scavenger, he will remain idle.
Combat
This is the state that enemies will spend the majority of their lifetime. They will update their movement, aim direction, and issue button presses based on what the current behavior dictates. If in the process of selecting a new behavior the list has been exhausted without finding a valid one, the enemy will revert to its main state type.
Risk of Rain 2 Wiki |
---|
Main |
Artifacts • Challenges • Chests • Difficulty • Drones • Equipment • Interactables • Items • Item Stacking • Lore • Mechanics • Monsters • Newt Altars • Prismatic Trial • Shrines • Status Effects |
Survivors |
![]() Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Cornered Gunslinger • ![]() Class: Unknown HP: 90 (+27 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Judge, Jury, Executioner • ![]() Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Desperate Outlaw • ![]() Class: Unknown HP: 200 (+60 per level) Damage: 11 (+2.2 per level) Armor: 12 Umbra: Right Tool for the Wrong Job • ![]() Class: Unknown HP: 130 (+39 per level) Damage: 14 (+2.8 per level) Armor: 0 Umbra: Fortification Expert • ![]() Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Herald of the House Beyond • ![]() Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 20 Umbra: Hired Blade • ![]() Class: Unknown HP: 130 (+39 per level) Damage: 12 (+2.4 per level) Armor: 20 Umbra: Symbiotes • ![]() Class: Unknown HP: 160 (+48 per level) Damage: 12 (+2.4 per level) Armor: 20 Umbra: Bionic Powerhouse • ![]() Class: Unknown HP: 160 (+48 per level) Damage: 15 (+3 per level) Armor: 20 Umbra: Test Subject • ![]() Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Tired Veteran • ![]() Railgunner is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. ![]() ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.RailgunnerThe Railgunner is a long-range, single target survivor that can instantly kill any high priority target - and from any range. Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Forgotten Nomad • ![]() Void Fiend is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. ![]() ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Void FiendThe Void Fiend is a corrupted survivor that fluctuates between a controlled and corrupted form, each with different strengths and weaknesses. Managing this curse has become its fate. Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Corrupted Amnesiac • ![]() Seeker is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. ![]() ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.SeekerAs a meditative mid-range brawler, Seeker utilizes powerful healing to sustain herself and her team. Class: Unknown HP: 115 (+34 per level) Damage: 12 (+2.4 per level) Armor: 20 Umbra: Diviner of House Beyond • ![]() False Son is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. ![]() ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.False SonThe False Son is a slow but stalwart close-range warrior. With extreme health and defense, False Son can weather any storm. Use False Son's durability to stay in the fray and capitalize on his slow but deadly skills. Class: Unknown HP: 180 (+54 per level) Damage: 12 (+2.4 per level) Armor: 20 Umbra: The Shattered Heir • ![]() CHEF is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. ![]() ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.CHEFA survivor of high class, CHEF specialises in only the most exquisite meals and combos. As a culinary master, CHEF uses a variety of practiced skills in tandem for additional benefits. Class: Unknown HP: 110 (+33 per level) Damage: 12 (+2.4 per level) Armor: 0 Umbra: Culinarian Adept • ![]() Class: Unknown HP: 440 (+132 per level) Damage: 18 (+3.6 per level) Armor: 0 Umbra: Unorthodoxy Risen |
Environments |
Abandoned AqueductAbandoned Aqueduct (Stage 2) Origin of Tar You dream of sand beneath your feet. Massive skeletons and pools of tar are littered around, and a towering aqueduct pouring down tar dominates the area. • Abyssal DepthsAbyssal Depths (Stage 4) Tectonic Relics You dream of fire. A hellfire-forged zone of blazing heat, the Abyssal Depths are believed to be a continuation and adaptation of the Magma Barracks from Risk of Rain. • ![]() Aphelian Sanctuary is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Aphelian Sanctuary ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Aphelian Sanctuary (Stage 2) Cleansing Center You dream of clarity. Tall, complex structures lay surrounding a large forest. • CommencementCommencement (Final) Moon of Petrichor V You dream of glass and dirt. Large domain located above the shattered breach of ![]() ![]() King of NothingHP: 1000 (+300 per level) Damage: 16 (+3.2 per level) Class: Melee / Ranged Speed: 15 m/s Armor: 20 and Providence's tools of creation. • Distant RoostDistant Roost (Stage 1) Ground Zero You dream of waves, crashing on cliffsides. Spires of earth jut through the fog and unknown avian creatures circle far peaks guarding their broods. • ![]() Disturbed Impact is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Disturbed Impact ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Disturbed Impact (1 - Loop Only) Meter of the Restless You dream of stabbing shards. A night variant of the Shattered Abodes, exclusive to looping. Some of the houses that are normally closed off may open up. • ![]() Golden Dieback is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Golden Dieback ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Golden Dieback (2 - Path of the Colossus - Loop Only) March of the Fallen You dream of golden leaves. A loop-exclusive variant of Treeborn Colony, second stage in the Path of the Colossus. The map is covered in an orange haze and the trees' leaves have turned red, with mushrooms now growing on their trunks and branches. • ![]() Helminth Hatchery is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Helminth Hatchery ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Helminth Hatchery (Stage 5) A Brother's Respite You dream of worms. A complex city-like structure built in a volcanic environment. Tunnels and wurms litter the environment and a forge sits near the top. • ![]() Prime Meridian is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Prime Meridian ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Prime Meridian (Final - Path of the Colossus) Relic of the False Son You dream of rebirth. The top of a giant statue of Providence, and the final stage in the Path of the Colossus. The ![]() False Son (Boss) is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. ![]() ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.False Son (Boss) HP: 1000 (+300 per level) Damage: 18 (+3.6 per level) Class: Melee Speed: 14 m/s Armor: 23 waits at the highest point of this area. • Rallypoint DeltaRallypoint Delta (Stage 3) 'Contact Light' Survivor Camp You dream of quiet snowfall. Rallypoint Delta is the remains of a makeshift camp constructed by a group of scattered crew members from the UES Contact Light, somewhere in the frigid tundra of Petrichor V. • ![]() Reformed Altar is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Reformed Altar ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Reformed Altar (1 - Path of the Colossus) Shadow of the Savior You dream of refuge. A sandy, ruined temple built around the base of a giant statue of Providence. This is the first stage in the Path of the Colossus. • Scorched AcresScorched Acres (Stage 3) Wisp Installation You dream of wind, blowing through trees. Large, circular platforms make up the majority of the stage, and embers float through the air. • ![]() Shattered Abodes is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Shattered Abodes ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Shattered Abodes (Stage 1) Ground Zero You dream of lost poetry. The ruins of a Lemurian town, shattered by a giant spike-themed impact. • ![]() Siphoned Forest is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Siphoned Forest ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Siphoned Forest (Stage 1) Ground Zero You dream of fire and ice. The map is blanketed in a layer of snow, with large trees surrounded by platforms spanning multiple levels. • Siren's CallSiren's Call (Stage 4) Ship Graveyard You dream of wind. • Sky MeadowSky Meadow (Stage 5) Sprite Fields You dream of serenity. A lush, violet meadow located high in the planet's atmosphere. Meteors rush through the terrain and the moon is clearly visible in the sky. • ![]() Sulfur Pools is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Sulfur Pools ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Sulfur Pools (Stage 3) Pungent Spring You dream of brimstone. Tiered lakes of shallow sulfur pools. Arcing bridges and underground caves connect the map together. • Sundered GroveSundered Grove (Stage 4) Dormant Locus You dream of violent growth. Ancient flora has risen up to reclaim this once sacred refuge. Mazes of roots and overgrown fungus have twisted the landscape, leaving only ruins. • Titanic PlainsTitanic Plains (Stage 1) Ground Zero You dream of rolling hills. Gigantic stone arches bracket the skyline, while the main play-field overlooks a vast fractured tectonic lowland. • ![]() Treeborn Colony is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Treeborn Colony ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Treeborn Colony (2 - Path of the Colossus) Path of the Protector You dream of vines, cutting through the sky. A treetop village, located in a canopy directly above the Reformed Altar. This is the second stage in the Path of the Colossus. • Verdant FallsVerdant Falls (Stage 1) Ground Zero You dream of sweet fruits, and bitter promises. A bright, vibrant map with cliffs, caverns, and giant towering plants surrounding some large debris. • ![]() Viscous Falls is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Viscous Falls ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Viscous Falls (1 - Loop Only) Seeker's Setback You dream of falls, erupting from the flora. A night variant of Verdant Falls: mostly the same, but with a unique cave opening. Only appears after looping at least once. • Wetland AspectWetland Aspect (Stage 2) Rehabilitation Zone You dream of twisting roots. Full of ruined stone structures and swampy areas filled with water. |
Hidden Realms |
A Moment, FracturedA Moment, Fractured (Hidden Realm) Hidden Realm: A Moment, Fractured Multiple floating islands in a void, with sharp blue crystals embedded in them. The Obelisk can be found on top of the last island. • A Moment, WholeA Moment, Whole (Hidden Realm) Hidden Realm: A Moment, Whole A bleak and desolate realm. The refuge of the ![]() ![]() King of NothingHP: 1000 (+300 per level) Damage: 16 (+3.2 per level) Class: Melee / Ranged Speed: 15 m/s Armor: 20 vengeance and destruction. • Bazaar Between TimeBazaar Between Time (Hidden Realm) Hidden Realm: Bazaar Between Time This stage serves as the shop in Risk of Rain 2. Players can purchase various Items with Lunar Coins or exchange items for higher-rarity ones in two crucibles. • Bulwark's AmbryBulwark's Ambry (Hidden Realm) Hidden Realm: Bulwark's Ambry The area consists of block-shaped platforms, with the Artifact Reliquary in the center. • Gilded CoastGilded Coast (Hidden Realm) Hidden Realm: Gilded Coast You dream of wealth. This area is where the player fights the boss Aurelionite, the Titanic Goldweaver. • ![]() The Planetarium is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. The Planetarium ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.The Planetarium (Final) Cell V The Planetarium is an area somewhere within the Void, housing a collection of planets detained by the Void's denizens. It is inhabited primarily by the Voidling, the guard of the Planetarium or potentially the controller of the Void itself. • Void FieldsVoid Fields (Hidden Realm) Cosmic Prison Hidden Realm accessible only through the Bazaar Between Time. Until the cell is stabilized, the Void Fields will constantly "suffocate" the player for a small percentage of their current health. • ![]() Void Locus is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info. Void Locus ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Void Locus (Hidden Realm) Cell IIIVIIIIIILVIIIVLVILIVLLLVVVILIVLI You dream of potential. The Void Locus contains many Void Potentials and Cradles in place of chests, and is inhabited by Void monsters. |
Expansions |
![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Survivors of the Void • ![]() This content is part of the Seekers of the Storm DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Seekers of the Storm |
Alternate Game Modes |
Eclipse • Prismatic Trials • ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Simulacrum |
Mechanics |
Armor • Damage • Directors • Enemy AI • Family Events • Gold • Health • Item Stacking • Lunar Coins • Movement Speed • Proc Coefficient • ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Void Fog • ![]() This content is part of the Survivors of the Void DLC. It is only available if the DLC is enabled when starting a run. Click for more info.Void Seed • Winning |
Other |
Developer Console • Development Team • Languages • Modding • Soundtrack • Unreleased Items • Version History |