Hero behavior

From Guild Wars Wiki
Jump to: navigation, search
Info-Logo.png Note: This article is geared towards new players.
Please keep its contents to those which new players can reasonably understand and use.

Detailed analysis of hero skill usage (and lack of) can be found at Hero behavior/Unexpected behavior.

Influencing hero behaviour[edit]

See also: Call#Target calling, Hero flag

Formation[edit]

  • Heroes will not always line up ranged characters at the rear, with melee characters in front, as you might expect.
  • Heroes will change formation when the player changes from a melee weapon to a ranged or a ranged weapon to a melee.
  • Heroes holding bundle items will stand in the front with melee characters.

Combat modes[edit]

Pets belonging to heroes will use the same combat mode as their heroes.

Fight.png Fight[edit]

Heroes will aggressively confront enemies:

  • They will attack (in priority order) called targets, selected targets within spirit range of the hero, non-selected enemies actively engaged with the party, and non-selected enemies within the hero's aggro range.
  • They prefer attacking foes with the lowest armor rating, and will prioritize foes with the lowest health over foes above 50% their maximum health.
  • They will separate from the party, if necessary.

Guard.png Guard[edit]

Heroes will guard the area near a flag or the controlling player (whichever is closer and within earshot), refraining from combat until actively engaged.

  • They will not attack enemies unless (in priority order) forced to use a skill, the selected target is called, the selected enemy actively engages the party, or the non-selected enemy enters the party's aggro circle.
  • They will not move beyond the guarded area unless forced to use a skill and the target is out-of-range.
  • They will return to the guarded area after using a forced skill or the enemy moves far beyond the area.
  • They will often go out of their way to attack a spirit, despite being in "Guard Mode".

Avoid Combat.png Avoid Combat[edit]

Heroes never attack and will attempt to avoid enemies when attacked, kiting as needed. They will not attack selected or called targets unless forced to use a skill.

Forced skill use[edit]

  • Heroes can be ordered to execute skills by clicking on the appropriate skill on the hero skill bar.
  • When a hero is ordered to execute a skill during the activation of another skill, the hero will cancel the activation of the first skill and proceed with the ordered skill.
  • The hero will not use any other skills until it successfully activated the ordered skill.
Locking a target

Bundles[edit]

  • Heroes can be ordered to drop their current bundle by clicking on their monitor.

AI capabilities and limitations[edit]

Heroes are like "toddlers": give them skills that are effectively impossible to use incorrectly, or skills that focus on a single target without conditional secondary effects. While they can "auto-pilot" their way through enemies with the correct skills, they do so less effectively than a human team might. When using heroes, calling targets and directing them will always increase their efficiency. Fortunately, the list of fail-safe skills is sufficient enough to create an effective hard mode set-up.

AI knowledge[edit]

Customized hero builds take full advantage of the AI's superior reaction time and field awareness (for interrupts, spreading hexes, certain prots) while avoiding AI disadvantages (inability to use certain skills, lack of planning ability, not understanding positioning).

  • Heroes can "read" health bars, and can detect the presence of hexes, conditions and enchantments.
  • Heroes know about all active effects. They will not try to apply an enchantment, hex, condition or weapon spell on someone who is already affected by the same enchantment, hex, condition or weapon spell.
  • Heroes can detect party members' energy, as they will not use skills such as Blood Ritual on characters with full energy pools.
  • Heroes can detect enemy skill activation, and will only use interrupts which are appropriate to the skill type. They have no reaction time; their interrupts are never late.
  • Heroes seem to mimic players' reaction times, such as activating skills for which the condition is met just before activation, but removed before the skill can take effect.

Coordination[edit]

Heroes do not coordinate their actions with each other. This may result in redundant skill usage. For example:

  • Multiple heroes with resurrection skills may attempt to resurrect the same fallen party member; the fastest one will succeed (unless interrupted), which means the others will have wasted energy and time.
  • Multiple heroes may try to heal the same ally, even if it's almost at full health, or damage the same foe, even if it's almost dead.
  • They may try to remove the same hex, condition, or enchantment. They may try to interrupt the same skill.

Prioritization[edit]

  • Heroes have no concept of the danger of hexes and conditions, or the usefulness of enchantments. They will remove these seemingly at random.
    • For example, they will not prioritize the removal of Empathy over Suffering. They may remove an effect that's about to end instead of one that will last longer.
  • Heroes have no concept of the strength of a skill. They will not prioritize any skills for interruption.
    • For example, they may interrupt Flare while allowing Meteor Shower to be cast. They will not prioritize the interruption of resurrection skills.

