CMB displayed "+-1"

Description

In the PDF standard sheet, a character with a negative Str mod (my case is a 7 Str, 12 Dex low level witch) has her CMB displayed as “+-1”; I was expecting “−1”. I think the issue also appeared in melee ranged when the total was less than 0 (1st level).
This is for Pathfinder, but I think the issue is not related to it.

Environment

None

Activity

Show:
Vincent Hatakeyama
September 1, 2013, 9:24 AM

The melee bonus is displayed “-1” so no problem there. Some maneuvers are “+-1” and others are “-1”.

Andrew Maitland
September 1, 2013, 3:07 PM

Specify which ones are having an issue please.

Vincent Hatakeyama
September 1, 2013, 3:30 PM
Edited

This is the maneuver with display issue:
GRAPPLE TRIP DISARM SUNDER

Andrew Maitland
September 1, 2013, 10:10 PM

Stefan this is your custom code causing the issue, specifically the iterative.attack code call. It's adding an extraneous "" in front of the values which aren't always a "".

On line 2726 on the fantasy_master_std.xslt

You might want to use the cancel feature of
<xsl:when test="starts-with($attack, '+')"> to nullify the + if it's not valid.

Stefan Radermacher
September 3, 2013, 1:36 AM

While I'm reasonably sure that's not my code, this is now fixed as of Subversion revision 21287.

Assignee

Stefan Radermacher

Reporter

Vincent Hatakeyama

Labels

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure