It will only attack using the Beam ability for moderate non-elemental damage, but when damaged by Lightning-elemental spells, it will 'malfunction' and may start attacking its own party. It is not a difficult enemy to defeat.