Added stat randomness, improved escape and crit function.