fixed crashing issue

The problem was that the max/min damage variables were the same (Max
must be greater than min)