RNG based when you take a hit during a fight. Nothing you can really do about it. You go to the vendomat to fix btw.