hmmm no idea really the coding seems correct and if defunit2 appears it can't be that you forgot to get 20 + PD either.. the other units are coded correctly? I guess they must or there would be an error.
I've compared it to code of Amos (insects in my dom3 K mod, and my own nations which have working PD.) Seems like a lot htough 20 1 and 20 1b.. mayeb the game is protesting against that

__________________
Want a blend of
fantasy and
sci-fi? Try the total conversion
Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the
Dragons, Magic Incarnate nation.
New and different undead nation? Try
Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map
Gang Wars.