AI Break is a glitch that makes it impossible for enemies to target the player, and it can be used to intentionally keep, for example, bosses from moving and attacking. However, it can also be done accidentally, causing bosses to not react at the start of the fight or to run into the player ("bulldozer") without attacking.
Note : this page doesn't cover the Drop AFK Glitch that allow the player to bypass Boss AI triggers in a different way.
Mechanics
The game maintains a target list which contains all characters targetable by the AI and it updates this list on a cycle of 300 frames (5.00s). The update happens over the course of one frame. The timer for updating the list is paused during cutscenes.
If the player character is in an unloaded state when the list updates, they do not get added to the list which prevents the AI from targeting them until the next time the list updates (this is called a "cycle skip"). That is unless the player attacks an enemy which allows it to target them normally regardless of whether the player character is in the target list or not.
The unloaded state is triggered by actions that can change the player model, namely:
- Toggling between two different weapons lasting 3 frames.
- Changing equipment in weapon and armor slots, the first arrow slot, or the first bolt slot lasting 4 frames.
- Removing equipment in weapon and armor slots, the first arrow slot, or the first bolt slot lasting 3 frames.
How to Perform an AI Break
In order to abuse this mechanic, specific setups using exact action chains have to be created that use the animation queueing system to frame perfectly execute actions for the player at the same time every time. Without specific setups, intentional AI cancels are very unreliable.
Every setup will begin with a quit out and reload. On reload, the game will update the list on the first frame of gameplay and start the first 300 frames cycle. The player character begins the stand up animation on the same frame. The stand up animation, unfortunately, does not allow actions to be queued up like most other animations. An exception to this however are untwohand animations.
Untwohand animations are automatically triggered if the player is two-handed and unequips a weapon that they have equipped in a slot that they're currently not switched to. This mechanic can be used by unequipping a weapon during the stand up animation and it will automatically be executed once the stand up animation has finished.
Out of the untwohand animation in turn the player can then easily queue up any other actions such as toggling and have them be executed frame perfectly in a consecutive chain of actions.
This chain of actions has to be designed in such a way that the unload of a toggle coincides with the 300th frame of a cycle. This will prevent the player from being added to the list of targetable actors. Since a toggle will unload the player for 3 frames, there is a 3 frame window to achieve this which gives some leniency to calculating/designing action chains.
Note that for bosses, the entrance must be fast. If you enter the fog gate too late, the frames continue, and the AFK strategy won't work. To improve your chances, bind the action button to the scroll wheel (up or down). The scroll wheel is powerful because it generates a high volume of inputs rapidly.
If you want to create your own AFK setup for a specific boss, you can, but it requires a very deep understanding of the game and its frame mechanics. Because boss entrances do not all function the same way, you cannot use the same AFK setup everywhere. For general areas, however, there is one Infinite AFK setup (shown below) that works everywhere.
External Resources
- Infinite AFK tutorial https://youtu.be/zTiy2PzQPks?list=PLgswmMvZsZ1VAxiXJD9XWuywhHMlUGoo1&t=50 for any% by aeiou on YouTube.
- O&S AFK https://youtu.be/TjWrZ4C79E8 by m3dic on YouTube.
- Nito infinite AFK https://youtu.be/25BiUh-Y0N8 by m3dic on YouTube.
- Hollow room AFK https://youtu.be/Ly-Bbe7AnXY by m3dic on YouTube.
- Gwyndoline AFK https://youtu.be/hj9f3zFmUTs by aeiou on YouTube.
- Guardian infinite AFK https://youtu.be/UU3d3uikkiI by San on YouTube.