detecting when mobs use certain attacks

Warden is going to be my example, since I'm also wanting to detect one of its attacks anyway Is there a way to detect when it uses its sonic boom attack?
Continue to help post