Right now, the dice engine considers a roll of 1 to be a crit failure and a roll of the maximum value to be a crit success. Those dice are marked in red or green, respectively (or in blue for inline rolls containing both). This is fine for the majority of situations, but there are a few cases where this is not enough, for example weapons with a larger crit range in D&D or Pathfinder. I would suggest something similar to the success and failure modifiers, with the primary difference that the dice would report their values instead of the number of successes. For example, using 'csCP' as an example syntax, "1d20cs>18 + @{Whatever mods}" could be the roll for a Rapier (critting on an 18-20); it would report the full value for the roll including all other values, but be highlighted in green for a base roll of 18, 19 or 20. Essentially, "d6cs6cf1" would be equivalent to "d6" (Substitute various dice size for the 6s) while allowing the possibility of larger or non-existent crit success and failure ranges.