Fixed overflow on AC and ATK values that can go out of range.