separated base upgrade cost into variable, decreased by 1