Dynamic Property in Prototype with unique Max Value per unit

I am designing a mod right now and I need basically every unit to have a dynamic property that represents its current health, but all units have their own individual maximum health. I wondered if there was a way to set up my main Unit Prototype with that dynamic Health property while still having individual units know not to set their values above the Maximum Health which is unique to each unit.