Agros
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. A maior parte vai constantemente tentar alcançar o alvo, enquanto outros podem só mirar o jogador se este estiver na água, por exemplo.
!!Error: Valor inserido para EICONS inválido! De momento, o Guardião de Pó-de-Estrelas é o único lacaio capaz de desviar o alvo de um inimigo para longe do jogador. Ele sobrepõe-se à presença do jogador, mas apenas se estiver a menos de 200 píxeis do inimigo. Senão, o inimigo vai mirar o jogador ou o guardião – o que estiver mais perto. É melhor gerar o Guardião de Pó-de-Estrelas ao pé de grandes hordas de inimigos, em vez de uns poucos, Para evitar ser mirado quandos alguns inimigos dispersam ou morrem. No 1.4.0.1(Versões para Computador, Console e Celular), O Guardião de Pó-de-Estrelas mira o alvo mais próximo e as suas ações não podem ser influenciadas pelo jogador.
Armadura e outros itens que "aumentam/diminuem mira dos inimigos" fazem um inimigo considerar o jogador mais próximo ou mais longe do que realmente estão. Daí, ter um Guardião de Pó-de-Estrelas próximo de um inimigo mas também ter acessórios de aumento-de-agressão equipadi«os, o jogador pode ser considerado "mais perto" do que o Guardião de Pó-de-Estrelas, potencialmente resultando em ser temporariamente mirado em vez do Guardião.
Se o Cristal de Eternia(Versões para Computador, Console e Celular) estiver presente, o Exército do Ancião vai mirá-lo por predefinição, e apenas mirar o jogador ou o guardião se eles estiverem "no caminho".
Equipamento
Diminuição
Os itens seguintes diminuem a estatística de agressão do jogador, significando que os inimigos terão de se aproximar mais para mirar o jogador.
Item | Alteração de agressão |
---|---|
Poção da Invisibilidade | −750 (enquanto não está a usar um item) −250 (enquanto está a usar um item) |
Aroma Podre(Versões para Computador, Console e Celular) | -400 |
Flor Arcana(Versões para Computador, Console e Celular) | -400 |
Luneta de Reconhecimento(Versões para Computador, Console e Celular) | -400 |
Aljava do Caçador(Versões para Computador, Console e Celular) | -400 |
Faca do Psicopata(Versões para Computador, Console e Celular) | No modo furtivo, agressão é diminuída baseada na visibilidade até um limite de −750 |
Shroomite armor(conjunto todo) | No modo furtivo, agressão é diminuída baseada na visibilidade até um limite de −750 |
Vortex armor(Versões para Computador, Console e Celular)(conjunto todo) | No modo furtivo, agressão é diminuída baseada na visibilidade até um limite de −1200 |
- Reduções de agressão de -750 (ou mais) quase garantem que o jogador não será mirado.
- Armadura de Vórtex dá a maior diminuição de agressão no jogo todo.
Aumento
Estes itens aumentas a estatística de agressão do jogador, significando que os inimigos podem estar mais longe do jogador e mirá-lo na mesma.
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(Versões para Computador, Console e Celular) (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.
(Versões para Computador, Console e Celular) 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
- (Versões para Computador, Console e Celular) 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:
- (Versões para Computador, Console e Celular) 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).
- !!Error: Valor inserido para EICONS inválido! 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).
- (Versões para Old-gen console e 3DS) 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:
- (Versões para Computador, Console e Celular) 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.
- !!Error: Valor inserido para EICONS inválido! 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.
- !!Error: Valor inserido para EICONS inválido! The highest attainable aggro is 1400, resulting from a combination of Solar Flare Helmet and Leggings, Beetle Shell, and the Flesh Knuckles.
- (Versões para Old-gen console e 3DS) The highest attainable aggro is 900, resulting from the Beetle Helmet, Beetle Shell, and the Beetle Leggings.
Footnotes
- ↑ 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.933.1: Made changes from Console 1.0.750.0. ()
- Console 1.0.750.0: ()
- 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.
- Switch 1.0.711.6: Introduced.
- Mobile-Release: Introduced.
- 3DS-Release: Introduced.
- Pages setting LuaCache keys
- Páginas para tradução
- Pages with template errors
- Errors from Eicons
- Predefinição eicons com plataformas inválidas
- Entidades atualizadas no Desktop 1.3.4
- Entidades atualizadas no Desktop 1.3.0.1
- Entidades atualizadas no Desktop-Release
- Entidades atualizadas no Console-Release
- Entidades atualizadas no Mobile-Release
- Entidades atualizadas no 3DS-Release
- Mecânicas do jogo
- Conteúdo do Computador
- Conteúdo do Console
- Conteúdo do Console old-gen
- Conteúdo do Celular
- Conteúdo do 3DS