You can use a Damage Detection System for that.
If you want a more unique approach you could utilize the "A Unit Attacks" event and add a 100% Critical Strike ability.
Where after you start a countdown timer which will remove the ability again once it reaches 0.
That means the more attack speed the unit has the more it can utilize the Critical Strike.
Lol. I actually love this idea myself ^^