Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 54 additions & 32 deletions outputsheets/d20/5e/htmlxml/common/common-spells.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -155,38 +155,6 @@
</tr>
</table>
<!-- End Spell List Header Table (Known) -->
<!-- Start Known Spells -->
<table width="100%" cellspacing="0" cellpadding="2" summary="Spell List">
<@loop from=0 to=pcvar('MAXSPELLLEVEL.${class}') ; level , level_has_next><#-- TODO: Loop was of early exit type 1 -->
<@loop from=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') to=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') ; spellcount , spellcount_has_next>
<#if (spellcount = 0)>
<#else>
<tr>
<td colspan="10" class="splevel"><b>LEVEL ${level}</b></td>
</tr>
<#if pcboolean("SPELLLISTMEMORIZE.${class}") >
<#else>
<tr>
<td colspan="10" class="splevel"><b>
<@loop from=1 to=pcvar("COUNT[SPELLLISTCAST.${class}.${level}]")>&#9744;</@loop>
</b></td>
</tr>
</#if>
<@spellBlock class=class spellbook=spellbook level=level isKnownList=true />

</#if>
</@loop>
</@loop>
<tr>
<td colspan="10" bgcolor="black"><font style="font-size: x-small" color="white">* = Domain/Specialty Spell</font></td>
</tr>
</table>
<br />
</#if>
</@loop>
</@loop>
<!-- End Known Spells -->
<!-- ================================================================ -->
<!-- Start Prepared Spells -->
<@loop from=pcvar('COUNT[SPELLRACE]+COUNT[SPELLBOOKS]-2') to=pcvar('COUNT[SPELLRACE]+COUNT[SPELLBOOKS]-2') ; memorised , memorised_has_next>
<#if (memorised = 0)>
Expand Down Expand Up @@ -365,3 +333,57 @@

<!-- End Prepared Spells -->
<!-- ================================================================= -->
<!-- Start Used Spell Slots Table-->
<table width="100%" cellspacing="0" cellpadding="2" summary="Used Spell Slots">
<tr>
<td colspan="${pcvar('MAXSPELLLEVEL.${class}')+2}" class="sphead"><b>Used Spell Slots</b></td>
</tr>
<@loop from=1 to=pcvar('MAXSPELLLEVEL.${class}') ; level , level_has_next><#-- TODO: Loop was of early exit type 1 -->
<#if (level < 10 && pcvar(pcstring('SPELLLISTCAST.${class}.${level}')) > 0)>
<tr>
<td class="sptab"><b>LEVEL ${level}</b></td>
<td>
<@loop from=0 to=pcvar(pcstring('SPELLLISTCAST.${class}.${level}'))-1 ; slot>
<#if (slot > 0)>
&nbsp;&nbsp;
</#if>
<b>&#x274F;</b>
</@loop>
</td>
</tr>
</#if>
</@loop>
</table>
<!-- End Used Spell Slots Table -->
<!-- Start Known Spells -->
<table width="100%" cellspacing="0" cellpadding="2" summary="Spell List">
<@loop from=0 to=pcvar('MAXSPELLLEVEL.${class}') ; level , level_has_next><#-- TODO: Loop was of early exit type 1 -->
<@loop from=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') to=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') ; spellcount , spellcount_has_next>
<#if (spellcount = 0)>
<#else>
<tr>
<td colspan="10" class="splevel"><b>LEVEL ${level}</b></td>
</tr>
<#if pcboolean("SPELLLISTMEMORIZE.${class}") >
<#else>
<tr>
<td colspan="10" class="splevel"><b>
<@loop from=1 to=pcvar("COUNT[SPELLLISTCAST.${class}.${level}]")>&#9744;</@loop>
</b></td>
</tr>
</#if>
<@spellBlock class=class spellbook=spellbook level=level isKnownList=true />

