Sword AI are meant to rush in and kill enemies at the cost of their own death this bug is kinda present with enemies that only have a defib which causes them to use it as a ranged gun this is basically retreat behavior that occurs when enemies are outnumbered