Oh, stupid me. I was looking at an older text file when I pasted here. Replace the following snippets of code...
Code:
foreach pick in hero from BaseRace
DC = 10 + round(each.field[rHitDice].value / 2, 0, -1) + hero.childfound[aCON].field[aModBonus].value
nexteach
... with this much more efficient code...
Code:
DC = 10 + round(hero.tagcount[Classes.Race] / 2, 0, -1) + hero.childfound[aCON].field[aModBonus].value