Hmm... I see your point. I guess I've misconstrued the "how" slightly, in that case. Perhaps it's more of an up-front check along the lines of: 'what building do I have, and is it the "base requirement" for the unit that you've asked me to train? If it is, I shall ignore the valour bonus entry in the unit prod.' Then the second level of decision would be the calculation of what the available bonus would be...

Again short of time... tmrw!