Resurrection[edit]

  • All heroes with resurrection skills will attempt to resurrect fallen party members; the fastest one will succeed (unless interrupted), which means the others will have wasted energy and time.
  • Healers often attempt to resurrect in mid-combat. Players that want their healers to focus on healing should give resurrection skills to non-healers, or manually disable the healer's resurrection skills to reserve them for the player's discretion.

Default skill usage[edit]

Avatars[edit]

  • AI won't pre-cast Avatars before engaging in combat, as only the player can know when they are about to engage foes. Heroes will activate it soon after hitting their first foe. This behavior combined with the 2 second cast time could cause the hero to be interrupted. Once a battle ends, they won't re-cast it to keep it maintained between fights.

Binding rituals[edit]

  • Except for Life, AI does not use passive spirits outside of combat. Spirits like Union will only be cast after a party member has already taken damage, but never to prevent that first strike.
  • AI will place spirits wherever they happen to be, it is not programmed to make spirit walls as players would. Additionally, it will use skills like Armor of Unfeeling, Signet of Creation, Signet of Ghostly Might, Spiritleech Aura once it detects the presence of a single spirit within range.

Chants[edit]

Condition removal[edit]

  • NPCs will try to cleanse allies of conditions, even if those conditions are about to wear off. This both wastes energy and delays party movement.
  • They are better at detecting conditions than humans, who need to watch health bars or wait for other players to ping their effects (or mention them via chat).
  • They will remove conditions on allies even when the other NPC would benefit from the condition, e.g. under the effect of Melandru's Resilience, or when unavoidable e.g. Cultist's Fervor.

Condition spreading[edit]

  • NPCs do not spread conditions. For example, while Apply Poison is active, they will not attack multiple targets to poison several foes. Worse, they will cease attacking poisoned foes if that preparation is active.

Echoes[edit]

  • Heroes seem to use Echo or Arcane Echo early on during a fight, after which they will use a random skill without having a thought of what skill will be echoed.

Enchantments[edit]

Battery skills
  • NPCs will only use Blood Ritual/Blood is Power on martial profession allies that are holding a bundle or a caster weapon; even then, they wait until energy drops to 20 or less before casting.
  • They will use these skills on caster allies regardless of their weapon type, but wait to cast it until the target's energy drops to ~30 energy or less.
Conjure spells
  • NPCs will activate conjure spells based on their weapon’s current damage type, but ignore effects that change the damage (e.g. Winter or Staggering Force).
Doublecast enchantments
  • NPCs will wait to cast until foes are in range of both the caster and target ally. Unless foes are in its range, this causes the caster to close in by breaking formation. [verification requested]
Enchantment removal
Maintained enchantments
  • NPCs will use maintained enchantments during combat, but dismiss them afterwards in order to regenerate energy. To force heroes to maintain such effects, you have to micromanage their usage: disable the skill (via shift + click) and then manually cast it (by clicking on the skill). To force the hero to use a skill on a specific ally, first select the ally in the party panel, then micro the skill as above.
Orders skills
  • NPCs will wait to start casting an order until the previous application has run out, thus leaving gaps in enchantment coverage.

Glyphs[edit]

  • After casting a glyph, NPCs will prioritize skills optimized to the specified effect. For example, after invoking a Glyph of Lesser Energy, they will often ignore spells that cost only 5Energy in favor of those costing 15Energy or more.

Healing and protection[edit]

Healing
  • NPCs reserve party-wide healing skills (e.g. Heal Party) until multiple party members require healing.
  • They prioritize the ally with the lowest health and will not protect goal-critical non-party NPCs (e.g. Prince Rurik or Master Togo). Players can micromanage this by targeting the non-party NPC and manually activating a healing skill.
  • They cast hex-removal skills indiscriminately, regardless of danger level or remaining duration.
  • NPCs will detect near-death allies and prioritize their healing.
    • They will also apply special-circumstances skills appropriately, e.g. Divine Intervention.
    • However, they will sometimes cast skills with effects-on-death first, notably Death Nova.
Protection
  • NPCs will not use protection skills in advance of a battle; players must micromanage pre-casting of skills such as Shelter.
  • When allies are suffering from health degeneration, NPCs will use skills that reduce direct damage to no effect, for example casting Spirit Bond to counter Conjure Nightmare.
