The transfer case is a complete separate unit. It bolts up to the trans but doesn’t share fluid and it it goes bad it won’t damage the transmission. At least you know what you have done on this car and if you get another one it could need all the things that you have done to this one already. If the mechanic is positive the case is bad I would replace it with a guarantee that it’s fixed before any money is exchanged.