well if you made an entire caster system which triggered all the damage coming from spells, it would be easy to add in the crit chance. Otherwise, there's no super good way to check unless the single ability was triggered to crit, or you checked for every ability cast.