What has absolutely worked for me to fix the targeting problem in this and other similar macros is to use a timer to prevent switching targets too fast after casting a spell. So like this: Everywhere you change targets: if !timer assist/target And then every time you cast a spell: varset timer 1s ca...