This is the basic structure of the damage formula you could use. Please note, this is Ruby for VX Ace, so the exact terms would vary, but perhaps this is enough to get you started.
if b.result.critical; damage-formula-one; end;damage-formula-two
The first damage formula would not include a term such as - b.def * 2; the second would be your normal damage formula.