Files
roll20-character-sheets/D&D_BECM/BDnDSheet.html
T
2024-06-03 13:15:14 -04:00

4429 lines
282 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="sheet-overall-wrapper">
<!-- Character/Force Toggle-->
<input class="sheet-is-force" type="checkbox" name="attr_is_force" value="1"><span class="sheet-is-force-tab"></span>
<!-- Characer Sheet -->
<div class="sheet-character">
<!--Main Header -->
<div class="sheet-core-header sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-margin-top sheet-logo" title="Dungeons and Dragons (BECM Clasic edition)"></div>
<div class="sheet-col-1-8 sheet-center sheet-margin-top"><p class="sheet-last-updated">Sheet version<br/>3rd october 2018</p></div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_character_name"><br/>Character Name</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_class"><br/>Class</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_level"><br/>Level</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_class2"><br/>Class</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_level2"><br/>Level</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_class3"><br/>Class</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_level3"><br/>Level</div>
</div>
</div>
<!-- Tabs-->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="Main" checked="checked" />
<span class="sheet-tab sheet-tab1">Main</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" />
<span class="sheet-tab sheet-tab2">Skills</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" />
<span class="sheet-tab sheet-tab3">Class</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" />
<span class="sheet-tab sheet-tab4">Combat</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab5" value="5" />
<span class="sheet-tab sheet-tab5">Spellbook</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab6" value="6" />
<span class="sheet-tab sheet-tab6">Inventory</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab99" value="99" />
<span class="sheet-tab sheet-tab99">Show All</span>
<span class="sheet-spacer"></span>
<!--Main Page-->
<div class="sheet-section-main">
<h4 class="sheet-center">Appearance, Vision, Languages and Alignment <span class="sheet-pictos">U</span></h4>
<div class="sheet-row">
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_gender"><br/>Gender</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_age"><br/>Age</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_height"><br/>Height</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_weight"><br/>Weight</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_eyes"><br/>Eyes</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_hair"><br/>Hair</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_size"><br/>Size</div>
</div>
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_vision"><br/>Vision</div>
<div class="sheet-col-2-3 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_prolanguages"><br/>Known Languages</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_alignment"><br/>Alignment</div>
</div>
<!-- The abiltity adjustment is fitted to a 3rd order polynomial that gives the correct value between 3 and 18, in order to fit the full immortal range in would require a 7th order polynomial fit-->
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Abilities</h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Score</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Adjust.</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Check</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Notes</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_strength" min="1" step="1" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Str</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_strength_mod" value="(round(@{strength}*@{strength}*@{strength}*0.002831-@{strength}*@{strength}*0.08918+1.164*@{strength}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Str" value="&{template:5eDefault} {{ability=1}} {{title=Strength Check}} {{subheader=@{character_name} Ability Check}} {{freetext=Must roll **@{strength}** or less.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Attack&nbsp;Dam.&nbsp;&Open&nbsp;Doors</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_intelligence" min="1" step="1" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Int</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_intelligence_mod" value="(round(@{intelligence}*@{intelligence}*@{intelligence}*0.002831-@{intelligence}*@{intelligence}*0.08918+1.164*@{intelligence}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Int" value="&{template:5eDefault} {{ability=1}} {{title=Intelligence Check}} {{subheader=@{character_name} Ability Check}} {{freetext=Must roll **@{intelligence}** or less.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Languages</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_wisdom" min="1" step="1" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Wis</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_wisdom_mod" value="(round(@{wisdom}*@{wisdom}*@{wisdom}*0.002831-@{wisdom}*@{wisdom}*0.08918+1.164*@{wisdom}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Wis" value="&{template:5eDefault} {{ability=1}} {{title=Wisdom Check}} {{subheader=@{character_name} Ability Check}} {{freetext=Must roll **@{wisdom}** or less.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Save&nbsp;vs.&nbsp;Spells</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_dexterity" min="1" step="1" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Dex</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_dexterity_mod" value="(round(@{dexterity}*@{dexterity}*@{dexterity}*0.002831-@{dexterity}*@{dexterity}*0.08918+1.164*@{dexterity}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Dex" value="&{template:5eDefault} {{ability=1}} {{title=Dexterity Check}} {{subheader=@{character_name} Ability Check}} {{freetext=Must roll **@{dexterity}** or less.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Missile&nbsp;Attack&nbsp;AC</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_constitution" min="1" step="1" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Con</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_constitution_mod" value="(round(@{constitution}*@{constitution}*@{constitution}*0.002831-@{constitution}*@{constitution}*0.08918+1.164*@{constitution}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Con" value="&{template:5eDefault} {{ability=1}} {{title=Constitution Check}} {{subheader=@{character_name} Ability Check}} {{freetext=Must roll **@{constitution}** or less.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Hit&nbsp;Points/Level</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_charisma" min="1" step="1" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Cha</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_charisma_mod" value="(round(@{charisma}*@{charisma}*@{charisma}*0.002831-@{charisma}*@{charisma}*0.08918+1.164*@{charisma}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Cha" value="&{template:5eDefault} {{ability=1}} {{title=Charisma Check}} {{subheader=@{character_name} Ability Check}} {{freetext=Must roll **@{charisma}** or less.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Reactions</div>
</div>
<input class="sheet-is-npc" type="checkbox" name="attr_is_npc" value="1"><span class="sheet-is-npc-tab"></span>
<div class="sheet-npcinfo">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_hitdice"><br/>Hit Dice</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_numappear"><br/># Appearing</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_saveas"><br/>Save As</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_morale"><br/>Morale</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_treasuretype"><br/>Treasure Type</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_monstertype"><br/>Monster Type</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_frequency"><br/>Frequency</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_xpvalue"><br/>XP Value</div>
</div>
</div>
</div>
<!--Saving Throws and Experience-->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Saving Throws</h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Score</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_death_ray" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Death Ray or Poison</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SDR" value="&{template:5eDefault} {{save=1}} {{title=Death Ray or Poison}} {{subheader=@{character_name} Saving Throw}} {{freetext=Must roll **@{save_death_ray}** or higher.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_magic_wand" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Magic Wands</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SMW" value="&{template:5eDefault} {{save=1}} {{title=Magic Wands}} {{subheader=@{character_name} Saving Throw}} {{freetext=Must roll **@{save_magic_wand}** or higher.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_paralysis" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Paralysis or Turn to Stone</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SPTTS" value="&{template:5eDefault} {{save=1}} {{title=Paralysis or Turn to Stone}} {{subheader=@{character_name} Saving Throw}} {{freetext=Must roll **@{save_paralysis}** or higher.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_dragons_breath" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Dragon's Breath</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SDB" value="&{template:5eDefault} {{save=1}} {{title=Dragon's Breath}} {{subheader=@{character_name} Saving Throw}} {{freetext=Must roll **@{save_dragons_breath}** or higher.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_rod_staff_spell" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Rod Staff Spell</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SRSS" value="&{template:5eDefault} {{save=1}} {{title=Rod Staff Spell}} {{subheader=@{character_name} Saving Throw}} {{freetext=Must roll **@{save_rod_staff_spell}** or higher.}} {{rollname=Result}} {{roll=[[1d20]]}}"></button>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Experience <span class="sheet-pictos-three">d</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label">Prime Requisite</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Adjustment %</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Total</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Next Level</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_prime_requisite"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_adjust"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_total"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_next_level"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_prime_requisite2"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_adjust2"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_total2"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_next_level2"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_prime_requisite3"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_adjust3"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_total3"></div>
<div class="sheet-col-1-4"><input type="number" name="attr_xp_next_level3"></div>
</div>
</div>
</div>
</div>
<!--Skills and Mastery-->
<div class="sheet-section-skills">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">General Skills <span class="sheet-pictos">x</span></h4>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_skill_slots"><br/>Skill Slots</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_skill_slots_available"><br/>Slots Available</div>
</div>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-padl sheet-padr">Name</div>
<div class="sheet-col-1-6">Stat</div>
<div class="sheet-col-1-6">Slots</div>
<div class="sheet-col-1-8">Roll</div>
</div>
<fieldset class="repeating_generalskills">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-left"><input type="text" name="attr_skillname" value="name"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_skill_stat">
<option value="@{strength}">Str</option>
<option value="@{intelligence}">Int</option>
<option value="@{wisdom}">Wis</option>
<option value="@{dexterity}">Dex</option>
<option value="@{constitution}">Con</option>
<option value="@{charisma}">Cha</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-padl sheet-center"><input type="number" name="attr_skill_slots_used" value=1 min=1 step=1></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<input type='hidden' name='attr_skilltarget' value='@{skill_stat}+@{skill_slots_used}-1' disabled='disabled'></input>
<button type='roll' class="sheet-roll" name='roll_skill_roll' value="&{template:5eDefault} {{ability=1}} {{title=@{skillname}}} {{subheader=@{character_name} Skill Check}} {{freetext=Must roll **@{skilltarget}** or less}} {{rollname=Result}} {{roll=[[1d20cs<1cf>20]]}}"></button>
</div>
</div>
</fieldset>
</div>
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Weapon Mastery <span class="sheet-pictos">^</span></h4>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_weapon_choice"><br/>Weapon Choices</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_weapon_choices_available"><br/>Choices Available</div>
</div>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-padl sheet-padr">Weapon</div>
<div class="sheet-col-1-4">Bonus to <br/>Next Chance</div>
<div class="sheet-col-1-4">Mastery</div>
</div>
<fieldset class="repeating_weaponmastery">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-left"><input type="text" name="attr_weaponmasteryname"></div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="text" name="attr_bonus_next_attempt"></div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_mastery_level">
<option value="UN">Unskilled</option>
<option value="BS">Basic</option>
<option value="SK">Skilled</option>
<option value="EX">Expert</option>
<option value="MS">Master</option>
<option value="GM">Grand Master</option>
</select>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<!--Class Abilities -->
<div class="sheet-section-class">
<div class="sheet-row">
<!-- Thief Abilities-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Thief Abilities <span class="sheet-pictos">%</span></h4>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-right">Ability</div>
<div class="sheet-col-1-4">Chance</div>
<div class="sheet-col-1-4">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Open Locks</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_openlocks"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_openlocks' value="/w gm @{character_name} wants to open a lock, they need a @{openlocks} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Find Traps</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_findtraps"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_findtraps' value="/w gm @{character_name} wants to find traps, they need a @{findtraps} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Remove Traps</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_removetraps"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_removetraps' value="/w gm @{character_name} wants to remove traps, they need a @{removetraps} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Climb Walls</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_climbwalls"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_climbwalls' value="/w gm @{character_name} wants to climb walls, they need a @{climbwalls} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Move Silently</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_movesilently"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_movesilently' value="/w gm @{character_name} wants to move silently, they need a @{movesilently} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Hide in Shadows</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_hideinshadows"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_hideinshadows' value="/w gm @{character_name} wants to hide in shadows, they need a @{hideinshadows} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Pick Pockets</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_pickpockets"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_pickpockets' value="/w gm @{character_name} wants to pick a pocket, they need a @{pickpockets} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Hear Noise</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_hearnoise"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_hearnoise' value="/w gm @{character_name} wants to hear noise, they need a @{hearnoise} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Read Languages</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<input type="checkbox" name="attr_readlanguages" value="80">
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_readlanguage' value="/w gm @{character_name} wants to read a language, they need a @{readlanguages} or lower on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Cast spells from scroll</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<input type="checkbox" class="sheet-right" name="attr_castfromscroll" value="90" />
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_castfromscroll' value="/w gm @{character_name} wants to from a scroll, they need a @{castfromscroll} or lower on a d%. "></button>
</div>
</div>
</div>
<!-- Turn Undead-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Turn Undead <span class="sheet-pictos">r</span></h4>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-right">Undead Type</div>
<div class="sheet-col-1-4">Chance</div>
<div class="sheet-col-1-4">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Skeleton</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnskeleton">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnskeleton' value="&{template:5eDefault} {{ability=1}} {{title=Turn Skeleton}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a skeleton, they @{turnskeleton}."></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Zombie</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnzombie">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnzombie' value="&{template:5eDefault} {{ability=1}} {{title=Turn Zombie}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a zombie, they @{turnzombie}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Ghoul</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnghoul">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnghoul' value="&{template:5eDefault} {{ability=1}} {{title=Turn Ghoul}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a ghoul, they @{turnghoul}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Wight</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnwight">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnwight' value="&{template:5eDefault} {{ability=1}} {{title=Turn Wight}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a wight, they @{turnwight}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Wraith</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnwraith">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnwraith' value="&{template:5eDefault} {{ability=1}} {{title=Turn Wraith}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a wraith, they @{turnwraith}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Mummy</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnmummy">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnmummy' value="&{template:5eDefault} {{ability=1}} {{title=Turn Mummy}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a mummy, they @{turnmummy}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Specter</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnspecter">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnspecter' value="&{template:5eDefault} {{ability=1}} {{title=Turn Specter}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a specter, they @{turnspecter}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Vampire</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnvampire">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnvampire' value="&{template:5eDefault} {{ability=1}} {{title=Turn Vampire}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a vampire, they @{turnvampire}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Phantom</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnphantom">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnphantom' value="&{template:5eDefault} {{ability=1}} {{title=Turn Phantom}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a phantom, they @{turnphantom}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Haunt</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnhaunt">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnhaunt' value="&{template:5eDefault} {{ability=1}} {{title=Turn haunt}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a haunt, they @{turnhaunt}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Spirit</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnspirit">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnspirit' value="&{template:5eDefault} {{ability=1}} {{title=Turn Spirit}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a spirit, they @{turnspirit}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Nightshade</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnnightshade">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnnightshade' value="&{template:5eDefault} {{ability=1}} {{title=Turn Nightshade}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a nightshade, they @{turnnightshade}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Lich</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnlich">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnlich' value="&{template:5eDefault} {{ability=1}} {{title=Turn Lich}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a lich, they @{turnlich}. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Special</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnspecial">
<option value="need a miracle because they can't turn this undead" selected="selected">-</option>
<option value="need an 11 or higher on a roll of 2d6 to turn 2d6 HD of undead">11</option>
<option value="need a 9 or higher on a roll of 2d6 to turn 2d6 HD of undead">9</option>
<option value="need a 7 or higher on a roll of 2d6 to turn 2d6 HD of undead">7</option>
<option value="automatically turn 2d6 HD of undead">T</option>
<option value="automatically destroy 2d6 HD of undead">D</option>
<option value="automatically destroy 3d6 HD of undead">D+</option>
<option value="automatically destroy 4d6 HD of undead">D#</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnspecial' value="&{template:5eDefault} {{ability=1}} {{title=Turn Special undead}} {{subheader=@{character_name}'s Turn Undead}} {{rollname=Result}} {{roll=[[2d6]]}}\n/w gm @{character_name} wants to turn a special undead, they @{turnspecial}. "></button>
</div>
</div>
</div>
<!-- Combat options and other abilities-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Combat Options <span class="sheet-pictos">J</span></h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-4">&nbsp;</div>
<div class="sheet-col-2-3 sheet-left">Option</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_comboptlance" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Lance Attack</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_comboptsetspear" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Set Spear</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_comboptsecondattack" value="1" /><input type="checkbox" class="sheet-right" name="attr_comboptthirdattack" value="1" /><input type="checkbox" class="sheet-right" name="attr_comboptfourthattack" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Multiple Attacks</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_comboptsmash" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Smash</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_comboptparry" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Parry</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_comboptdisarm" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Disarm</div>
</div>
<h4 class="sheet-center">Other Abilities <span class="sheet-pictos">3</span></h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-2 sheet-padl">Ability</div>
<div class="sheet-col-1-4">Chance</div>
<div class="sheet-col-1-4">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Detect Stonework</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_detectstonework"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detectstonework' value="/w gm @{character_name} wants to look for anything special about the stonework, they need a @{detectstonework} on a d6. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Detect Hidden Doors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_detecthidden" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detecthidden' value="/w gm @{character_name} wants to look for hidden doors, they need a @{detecthidden} on a d6. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Hide Outdoors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_hideoutdoors"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_hideoutdoors' value="/w gm @{character_name} wants to hide under a bush or something, they need a @{hideoutdoors} on a d%. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Awareness</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_awareness" value="2"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_hideoutdoors' value="/w gm @{character_name} gently reminds you that he is only surprised on a @{awareness} or less on a d6. "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Base Movement</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_basemove" value="120"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Natural AC</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_natAC" title="For most classes this value stays at 9, Mystics and many of the expanded classes from the Gazzeter and Creature Crucible Series will have other values" value="9"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_magicresistance" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Magic Resistance</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_breathresistance" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Breath Resistance</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_speakanimals" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Speak with Animals</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_speakanyone" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Speak with Anyone</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-right sheet-padr">
<input type="checkbox" class="sheet-right" name="attr_mindblock" value="1" />
</div>
<div class="sheet-col-2-3 sheet-left sheet-small-label">Mind Block</div>
</div>
</div>
</div>
<div class="sheet-row sheet-col-1 sheet-padt">
<h4 class="sheet-center">
Special Abilities <span class="sheet-pictos">W</span>
</h4>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-3-16 sheet-padl sheet-padr sheet-right">Name</div>
<div class="sheet-col-3-4 sheet-center">Description</div>
<div class="sheet-col-1-16 sheet-center">Roll</div>
</div>
<fieldset class="repeating_customabilities">
<div class="sheet-row sheet-padb sheet-padt">
<div class="sheet-col-3-16 sheet-padl sheet-padr">
<input class="sheet-center" name="attr_customabilityname" placeholder="Name" type="text">
</div>
<div class="sheet-col-3-4">
<textarea class="sheet-center sheet-resizev sheet-small-textarea" name="attr_customabilitydescription" placeholder="Describe your ability here."></textarea>
</div>
<div class="sheet-col-1-16 sheet-center">
<button type="roll" class="sheet-roll" name="roll_displaycustomability" value="&{template:5eDefault} {{ability=1}} {{title=@{customabilityname}}} {{subheader=@{character_name} Special Ability}} {{freetext=@{customabilitydescription}}}"></button>
</div>
</div>
</fieldset>
</div>
</div>
<!--Combat-->
<div class="sheet-section-combat">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr">
<h4 class="sheet-center">Hit Points <span class="sheet-pictos">k</span></h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_HP" step="1"><br/>Current</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_HP_max" min="1" step="1"><br/>Max</div>
</div>
</div>
</div>
<div class="sheet-col-1-6">
<h4 class="sheet-center">Wrestling <span class="sheet-pictos">g</span></h4>
<div class="sheet-row sheet-padr">
<div class="sheet-col-1-2 sheet-small-label sheet-center" title="Only enter additional bonuses to WR here from skills and weapon mastery. Your level, AC, and Ablity mods are already included in the macro button"><input class="sheet-underlined sheet-center" type="number" name="attr_WRbonus" value="0" step="1"><br/>Bonus</div>
<input class="sheet-underlined" type="hidden" name="attr_WR" value="[[(ceil(@{level} / 2))]] + [[@{ACunmod}]] + [[@{strength_mod}]] + [[@{dexterity_mod}]] + @{WRbonus}" disabled="disabled">
<div class="sheet-col-1-2 sheet-center">
<button type="roll" class="sheet-initiative sheet-large-button" name="roll_Wrestling" value="&{template:5eDefault} {{title=Wrestling}} {{subheader=@{character_name}}} {{rollname=Wrestling Roll}} {{roll=[[ 1d20 + @{WR} ]]}}">Wrestling</button>
</div>
</div>
</div>
<div class="sheet-col-1-3 sheet-padr">
<h4 class="sheet-center">Movement <span class="sheet-pictos">1</span></h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_normal" value="(@{normal_movement})" disabled=true><br/>Normal</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_encounter" value="((@{normal_movement})/3)" disabled=true><br/>Encounter</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_run" value="(@{normal_movement})" disabled=true step="1"><br/>Running</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_other" min="0" step="1"><br/>Other</div>
</div>
</div>
</div>
<div class="sheet-col-1-6">
<h4 class="sheet-center">Initiative <span class="sheet-pictos">t</span></h4>
<div class="sheet-row sheet-padr">
<div class="sheet-col-1-2 sheet-small-label sheet-center" title="Only enter additional bonuses to initiative here. Your Dex mod is already included in the macro button"><input class="sheet-underlined sheet-center" type="number" name="attr_initiative" value="0" step="1"><br/>Bonus</div>
<input class="sheet-underlined" type="hidden" name="attr_initiative_overall" value="[[@{dexterity_mod}]] + @{initiative}" disabled="disabled">
<div class="sheet-col-1-2 sheet-center">
<button type="roll" class="sheet-initiative sheet-large-button" name="roll_Initiative" value="&{template:5eDefault} {{title=Initiative}} {{subheader=@{character_name}}} {{rollname=Initiative}} {{roll=[[ 1d6 + @{initiative_overall} &{tracker} ]]}}">Initiative</button>
</div>
</div>
</div>
<div class="sheet-col-1-6 sheet-padl">
<h4 class="sheet-center">THAC0 <span class="sheet-pictos">!</span></h4>
<div class="sheet-row">
<div class="sheet-col-1-1 sheet-small-label sheet-center" title="Only enter additional level THAC0 here. Your Str and Dex mods are already included in the weapon buttons"><input class="sheet-underlined sheet-center" type="number" name="attr_thac0" step="1"><br/></div>
</div>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Melee Weapons / Unarmed Attacks <span class="sheet-pictos">D</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-16 sheet-center sheet-small-label sheet-vert-bottom">Vs</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Weapon</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Mastery Bonus</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Damage Dice</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">AC Bonus</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Effects</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Save vs</div>
<div class="sheet-col-1-24 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Attack</div>
</div>
<fieldset class="repeating_meleeattacks">
<div class="sheet-row">
<div class="sheet-col-1-16 sheet-padr">
<select name="attr_meleetarget">
<option value="A" selected="selected">A</option>
<option value="H">H</option>
<option value="M">M</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_meleeweaponname"></div>
<div class="sheet-col-1-12 sheet-padr"><input type="number" name="attr_meleemastery" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padr" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_meleemagic" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padr" title="Only enter the base damage roll here without any bonuses from stats or magic"><input class="sheet-center" type="text" name="attr_meleedmg" value="0"></div>
<div class="sheet-col-1-12 sheet-padr"><input type="text" name="attr_meleeacbonus"></div>
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_meleeeffects"></div>
<div class="sheet-col-1-6"><input class="sheet-center" type="text" name="attr_meleesaves"></div>
<div class="sheet-col-1-24 sheet-center">
<button type="roll" class="sheet-roll" name="roll_MeleeAttack" value="&{template:5eDefault} {{weapon=1}} {{title=@{meleeweaponname}}} {{subheader=@{character_name}}} {{subheaderright=vs @{meleetarget}}} {{attack=[[@{thac0}-({1d20+[[@{strength_mod}]]+@{meleemagic}+@{meleemastery},{1}}kh1)]]}} {{damage=[[{@{meleedmg}+[[@{strength_mod}]]+@{meleemagic},{1}}kh1]]}} {{attackshowinfoblock=1}} {{attackrange=Melee}} {{attackacmod=@{meleeacbonus}}} {{attackeffects=@{meleeeffects}}} {{attacksave=@{meleesaves}}} "></button>
</div>
</div>
</fieldset>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Missile/Thrown Weapons <span class="sheet-pictos">e</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-16 sheet-center sheet-small-label sheet-vert-bottom">Vs</div>
<div class="sheet-col-1-16 sheet-center sheet-small-label sheet-vert-bottom">Type</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Weapon</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Mastery Bonus</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Damage Dice</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">AC Bonus</div>
<div class="sheet-col-1-16 sheet-center sheet-small-label sheet-vert-bottom">Range</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Effects</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Save vs</div>
<div class="sheet-col-1-24 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Attack</div>
</div>
<fieldset class="repeating_rangedattacks">
<div class="sheet-row">
<div class="sheet-col-1-16 sheet-padr">
<select name="attr_rangetarget">
<option value="A" selected="selected">A</option>
<option value="H">H</option>
<option value="M">M</option>
</select>
</div>
<div class="sheet-col-1-16 sheet-padr">
<select name="attr_rangetype">
<option value="0" selected="selected">Missile</option>
<option value="@{strength_mod}">Thrown</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_rangeweaponname"></div>
<div class="sheet-col-1-12 sheet-padr"><input type="number" name="attr_rangemastery" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padr" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_rangemagic" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padr" title="Only enter the base damage roll here without any bonuses from stats or magic"><input class="sheet-center" type="text" name="attr_rangedmg" value="0"></div>
<div class="sheet-col-1-12 sheet-padr"><input type="text" name="attr_rangeacbonus"></div>
<div class="sheet-col-1-16 sheet-padr"><input type="text" name="attr_rangerange"></div>
<div class="sheet-col-1-8 sheet-padr"><input type="text" name="attr_rangeeffects"></div>
<div class="sheet-col-1-8"><input class="sheet-center" type="text" name="attr_rangesaves"></div>
<div class="sheet-col-1-24 sheet-center">
<button type="roll" class="sheet-roll" name="roll_RangeAttack" value="&{template:5eDefault} {{weapon=1}} {{title=@{rangeweaponname}}} {{subheader=@{character_name}}} {{subheaderright=vs @{rangetarget}}} {{attack=[[@{thac0}-{(1d20+@{rangemagic}+@{rangemastery}+[[@{dexterity_mod}]]),{1}}kh1]]}} {{damage=[[{@{rangedmg}+[[@{rangetype}]]+@{rangemagic},{1}}kh1]]}} {{attackshowinfoblock=1}} {{attackrange=@{rangerange}}} {{attackacmod=@{rangeacbonus}}} {{attackeffects=@{rangeeffects}}} {{attacksave=@{rangesaves}}} "></button>
</div>
</div>
</fieldset>
<!-- All about Armour-->
<div class="sheet-row ">
<!--Armour Class -->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Armour Class <span class="sheet-pictos-three">b</span></h4>
<div class="sheet-row">
<!--Mathy Bit to check to see if armour is greater than Natural AC-->
<input type="hidden" name="attr_ACunmod" value="@{eqACPA} * @{PAenabled} + @{eqarmourbaseac} * @{eqarmourfullsettoggle}" />
<input type="hidden" name="attr_acadjusted" value="@{eqACPA} * @{PAenabled} + @{eqarmourbaseac} * @{eqarmourfullsettoggle} - @{eqarmourmagic}" />
<input type="hidden" name="attr_acmin" value="(((@{acadjusted} + @{natAC}) - abs(@{acadjusted} - @{natAC})) / 2)" />
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_armour" step="1" value="@{acmin}" disabled="true"><br/>Armour</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_shield" max="0" value="0" title="The total deduction from AC for shields including weapon mastery and magical sources " step="1"><br/>Shield</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_magic" min="0" value="0" title="All bonuses from rings of protection and other non shiled and armour sources" step="1"><br/>Magic</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC" min="1" step="1" value="(@{AC_armour} + @{AC_shield} - @{AC_magic} - @{dexterity_mod})" disabled="true"><br/>Total</div>
</div>
</div>
<!--Piecemeal Armour -->
<div class="sheet-col-1-2">
<h4 class="sheet-center">Equipped Armour <span class="sheet-pictos-three">b</span></h4>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-center">Full Sets</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3 sheet-small-label sheet-center">
<select name="attr_eqarmour">
<option value="0" selected="selected">None</option>
<option value="200">Leather Armor (AC 7)</option>
<option value="300">Scale Mail (AC 6)</option>
<option value="400">Chain Mail (AC 5)</option>
<option value="450">Banded Mail (AC 4)</option>
<option value="500">Plate Mail (AC 3)</option>
<option value="750">Suit Armor (AC 0)</option>
<option value="50">Protective Skins</option>
<option value="150">Fur</option>
<option value="80">Paper</option>
<option value="100">Padded</option>
<option value="120">Corded</option>
<option value="180">Slat</option>
<option value="140">Leather</option>
<option value="170">Plated Leather</option>
<option value="160">Studded Leather</option>
<option value="150">Cuir Boulli</option>
<option value="200">Hide</option>
<option value="200">Breastplate</option>
<option value="300">Scale</option>
<option value="250">Brigandine</option>
<option value="300">Banded Leather</option>
<option value="350">Lamellare</option>
<option value="400">Chainmail</option>
<option value="450">Splint</option>
<option value="500">Banded-Mail</option>
<option value="600">Plate-mail</option>
<option value="900">Full Plate</option>
</select>
</div>
<!-- mathy bits-->
<!--Simplify the encumbrance number so that the 4th dimensional polynomial fit can be simpler-->
<input type="hidden" name="attr_eqredux" value="((@{eqarmour})/ 100)" />
<!--Check if suit armour is worn to apply movement restrictions -->
<input type="hidden" name="attr_eqsuittoggle" value="(floor((@{eqarmour})/ 749))" />
<input type="hidden" name="attr_eqnosuittoggle" value="abs(@{eqsuittoggle} - 1)" />
<!--Fit the encumbrance to an AC value -->
<input type="hidden" name="attr_eqarmourbaseac" value="(round(0.0168237512 * @{eqredux} * @{eqredux} * @{eqredux} * @{eqredux} - 0.2351937912 * @{eqredux} * @{eqredux} * @{eqredux} + 0.9378087321 * @{eqredux} * @{eqredux} - 2.1022659782 * @{eqredux} + 9.004497 ))" />
<div class="sheet-col-1-3 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_eqarmourmagic" value="0"min="0" step="1"><br/>Magic Bonus</div>
</div>
<div class="sheet-row">
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-3 sheet-center">Piecemeal Armour</div>
</div>
<div class="sheet-col-1-3 sheet-small-label sheet-center">
<select name="attr_PAenabled">
<option value="0" selected="selected">Not Equiped</option>
<option value="1">Equiped</option>
</select>
</div>
<!--Toggle off full set when partial is worn-->
<input type="hidden" name="attr_eqarmourfullsettoggle" value="abs((@{PAenabled})-1)" />
<!--Calc AC value of partial armour worn-->
<input type="hidden" name="attr_eqACPA" value="(9 - (floor(@{PA_PR} /10)))" />
<div class="sheet-col-1-3 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_PA_PR" min="1" value="0" step="1"><br/>Protection Rating</div>
<div class="sheet-col-1-3 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_PA_ENC" min="1" value="0" step="1"><br/>Encumbrance</div>
</div>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-center">Area</div>
<div class="sheet-col-1-3">Material</div>
<div class="sheet-col-1-6">PR</div>
<div class="sheet-col-1-6">Enc</div>
</div>
<!--Armour Pieces repeating section -->
<fieldset class="repeating_armourpieces">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-small-label sheet-center">
<select name="attr_aparea">
<option value="" selected="selected"></option>
<option value="Head">Head</option>
<option value="Torso">Torso</option>
<option value="Shoulder Left">Shoulder Left</option>
<option value="Shoulder Right">Shoulder Right</option>
<option value="Arm Left Upper">Arm Left Upper</option>
<option value="Arm Right Upper">Arm Right Upper</option>
<option value="Elbows Both">Elbows Both</option>
<option value="Arm Left Forearm">Arm Left Forearm</option>
<option value="Arm Right Forearm">Arm Right Forearm</option>
<option value="Hands Both">Hands Both</option>
<option value="Waist and Back end">Waist and Back end</option>
<option value="Leg Left Thigh">Leg Left Thigh</option>
<option value="Leg Right Thigh">Leg Right Upper</option>
<option value="Knees both">Knees both</option>
<option value="Leg Left Shin">Leg Left Shin</option>
<option value="Leg Right Shin">Leg Right Shin</option>
<option value="Feet Both">Feet Both</option>
</select>
</div>
<div class="sheet-col-1-3 sheet-padl sheet-center">
<select name="attr_apmaterial">
<option value="" selected="selected"></option>
<option value="Protective Skins">Protective Skins</option>
<option value="Fur">Fur</option>
<option value="Paper">Paper</option>
<option value="Padded">Padded</option>
<option value="Corded">Corded</option>
<option value="Slat">Slat</option>
<option value="Leather">Leather</option>
<option value="Plated Leather">Plated Leather</option>
<option value="Studded Leather">Studded Leather</option>
<option value="Cuir Boulli">Cuir Boulli</option>
<option value="Hide">Hide</option>
<option value="Beastplate">Breastplate</option>
<option value="Scale">Scale</option>
<option value="Brigandine">Brigandine</option>
<option value="Banded Leather">Banded Leather</option>
<option value="Lamellare">Lamellare</option>
<option value="Chainmail">Chainmail</option>
<option value="Splint">Splint</option>
<option value="Banded Mail">Banded Mail</option>
<option value="Plate-mail">Plate-mail</option>
<option value="Full Plate">Full Plate</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-padl sheet-center">
<select name="attr_apmpr">
<option value="0" selected="selected">-</option>
<option value="17">17</option>
<option value="16">16</option>
<option value="15">15</option>
<option value="14">14</option>
<option value="13">13</option>
<option value="12">12</option>
<option value="11">11</option>
<option value="10">10</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7.5">7 1/2</option>
<option value="7">7</option>
<option value="6.5">6 1/2</option>
<option value="6">6</option>
<option value="5.5">5 1/2</option>
<option value="5">5</option>
<option value="4.5">4 1/2</option>
<option value="4">4</option>
<option value="3.5">3 1/2</option>
<option value="3">3</option>
<option value="2.5">2 1/2</option>
<option value="2">2</option>
<option value="1.5">1 1/2</option>
<option value="1">1</option>
<option value="0.5">1/2</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-padl sheet-center"><input type="number" name="attr_apenc" value="0" min="0" /></div>
</div>
</fieldset>
</div>
</div>
</div>
<!--Spellbook-->
<div class="sheet-section-spellbook">
<div class="sheet-row sheet">
<div class="sheet-col-1"><h4 class="sheet-center">Spell Slots<span class="sheet-pictos-custom">t</span></h4></div>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Slots</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 1</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 2</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 3</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 4</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 5</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 6</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 7</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 8</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 9</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="For spell like effects such as dragons breath and some mystic abilities">Other 1</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="For spell like effects such as dragons breath and some mystic abilities">Other 2</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Max</div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l1_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l2_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l3_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l4_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l5_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l6_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l7_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l8_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l9_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o1_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o2_max" value="0"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Used</div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l1" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l2" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l3" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l4" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l5" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l6" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l7" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l8" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l9" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o1" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o2" value="0"></div>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Spell Book <span class="sheet-pictos-three">g</span></h4>
<!--Tabs for spell types-->
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab0" value="0" title="Other" checked="checked" />
<span class="sheet-spellpagetab sheet-spelltab0">Other</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab1" value="1" title="Level 1" />
<span class="sheet-spellpagetab sheet-spelltab1">Level 1</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab2" value="2" title="Level 2" />
<span class="sheet-spellpagetab sheet-spelltab2">Level 2</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab3" value="3" title="Level 3" />
<span class="sheet-spellpagetab sheet-spelltab3">Level 3</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab4" value="4" title="Level 4" />
<span class="sheet-spellpagetab sheet-spelltab4">Level 4</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab5" value="5" title="Level 5" />
<span class="sheet-spellpagetab sheet-spelltab5">Level 5</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab6" value="6" title="Level 6" />
<span class="sheet-spellpagetab sheet-spelltab6">Level 6</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab7" value="7" title="Level 7" />
<span class="sheet-spellpagetab sheet-spelltab7">Level 7</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab8" value="8" title="Level 8" />
<span class="sheet-spellpagetab sheet-spelltab8">Level 8</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab9" value="9" title="Level 9" />
<span class="sheet-spellpagetab sheet-spelltab9">Level 9</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab99" value="99" title="Show All" />
<span class="sheet-spellpagetab sheet-spelltab99">Show All</span>
<span class="sheet-spacer"></span>
<!--Other Tab-->
<div class="sheet-spell-page0">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Other</div>
</div>
<fieldset class="repeating_spellbookcantrip">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Other<input type="hidden" name="attr_spellbaselevel" value="0"><input type="hidden" name="attr_spellfriendlylevel" value="Other"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 1 Tab-->
<div class="sheet-spell-page1">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 1</div>
</div>
<fieldset class="repeating_spellbooklvl1">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 1<input type="hidden" name="attr_spellbaselevel" value="1"><input type="hidden" name="attr_spellfriendlylevel" value="Level 1"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 2 Tab-->
<div class="sheet-spell-page2">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 2</div>
</div>
<fieldset class="repeating_spellbooklvl2">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 2<input type="hidden" name="attr_spellbaselevel" value="2"><input type="hidden" name="attr_spellfriendlylevel" value="Level 2"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 3 Tab-->
<div class="sheet-spell-page3">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 3</div>
</div>
<fieldset class="repeating_spellbooklvl3">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 3<input type="hidden" name="attr_spellbaselevel" value="3"><input type="hidden" name="attr_spellfriendlylevel" value="Level 3"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 4 Tab-->
<div class="sheet-spell-page4">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 4</div>
</div>
<fieldset class="repeating_spellbooklvl4">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 4<input type="hidden" name="attr_spellbaselevel" value="4"><input type="hidden" name="attr_spellfriendlylevel" value="Level 4"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 5 Tab-->
<div class="sheet-spell-page5">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 5</div>
</div>
<fieldset class="repeating_spellbooklvl5">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 5<input type="hidden" name="attr_spellbaselevel" value="5"><input type="hidden" name="attr_spellfriendlylevel" value="Level 5"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 6 Tab-->
<div class="sheet-spell-page6">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 6</div>
</div>
<fieldset class="repeating_spellbooklvl6">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 6<input type="hidden" name="attr_spellbaselevel" value="6"><input type="hidden" name="attr_spellfriendlylevel" value="Level 6"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 7 Tab-->
<div class="sheet-spell-page7">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 7</div>
</div>
<fieldset class="repeating_spellbooklvl7">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 7<input type="hidden" name="attr_spellbaselevel" value="7"><input type="hidden" name="attr_spellfriendlylevel" value="Level 7"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 8 Tab-->
<div class="sheet-spell-page8">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 8</div>
</div>
<fieldset class="repeating_spellbooklvl8">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 8<input type="hidden" name="attr_spellbaselevel" value="8"><input type="hidden" name="attr_spellfriendlylevel" value="Level 8"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
| <input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 9 Tab-->
<div class="sheet-spell-page9">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 9</div>
</div>
<fieldset class="repeating_spellbooklvl9">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label" title="Concentration">Conc?</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Prepared?</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 9<input type="hidden" name="attr_spellbaselevel" value="9"><input type="hidden" name="attr_spellfriendlylevel" value="Level 9"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
<div class="sheet-col-1-12 sheet-checkbox-row sheet-padr">
<select name="attr_spellconcentration">
<option value="" selected="selected">No</option>
<option value="(Concentration)">Yes</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-vert-middle" title="Always prepared means the spell/spell like effect is one that was provided to you via a method which indicated it would never count against your prepared/known limits.">
<select name="attr_spellisprepared">
<option value="1">Yes</option>
<option value="0">NO</option>
<option value="0.0001" selected="selected">Always</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheaderright= @{spellfriendlylevel}}} {{subheader2=@{spellconcentration}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} @{spellfriendlylevel} {{subheader2=@{spellconcentration}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Cast Spell</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spellcast macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack roll<br/><input type="checkbox" name="attr_spellshowattack" value="{{spellshowattack=1}} {{spellattack=[[@{thac0}-@{attackstat}-1d20]]}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus} +) + 0d0]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowattack} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span> |
<input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1" /><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-2-3 sheet-vert-bottom sheet-center sheet-small-label">Attack Stat</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-2-3"><p class="sheet-small-note sheet-margin-top">Select the attack stat for the attack. This is normally your spellcasting stat from the class you gained the spell from.</p></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_attackstat">
<option value="0">None</option>
<option value="@{strength_mod}">STR</option>
<option value="@{dexterity_mod}">DEX</option>
<option value="@{constitution_mod}">CON</option>
<option value="@{intelligence_mod}">INT</option>
<option value="@{wisdom_mod}">WIS</option>
<option value="@{charisma_mod}">CHA</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="@{strength_mod}">STR mod</option>
<option value="@{dexterity_mod}">DEX mod</option>
<option value="@{constitution_mod}">CON mod</option>
<option value="@{intelligence_mod}">INT mod</option>
<option value="@{wisdom_mod}">WIS mod</option>
<option value="@{charisma_mod}">CHA mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
</div>
<!--Inventory -->
<div class="sheet-section-inventory">
<div class="sheet-row ">
<!-- Loot-->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Coin Carried <span class="sheet-pictos">h</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">CP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">SP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">EP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">GP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">PP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Total (GP)</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6" title="Copper Pieces"><input type="number" name="attr_cp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Silver Pieces"><input type="number" name="attr_sp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Electrum Pieces"><input type="number" name="attr_ep" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Gold Pieces"><input type="number" name="attr_gp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Platinum Pieces"><input type="number" name="attr_pp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Total (in Gold Pieces)"><input type="number" name="attr_money_total_gp" value="(@{cp} / 100) + (@{sp} / 10) + (@{ep} / 2) + @{gp} + (@{pp} * 5) " disabled="disabled"></div>
</div>
<h4 class="sheet-center">Coin at Home or Elsewhere <span class="sheet-pictos">h</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">CP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">SP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">EP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">GP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">PP</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Total (GP)</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6" title="Copper Pieces"><input type="number" name="attr_cpstashed" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Silver Pieces"><input type="number" name="attr_spstashed" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Electrum Pieces"><input type="number" name="attr_epstashed" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Gold Pieces"><input type="number" name="attr_gpstashed" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Platinum Pieces"><input type="number" name="attr_ppstashed" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6" title="Total (in Gold Pieces)"><input type="number" name="attr_money_total_gpstashed" value="(@{cpstashed} / 100) + (@{spstashed} / 10) + (@{epstashed} / 2) + @{gpstashed} + (@{ppstashed} * 5) " disabled="disabled"></div>
</div>
<h4 class="sheet-center">Treasure/Loot/Inventory Notes <span class="sheet-pictos">W</span></h4>
<textarea name="attr_lootnotes"></textarea>
</div>
<!--Encumbrance and Inventory Locations -->
<div class="sheet-col-1-2">
<h4 class="sheet-center">Encumbrance (in coins) <span class="sheet-pictos">a</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label">Inventory</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Coin</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Other</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padr">Total</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_inventory_weight" value="@{inventory_weight_calc}" disabled="disabled"></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_coin_weight" value="((@{CP} + @{SP} + @{EP} + @{GP} + @{PP}))" disabled="disabled"></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_other_weight" value="0" min="0" step="0.01"></div>
<div class="sheet-col-1-4 sheet-center sheet-padr"><input type="number" name="attr_total_weight" value="@{eqarmour} * @{eqarmourfullsettoggle} + @{PA_ENC} * @{PAenabled} + @{inventory_weight} + @{coin_weight} + @{other_weight}" disabled="disabled"></div>
<!-- Math fun to find the normal movement rate based on encumbrance-->
<input type="hidden" name="attr_nmbase" value="((@{total_weight}) / 400)" />
<input type="hidden" name="attr_nmsteep" value="((@{basemove}) - ((floor(@{nmbase})) * 30))" />
<input type="hidden" name="attr_nmshallow" value="((5 - (floor(@{nmbase}))) * ((@{basemove})/8))" />
<input type="hidden" name="attr_nmbasic" value="(((@{nmsteep} + @{nmshallow}) + abs(@{nmsteep} - @{nmshallow})) / 2)" />
<!-- Mathy bit to reduce movement for suit armour to max 30'-->
<input type="hidden" name="attr_nmsuit" value="(((@{nmbasic} + 30) - abs(@{nmbasic} - 30)) / 2)" />
<input type="hidden" name="attr_normal_movement" value="@{nmsuit} * @{eqsuittoggle} + @{nmbasic} * @{eqnosuittoggle}" />
</div>
<h4 class="sheet-center">Inventory Locations <span class="sheet-pictos">G</span></h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-8 sheet-center sheet-small-label sheet-padl">Tab</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Name</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Capacity</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Current</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Max</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Carried</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">1</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab1" value="Worn"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap1" value="2400" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur1" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax1" value="2400" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes1">
<option value="1">yes</option>
<option value="0" selected="selected">no</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">2</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab2" value="Carried"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap2" value="2400" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur2" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax2" value="2400" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes2">
<option value="1" selected="selected">yes</option>
<option value="0">no</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">3</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab3" value="Backpack"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap3" value="400" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur3" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax3" value="400" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes3">
<option value="1" selected="selected">yes</option>
<option value="0">no</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">4</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab4" value="Belt pouch"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap4" value="50" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur4" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax4" value="50" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes4">
<option value="1" selected="selected">yes</option>
<option value="0">no</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">5</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab5" value="Sack large"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap5" value="600" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur5" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax5" value="600" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes5">
<option value="1" selected="selected">yes</option>
<option value="0">no</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">6</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab6" value="Mount"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap6" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur6" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax6" value="0" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes6">
<option value="1">yes</option>
<option value="0" selected="selected">no</option>
</select>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-center sheet-padl">7</div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_itab7" value="Other"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycap7" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorycur7" value="0" min="0" step="1"></div>
<div class="sheet-col-1-6 sheet-center"><input type="number" name="attr_inventorymax7" value="0" min="0" step="1" title="For magical containers that limit encumbrance like a bag of holding"></div>
<div class="sheet-col-1-8 sheet-center">
<select name="attr_inventoryyes7">
<option value="1">yes</option>
<option value="0" selected="selected">no</option>
</select>
</div>
</div>
<!-- Mathy bits for calculating encumbrance-->
<!--Find min values in case of bag of holding like thing -->
<input type="hidden" name="attr_tab1min" value="(((@{inventorycur1} + @{inventorymax1}) - abs(@{inventorycur1} - @{inventorymax1})) / 2)" />
<input type="hidden" name="attr_tab2min" value="(((@{inventorycur2} + @{inventorymax2}) - abs(@{inventorycur2} - @{inventorymax2})) / 2)" />
<input type="hidden" name="attr_tab3min" value="(((@{inventorycur3} + @{inventorymax3}) - abs(@{inventorycur3} - @{inventorymax3})) / 2)" />
<input type="hidden" name="attr_tab4min" value="(((@{inventorycur4} + @{inventorymax4}) - abs(@{inventorycur4} - @{inventorymax4})) / 2)" />
<input type="hidden" name="attr_tab5min" value="(((@{inventorycur5} + @{inventorymax5}) - abs(@{inventorycur5} - @{inventorymax5})) / 2)" />
<input type="hidden" name="attr_tab6min" value="(((@{inventorycur6} + @{inventorymax6}) - abs(@{inventorycur6} - @{inventorymax6})) / 2)" />
<input type="hidden" name="attr_tab7min" value="(((@{inventorycur7} + @{inventorymax7}) - abs(@{inventorycur7} - @{inventorymax7})) / 2)" />
<!--Tally up the carried bits using the Encumbrance flag -->
<input type="hidden" name="attr_inventory_weight_calc" value="( (@{tab1min} * @{inventoryyes1}) +(@{tab2min} * @{inventoryyes2}) + (@{tab3min} * @{inventoryyes3}) + (@{tab4min} * @{inventoryyes4}) + (@{tab5min} * @{inventoryyes5}) + (@{tab6min} * @{inventoryyes6}) + (@{tab7min} * @{inventoryyes7}) ) " />
</div>
</div>
<h4 class="sheet-center">Inventory <span class="sheet-pictos">O</span></h4>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab1" value="1" title="Page 1" checked="checked" />
<span class="sheet-inventorytab sheet-inventorytab1">1</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab2" value="2" title="Page 2" />
<span class="sheet-inventorytab sheet-inventorytab2">2</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab3" value="3" title="Page 3" />
<span class="sheet-inventorytab sheet-inventorytab3">3</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab4" value="4" title="Page 4" />
<span class="sheet-inventorytab sheet-inventorytab4">4</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab5" value="5" title="Page 5" />
<span class="sheet-inventorytab sheet-inventorytab5">5</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab6" value="7" title="Page 6" />
<span class="sheet-inventorytab sheet-inventorytab6">6</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab7" value="7" title="Page 7" />
<span class="sheet-inventorytab sheet-inventorytab7">7</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab99" value="99" title="Show All" />
<span class="sheet-inventorytab sheet-inventorytab99">Show All</span>
<span class="sheet-spacer"></span>
<!-- Inventory Page 1-->
<div class="sheet-inventory-page1">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle1" value="@{itab1}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab1">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity1" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc1" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot1" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 2-->
<div class="sheet-inventory-page2">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle2" value="@{itab2}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab2">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity2" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc2" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot2" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 3-->
<div class="sheet-inventory-page3">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle3" value="@{itab3}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab3">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity3" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc3" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot3" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 4-->
<div class="sheet-inventory-page4">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle4" value="@{itab4}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab4">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity4" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc4" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot4" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 5-->
<div class="sheet-inventory-page5">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle5" value="@{itab5}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab5">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity5" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc5" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot5" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 6-->
<div class="sheet-inventory-page6">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle6" value="@{itab6}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab6">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity6" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc6" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot6" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 7-->
<div class="sheet-inventory-page7">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle7" value="@{itab7}" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Enc.</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Total enc.</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab7">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity7" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemenc7" value="0"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="text" name="attr_itemtot7" value="0" readonly='readonly'></div>
<div class="sheet-col-1-3 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
</div>
<!-- End of PC Sheet-->
</div>
<!-- Force Sheet-->
<div class="sheet-force">
<div class="sheet-core-header sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-margin-top sheet-logo" title="Dungeons and Dragons (BECM Clasic edition)"></div>
<div class="sheet-col-1-8 sheet-center sheet-margin-top"><p class="sheet-last-updated">Sheet version<br/>26th May 2015</p></div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_force_name"><br/>Force Name</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_troop_class"><br/>Troop Class</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_bfr" value="(( [[@{bfrcalc}]] + @{quickbfr} ) + abs( [[@{bfrcalc}]] - @{quickbfr} ) ) /2" disabled="true" /><br/>Basic Force Rating</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_battlerating" value="(( [[@{brcalc}]] + @{quickbr} ) + abs( [[@{brcalc}]] - @{quickbr} ) ) /2" disabled="true" /><br/>Battle Rating</div>
</div>
</div>
<!--Main Section -->
<div class="sheet-row">
<!-- -- Logistical stuff-->
<div class="sheet-col-1"><h4 class="sheet-center">Logistics <span class="sheet-pictos">X</span></h4></div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_dominion" /><br/>Dominion</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_personel" /><br/>Personel</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_divisions" /><br/>Divisions</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_payrollpeace" title="Per week" /><br/>Payroll at Peace</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_payrollwar" title="Per week" /><br/>Payroll at War</div>
</div>
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_movement" /><br/>Movement</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_fatigue" /><br/>Fatigue</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_wounded" /><br/>Wounded</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_dead" /><br/>Dead</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_foodperweek" /><br/>Food per Week</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_foodstored" /><br/>Food Stored</div>
</div>
</div>
<div class="sheet-row">
<!--Basic Force Rating -->
<div class="sheet-col-2-3 sheet-padr">
<h4 class="sheet-center">Basic Force Rating <span class="sheet-pictos">Y</span></h4>
<div class="sheet-row">
<div class="sheet-col-2-3 sheet-padr sheet-small-label sheet-right">Quick or Given BFR</div>
<div class="sheet-col-1-3 sheet-center sheet-padr"><input type="number" name="attr_quickbfr" min="0" value="0"/></div>
<input type="hidden" name="attr_bfrcalc" value="@{leaderfactor} + @{experiencefactor} + @{trainingfactor} + @{equipmentfactor} + @{specialtroopfactor}" />
</div>
<span class="sheet-spacer"></span>
<div class="sheet-col-1-2 sheet-padr">
<div class="sheet-row sheet-border-top sheet-small-label sheet-center">
<div class="sheet-col-3-4 sheet-padr">Leadership Factor</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_leaderfactor" value="@{leaderlevel} + @{leaderbonuses} + (2 * @{leadernamelevel})" disabled="true" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Leader Level</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_leaderlevel" min="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Leader Bonuses</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_leaderbonuses" title="Sum of leader's Int, Wis, and Cha adjustments" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Name Level</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_leadernamelevel" min="0" title="% of force that is Name level" /></div>
</div>
<div class="sheet-row sheet-border-top sheet-small-label sheet-center">
<div class="sheet-col-3-4 sheet-padr">Experience Factor</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_experiencefactor" value="(3 * @{aveofficerlevel}) + (2 * @{avetrooplevel}) + @{recentvictories} - @{recentrouts}" disabled="true" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Average Officer Level</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_aveofficerlevel" title="total levels of officers / total number of officers" min="0" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Average Troop Level</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_avetrooplevel" title="total levels of troops / total number of troops" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Victories</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_recentvictories" min="0" max="10" title="Victories in the last 10 years" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Routs</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_recentrouts" min="0" max="10" title="Routs in the last 10 years" /></div>
</div>
</div>
<!-- Second row-->
<div class="sheet-col-11-24">
<div class="sheet-row sheet-border-top sheet-small-label sheet-center">
<div class="sheet-col-3-4 sheet-padr">Training Factor</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_trainingfactor" value="@{weekstrained} + @{weeksleadertrained} + @{monthsduty}" disabled="true" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Weeks Trained</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_weekstrained" min="0" max="20" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Weeks Leader Trained with Them</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_weeksleadertrained" min="0" max="20" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Months on Duty</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_monthsduty" min="0" max="12" /></div>
</div>
<div class="sheet-row sheet-border-top sheet-small-label sheet-center">
<div class="sheet-col-3-4 sheet-padr">Equipment Factor</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_equipmentfactor" value="@{equipmentquality} + @{secondweapon} + @{aclessthan6}" disabled="true" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr sheet-small-label sheet-right">Average</div>
<div class="sheet-col-1-6 sheet-center"><input type="radio" name="attr_equipmentquality" value="5" /></div>
<div class="sheet-col-1-6 sheet-padr sheet-small-label sheet-right">Good</div>
<div class="sheet-col-1-6 sheet-center"><input type="radio" name="attr_equipmentquality" value="10" /></div>
<div class="sheet-col-1-6 sheet-padr sheet-small-label sheet-right">Excellent</div>
<div class="sheet-col-1-6 sheet-center"><input type="radio" name="attr_equipmentquality" value="15" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Second Weapon</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_secondweapon" value="5" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">AC 5 or higher</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_aclessthan6" value="5" /></div>
</div>
<div class="sheet-row sheet-border-top sheet-small-label sheet-center">
<div class="sheet-col-3-4 sheet-padr">Special Troop Factor</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_specialtroopfactor" value="@{allelvesdwarves} + ( 2 * @{percentspecial})" disabled="true" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">All Elves or All Dwarves</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_allelvesdwarves" value="15" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">Special Troops</div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_percentspecial" min="0" title="% of force that has two ** or more after Hit Dice" /></div>
</div>
</div>
</div>
<div class="sheet-col-1-3">
<h4 class="sheet-center">Battle Rating <span class="sheet-pictos">Y</span></h4>
<div class="sheet-row">
<div class="sheet-col-2-3 sheet-padr sheet-small-label sheet-right">Quick or Given BR</div>
<div class="sheet-col-1-3 sheet-center sheet-padr"><input type="number" name="attr_quickbr" min="0" value="0"/></div>
<input type="hidden" name="attr_brchecks" value="@{20mounted} + @{50mounted} + @{20missile} + @{20missilelong} + @{1magical} + @{20magical} + @{100magical} + @{5spells} + @{30spells} + @{1fly} + @{20fly} + @{100move}" />
<input type="hidden" name="attr_brcalc" value="@{bfr} + (ceil((@{bfr})/ 10) * (@{brchecks}))" />
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">20% + are Mounted</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_20mounted" value="1" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">50% + are Mounted</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_50mounted" value="1" /></div>
</div>
<div class="sheet-row sheet-padt sheet-border-top">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">20% + have Missiles</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_20missile" value="1" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">20% + have 100'+ range Missiles</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_20missilelong" value="1" /></div>
</div>
<div class="sheet-row sheet-padt sheet-border-top">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">1% + has Magical Abilities</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_1magical" value="1" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">20% + has Magical Abilities</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_20magical" value="1" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">100% + has Magical Abilities</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_100magical" value="1" /></div>
</div>
<div class="sheet-row sheet-padt sheet-border-top">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">5% + can cast Spells</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_5spells" value="1" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">30% + can cast Spells</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_30spells" value="1" /></div>
</div>
<div class="sheet-row sheet-padt sheet-border-top">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">1% + can Fly</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_1fly" value="1" /></div>
</div>
<div class="sheet-row">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">20% + can Fly</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_20fly" value="1" /></div>
</div>
<div class="sheet-row sheet-padt sheet-border-top">
<div class="sheet-col-3-4 sheet-padr sheet-small-label sheet-right">100' + average movement</div>
<div class="sheet-col-1-4 sheet-center"><input type="checkbox" name="attr_100move" value="1" /></div>
</div>
</div>
</div>
</div>
<!--Footer -->
<div class="sheet-row sheet-footer">
<div class="sheet-footer-image"></div>
</div>
</div>
<!-- Roll Templates -->
<rolltemplate class="sheet-rolltemplate-5eDefault">
<div class="sheet-rt-card">
<div class="sheet-rt-header{{#weapon}} sheet-weapon{{/weapon}}{{#spell}} sheet-spell{{/spell}}{{#ability}} sheet-ability{{/ability}}{{#save}} sheet-save{{/save}}{{#deathsave}} sheet-deathsave{{/deathsave}}">
<div class="sheet-rt-title">{{title}}</div>
{{#subheader}}
<div class="sheet-rt-subheader">{{subheader}}{{#subheaderright}} &bullet; {{subheaderright}}{{/subheaderright}}</div>
{{/subheader}}
{{#subheader2}}
<div class="sheet-rt-subheader">{{subheader2}}{{#subheaderright2}} &bullet; {{subheaderright2}}{{/subheaderright2}}</div>
{{/subheader2}}
</div>
{{#emote}}
<p class="sheet-rt-emote">{{character_name}} {{emote}}</p>
{{/emote}}
<div class="sheet-main-content">
<!--Weapon based attacks-->
{{#attack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">hits AC {{attack}}</div>
</div>
{{/attack}}
{{#damage}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Damage</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{damage}}</div>
</div>
{{/damage}}
{{#attackshowinfoblock}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-center">Range</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{attackrange}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-center">AC Mod</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{attackacmod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-center">Effects</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{attackeffects}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-center">Save</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{attacksave}}</div>
</div>
{{/attackshowinfoblock}}
<!--Spellcasting-->
{{#spellshowinfoblock}}
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-right-dotted"><span class="sheet-rt-key">Cast Time</span><br/><span class="sheet-rt-value">{{spellcasttime}}</span></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-left-dotted"><span class="sheet-rt-key">Duration</span><br/><span class="sheet-rt-value">{{spellduration}}</span></div>
<div class="sheet-col-1 sheet-border-top-dotted"></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-right-dotted"><span class="sheet-rt-key">Target/AoE</span><br/><span class="sheet-rt-value">{{spelltarget}}</span></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-left-dotted"><span class="sheet-rt-key">Range</span><br/><span class="sheet-rt-value">{{spellrange}}</span></div>
</div>
{{/spellshowinfoblock}}
{{#spellshowattack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellattack}} AC Hit</div>
</div>
{{/spellshowattack}}
{{#spellshowsavethrow}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Save</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellsavestat}}</div>
</div>
{{/spellshowsavethrow}}
{{#spellshowhealing}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Healing</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellhealing}} HP healed</div>
</div>
{{/spellshowhealing}}
{{#spellshowdamage}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Damage</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spelldamage}}</div>
</div>
{{/spellshowdamage}}
{{#spellshoweffects}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Effect</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spelleffect}}</div>
</div>
{{/spellshoweffects}}
{{#spellshowsavethrow}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Save success</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellsavesuccess}}</div>
</div>
{{/spellshowsavethrow}}
{{#spellshowdesc}}
<div class="sheet-row">
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-key">Spell Description</div>
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-value">{{spelldescription}}</div>
</div>
{{/spellshowdesc}}
<!--NPC-->
{{#npccorestats}}
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Stat</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Score</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Mod</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">STR</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_strength}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_strength_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">DEX</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_dexterity}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_dexterity_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">CON</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_constitution}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_constitution_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">INT</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_intelligence}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_intelligence_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">WIS</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_wisdom}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_wisdom_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">CHA</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_charisma}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_charisma_mod}}</div>
</div>
{{/npccorestats}}
{{#npctraits}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Dmg Resistance</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_damage_resistance}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Dmg Vuln.</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_damage_vulnerability}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Dmg Immunity</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_damage_immunity}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Condition Immunity</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_condition_immunity}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Other Traits</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_traits}}</div>
</div>
{{/npctraits}}
{{#npcaction}}
{{#npc_showmultiattack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Multi Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_multiattack}}</div>
</div>
{{/npc_showmultiattack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Desc.</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_action_description}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Effect</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{npc_action_effect}}</div>
</div>
{{/npcaction}}
<!--Generic section-->
{{#freetext}}
<div class="sheet-row">
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-key-wide">{{freetextname}}</div>
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-value">{{freetext}}</div>
</div>
{{/freetext}}
{{#roll}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{rollname}}</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{roll}}</div>
</div>
{{/roll}}
<!--Outputall-->
{{#outputall}}
{{#allprops() outputall title subheader subheaderright subheader2 subheaderright2 emote weapon spell ability save deathsave}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{key}}</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{value}}</div>
</div>
{{/allprops() outputall title subheader subheaderright subheader2 subheaderright2 emote weapon spell ability save deathsave}}
{{/outputall}}
<!--DEBUG-->
{{#debug}}
{{#allprops()}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{key}} (DEBUG)</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{value}}</div>
</div>
{{/allprops()}}
{{/debug}}
</div>
</div>
</rolltemplate>
<!-- SHEET WORKERS -->
<script type="text/worker">
/* ---- BEGIN: TheAaronSheet.js ---- */
// Github: https://github.com/shdwjk/TheAaronSheet/blob/master/TheAaronSheet.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
var TAS = TAS || (function(){
'use strict';
var version = '0.2.5',
lastUpdate = 1504710542,
loggingSettings = {
debug: {
key: 'debug',
title: 'DEBUG',
color: {
bgLabel: '#7732A2',
label: '#F2EF40',
bgText: '#FFFEB7',
text: '#7732A2'
}
},
error: {
key: 'error',
title: 'Error',
color: {
bgLabel: '#C11713',
label: 'white',
bgText: '#C11713',
text: 'white'
}
},
warn: {
key: 'warn',
title: 'Warning',
color: {
bgLabel: '#F29140',
label: 'white',
bgText: '#FFD8B7',
text: 'black'
}
},
info: {
key: 'info',
title: 'Info',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#B3B2EB',
text: 'black'
}
},
notice: {
key: 'notice',
title: 'Notice',
color: {
bgLabel: '#33C133',
label: 'white',
bgText: '#ADF1AD',
text: 'black'
}
},
log: {
key: 'log',
title: 'Log',
color: {
bgLabel: '#f2f240',
label: 'black',
bgText: '#ffff90',
text: 'black'
}
},
callstack: {
key: 'TAS',
title: 'function',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#B3B2EB',
text: 'black'
}
},
callstack_async: {
key: 'TAS',
title: 'ASYNC CALL',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#413FA9',
text: 'white'
}
},
TAS: {
key: 'TAS',
title: 'TAS',
color: {
bgLabel: 'grey',
label: 'black;background:linear-gradient(#304352,#d7d2cc,#d7d2cc,#d7d2cc,#304352)',
bgText: 'grey',
text: 'black;background:linear-gradient(#304352,#d7d2cc,#d7d2cc,#d7d2cc,#304352)'
}
}
},
config = {
debugMode: false,
logging: {
log: true,
notice: true,
info: true,
warn: true,
error: true,
debug: false
}
},
callstackRegistry = [],
queuedUpdates = {}, //< Used for delaying saves till the last moment.
complexType = function(o){
switch(typeof o){
case 'string':
return 'string';
case 'boolean':
return 'boolean';
case 'number':
return (_.isNaN(o) ? 'NaN' : (o.toString().match(/\./) ? 'decimal' : 'integer'));
case 'function':
return 'function: '+(o.name ? o.name+'()' : '(anonymous)');
case 'object':
return (_.isArray(o) ? 'array' : (_.isArguments(o) ? 'arguments' : ( _.isNull(o) ? 'null' : 'object')));
default:
return typeof o;
}
},
dataLogger = function(primaryLogger,secondaryLogger,data){
_.each(data,function(m){
var type = complexType(m);
switch(type){
case 'string':
primaryLogger(m);
break;
case 'undefined':
case 'null':
case 'NaN':
primaryLogger('['+type+']');
break;
case 'number':
case 'not a number':
case 'integer':
case 'decimal':
case 'boolean':
primaryLogger('['+type+']: '+m);
break;
default:
primaryLogger('['+type+']:=========================================');
secondaryLogger(m);
primaryLogger('=========================================================');
break;
}
});
},
colorLog = function(options){
var coloredLoggerFunction,
key = options.key,
label = options.title || 'TAS',
lBGColor = (options.color && options.color.bgLabel) || 'blue',
lTxtColor = (options.color && options.color.label) || 'white',
mBGColor = (options.color && options.color.bgText) || 'blue',
mTxtColor = (options.color && options.color.text) || 'white';
coloredLoggerFunction = function(message){
/* eslint-disable no-console */
console.log(
'%c '+label+': %c '+message + ' ',
'background-color: '+lBGColor+';color: '+lTxtColor+'; font-weight:bold;',
'background-color: '+mBGColor+';color: '+mTxtColor+';'
);
/* eslint-enable no-console */
};
return function(){
if('TAS'===key || config.logging[key]){
/* eslint-disable no-console */
dataLogger(coloredLoggerFunction,function(m){console.log(m);},_.toArray(arguments));
/* eslint-enable no-console */
}
};
},
logDebug = colorLog(loggingSettings.debug),
logError = colorLog(loggingSettings.error),
logWarn = colorLog(loggingSettings.warn),
logInfo = colorLog(loggingSettings.info),
logNotice = colorLog(loggingSettings.notice),
logLog = colorLog(loggingSettings.log),
log = colorLog(loggingSettings.TAS),
logCS = colorLog(loggingSettings.callstack),
logCSA = colorLog(loggingSettings.callstack_async),
registerCallstack = function(callstack,label){
var idx=_.findIndex(callstackRegistry,function(o){
return (_.difference(o.stack,callstack).length === _.difference(callstack,o.stack).length) &&
_.difference(o.stack,callstack).length === 0 &&
o.label === label;
});
if(-1 === idx){
idx=callstackRegistry.length;
callstackRegistry.push({
stack: callstack,
label: label
});
}
return idx;
},
setConfigOption = function(options){
var newconf =_.defaults(options,config);
newconf.logging=_.defaults(
(options && options.logging)||{},
config.logging
);
config=newconf;
},
isDebugMode = function(){
return config.debugMode;
},
debugMode = function(){
config.logging.debug=true;
config.debugMode = true;
},
getCallstack = function(){
var e = new Error('dummy'),
stack = _.map(_.rest(e.stack.replace(/^[^(]+?[\n$]/gm, '')
.replace(/^\s+at\s+/gm, '')
.replace(/^Object.<anonymous>\s*\(/gm, '{anonymous}()@')
.split('\n')),function(l){
return l.replace(/\s+.*$/,'');
});
return stack;
},
logCallstackSub = function(cs){
var matches, csa;
_.find(cs,function(line){
matches = line.match(/TAS_CALLSTACK_(\d+)/);
if(matches){
csa=callstackRegistry[matches[1]];
logCSA( '===================='+(csa.label ? '> '+csa.label+' <' : '')+'====================');
logCallstackSub(csa.stack);
return true;
}
logCS(line);
return false;
});
},
logCallstack = function(){
var cs;
if(config.debugMode){
cs = getCallstack();
cs.shift();
log('==============================> CALLSTACK <==============================');
logCallstackSub(cs);
log('=========================================================================');
}
},
wrapCallback = function (label, callback, context){
var callstack;
if('function' === typeof label){
context=callback;
callback=label;
label=undefined;
}
if(!config.debugMode){
return (function(cb,ctx){
return function(){
cb.apply(ctx||{},arguments);
};
}(callback,context));
}
callstack = getCallstack();
callstack.shift();
return (function(cb,ctx,cs,lbl){
var ctxref=registerCallstack(cs,lbl);
/*jshint -W054 */
return new Function('cb','ctx','TASlog',
"return function TAS_CALLSTACK_"+ctxref+"(){"+
"var start,end;"+
"TASlog('Entering: '+(cb.name||'(anonymous function)'));"+
"start=_.now();"+
"cb.apply(ctx||{},arguments);"+
"end=_.now();"+
"TASlog('Exiting: '+(cb.name||'(anonymous function)')+' :: '+(end-start)+'ms elapsed');"+
"};")(cb,ctx,log);
/*jshint +W054 */
}(callback,context,callstack,label));
},
prepareUpdate = function( attribute, value ){
queuedUpdates[attribute]=value;
},
applyQueuedUpdates = function() {
setAttrs(queuedUpdates);
queuedUpdates = {};
},
namesFromArgs = function(args,base){
return _.chain(args)
.reduce(function(memo,attr){
if('string' === typeof attr) {
memo.push(attr);
} else if(_.isArray(args) || _.isArguments(args)){
memo = namesFromArgs(attr,memo);
}
return memo;
},(_.isArray(base) && base) || [])
.uniq()
.value();
},
addId = function(obj,value){
Object.defineProperty(obj,'id',{
value: value,
writable: false,
enumerable: false
});
},
addProp = function(obj,prop,value,fullname){
(function(){
var pname=(_.contains(['S','F','I','D'],prop) ? '_'+prop : prop),
full_pname = fullname || prop,
pvalue=value;
_.each(['S','I','F'],function(p){
if( !_.has(obj,p)){
Object.defineProperty(obj, p, {
value: {},
enumerable: false,
readonly: true
});
}
});
if( !_.has(obj,'D')){
Object.defineProperty(obj, 'D', {
value: _.reduce(_.range(10),function(m,d){
Object.defineProperty(m, d, {
value: {},
enumerable: true,
readonly: true
});
return m;
},{}),
enumerable: false,
readonly: true
});
}
// Raw value
Object.defineProperty(obj, pname, {
enumerable: true,
set: function(v){
if(v!==pvalue) {
pvalue=v;
prepareUpdate(full_pname,v);
}
},
get: function(){
return pvalue;
}
});
// string value
Object.defineProperty(obj.S, pname, {
enumerable: true,
set: function(v){
var val=v.toString();
if(val !== pvalue) {
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return pvalue.toString();
}
});
// int value
Object.defineProperty(obj.I, pname, {
enumerable: true,
set: function(v){
var val=parseInt(v,10) || 0;
if(val !== pvalue){
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return parseInt(pvalue,10) || 0;
}
});
// float value
Object.defineProperty(obj.F, pname, {
enumerable: true,
set: function(v){
var val=parseFloat(v) || 0;
if(val !== pvalue) {
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return parseFloat(pvalue) || 0;
}
});
_.each(_.range(10),function(d){
Object.defineProperty(obj.D[d], pname, {
enumerable: true,
set: function(v){
var val=(parseFloat(v) || 0).toFixed(d);
if(val !== pvalue){
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return (parseFloat(pvalue) || 0).toFixed(d);
}
});
});
}());
},
repeating = function( section ) {
return (function(s){
var sectionName = s,
attrNames = [],
fieldNames = [],
operations = [],
after = [],
repAttrs = function TAS_Repeating_Attrs(){
attrNames = namesFromArgs(arguments,attrNames);
return this;
},
repFields = function TAS_Repeating_Fields(){
fieldNames = namesFromArgs(arguments,fieldNames);
return this;
},
repReduce = function TAS_Repeating_Reduce(func, initial, final, context) {
operations.push({
type: 'reduce',
func: (func && _.isFunction(func) && func) || _.noop,
memo: (_.isUndefined(initial) && 0) || initial,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repMap = function TAS_Repeating_Map(func, final, context) {
operations.push({
type: 'map',
func: (func && _.isFunction(func) && func) || _.noop,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repEach = function TAS_Repeating_Each(func, final, context) {
operations.push({
type: 'each',
func: (func && _.isFunction(func) && func) || _.noop,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repTap = function TAS_Repeating_Tap(final, context) {
operations.push({
type: 'tap',
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repAfter = function TAS_Repeating_After(callback,context) {
after.push({
callback: (callback && _.isFunction(callback) && callback) || _.noop,
context: context || {}
});
return this;
},
repExecute = function TAS_Repeating_Execute(callback,context){
var rowSet = {},
attrSet = {},
fieldIds = [],
fullFieldNames = [];
repAfter(callback,context);
// call each operation per row.
// call each operation's final
getSectionIDs("repeating_"+sectionName,function(ids){
fieldIds = ids;
fullFieldNames = _.reduce(fieldIds,function(memo,id){
return memo.concat(_.map(fieldNames,function(name){
return 'repeating_'+sectionName+'_'+id+'_'+name;
}));
},[]);
getAttrs( _.uniq(attrNames.concat(fullFieldNames)), function(values){
_.each(attrNames,function(aname){
if(values.hasOwnProperty(aname)){
addProp(attrSet,aname,values[aname]);
}
});
rowSet = _.reduce(fieldIds,function(memo,id){
var r={};
addId(r,id);
_.each(fieldNames,function(name){
var fn = 'repeating_'+sectionName+'_'+id+'_'+name;
addProp(r,name,values[fn],fn);
});
memo[id]=r;
return memo;
},{});
_.each(operations,function(op){
var res;
switch(op.type){
case 'tap':
_.bind(op.final,op.context,rowSet,attrSet)();
break;
case 'each':
_.each(rowSet,function(r){
_.bind(op.func,op.context,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,rowSet,attrSet)();
break;
case 'map':
res = _.map(rowSet,function(r){
return _.bind(op.func,op.context,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,res,rowSet,attrSet)();
break;
case 'reduce':
res = op.memo;
_.each(rowSet,function(r){
res = _.bind(op.func,op.context,res,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,res,rowSet,attrSet)();
break;
}
});
// finalize attrs
applyQueuedUpdates();
_.each(after,function(op){
_.bind(op.callback,op.context)();
});
});
});
};
return {
attrs: repAttrs,
attr: repAttrs,
column: repFields,
columns: repFields,
field: repFields,
fields: repFields,
reduce: repReduce,
inject: repReduce,
foldl: repReduce,
map: repMap,
collect: repMap,
each: repEach,
forEach: repEach,
tap: repTap,
'do': repTap,
after: repAfter,
last: repAfter,
done: repAfter,
execute: repExecute,
go: repExecute,
run: repExecute
};
}(section));
},
repeatingSimpleSum = function(section, field, destination){
repeating(section)
.attr(destination)
.field(field)
.reduce(function(m,r){
return m + (r.F[field]);
},0,function(t,r,a){
a.S[destination]=t;
})
.execute();
};
/* eslint-disable no-console */
console.log('%c•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ The Aaron Sheet v'+version+' ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•','background: linear-gradient(to right,green,white,white,green); color:black;text-shadow: 0 0 8px white;');
console.log('%c•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ Last update: '+(new Date(lastUpdate*1000))+' ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•','background: linear-gradient(to right,green,white,white,green); color:black;text-shadow: 0 0 8px white;');
/* eslint-enable no-console */
return {
/* Repeating Sections */
repeatingSimpleSum: repeatingSimpleSum,
repeating: repeating,
/* Configuration */
config: setConfigOption,
/* Debugging */
callback: wrapCallback,
callstack: logCallstack,
debugMode: debugMode,
isDebugMode: isDebugMode,
_fn: wrapCallback,
/* Logging */
debug: logDebug,
error: logError,
warn: logWarn,
info: logInfo,
notice: logNotice,
log: logLog
};
}());
/* ---- END: TheAaronSheet.js ---- */
on('change:repeating_inventtab1 remove:repeating_inventtab1', function(){
TAS.repeating('inventtab1')
.attrs('inventorycur1')
.fields('itemquantity1','itemenc1','itemtot1')
.reduce(function(m,r){
m.tot+=(r.F.itemenc1*r.I.itemquantity1);
r.D[0].itemtot1=(r.F.itemenc1*r.I.itemquantity1);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur1=m.tot;
})
.execute();
});
on('change:repeating_inventtab2 remove:repeating_inventtab2', function(){
TAS.repeating('inventtab2')
.attrs('inventorycur2')
.fields('itemquantity2','itemenc2','itemtot2')
.reduce(function(m,r){
m.tot+=(r.F.itemenc2*r.I.itemquantity2);
r.D[0].itemtot2=(r.F.itemenc2*r.I.itemquantity2);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur2=m.tot;
})
.execute();
});
on('change:repeating_inventtab3 remove:repeating_inventtab3', function(){
TAS.repeating('inventtab3')
.attrs('inventorycur3')
.fields('itemquantity3','itemenc3','itemtot3')
.reduce(function(m,r){
m.tot+=(r.F.itemenc3*r.I.itemquantity3);
r.D[0].itemtot3=(r.F.itemenc3*r.I.itemquantity3);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur3=m.tot;
})
.execute();
});
on('change:repeating_inventtab4 remove:repeating_inventtab4', function(){
TAS.repeating('inventtab4')
.attrs('inventorycur4')
.fields('itemquantity4','itemenc4','itemtot4')
.reduce(function(m,r){
m.tot+=(r.F.itemenc4*r.I.itemquantity4);
r.D[0].itemtot4=(r.F.itemenc4*r.I.itemquantity4);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur4=m.tot;
})
.execute();
});
on('change:repeating_inventtab5 remove:repeating_inventtab5', function(){
TAS.repeating('inventtab5')
.attrs('inventorycur5')
.fields('itemquantity5','itemenc5','itemtot5')
.reduce(function(m,r){
m.tot+=(r.F.itemenc5*r.I.itemquantity5);
r.D[0].itemtot5=(r.F.itemenc5*r.I.itemquantity5);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur5=m.tot;
})
.execute();
});
on('change:repeating_inventtab6 remove:repeating_inventtab6', function(){
TAS.repeating('inventtab6')
.attrs('inventorycur6')
.fields('itemquantity6','itemenc6','itemtot6')
.reduce(function(m,r){
m.tot+=(r.F.itemenc6*r.I.itemquantity6);
r.D[0].itemtot6=(r.F.itemenc6*r.I.itemquantity6);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur6=m.tot;
})
.execute();
});
on('change:repeating_inventtab7 remove:repeating_inventtab7', function(){
TAS.repeating('inventtab7')
.attrs('inventorycur7')
.fields('itemquantity7','itemenc7','itemtot7')
.reduce(function(m,r){
m.tot+=(r.F.itemenc7*r.I.itemquantity7);
r.D[0].itemtot7=(r.F.itemenc7*r.I.itemquantity7);
return m;
},{tot:0},function(m,r,a){
a.D[0].inventorycur7=m.tot;
})
.execute();
});
</script>