How exactly is crit damage calculated?