Terraria Wiki
Advertisement
Terraria Wiki
1 234
páginas



Agressão é uma estatística invisível que determina a distância a qual inimigos começam a atacar o jogador. O Terraria contém vários itens que alteram essa estatística quando equipados.

Todos os inimigos miram no jogador baseado em critérios definidos em sua IA. Most will constantly try for a target, while others may only target if the player is in water, for example.

Currently, the Stardust Guardian is the only summon able to divert an enemy's target away from the player. It overrides the player's presence, but only if it is closer than 200 pixels from said enemy. Otherwise, an enemy may target the player or the Guardian – whichever is closer. It is best to summon the Stardust Guardian closer to hordes of enemies, rather than a small few, to avoid being targeted when a few enemies disperse or die. As of 1.4.0.1, the Stardust Guardian targets the closest enemy and whose actions can no longer be influenced by the player.

Armor and other items that "increase/decrease enemy targeting" cause enemies to consider a player to be closer or farther away than they actually are. Therefore, having a Stardust Guardian close to an enemy but also having aggro-increasing accessories equipped, the player could be considered "closer" than the Stardust Guardian is, potentially resulting in temporarily being targeted instead of the Guardian.

If the Cristal de Eternia is present, the Old One's Army will target it by default, only targeting the player or Guardian if they get "in the way".

Gear[]

Decrease[]

The following items reduce the player's aggro statistic, meaning that enemies will have to get closer to target the player.

Item Aggro change
Poção da InvisibilidadePoção da Invisibilidade −750 (while not using an item)
−250 (while using an item)
Aroma PodreAroma Podre -400
Flor ArcanaFlor Arcana -400
Luneta de ReconhecimentoLuneta de Reconhecimento -400
Aljava do CaçadorAljava do Caçador -400
Faca do PsicopataFaca do Psicopata In stealth mode, aggro is decreased based on visibility to a cap of −750
Shroomite armorShroomite armor(full set) In stealth mode, aggro is decreased based on visibility to a cap of −750
Vortex armorVortex armor(full set) In stealth mode, aggro is decreased based on visibility to a cap of −1200
  • Aggro reductions of −750 (or more) nearly guarantee the player will not be targeted.
  • Vortex armor provides the largest aggro reduction available in the game.

Increase[]

These items increase the player's aggro statistic, meaning that enemies can be farther from the player and still target them.

Item Aggro change
Elmo de TartarugaElmo de Tartaruga +250
Armadura de Malha de TartarugaArmadura de Malha de Tartaruga +250
Calças de TartarugaCalças de Tartaruga +250
Elmo de BesouroElmo de Besouro +250
Concha de BesouroConcha de Besouro +400
Calças de BesouroCalças de Besouro +250
Elmo das Chamas do SolElmo das Chamas do Sol +300
Peitoral das Chamas do SolPeitoral das Chamas do Sol +300
Calças das Chamas do SolCalças das Chamas do Sol +300
Punhos de CarnePunhos de Carne +400
Luva do CarcajuLuva do Carcaju +400
Escudo do HeróiEscudo do Herói +400

Formula[]

Most enemies will only attack the target they are closest to. They will determine the player's distance first, then the Stardust Guardian's (if applicable) and finally the distance to the Cristal de Eternia (if applicable). The distance for the player formula is

abs(targetPlayer.x + 10 − enemy.x + (enemy.width / 2)) + abs(targetPlayer.y + 21 − enemy.y + (enemy.height / 2)) − targetPlayer.aggro

The result from that formula is then compared to the guardians formula result:

abs(guardian.x + 25 − enemy.x + (enemy.width / 2)) + abs(guardian.y + 40 − enemy.y + (enemy.height / 2)) − 200

Whichever results in the higher value is targeted.

Old One's Army formula[]

Enemies in the Old One's Army follow a separate formula due to having to attack the player, as well as the crystal. An enemy will first determine the distance between the Eternia Crystal and it with a simple distance formula. Then, barring the chance the enemy is currently "ghosted", the enemy determines the "distance" to the player with the following formula.

distance(enemy.position, targetPlayer.position) − targetPlayer.aggro

Even though this formula does account for aggro, a player will be ignored if they are not within 200 pixels of the specified enemy.[1] Like with regular enemies, if the Guardian is closer to an enemy than the player is, and is within 400 pixels of it, then the Guardian is targeted instead of the player.

Notes[]

  • All slimes (except Spiked Slimes, King Slime, and Queen Slime) will ignore the player and the Stardust Guardian entirely when the Royal Gel accessory is equipped.
  • A Confused enemy will always face away from its target.
  • The following is a list of combos for the lowest attainable aggro:
    • The lowest attainable aggro is −4300, resulting from a combo of the Vortex armor in stealth mode, the Psycho Knife, the Putrid Scent, the Arcane Flower, the Recon Scope, the Stalker's Quiver, and the Invisibility Potion (while not using an item).
    • The lowest attainable aggro is −3100, resulting from a combo of the Vortex armor in stealth mode, the Psycho Knife, the Putrid Scent, and the Invisibility Potion (while not using an item).
    • The lowest attainable aggro is −1500, resulting from a combo of Shroomite armor in stealth mode and the Invisibility Potion (while not using an item).
  • The following is a list of combos for the highest attainable aggro:
    • The highest attainable aggro is 2200, resulting from a combination of Solar Flare Helmet and Leggings, Beetle Shell, Flesh Knuckles, Berserker's Glove, and the Hero Shield.
    • The highest attainable aggro is 1800, resulting from a combination of Solar Flare Helmet and Leggings, Beetle Shell, Flesh Knuckles, and the Berserker's Glove.
    • The highest attainable aggro is 1400, resulting from a combination of Solar Flare Helmet and Leggings, Beetle Shell, and the Flesh Knuckles.
    • The highest attainable aggro is 900, resulting from the Beetle Helmet, Beetle Shell, and the Beetle Leggings.

Footnotes[]

  1. Betsy, with a slightly different targeting system, will not target the player based on distance, and will instead target the player so long as the player is closest to it in comparison to the Stardust Guardian or Eternia Crystal.

History[]

  • Desktop 1.3.4: NPCs can now be targeted.
  • Desktop 1.3.0.1:
    • Slimes no longer target the player if the player has Royal Gel equipped.
    • Introduced the Stardust Guardian, which can divert aggro away from the player.
  • Desktop-Release: Introduced.
  • Console 1.0.750.0: (PS4)
    • Slimes no longer target the player if the player has Royal Gel equipped.
    • Introduced the Stardust Guardian, which can divert aggro away from the player.
  • Console-Release: Introduced.
  • Mobile-Release: Introduced.
  • 3DS-Release: Introduced.
Advertisement