Re: [pcgen] [BARAK[Re: Dodge + PDF Csheet error
- <quote who="merton_monk">
> --- In email@example.com, "blue_seiryu" <blue_seiryu@y...> wrote:The HTML sheets use this:
>> The correct AC should be 13. Without the dodge feat, it is a 12.
>> I load the sheet in internet explorer, the calculations are right,
>> will show 13, +2 from dexterity, and the misc modifier being +1.
>> I export to PDF standard csheet format, the AC total is 13 which is
>> correct, it shows +2 from dexterity and +2 from Misc which is not
>> correct. It should be a +1, for some odd reason the math is
>> just the numbers on the sheet are not. How would I fix this?
> I suspect that the problem is in the xml file you're using to export
> to pdf. It must be using a token that is double-counting misc
> modifiers somehow. It should be using the same tokens as the html
> sheet. I'll flag this so Barak knows about it. Thanks for pointing
> this out!
The PDF sheets use:
Misc: |AC.Misc| + |AC.ClassDefense| + |AC.Dodge|
I used misc as the sum of the three as Dodge bonuses and class defense
bonuses are not misc bonuses, but need somewhere to be displayed.
In miscinfo.lst AC.MISC is defined as:
Where as is should problably be:
It all depends on wether you consider a 'dodge' bonus to be a DODGE bonus
or a MISC bonus, or a DODGE bonus and a MISC bonus.
Personally I do not like the current idea that a misc bonus is "anything
that can not be put into one of the other catergories, plus all of the
dodge and class bonuses". A misc bonus by it's very name implies:
"anything that can not be put into one of the other catergories"