U can make some potion before fight tha mind flayer like heal and anti-confusion and then u can use it during battle.