Events: Unit starts the effect of an ability
Conditions: (Ability being cast) equal to Whatever
Actions: Set CooldownInProgress(Player number of (Owner of (Casting unit))) equal to True
Wait Y seconds
Set CooldownInProgress(Player number of (Owner of (Casting unit))) equal to False