Problem on shockwave skill

I haven’t messed with ai but I wonder if you can prevent move to to a boil as well for the character so only if is walking on its movement component