Update:
I added the following line to the scriptand chnged it's phase from Post-Attributes to Attributes, and it seems to work:
Code:
hero.herofield[tMaxDex].value = 0 to the script
I then checked to see if the Dex modifier was still being added to dex-based weapon attack and damage rolls, and that seem to be unaffected, so that is a plus.
This feels a little ham-handed and I'm wondering if there is a more elegant way to handle this.