The priest will decide a price for that animal. It does not make any difference if the animal is good or bad. If the priest decides on a price, then that is the price for the animal.
But if the person gives his field after the Jubilee, then the priest must calculate its exact price. He must count the number of years to the next year of Jubilee. Then he must use that number to decide the price.