Hello I saw your post on Update Native List
I just think about autocast attacks, how to detect if the attack have modified by an auto-cast
Case1/ Auto-cast is on but not enough mana the attack is launched and when it reaches the target the attacking unit finally get mana.
Case2/ Auto-cast is off when the attack is launched and when it reaches the target the attacking unit finally activate the auto-cast.
For these 2 examples when can't really check that if the caster really uses the auto-cast