I noticed an error on both the standard character sheet and the Advanced sheet further down on this forum.
Flatfooted AC doesn't ignore your dexterity modifier -- you don't get your dex BONUS, but you still take a dex PENALTY.
I have dex 8 -- if I'm naked and flatfooted, my AC is 9, not 10. You can never have flatfooted AC that's higher than your normal AC (unless you have some bizarre special ability, of course).
So, does anyone know how to do a conditional in XML?
The code lists the elements of Flatfooted AC:
<source name="acsizebonus" op="+" />
<source name="acarmorbonus" op="+" />
<source name="acshieldbonus" op="+" />
<source name="acnaturalbonus" op="+" />
and so on.
How would I handle adding <source name="acdexbonus" op="+" /> only when it's less than 0?