change your target setting in character configuration to not target non party members and npcs.

All done.