Resurrection
  • NPCs will first use resurrection skills on dead allies that also posses resurrection skills.
  • Multiple NPCs will attempt to resurrect the same ally.

Hex removal[edit]

  • NPCs prioritize cleansing over other considerations:
    • They will remove minor hexes from allies that might enjoy a net benefit, e.g. removing Overload from a target under the effects of Resilient Weapon.
    • After a battle is over, NPCs will take time to remove hexes (regardless of danger level), resulting in them being separated from the rest of the party. This makes it more difficult to avoid other foes in the area or along the party's route.
Mesmer hex removal

Interrupts[edit]

  • NPCs do not prioritize threat levels. They will interrupt Flare on a current enemy even if a nearby foe is casting Rodgort's Invocation.
  • Skills that interrupt will often be postponed in use as long as the target's "skill activation window" is still visible.
  • AI seems to be vastly superior to players in terms of interruption time, suggesting an uneven split of replicating player intelligence

Item spells[edit]

  • Heroes will try to maintain defensive item spells when out of combat. They will attempt to follow foes when other allies are attacking. They will not drop item spells that cause offensive effects to use other offensive item spells.

Nature rituals[edit]

Preparations[edit]

  • NPCs maintain preparations outside of combat, even if no combat is imminent.

Shadow steps[edit]

  • NPCs will use prioritize the use of shadow steps to close the distance to foes, sometimes ignoring or wasting the secondary effects. However, they will use Death's Charge to heal themselves while in melee range of their target.
  • They will use shadow steps differently on different types of targets. For example, on the Isle of the Nameless, heroes will use Death's Charge to step to the Master of Healing (a non-offensive build) but walk/run to the Master of Lightning (an offensive build) and reserve Death's Charge as a self-heal.
  • After using a shadow step, NPCs will sometimes walk away from a foe (and back towards the party).

Shouts[edit]

Spells[edit]

  • NPCs will use AoE spells on single targets, e.g. Earthquake against an animal.
  • To maximize the effects of use of Point-Blank AOE damage skills, they will rush into combat, even if the rest of their build is not suited for close-combat. In particular, they will not reserve PBAoE skills to break aggro, e.g. they will also move close to foes to use Whirlwind, rather than using it to escape from that same foe.

Stances[edit]

Teardowns[edit]

  • Dervish skills such as Wearying Strike that remove a dervish enchantment to trigger an additional effect or avoid a penalty will be used regardless of whether any dervish enchantments are active.
  • When enchantments are available, they will not distinguish between enchantments meant to be removed in this manner and enchantments that are meant to be maintained.

Touch skills[edit]

  • NPCs with martial professions use touch skills efficiently, since they are already face to face. However, casters will break formation, rushing into to the frontline to cast such skills, risking their own safety. For example, Danika will use Healing Touch instead of remaining safely behind.

Wards and Wells[edit]

  • NPCs will invoke Wards and Wells when engaged in combat, regardless of the benefits. For example, they will cast Ward of Stability even if there is no risk of knock down.
  • They do not pay attention to existing areas of effect, moving outside of beneficial effects to kite or remain within negative ones if they are not under direct attack.
  • After the end of a battle, NPCs with both minion and well skills sometimes choose to invoke wells (even if they serve no purpose) instead of creating more minions.

Weapon spells[edit]

  • NPCs will cast offensive weapon spells on attacking allies appropriately, e.g. using Splinter Weapon on allies wielding martial weapons.
  • However, they will overwrite those skills with supportive ones, especially on allies at critical health levels. For example, they will use Weapon of Warding, even if they just used Splinter Weapon on the same target.

Heroes (edit)
Hero armorerHero skill trainerHero behavior
Nightfall Warrior GorenKoss Ranger Acolyte JinMargrid the Sly Monk DunkoroTahlkora Necromancer Master of Whispers Mesmer Norgu Elementalist Acolyte SousukeZhed Shadowhoof Paragon General Morgahn Dervish Melonni Any Razah
Eye of the North Warrior Jora Ranger Pyre Fierceshot Monk Ogden Stonehealer Necromancer Livia Mesmer Gwen Elementalist Vekk Assassin Anton Ritualist Xandra Paragon Hayda Dervish Kahmu
Beyond & Other Necromancer Olias Assassin MikuZenmai Ritualist Zei Ri Paragon Keiran Thackeray Dervish M.O.X. Any Mercenaries