From: <ama...@us...> - 2011-04-23 01:24:32
|
Revision: 14847 http://pcgen.svn.sourceforge.net/pcgen/?rev=14847&view=rev Author: amaitland Date: 2011-04-23 01:24:26 +0000 (Sat, 23 Apr 2011) Log Message: ----------- Prepare for Paizo OOC release - Massive Updates Modified Paths: -------------- Trunk/content/outofcycledatasets/5164_paizo_pathfinder_apg_alpha_update/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt Modified: Trunk/content/outofcycledatasets/5164_paizo_pathfinder_apg_alpha_update/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt =================================================================== --- Trunk/content/outofcycledatasets/5164_paizo_pathfinder_apg_alpha_update/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt 2011-04-23 01:12:57 UTC (rev 14846) +++ Trunk/content/outofcycledatasets/5164_paizo_pathfinder_apg_alpha_update/outputsheets/d20/fantasy/pdf/fantasy_master_std.xslt 2011-04-23 01:24:26 UTC (rev 14847) @@ -1,4 +1,4 @@ -<!-- $Id: fantasy_master_std.xslt 14559 2011-02-12 21:14:22Z amaitland $ --> +<!-- $Id: fantasy_master_std.xslt 14724 2011-03-17 04:09:21Z amaitland $ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" @@ -3117,14 +3117,53 @@ </fo:table-cell> </fo:table-row> <fo:table-row keep-with-next.within-column="always"> +<!-- DATA-73 Temporary Work Around --> <fo:table-cell> <xsl:call-template name="attrib"> <xsl:with-param name="attribute" select="'weapon.hilight'"/> </xsl:call-template> <fo:block font-size="8pt"> + <xsl:choose> + <xsl:when test="contains(name, 'Flurry')"> + <xsl:variable name="flurry_base" select="number(substring(substring-before($to_hit,'/'),2))"/> + <xsl:variable name="monk_level" select="number(substring-before(substring-after(class,'Mnk'),' '))"/> + <xsl:choose> + <xsl:when test="($monk_level >= 8) and ($monk_level <= 10)"> + <xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/> + </xsl:when> + <xsl:when test="($monk_level >= 11) and ($monk_level <= 14)"> + <xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 10,'+#;-#')"/> + </xsl:when> + <xsl:when test="$monk_level = 15"> + <xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 10,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 10,'+#;-#')"/> + </xsl:when> + <xsl:when test="$monk_level >= 16"> + <xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 5,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 10,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 10,'+#;-#')"/>/<xsl:value-of select="format-number($flurry_base - 15,'+#;-#')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$to_hit"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$to_hit"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </fo:table-cell> + + +<!-- DATA-73 Replacing This Block> + <fo:table-cell> + <xsl:call-template name="attrib"> + <xsl:with-param name="attribute" select="'weapon.hilight'"/> + </xsl:call-template> + <fo:block font-size="8pt"> <xsl:value-of select="$to_hit"/> </fo:block> </fo:table-cell> +<End DATA-73 Work Around --> + <fo:table-cell> <xsl:call-template name="attrib"> <xsl:with-param name="attribute" select="'weapon.hilight'"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |