RE: [pcgen] RE: [BUG] Bastard sword issues
> -----Original Message-----Hi David,
> From: firstname.lastname@example.org [mailto:email@example.com] On
> Behalf Of David Jurgens
> Sent: Tuesday, May 16, 2006 6:43 PM
> To: firstname.lastname@example.org
> Subject: [pcgen] RE: [BUG] Bastard sword issues
> I tested this issue using 5.8.1 with java 1.5.0_04-b05 and loading the
> full RSRD.
> When using the output sheet,
> csheet_fantasy_std_blackandwhite.xslt, the
> weapons block for the bastard sword correctly showed all the available
> styles (1H-P, 2H, 2W-P-(OH), etc...). When I used the output sheet,
> csheet_fantasy_simple_blackandwhite.xslt, the weapons block only shows
> the to hit and damage values for 1H-P.
> I checked the file fantasy_master_simple.xslt which defines
> the weapons
> output block for the 'simple' output sheets. In this file
> there is the
> following test: <xsl:when test="w1_h1_p/to_hit='N/A' ">. If
> this passes
> the test, the values stored in 'w1_h2/to_hit' and 'w1_h2/damage' are
> used for output. If not, the values stored in 'w1_1h_p/to_hit' and
> 'w1_1h_p/damage' are used instead. To the best of my knowledge,
> 'w1_h1_p/to_hit' is only set to 'N/A' if the weapon can not
> be used one
> handed. I think that a better check would be to see how the
> weapon was
> I wanted to test this but did not know what variable name to use. I
> think that this problem could be easily solved with a little change to
> the fantasy_master_simple.xslt output sheet.
> I do not know all the ins and outs of the output sheets know do I know
> all the other issues that go into setting the values. So, I am sure
> that there will be other issues to consider when fixing this issue. I
> am sure that one of the OS monkeys can figure out this problem.
> David W. Jurgens
Thank you for taking the time to report a bug. This issue with the simple
sheet has already been fixed in our latest stable release PCGen 5.10.0 and
should not be a problem any longer.
If you're interested, both your suggestion and the existing one had to be
combined. The old version wouldn't catch normal weapons that were wielded
two-handed. OTOH only using the wield category would leave out two-handed
weapons that are carried but not equipped.
PCGen Content Silverback
Nothing is what it seems.
(John Baxter in "Don't look now", 1973)