Modification to stamina-loss algorithm.