Ghosts (Exorcism) or Beetles (Swarm) wont trigger Legion Commander's Moment of Courage in Dota 2.

1. Get Weaver with Swarm/Death Prophet with Exorcism and LC with Moment of Courage
2. Cast Swarm/Exorcism and dont attack with that hero
3. Send LC to attack Death Prophet/Weaver

Result: -
Expected Result: Ghosts' and Beetles' attacks trigger MoC