</#if>
</@loop>
</@loop>
<tr>
<td colspan="10" bgcolor="black"><font style="font-size: x-small" color="white">* = Domain/Specialty Spell</font></td>
</tr>
</table>
<br />
</#if>
</@loop>
</@loop>
<!-- End Known Spells -->
<!-- ================================================================ -->
52 changes: 52 additions & 0 deletions preview/d20/5e/Standard.htm.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,58 @@ Wisdom
</tr>
</table>
<!-- STOP Saving Throws Table -->
<!-- START Melee and Range Attack Table -->
<table width="100%" summary="Melee ~ Ranged Attacks">
<tr>
<td align="center"></td>
<td align="center" width="60" valign="bottom" class="font6">TOTAL</td>
<td align="center"></td>
<td align="center" width="60" valign="bottom" class="font6">BASE ATTACK</td>
<td align="center"></td>
<td align="center" width="25" valign="bottom" class="font6">STAT</td>
<td align="center"></td>
<td align="center" width="25" valign="bottom" class="font6">SIZE</td>
<td align="center"></td>
<td align="center" width="25" valign="bottom" class="font6 epic">EPIC</td>
<td align="center" class="epic"></td>
<td align="center" width="25" valign="bottom" class="font6">MISC</td>
<td align="center"></td>
<td align="center" width="25" valign="bottom" class="font6">TEMP</td>
</tr>
<tr>
<td align="center" bgcolor="black"><font style="font-size:10pt" color="white"><b>MELEE</b></font><font style="font-size:5pt" color="white"><br />ATTACK BONUS</font></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.MELEE.TOTAL')}</b></td>
<td align="center" class="font7"><b>=</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.MELEE')}<br /></b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.MELEE.STAT')}</b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.MELEE.SIZE')}<br /></b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="border10 epic"><b>${pcstring('VAR.charbonusto("COMBAT","EPICAB").INTVAL')}<br /></b></td>
<td align="center" class="font7 epic"><b>+</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.MELEE.MISC')}<br /></b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="tempborder"><br /></td>
</tr>
<tr>
<td align="center" bgcolor="black"><font style="font-size:10pt" color="white"><b>RANGED</b></font><font style="font-size:5pt" color="white"><br />ATTACK BONUS</font></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.RANGED.TOTAL')}</b></td>
<td align="center" class="font7"><b>=</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.RANGED')}<br /></b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.RANGED.STAT')}</b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.RANGED.SIZE')}<br /></b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="border10 epic"><b>${pcstring('VAR.charbonusto("COMBAT","EPICAB").INTVAL')}<br /></b></td>
<td align="center" class="font7 epic"><b>+</b></td>
<td align="center" class="border10"><b>${pcstring('ATTACK.RANGED.MISC')}<br /></b></td>
<td align="center" class="font7"><b>+</b></td>
<td align="center" class="tempborder"><br /></td>
</tr>
<tr><td></td></tr>
</table>
<table width="100%" summary="Saving Throws">
<tr>
<td align="left" valign="top" class="border8"><div class="font6">CONDITIONAL MODIFIERS:</div>
Expand Down
86 changes: 54 additions & 32 deletions preview/d20/5e/common/common-spells.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -155,38 +155,6 @@
</tr>
</table>
<!-- End Spell List Header Table (Known) -->
<!-- Start Known Spells -->
<table width="100%" cellspacing="0" cellpadding="2" summary="Spell List">
<@loop from=0 to=pcvar('MAXSPELLLEVEL.${class}') ; level , level_has_next><#-- TODO: Loop was of early exit type 1 -->
<@loop from=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') to=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') ; spellcount , spellcount_has_next>
<#if (spellcount = 0)>
<#else>
<tr>
<td colspan="10" class="splevel"><b>LEVEL ${level}</b></td>
</tr>
<#if pcboolean("SPELLLISTMEMORIZE.${class}") >
<#else>
<tr>
<td colspan="10" class="splevel"><b>
<@loop from=1 to=pcvar("COUNT[SPELLLISTCAST.${class}.${level}]")>&#9744;</@loop>
</b></td>
</tr>
</#if>
<@spellBlock class=class spellbook=spellbook level=level isKnownList=true />

</#if>
</@loop>
</@loop>
<tr>
<td colspan="10" bgcolor="black"><font style="font-size: x-small" color="white">* = Domain/Specialty Spell</font></td>
</tr>
</table>
<br />
</#if>
</@loop>
</@loop>
<!-- End Known Spells -->
<!-- ================================================================ -->
<!-- Start Prepared Spells -->
<@loop from=pcvar('COUNT[SPELLRACE]+COUNT[SPELLBOOKS]-2') to=pcvar('COUNT[SPELLRACE]+COUNT[SPELLBOOKS]-2') ; memorised , memorised_has_next>
<#if (memorised = 0)>
Expand Down Expand Up @@ -365,3 +333,57 @@

<!-- End Prepared Spells -->
<!-- ================================================================= -->
<!-- Start Used Spell Slots Table-->
<table width="100%" cellspacing="0" cellpadding="2" summary="Used Spell Slots">
<tr>
<td colspan="${pcvar('MAXSPELLLEVEL.${class}')+2}" class="sphead"><b>Used Spell Slots</b></td>
</tr>
<@loop from=1 to=pcvar('MAXSPELLLEVEL.${class}') ; level , level_has_next><#-- TODO: Loop was of early exit type 1 -->
<#if (level < 10 && pcvar(pcstring('SPELLLISTCAST.${class}.${level}')) > 0)>
<tr>
<td class="sptab"><b>LEVEL ${level}</b></td>
<td>
<@loop from=0 to=pcvar(pcstring('SPELLLISTCAST.${class}.${level}'))-1 ; slot>
<#if (slot > 0)>
&nbsp;&nbsp;
</#if>
<b>&#x274F;</b>
</@loop>
</td>
</tr>
</#if>
</@loop>
</table>
<!-- End Used Spell Slots Table -->
<!-- Start Known Spells -->
<table width="100%" cellspacing="0" cellpadding="2" summary="Spell List">
<@loop from=0 to=pcvar('MAXSPELLLEVEL.${class}') ; level , level_has_next><#-- TODO: Loop was of early exit type 1 -->
<@loop from=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') to=pcvar('COUNT[SPELLSINBOOK.${class}.${spellbook}.${level}]') ; spellcount , spellcount_has_next>
<#if (spellcount = 0)>
<#else>
<tr>
<td colspan="10" class="splevel"><b>LEVEL ${level}</b></td>
</tr>
<#if pcboolean("SPELLLISTMEMORIZE.${class}") >
<#else>
<tr>
<td colspan="10" class="splevel"><b>
<@loop from=1 to=pcvar("COUNT[SPELLLISTCAST.${class}.${level}]")>&#9744;</@loop>
</b></td>
</tr>
</#if>
<@spellBlock class=class spellbook=spellbook level=level isKnownList=true />

</#if>
</@loop>
</@loop>
<tr>
<td colspan="10" bgcolor="black"><font style="font-size: x-small" color="white">* = Domain/Specialty Spell</font></td>
</tr>
</table>
<br />
</#if>
</@loop>
</@loop>
<!-- End Known Spells -->
<!-- ================================================================ -->
Loading