Pulse Bat Doesn't Always Activate

Should Pulse Bat’s Echolocation ability activate for every attack? Even if it does 0 damage or is dodged?

I’m noticing that it doesn’t always activate its ability.

pulse_bat.bmp (2.64 MB)

It won’t activate when the Pulse Bat attacks because it only works when its allies attack.

I just realized that log doesn’t illustrate the bug. Here is a better example.

pulse_bat_2.bmp (2.76 MB)

Dodges don’t activate on-attack traits. A little unintuitive based on how the trait description is worded, of course!

What about attacks that do zero damage? Do those also not activate on-attack abilities?