Use those waypoints, set the ID of your main weapon, when you are attacking Bug, Snake, Spider will change to the warrior weapon, when he attacks a scorpion he will use the wizard's.
Here you have a waypoints of the scorpions, I recommend you check them and edit them to your liking.
A greeting