Brain of Confusion

The Brain of Confusion is an Expert Mode accessory item obtained from the Treasure Bag dropped by the Brain of Cthulhu. Upon taking damage with the Brain of Confusion equipped, nearby enemies have a chance of receiving the Confused debuff for at minimum 1.5 seconds. The chance, duration, and area of effect of the debuff are based on the amount of damage taken.

In the, the player wielding it has a chance of dodging an attack, which inflicts the Cerebral Mindtrick debuff on them for four seconds. It increases critical strike chance by 10% /  20%, despite being a debuff. While the debuff is active, the player cannot dodge another attack.

Inflicting Confused on enemies
The base chance to inflict the Confused debuff is. It is increased by per point of damage taken, hence with 100 or more damage taken, the debuff is guaranteed to be inflicted.

The debuff duration is determined randomly, and the bounds depend on the amount of damage taken:

$$duration_{min} = \left( 90 + \left\lfloor \frac{dmg}{3} \right\rfloor \right) \div 60$$, in seconds

$$duration_{max} = \left( 300 + \left\lfloor \frac{dmg}{2} \right\rfloor \right) \div 60$$, in seconds

The range within which enemies are affected is determined randomly as well. There are certain damage thresholds that affect which equation to use:

$Brain of Confusion-math-1$

$$range_{max} = \left\{ \begin{alignat}{2} & dmg \leq 100 \ && : \           2 * dmg + 300 \\ 100 < \, & dmg \leq 233 \ && : \ \frac{3}{2} * dmg + 350 \\ 233 < \, & dmg \leq 500 \ && : \ \frac{3}{4} * dmg + 525 \\ 500 < \, & dmg         \ && : \ \frac{3}{16} * dmg + 806.25 \\ \end{alignat} \right.$$

The values are in pixels; divide by 16 to obtain tiles.

Examples:

Tips

 * In the, the Brain of Confusion is sometimes considered to be a disappointment compared to its Corruption counterpart, the Worm Scarf, which reduces damage taken by 17%. Despite this, it can still shine in certain moments, such as during events, or for preventing the player from being swarmed by enemies such as Cave Bats.
 * In the, the added chance to dodge nearly matches the percentage of damage the Worm Scarf prevents along with the extra critical bonus. This means that both accessories will, on average, prevent the same amount of damage but in a different way. This makes the Brain of Confusion significantly less underwhelming and is arguably even better than the Worm Scarf, depending on the scenario. Often in Master Mode, taking damage in the first place can be extremely dangerous, so a chance to dodge can prove to be more useful in tight situations as taking 17% reduced damage from the Worm Scarf may still be too much.
 * The short-term increase from the critical hit chance increase after a successful dodge can allow the player to deal much more damage to enemies or bosses for a short period of time. Some could consider this to solidify the Brain of Confusion's place as the  version of the Worm Scarf.
 * However, the best of both worlds would be the use of both accessories together, significantly increasing the player's chances of survival, while also improving capability.
 * Its dodge ability stacks with the effect of the Black Belt/Master Ninja Gear and Holy Protection. Together with the Black Belt/Master Ninja Gear, the combined chance to dodge an incoming attack is . This can be very useful in Master Mode, especially against the daytime Empress of Light.
 * Since Cerebral Mindtrick is a debuff, it can be removed by the Nurse. While this removes the critical strike chance bonus, it allows dodging another attack immediately.