Ok, removed the sources (except the Eberron source for the Deathless type), and added the following statement:
Code:
~ Also do nothing if we don't have racial hit dice
doneif (herofield[tHitDice].value - herofield[tLevel].value = 0)
I don't know if this is the way you are supposed to count racial hit dice, but it seems to be working. Adding the file to the 1.7 dropbox release folder.