Attacks of opportunity
When you move away from an enemy, they have a small (1/3) chance of taking advantage and launching a free attack. Repositioning and retreating is often still good, but keep an eye out for those extra attacks.
Adjacent enemies may trigger an attack of opportunity (AoO) whenever you move; capable enemies of same or faster movement speed will have a 1/3 chance to get a free attack[1] when you do so, with the attack taking no time to execute.
Attacks of opportunity are for most intents and purposes equal to a regular melee attack, though many movement related attack flavours (engulf, ensnare, constriction, trample, sleep, certain distortion effects[2], phantom's blink with, and blink frog's blink) don't trigger, and self-destructing enemies like lurking horrors and creeping infernos won't blow up.
Contents
Avoiding
There are several situations when monsters won't be able to get free attacks on you:
- Monsters that are slower than you don't get a free attack.
- Confused, fleeing, or incapacitated (asleep, constricted, caught in a web or net) monsters are unable to chase you.
- You won't take an attack when swapping places with an allied monster, which gets in the way.
- Even monsters with reaching attacks must be right next to you to launch a free attack. You can kite a gnoll with a polearm or a snapping turtle absolutely safely as long as you have at least a tile of distance from them.
- The player becomes immune to attacks of opportunity while performing martial attacks or rampaging.
- Zin's Sanctuary prevents attacks for players inside it. This protection is retroactive - if you were previously outside the area and moved inside, the Sanctuary still protects you.
Strategy
Watch out! When retreating, a normal-speed enemy gets more attacks than an adder in <0.28 (and fast monsters get even more attacks). Always try to reposition (say, to a upstairs) before you get adjacent to them.
Should the player need to kite a dangerous monster, a variety of disengagement tools are at their disposal. Speed-enhancing effects like Swiftness (note that once it runs out, it slows you) or a potion of haste will negate the effects of opportunity attacks, and various Translocations like Blink, Iskenderun's Mystic Blast or Dispersal act as an instant way of removing oneself from melee combat. Items like curare darts, scroll of butterflies, or a phial of floods should also be considered for their disabling or displacing effects.
Players with access to summons or allies, like followers of Hepliaklqana, can swap places with their companion to create a one-tile gap with the monster.
Notes
- ↑ Slow attacking monsters lose "energy" after an attack of opportunity, so you can get a tile after an ogre swings at you once or twice.
- ↑ Although distortion-branded attacks of opportunity cannot blink or banish you, their chance to add extra damage rises in compensation. Compared to regular attacks, the chance of adding 1-7 damage rises from 35% to 47%, the chance of extra 3-26 damage goes up from 25% to 33%.
History
- In 0.31, attacks of opportunity will be changed:
- Monsters now get an attack when they pursue a retreating player while remaining in melee range (instead of when you move away). This means that polearm users can perform attacks of opportunity when you're 2 tiles away. Being faster than your enemy no longer provides immunity to AoO.
- There are no special cases with status effects: confused monsters can now pursue you ~41.25% of the time.
- Various movement-related attack flavours, like trample and constrict, can happen during an attack of opportunity.
- When making an opportunity attack, monsters have a 50% chance to lose 0.1 turn. This coincides with the return of energy randomisation.
- Attacks of opportunity were introduced in 0.29, as a replacement for energy randomisation.