Barbarian Rage outputs incorrect duration on PDF (first page)

Description

at the bottom of the first PDF page, with the checkboxes for 'per day' uses of the Barbarian rage, it gives a summary of the stat modifiers and states 7 rounds.

The duration is actually based on the characters Con stat and '7' is not always correct.

I cannot find this text defined anywhere in the .LST data, however it does appear in the temporary output .xml that is fed into the xlst as below.

<!-- If character can Rage -->
<rage>
<uses_per_day>4</uses_per_day>
<uses_per_day.title>Uses per day</uses_per_day.title>
<description>The Barbarian gains +4 to Strength, +4 to Constitution, and a +2 morale bonus on Will saves, but suffers a -0 penalty to AC for 7 rounds. At the end of the rage, the barbarian is fatigued (-2 to Strength, -2 to Dexterity, can't charge or run) for the duration of that encounter. The barbarian can only rage once per encounter. Entering a rage takes no time itself, but the barbarian can only do it during his action.</description>
</rage>

Environment

None

Activity

Show:
Andrew Maitland
October 25, 2016, 4:58 AM

A simple search would have found this:

</#if> <!-- Character Rage -->
<#if (pcvar("VAR.RageTimes") >= 1) > <!-- If character can Rage -->
<rage>
<uses_per_day>${pcstring('VAR.RageTimes.INTVAL')}</uses_per_day>
<uses_per_day.title>Uses per day</uses_per_day.title>
<#if (pcboolean('ABILITYALL.Special Ability.0.TYPE=RageDescription.HASASPECT.RageDescription')) >
<description>${pcstring('ABILITYALL.Special Ability.0.TYPE=RageDescription.ASPECT.RageDescription')}</description>
<#else>
<description>The Barbarian gains +${pcstring('VAR.RageStrBonus.INTVAL')} to Strength, +${pcstring('VAR.RageConBonus.INTVAL')} to Constitution, and a +${pcstring('VAR.RageMorale.INTVAL')} morale bonus on Will saves, but suffers a -${pcstring('VAR.RageACPenalty.INTVAL')} penalty to AC for ${pcvar('VAR.RageConBonus.INTVAL+3')} rounds. At the end of the rage, the barbarian is fatigued (-2 to Strength, -2 to Dexterity, can't charge or run) for the duration of that encounter. The barbarian can only rage once per encounter. Entering a rage takes no time itself, but the barbarian can only do it during his action.</description>
</#if>
</rage>

Andrew Maitland
October 25, 2016, 4:59 AM

Anyways, not a hard-coded value, so what is the issue being asked to fix here?

Andrew Maitland
October 25, 2016, 5:10 AM

So, what is the wrong duration?
BONUS:VAR|RageDuration|CON+3+(RageConBonus/2)

RageDuration 0 + 3 + "Con Bonus" + 2 so 5+whatever the real con bonus is.

Andrew Maitland
October 25, 2016, 5:10 AM

Ahh, looks like the sheet is adding 3.

Dave Griffin
November 13, 2016, 10:47 AM

Thank you.

On 13 Nov 2016 08:42, "JIRA (for Andrew Maitland )" <

Assignee

Andrew Maitland

Reporter

Dave Griffin

Labels

None

Epic/Theme

None

Pending User Input

No

Components

Fix versions

Affects versions

Priority

Minor
Configure