Files
roll20-character-sheets-tester/Ars_Magica_5th/template.html
T

1904 lines
106 KiB
HTML

<!-- The file template.html includes python integration. See Readme.md for details -->
$$header$$
<!-- Do not remove older alerts, the id system will break and hide new alerts on old sheets -->
$$alert(
"February 2021 v1.6 Update - Loss of data: ability's characteristic",
"In the 'Ability' tab, the characteristic of each ability must be selected again."
)$$
$$alert(
"February 2021 v1.6 Update",
markdown.markdown(
"""- Fixed tabs not displaying properly in firefox *(tabs are again attached to an attribute)*
- Fixed ability rolltemplate being too wide in some cases
- Added sheet documentation direclty into the sheet: *check out the "Help" tab to find it*
- Added inline labels to all rolls: *hover over the result to see the details (may require re-selecting arts/characteristics to work properly)*
- Added simple/stress die handling: *check out the "Help" tab for configuration options. Criticals are supported too (but see caveat in the "Help" tab, 3D dice are lying to you)*
- Added support for additional fatigue levels: *magical creatures and enduring characters are easier now*
- Added support for focus in magic totals & rolls"""),
level="info"
)$$
<div class="sheet-top_bar">
<div>
<div class='sheet-3colrow'>
<div class='sheet-col'>
<table class="sheet-table_1">
<tr>
<th data-i18n="character" >Character</th>
<td><input type="text" class="sheet-heading_1" name="attr_character_name"/></td>
</tr>
<tr>
<th data-i18n="player" >Player</th>
<td><input type="text" class="sheet-heading_3" name="attr_player_name"/></td>
</tr>
<tr>
<th data-i18n="unspent-xp" >Unspent XP</th>
<td><input type="text" class="sheet-heading_3" name="attr_unspent_xp"/></td>
</tr>
</table>
</div>
<div class='sheet-col'>
<div class="sheet-banner">
<div class="sheet-banner-content"></div>
</div>
</div>
<div class='sheet-col'>
<table class="sheet-table_1">
<tr>
<th data-i18n="saga" >Saga</th>
<td colspan="3"><input type="text" class="sheet-heading_2" name="attr_saga"/></td>
</tr>
<tr>
<th data-i18n="current-year" >Current Year</th>
<td colspan="3"><input type="text" class="sheet-heading_2" name="attr_year"/></td>
</tr>
<tr>
<th data-i18n="confidence" >Confidence</th>
<td><input type="text" data-i18n-placeholder="score" placeholder="Score" class="sheet-heading_2" style="width:50px;" name="attr_Confidence"/></td>
<th data-i18n="pool" >Pool</th>
<td style="text-align:right;"><input data-i18n-placeholder="points" placeholder="Points" type="text" class="sheet-heading_2" style="width:50px;" name="attr_ConfidencePoints"/></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="sheet-tab-br"></div>
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" value="character"/>
<input type="hidden" name="attr_simple-die" value="(1d10cs0cf0) [@{simple-die_i18n}]"/>
<input type="hidden" name="attr_stress-die" value="ceil(((((1d10cs1cf10 %9) -1)+9) %9) *1.1) [@{stress-die_i18n}]"/>
<input type="hidden" class="sheet-dtype-selector" name="attr_die-type-selection-proxy" value="toggle"/>
<input type="hidden" class="selected-die" name="attr_selected-die" value="simple"/>
<div class="sheet-buttonbar">
<div class="sheet-navbuttons">
<button type="action" name="act_character" class="sheet-tabbutton" data-i18n="character" >Character</button>
<button type="action" name="act_abilities" class="sheet-tabbutton" data-i18n="abilities" >Abilities</button>
<button type="action" name="act_magic" class="sheet-tabbutton" data-i18n="magic" >Magic</button>
<button type="action" name="act_combat" class="sheet-tabbutton" data-i18n="combat" >Combat</button>
<button type="action" name="act_spells" class="sheet-tabbutton" data-i18n="spells" >Spells</button>
<button type="action" name="act_help" class="sheet-tabbutton" data-i18n="help">Help</button>
</div>
<div class="sheet-functions">
<button type="action" name="act_die-toggle-simple" class="sheet-die-toggle-simple" data-i18n="simple">Simple</button>
<button type="action" name="act_die-toggle-stress" class="sheet-die-toggle-stress" data-i18n="stress">Stress</button>
<button type="roll" class="sheet-reroll" name="roll_reroll" title="Reroll" value="&{template:reroll} {{roll= [[1d10]]}}" data-i18n="roll">Roll</button>
<button type="roll" class="sheet-botch" name="roll_botch" title="Botch" value="&{template:botch} {{roll= @{botchFormula} }}" data-i18n="botch" >Botch</button>
<button type="roll" class="sheet-critical" name="roll_critical" title="Critical" value="&{template:critical} {{roll=[[?{@{total_i18n}|0}[@{total_i18n}] + (2*2**({1d10!1}=1)) [number of 1s] * [[1d9+1]] [last die]]]}}" data-i18n="critical">Critical</button>
<!-- Invisible second critical button with a divide by 2, for spontaneous criticals -->
<button type="roll" class="sheet-critical" name="roll_critical-spontaneous" title="Critical" style="display: none" value="&{template:critical} {{roll=[[?{@{total_i18n}|0}[@{total_i18n}] + (2**({1d10!1}=1)) [number of 1s] * [[1d9+1]] [last die]]]}} {{type=@{spontaneous_i18n}}}" data-i18n="critical">Critical</button>
</div>
</div>
<div class="sheet-tab-br"></div>
<!-- 1 Details -->
<div class="sheet-tab-content sheet-tab1">
<div>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<div>
<div class='sheet-col'>
<table class="sheet-table_1">
<tr>
<th data-i18n="age" >Age</th>
<td><input type="text" class="sheet-heading_2" style="width:70px;" name="attr_Age"/></td>
</tr>
<tr>
<th>
<select class="sheet-select_2" name="attr_MightType">
<option class="sheet-italic" value="NoMight"><span style="text-align:center;" data-i18n="no-might" >No Might</span></option>
<option value="DivineMight" data-i18n="divine-might" >Divine Might</option>
<option value="FaerieMight" data-i18n="faerie-might" >Faerie Might</option>
<option value="InfernalMight" data-i18n="infernal-might" >Infernal Might</option>
<option value="MagicMight" data-i18n="magic-might" >Magic Might</option>
</select>
</th>
<td><input data-i18n-placeholder="score" placeholder="Score" type="text" class="sheet-heading_2" style="width:70px;" name="attr_MightScore" /></td>
</tr>
<tr>
<th data-i18n="warp-score" >Warp Score</th>
<td><input type="text" class="sheet-heading_2" style="width:70px;" name="attr_Warping"/></td>
</tr>
</table>
</div>
<div class='sheet-col'>
<table class="sheet-table_1" style="margin-bottom:16px;">
<tr>
<th data-i18n="apparent-age" >Apparent Age</th>
<td><input type="text" class="sheet-heading_2" style="width:70px;" name="attr_ApparentAge"/></td>
</tr>
<tr>
<th data-i18n="pool" >Pool</th>
<td><input data-i18n-placeholder="points" placeholder="Points" type="text" class="sheet-heading_2" style="width:70px;" name="attr_CurrentMagicMight"/></td>
</tr>
<tr>
<th data-i18n="warp-points" >Warp Points</th>
<td><input type="text" class="sheet-heading_2" style="width:70px;" name="attr_WarpPoints"/></td>
</tr>
</table>
</div>
</div>
<div>
<div class='sheet-row'>
<h4 class="sheet-heading_label" style="margin-bottom:0px;" data-i18n="warping-scars" >Warping Scars</h4>
<textarea class="sheet-textarea_4" name="attr_Warping_effects"></textarea>
</div>
</div>
</div>
<div class='sheet-col'>
<table class="sheet-table_2" style="width:400px">
<tr>
<th colspan="2" data-i18n="birth-name" >Birth Name</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Birth_Name"/></td>
</tr>
<tr>
<th colspan="2" data-i18n="year-born" >Year Born</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Year_Born"/></td>
</tr>
<tr>
<th colspan="2" data-i18n="gender" >Gender</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Gender"/></td>
</tr>
<tr>
<th colspan="2" data-i18n="race-nationality" >Race/Nationality</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Race_Nationality"/></td>
</tr>
<tr>
<th colspan="2" data-i18n="place-of-origin" >Place of Origin</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Place_of_Origin"/></td>
</tr>
<tr>
<th colspan="2" data-i18n="religion" >Religion</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Religion"/></td>
</tr>
<tr>
<th colspan="2" data-i18n="title-profession" >Title/Profession</th>
<td colspan="2"><input type="text" class="sheet-heading_3" name="attr_Title_Profession"/></td>
</tr>
<tr>
<th data-i18n="height" >Height</th>
<td><input type="text" class="sheet-heading_3" style="width:70px;" name="attr_Height"/></td>
<th data-i18n="weight" >Weight</th>
<td><input type="text" class="sheet-heading_3" style="width:70px;" name="attr_Weight"/></td>
</tr>
<tr>
<th data-i18n="size" >Size</th>
<td><input type="number" class="sheet-heading_3" style="width:70px;" name="attr_Size"/></td>
<th data-i18n="handedness" >Handedness</th>
<td><input type="text" class="sheet-heading_3" style="width:70px;" name="attr_Handedness"/></td>
</tr>
<tr>
<th data-i18n="hair" >Hair</th>
<td><input type="text" class="sheet-heading_3" style="width:70px;" name="attr_Hair"/></td>
<th data-i18n="eyes" >Eyes</th>
<td><input type="text" class="sheet-heading_3" style="width:70px;" name="attr_Eyes"/></td>
</tr>
</table>
</div>
</div>
</div>
<div>
<h4 class="sheet-heading_label" style="margin-bottom:0px;" data-i18n="magus-background" >Magus Background</h4>
<div class='sheet-2colrow' style="border:1px solid black;">
<div class='sheet-col'>
<table class="sheet-table_1">
<tr>
<th data-i18n="house" >House</th>
<td><input type="text" class="sheet-heading_2" name="attr_House"/></td>
</tr>
<tr>
<th data-i18n="covenant" >Covenant</th>
<td><input type="text" class="sheet-heading_2" name="attr_Covenant"/></td>
</tr>
<tr>
<td><h4 class="sheet-heading_label" style="margin-bottom: 0px;" data-i18n="wizard-s-sigil" >Wizard's Sigil</h4></td>
<td></td>
</tr>
<tr>
<th rowspan="2" colspan="2"><textarea class="sheet-textarea_4" name="attr_sigil"></textarea></th>
</tr>
</table>
</div>
<div class='sheet-col'>
<table class="sheet-table_1" style="text-align:right;">
<tr>
<th data-i18n="domus-magna" >Domus Magna</th>
<td><input type="text" class="sheet-heading_2" name="attr_DomusMagna"/></td>
</tr>
<tr>
<th data-i18n="primus" >Primus</th>
<td><input type="text" class="sheet-heading_2" name="attr_Primus"/></td>
</tr>
<tr>
<th data-i18n="parens" >Parens</th>
<td><input type="text" class="sheet-heading_2" name="attr_Parens"/></td>
</tr>
<tr>
<th data-i18n="covenant-of-apprenticeship" >Covenant of Apprenticeship</th>
<td><input type="text" class="sheet-heading_2" name="attr_CovenantofApprenticeship"/></td>
</tr>
</table>
</div>
</div>
</div>
<br>
<div>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<h4 class="sheet-heading_label" data-i18n="virtues" >Virtues</h4>
<fieldset class="repeating_virtue">
<table class="sheet-table_2" style="width:400px">
<tr>
<td><input type="text" class="sheet-heading_2 " name="attr_Virtue" style="width:245px"/>
<select name="attr_VirtueType" class="sheet-dropdown"/>
<option name="attr_VirtueType" value="Vminor" data-i18n="minor" >Minor</option>
<option name="attr_VirtueType" value="Vmajor" data-i18n="major" >Major</option>
<option name="attr_VirtueType" value="Vfree" data-i18n="free" >Free</option>
</select>
</td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_virtue_show" value="1" checked/><span></span></div></th>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_virtue_show" value="1" checked/>
<div class="sheet-hide">
<textarea class="sheet-textarea_1" style="width:300px;" name="attr_virtue_text"></textarea>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
<div class='sheet-col'>
<h4 class="sheet-heading_label" data-i18n="flaws" >Flaws</h4>
<fieldset class="repeating_flaw">
<table class="sheet-table_2" style="width:400px">
<tr>
<td><input type="text" class="sheet-heading_2" name="attr_flaw" style="width:245px"/>
<select name="attr_VirtueType" class="sheet-dropdown"/>
<option name="attr_VirtueType" value="Vminor" data-i18n="minor" >Minor</option>
<option name="attr_VirtueType" value="Vmajor" data-i18n="major" >Major</option>
<option name="attr_VirtueType" value="Vfree" data-i18n="free" >Free</option>
</select>
</td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_flaw_show" value="1" checked/><span></span></div></th>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_flaw_show" value="1" checked/>
<div class="sheet-hide">
<textarea class="sheet-textarea_1" style="width:300px;" name="attr_flaw_text"></textarea>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
<br>
<div>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<h4 class="sheet-heading_label" data-i18n="personality-traits" >Personality Traits</h4>
<table class="sheet-table_2" style="width:400px">
<tr>
<td data-i18n="trait" >Trait</td>
<td data-i18n="score" >Score</td>
<td></td>
</tr>
$$personality_trait_rows$$
</table>
</div>
<div class='sheet-col'>
<h4 class="sheet-heading_label" data-i18n="reputations" >Reputations</h4>
<table class="sheet-table_2" style="width:400px">
<tr>
<th></th>
<td data-i18n="type" >Type</td>
<td data-i18n="score" >Score</td>
</tr>
$$reputation_rows$$
</table>
</div>
</div>
</div>
<div>
<h4 class="sheet-heading_label" data-i18n="inventory" >Inventory</h4>
<table class="sheet-table_2" style="width:830px">
<tr>
<td style="width:400px;" data-i18n="item" >Item</td>
<td style="width:400px;" data-i18n="number" >Number</td>
<th></th>
</tr>
</table>
<fieldset class="repeating_item">
<table class="sheet-table_2" style="width:830px">
<tr>
<td style="width:450px;"><input type="text" class="sheet-heading_2" style="width:400px" name="attr_item_name" data-i18n-placeholder="item-name" placeholder="Item Name"/></td>
<td style="width:350px;"><input type="number" class="sheet-number_1" name="attr_item_number" value="0"/></td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_item_show" value="1" checked/><span></span></div></th>
</tr>
<tr>
<td colspan="3">
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_item_show" value="1" checked/><span></span>
<div class="sheet-hide">
<textarea class="sheet-textarea_2" style="width:800px" name="attr_item_description" data-i18n-placeholder="description" placeholder="Description"></textarea>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<!-- 2 Characteristics & Abilities -->
<div class="sheet-tab-content sheet-tab2">
<div>
<div class='sheet-2colrow' style="margin-top:10px;">
<div class='sheet-col'>
<div>
<h4 class="sheet-heading_label" data-i18n="characteristics" >Characteristics</h4>
<table class="sheet-table_2" style="border:0px">
<tr>
<td><div class="sheet-heading"></div></td>
<td data-i18n="description" >Description</td>
<td data-i18n="score" >Score</td>
<td data-i18n="aging" >Aging</td>
<td data-i18n="bonus" >Bonus</td>
</tr>
$$characteristic_rows$$
</table>
</div>
<div>
<table class="sheet-table_2" style="border-width: 0px;">
<tr>
<th><h4 class="sheet-heading_label" data-i18n="decrepitude-aging" >Decrepitude/Aging</h4></th>
<td><input type="text" class="sheet-number_1" name="attr_Decrepitude" value="0"/></td>
</tr>
<tr>
<td colspan="2"><textarea class="sheet-textarea_2" name="attr_Decrepitude_effects"></textarea></td>
</tr>
</table>
</div>
<div>
<h4 class="sheet-heading_label" style="margin-bottom: 0px;" data-i18n="ongoing-effects" >Ongoing Effects</h4>
<textarea class="sheet-textarea_2" name="attr_Longevity_Scars"></textarea>
</div>
</div>
<div class='sheet-col'>
<h4 class="sheet-heading_label" data-i18n="abilities" >Abilities</h4>
<table class="sheet-table_2" style="width:400px;">
<tr>
<td><div style="width:40px;"></div></td>
<td><div style="width:210px;" data-i18n="ability" >Ability</div></td>
<td><div style="width:60px;" data-i18n="score" >Score</div></td>
<td><div style="width:40px;">*</div></td>
</tr>
</table>
<fieldset class="repeating_ability">
<table class="sheet-table_2" style="width:400px;">
<tr>
<td width="30px"><div class="sheet-flex-container">
<button type="roll" class="sheet-button sheet-simple-roll" name="roll_ability_simple" value="$$ability_roll_simple$$"></button>
<button type="roll" class="sheet-button sheet-stress-roll" name="roll_ability_stress" value="$$ability_roll_stress$$"></button>
</div></td>
<td width="240px"><input type="text" style="width:220px;" class="sheet-heading_4" name="attr_Ability_name"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ability_TotalScore" value="[[(@{Ability_Score}) + (@{Ability_Puissant})]]" disabled="true" /></td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_Ability_show" value="1" checked/><span></span></div></th>
</tr>
</table>
<input type="checkbox" class="sheet-hider sheet-hidden" value="1" name="attr_Ability_show" checked/>
<div class="sheet-hide">
<table class="sheet-table_2" style="width:400px;">
<tr>
<th data-i18n="characteristic" >Characteristic</th>
<th data-i18n="speciality" >Speciality</th>
<th data-i18n="score" >Score</th>
<th data-i18n="bonus" >Bonus</th>
</tr>
<tr>
<td>
<select class="sheet-select_1" name="attr_Ability_CharacName">
<option class="sheet-italic" value="Unselected" data-i18n="characteristic" >Characteristic</option>
<!-- $$characteristic_name_ask$$ (currently not functional) -->
$$characteristic_name_options$$
</select>
</td>
<td><input type="text" class="sheet-heading_4" name="attr_Ability_Speciality" data-i18n-placeholder="speciality" placeholder="Speciality" /></td>
<td><input type="number" class="sheet-number_2" name="attr_Ability_Score" value="0"/></td>
<td><input type="text" class="sheet-number_2" name="attr_Ability_Puissant" value="0"/><span></span></td>
</tr>
<tr>
<th colspan="2">XP $$xp("Ability")$$</th>
<td colspan="2"><span data-i18n="accelerated-">Accelerated</span> <input type="hidden" value="5" name="attr_AcceleratedCheck"><input type="checkbox" class="sheet-check" value="1" name="attr_AcceleratedCheck"></td>
</tr>
</table>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<!-- 3 Magic -->
<div class="sheet-tab-content sheet-tab3">
<div>
<div class="sheet-3colrow" style="margin-top:10px;">
<div class='sheet-col' style="margin-right: 20px">
<h4 class="sheet-heading_label" data-i18n="techniques" >Techniques</h4>
<table class="sheet-table_3" style="width:270px;margin-bottom:16px;">
<tr>
<th><div style="width:35px;" data-i18n="score" >Score</div></th>
<th><div style="width:55px;" data-i18n="art" >Art</div></th>
<th><div style="width:110px;" data-i18n="exp" >Exp.</div></th>
<th><div style="width:45px;" data-i18n="bonus" >Bonus</div></th>
</tr>
$$technique_definitions$$
</table>
</div>
<div class='sheet-col' style="margin-right: 20px">
<h4 class="sheet-heading_label" data-i18n="forms" >Forms</h4>
<table class="sheet-table_3" style="width:260px;">
<tr>
<th><div style="width:35px;" data-i18n="score" >Score</div></th>
<th><div style="width:55px;" data-i18n="art" >Art</div></th>
<th><div style="width:110px;" data-i18n="exp" >Exp.</div></th>
<th><div style="width:45px;" data-i18n="bonus" >Bonus</div></th>
</tr>
$$form_definitions_1$$
</table>
</div>
<div class='sheet-col' style="margin-right: 20px">
<div style="height:16px"></div>
<table class="sheet-table_3" style="width:260px;">
<tr>
<th><div style="width:35px;" data-i18n="score" >Score</div></th>
<th><div style="width:55px;" data-i18n="art" >Art</div></th>
<th><div style="width:110px;" data-i18n="exp" >Exp.</div></th>
<th><div style="width:45px;" data-i18n="bonus" >Bonus</div></th>
</tr>
$$form_definitions_2$$
</table>
</div>
</div>
</div>
<div class="sheet-divider" style="height:15px;"><span>&nbsp;</span></div>
<div>
<h4 class="sheet-heading_label" data-i18n="base-casting-totals" >Base Casting Totals</h4>
<table class="sheet-table_3" style="width:100%;">
<tr>
<th data-i18n="spontaneous-spells" >Spontaneous Spells</th>
<th style="width:30px;text-align:center;padding-left:0px;" data-i18n="roll" >Roll</th>
<th data-i18n="total" >Total</th>
<th data-i18n="technique" >Technique</th>
<th data-i18n="form" >Form</th>
<th data-i18n="focus" >Focus</th>
<th data-i18n="sta" >Sta</th>
<th data-i18n="aura" >Aura</th>
<th data-i18n="artes-lib-" >Artes Lib.</th>
<th data-i18n="philos-" >Philos.</th>
</tr>
<tr>
<td data-i18n="fatiguing" >Fatiguing</td>
<td><div class="sheet-flex-container">
<!-- <button style="margin: 0px auto;" type="roll" class="sheet-button sheet-simple-roll" name="roll_Spontaneous1_simple" value="$$spontaneous_roll_simple$$"></button> -->
<button style="margin: 0px auto;" type="roll" class="sheet-button sheet-stress-roll sheet-single-roll" name="roll_Spontaneous1_stress" value="$$spontaneous_roll_stress$$"></button>
</div></td>
<td><input type="number" class="sheet-number_2" name="attr_Spontaneous1" value="(@{Spontaneous1_Technique} + @{Spontaneous1_Form} + (@{Spontaneous1_Focus}) + @{gestures} + @{words} + @{Stamina_Score} + @{aura})/2" disabled="true"/></td>
<td>
<select class="sheet-select_1" name="attr_Spontaneous1_Technique">
<option class="sheet-italic" value="0 [@{technique_i18n}]" data-i18n="technique" >Technique</option>
$$technique_score_options$$
</select>
</td>
<td>
<select class="sheet-select_1" name="attr_Spontaneous1_Form">
<option class="sheet-italic" value="0 [@{form_i18n}]" data-i18n="form" >Form</option>
$$form_score_options$$
</select>
</td>
<td><input type="checkbox" class="sheet-check" name="attr_Spontaneous1_Focus" value="((@{Spontaneous1_Technique} + @{Spontaneous1_Form} - abs(@{Spontaneous1_Technique} - @{Spontaneous1_Form}))/2)"></input></td>
<td><input type="number" class="sheet-number_2" name="attr_Spontaneous1_Sta" value="@{Stamina_Score}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Spontaneous1_aura" value="@{aura}" disabled="true"/></td>
<td></td>
<td></td>
</tr>
<tr>
<td data-i18n="ceremonial" >Ceremonial</td>
<td><div class="sheet-flex-container">
<!-- <button style="margin: 0px auto;" type="roll" class="sheet-button sheet-simple-roll" name="roll_Ceremonial_simple" value="$$ceremonial_roll_simple$$"></button> -->
<button style="margin: 0px auto;" type="roll" class="sheet-button sheet-stress-roll sheet-single-roll" name="roll_Ceremonial_stress" value="$$ceremonial_roll_stress$$"></button>
</div></td>
<td><input type="number" class="sheet-number_2" name="attr_Ceremonial" value="(@{Ceremonial_Technique} + @{Ceremonial_Form} + (@{Ceremonial_Focus}) + @{gestures} + @{words} + @{Stamina_Score} + @{aura} + @{Ceremonial_Artes_Lib} + @{Ceremonial_Philos})/2" disabled="true"/></td>
<td>
<select class="sheet-select_1" name="attr_Ceremonial_Technique">
<option class="sheet-italic" value="0 [@{technique_i18n}]" data-i18n="technique" >Technique</option>
$$technique_score_options$$
</select>
</td>
<td>
<select class="sheet-select_1" name="attr_Ceremonial_Form">
<option class="sheet-italic" value="0 [@{form_i18n}]" data-i18n="form" >Form</option>
$$form_score_options$$
</select>
</td>
<td><input type="checkbox" class="sheet-check" name="attr_Ceremonial_Focus" value="((@{Ceremonial_Technique} + @{Ceremonial_Form} - abs(@{Ceremonial_Technique} - @{Ceremonial_Form}))/2)"></input></td>
<td><input type="number" class="sheet-number_2" name="attr_Ceremonial_Sta" value="@{Stamina_Score}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ceremonial_aura" value="@{aura}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ceremonial_Artes_Lib" value="0"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ceremonial_Philos" value="0"/></td>
</tr>
<tr>
<td data-i18n="non-fatiguing" >Non-Fatiguing</td>
<td></td>
<td><input type="number" class="sheet-number_2" name="attr_Spontaneous2" value="(@{Spontaneous2_Technique} + @{Spontaneous2_Form} + (@{Spontaneous2_Focus}) + @{gestures} + @{words} + @{Stamina_Score} + @{aura})/5" disabled="true"/></td>
<td>
<select class="sheet-select_1" name="attr_Spontaneous2_Technique">
<option class="sheet-italic" value="0" data-i18n="technique" >Technique</option>
$$technique_score_options$$
</select>
</td>
<td>
<select class="sheet-select_1" name="attr_Spontaneous2_Form">
<option class="sheet-italic" value="0" data-i18n="form" >Form</option>
$$form_score_options$$
</select>
</td>
<td><input type="checkbox" class="sheet-check" name="attr_Spontaneous2_Focus" value="((@{Spontaneous2_Technique} + @{Spontaneous2_Form} - abs(@{Spontaneous2_Technique} - @{Spontaneous2_Form}))/2)"></input></td>
<td><input type="number" class="sheet-number_2" name="attr_Spontaneous2_Sta" value="@{Stamina_Score}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Spontaneous2_aura" value="@{aura}" disabled="true"/></td>
<td></td>
<td></td>
</tr>
<tr>
<th data-i18n="designed-spells" >Designed Spells</th>
<td colspan="9"></td>
</tr>
<tr>
<td data-i18n="formulaic" >Formulaic</td>
<td><div class="sheet-flex-container">
<button style="margin: 0px auto;" type="roll" class="sheet-button sheet-simple-roll" name="roll_Formulaic_simple" value="$$formulaic_roll_simple$$"></button>
<button style="margin: 0px auto;" type="roll" class="sheet-button sheet-stress-roll" name="roll_Formulaic_stress" value="$$formulaic_roll_stress$$"></button>
</div></td>
<td><input type="number" class="sheet-number_2" name="attr_Formulaic" value="@{Formulaic_Technique} + @{Formulaic_Form} + (@{Formulaic_Focus}) + @{gestures} + @{words} + @{Stamina_Score} + @{aura}" disabled="true"/></td>
<td>
<select class="sheet-select_1" name="attr_Formulaic_Technique">
<option class="sheet-italic" value="0 [@{technique_i18n}]" data-i18n="technique" >Technique</option>
$$technique_score_options$$
</select>
</td>
<td>
<select class="sheet-select_1" name="attr_Formulaic_Form">
<option class="sheet-italic" value="0 [@{form_i18n}]" data-i18n="form" >Form</option>
$$form_score_options$$
</select>
</td>
<td><input type="checkbox" class="sheet-check" name="attr_Formulaic_Focus" value="((@{Formulaic_Technique} + @{Formulaic_Form} - abs(@{Formulaic_Technique} - @{Formulaic_Form}))/2)"></input></td>
<td><input type="number" class="sheet-number_2" name="attr_Formulaic_Sta" value="@{Stamina_Score}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Formulaic_aura" value="@{aura}" disabled="true"/></td>
<td></td>
<td></td>
</tr>
<tr>
<td data-i18n="ritual" >Ritual</td>
<td><div class="sheet-flex-container">
<button style="margin: 0px auto;" type="roll" class="sheet-button sheet-simple-roll" name="roll_Ritual_simple" value="$$ritual_roll_simple$$"></button>
<button style="margin: 0px auto;" type="roll" class="sheet-button sheet-stress-roll" name="roll_Ritual_stress" value="$$ritual_roll_stress$$"></button>
</div></td>
<td><input type="number" class="sheet-number_2" name="attr_Ritual" value="@{Ritual_Technique} + @{Ritual_Form} + (@{Ritual_Focus}) + @{Stamina_Score} + @{aura} + @{Ritual_Artes_Lib} + @{Ritual_Philos}" disabled="true"/></td>
<td>
<select class="sheet-select_1" name="attr_Ritual_Technique">
<option class="sheet-italic" value="0 [@{technique_i18n}]" data-i18n="technique" >Technique</option>
$$technique_score_options$$
</select>
</td>
<td>
<select class="sheet-select_1" name="attr_Ritual_Form">
<option class="sheet-italic" value="0 [@{form_i18n}]" data-i18n="form" >Form</option>
$$form_score_options$$
</select>
</td>
<td><input type="checkbox" class="sheet-check" name="attr_Ritual_Focus" value="((@{Ritual_Technique} + @{Ritual_Form} - abs(@{Ritual_Technique} - @{Ritual_Form}))/2)"></input></td>
<td><input type="number" class="sheet-number_2" name="attr_Ritual_Sta" value="@{Stamina_Score}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ritual_aura" value="@{aura}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ritual_Artes_Lib" value="@{Ceremonial_Artes_Lib}" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_Ritual_Philos" value="@{Ceremonial_Philos}" disabled="true"/></td>
</tr>
<tr></tr>
<tr>
<th data-i18n="bonus" >Bonus</th>
<td colspan="9"></td>
</tr>
<tr>
<td style="text-align:right;"><span style="font-size:1.4em;" data-i18n="aura" >Aura</span></td>
<td><input type="number" class="sheet-number_1" name="attr_aura" value="3"/></td>
<td style="text-align:right;" colspan="2"><span style="font-size:1.2em; margin-right:15px" data-i18n="gestures" >Gestures</span></td>
<td>
<select class="sheet-select_1" name="attr_gestures">
<option class="sheet-italic" value="1 [@{gestures_i18n}: @{exaggerated_i18n}]" data-i18n="gestures-exaggerated" >Exaggerated</option>
<option class="sheet-italic" selected value="0 [@{gestures_i18n}: @{bold_i18n}]" data-i18n="gestures-bold" >Bold</option>
<option class="sheet-italic" value="(-2) [@{gestures_i18n}: @{subtle_i18n}]" data-i18n="gestures-subtle" >Subtle</option>
<option class="sheet-italic" value="(-5) [@{gestures_i18n}: @{gest-none_i18n}]" data-i18n="gestures-none" >None</option>
</select>
</td>
<td style="text-align:right;" colspan="2"><span style="font-size:1.2em; margin-right:15px" data-i18n="words" >Words</span></td>
<td colspan="2">
<select class="sheet-select_1" name="attr_words">
<option class="sheet-italic" value="1 [@{words_i18n}: @{loud_i18n}]" data_i18n="words-loud" >Loud</option>
<option class="sheet-italic" selected value="0 [@{words_i18n}: @{firm_i18n}]" data_i18n="words-firm" >Firm</option>
<option class="sheet-italic" value="(-5) [@{words_i18n}: @{quiet_i18n}]" data_i18n="words-quiet" >Quiet</option>
<option class="sheet-italic" value="(-10) [@{words_i18n}: @{words-none_i18n}]" data_i18n="words-none" >None</option>
</select>
</td>
<td></td>
</tr>
</table>
</div>
<br>
<div class="sheet-divider" style="height:15px;"><span>&nbsp;</span></div>
<div>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<div>
<h4 class="sheet-heading_label" data-i18n="lab-characteristics" >Lab Characteristics</h4>
<div class="sheet-col">
<table class="sheet-table_3" style="width:195px;">
<tr>
<th style="width:140px;"></th>
<th data-i18n="score" >Score</th>
</tr>
<tr>
<td data-i18n="size" >Size</td>
<td><input type="text" class="sheet-number_1" name="attr_LabSize_Score" value="0"/></td>
</tr>
<tr>
<td data-i18n="refinement" >Refinement</td>
<td><input type="text" class="sheet-number_1" name="attr_LabRefinement_Score" value="0"/></td>
</tr>
<tr>
<td data-i18n="general-quality" >General Quality</td>
<td><input type="text" class="sheet-number_1" name="attr_LabGeneralQuality_Score" value="0"/></td>
</tr>
<tr>
<td data-i18n="upkeep" >Upkeep</td>
<td><input type="text" class="sheet-number_1" name="attr_LabUpkeep_Score" value="0"/></td>
</tr>
</table>
</div>
<div class="sheet-col">
<table class="sheet-table_3" style="width:195px">
<th style="width:140px;"></th>
<th data-i18n="score" >Score</th>
<tr>
<td data-i18n="safety" >Safety</td>
<td><input type="text" class="sheet-number_1" name="attr_LabSafety_Score" value="0"/></td>
</tr>
<tr>
<td data-i18n="warping" >Warping</td>
<td><input type="text" class="sheet-number_1" name="attr_LabWarping_Score" value="0"/></td>
</tr>
<tr>
<td data-i18n="health" >Health</td>
<td><input type="text" class="sheet-number_1" name="attr_LabHealth_Score" value="0"/></td>
</tr>
<tr>
<td data-i18n="aesthetics" >Aesthetics</td>
<td><input type="text" class="sheet-number_1" name="attr_LabAesthetics_Score" value="0"/></td>
</tr>
</table>
</div>
</div>
<div>
<div style="margin-top:10px;">
<h4 class="sheet-heading_label" data-i18n="lab-virtues" >Lab Virtues</h4>
<fieldset class="repeating_labVirtue">
<table class="sheet-table_2" style="width:400px">
<tr>
<td><input type="text" class="sheet-heading_2" name="attr_LabVirtue" style="width:300px"/></td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_labVirtue_show" value="1" checked/><span></span></div></th>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_labVirtue_show" value="1" checked/>
<div class="sheet-hide">
<textarea class="sheet-textarea_1" style="width:380px;" name="attr_labvirtue_text"></textarea>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
<div>
<h4 class="sheet-heading_label" data-i18n="flaws" >Flaws</h4>
<fieldset class="repeating_labFlaw">
<table class="sheet-table_2" style="width:400px">
<tr>
<td><input type="text" class="sheet-heading_2" name="attr_labFlaw" style="width:300px"/></td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_labFlaw_show" value="1" checked/><span></span></div></th>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_labFlaw_show" value="1" checked/>
<div class="sheet-hide">
<textarea class="sheet-textarea_1" style="width:380px;" name="attr_labflaw_text"></textarea>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<div>
<h4 class="sheet-heading_label" style="margin-bottom:0px;" data-i18n="sanctum-marker" >Sanctum Marker</h4>
<textarea class="sheet-textarea_4" name="attr_SanctumMarker"></textarea>
</div>
<div>
<h4 class="sheet-heading_label" style="margin-bottom:0px;" data-i18n="description" >Description</h4>
<textarea class="sheet-textarea_4" name="attr_LabDescription"></textarea>
</div>
</div>
<div class='sheet-col'>
<div>
<h4 class="sheet-heading_label" data-i18n="lab-totals" >Lab Totals</h4>
<table class="sheet-table_2" style="width:400px;">
<tr>
<th colspan="2" data-i18n="basic-lab-total" >Basic Lab Total</th>
<td><div style="width:60px;"><input type="number" class="sheet-number_2" name="attr_Lab" value="@{Intelligence_Score} + @{Lab_Theory} + @{aura} + @{lab_Technique} + @{lab_Form} + (@{Lab_Focus}) + @{LabModifiers} + @{labbonus_total} + @{LabGeneralQuality_Score}" disabled="true"/></div></td>
<td colspan="2">
<div class="sheet-flex-container_2">
<span>
<input type="checkbox" class="sheet-check" name="attr_Lab_Focus" value="((@{lab_Technique} + @{lab_Form} - abs(@{lab_Technique} - @{lab_Form})) /2)"/>
<span data-i18n="focus">Focus</span>
</span>
<span style="text-align: right;">
<span data-i18n="modifiers" >Modifiers</span>
<input type="number" class="sheet-number_1" name="attr_LabModifiers" value="0" />
</span>
</div>
</td>
</tr>
<tr>
<td><div style="width:50px;"><input type="number" class="sheet-number_2" name="attr_Lab_Int" value="@{Intelligence_Score}" disabled="true"/></div></td>
<td><div style="width:50px;"><input type="number" class="sheet-number_2" name="attr_Lab_Theory" value="0" /></div></td>
<td><div style="width:50px;"><input type="number" class="sheet-number_2" name="attr_Lab_Aura" value="@{aura}" disabled="true"/></div></td>
<td>
<select class="sheet-select_1" name="attr_lab_Technique">
<option class="sheet-italic" value="0" data-i18n="none" >None</option>
$$technique_score_options_unlabeled$$
</select>
</td>
<td>
<select class="sheet-select_1" name="attr_lab_Form">
<option class="sheet-italic" value="0" data-i18n="none" >None</option>
$$form_score_options_unlabeled$$
</select>
</td>
</tr>
<tr>
<td data-i18n="int" >Int</td>
<td data-i18n="theory" >Theory</td>
<td data-i18n="aura" >Aura</td>
<td data-i18n="technique" >Technique</td>
<td data-i18n="form" >Form</td>
</tr>
</table>
</div>
<div>
<h4 class="sheet-heading_label" data-i18n="lab-bonuses" >Lab Bonuses</h4>
<table class="sheet-table_2" style="width:400px;margin-top:10px;">
<tr>
<th><div style="width:300px;padding-left:10px;" data-i18n="specializations-bonuses" >Specializations & Bonuses</div></th>
<th><div style="width:40px;" data-i18n="score" >Score</div></th>
<th><div style="width:40px;" data-i18n="inc-" >Inc.</div></th>
</tr>
</table>
<fieldset class="repeating_labSpecializations">
<table class="sheet-table_2" style="width:400px">
<tr>
<td><input type="text" class="sheet-heading_2" name="attr_LabSpecialization" style="width:300px"/></td>
<td><input type="text" class="sheet-number_2" name="attr_LabBonus" value="0" style="width:50px" /></td>
<td><div style="width:40px;padding-left:15px;"><input type="checkbox" name="attr_sactive" value="1" /></div></th>
</tr>
</table>
</fieldset>
<table class="sheet-table_2" style="width:400px;">
<tr>
<td style="width:300px;text-align:right;" data-i18n="total-specialization-modifier" >Total Specialization Modifier</td>
<td> <div style="width:50px;"><input type="number" class="sheet-number_2" name="attr_labbonus_total" value="0" readonly/></div></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- 4 Combat -->
<div class="sheet-tab-content sheet-tab4" >
<div style="margin-top:10px;">
<div class='sheet-col'>
<h4 class="sheet-heading_label" style="margin-bottom:15px" data-i18n="fatigue-levels" >Fatigue Levels <input type="number" class="sheet-counter" style="width:50px" name="attr_Fatigue_total" value="@{Fatigue}" disabled="true"/></h4>
<table class="sheet-table_2" style="width:300px;">
<tr>
<td><span style="font-size:1.2em;" data_i18n="additional-fatigue-levels">Additional fatigue levels</span></td>
<td>
<select class="sheet-select_1" style="width: 60px" name="attr_additionalFatigue">
$$fatigue_levels_options$$
</select>
</td>
<tr/>
</table>
<input type="hidden" class="sheet-fatigue-proxy" name="attr_additionalFatigueProxy" value="0"/>
<table class="sheet-table_3" style="width:300px" >
<tr>
<th style="width:60px;" data-i18n="current" >Current</th>
<th style="text-align:center;" data-i18n="penalty" >Penalty</th>
<th data-i18n="recovery" >Recovery</th>
<th data-i18n="level" >Level</th>
</tr>
<tr>
<td><input type="radio" class="sheet-radio_1" name="attr_Fatigue" value="0" checked><span></span></td>
<td></td>
<td></td>
<td data-i18n="fresh" >Fresh</td>
</tr>
<tr>
<td><input type="radio" class="sheet-radio_1" name="attr_Fatigue" value="0.1"><span></span></td>
<td style="text-align:center;">0</td>
<td>2 min.</td>
<td data-i18n="winded" >Winded</td>
</tr>
$$additional_fatigue_levels$$
<tr>
<td><input type="radio" class="sheet-radio_1" name="attr_Fatigue" value="-1"><span></span></td>
<td style="text-align:center;">-1</td>
<td>10 min.</td>
<td data-i18n="weary" >Weary</td>
</tr>
<tr>
<td><input type="radio" class="sheet-radio_1" name="attr_Fatigue" value="-3"><span></span></td>
<td style="text-align:center;">-3</td>
<td>30 min.</th>
<td data-i18n="tired" >Tired</td>
</tr>
<tr>
<td><input type="radio" class="sheet-radio_1" name="attr_Fatigue" value="-5"><span></span></td>
<td style="text-align:center;">-5</td>
<td>1 hr.</td>
<td data-i18n="dazed" >Dazed</td>
</tr>
<tr>
<td><input type="radio" class="sheet-radio_1" name="attr_Fatigue" value="-99"><span></span></td>
<td></td>
<td>2 hr.</td>
<td data-i18n="unconscious" >Unconscious</td>
</tr>
</table>
</div>
<div class='sheet-col'>
<h4 class="sheet-heading_label" data-i18n="wounds" >Wounds <input type="number" class="sheet-counter" name="attr_wound_total" value="0" /></h4>
<table class="sheet-table_3" style="width:500px;" >
<tr>
<th></th>
<th data-i18n="range" >Range</th>
<th style="text-align:center; width: 100px" data-i18n="number" >Number</th>
<th data-i18n="penalty" >Penalty</th>
</tr>
<tr>
<td data-i18n="light-wounds" >Light Wounds</td>
<td><input type="text" class="sheet-heading_3" name="attr_Wounds_Light_range"/></td>
<td><div class="sheet-flex-container">
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Light1" value="-1"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Light2" value="-1"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Light3" value="-1"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Light4" value="-1"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Light5" value="-1"><span></span>
</div></td>
<td style="text-align:center;">-1</td>
</tr>
<tr>
<td data-i18n="medium-wounds" >Medium Wounds</td>
<td><input type="text" class="sheet-heading_3" name="attr_Wounds_Medium_range"/></td>
<td><div class="sheet-flex-container">
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Medium1" value="-3"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Medium2" value="-3"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Medium3" value="-3"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Medium4" value="-3"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Medium5" value="-3"><span></span>
</div></td>
<td style="text-align:center;">-3</th>
</tr>
<tr>
<td data-i18n="heavy-wounds" >Heavy Wounds</td>
<td><input type="text" class="sheet-heading_3" name="attr_Wounds_Heavy_range"/></td>
<td><div class="sheet-flex-container">
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Heavy1" value="-5"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Heavy2" value="-5"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Heavy3" value="-5"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Heavy4" value="-5"><span></span>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Heavy5" value="-5"><span></span>
</div></td>
<td style="text-align:center;">-5</th>
</tr>
<tr>
<td data-i18n="incapacitated" >Incapacitated</td>
<td><input type="text" class="sheet-heading_3" name="attr_Wounds_Incapacitated_range"/></td>
<td>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Incapacitated" value="-99"><span></span>
</td>
</tr>
<tr>
<td data-i18n="dead" >Dead</td>
<td><input type="text" class="sheet-heading_3" name="attr_Wounds_Dead_range"/></td>
<td>
<input type="checkbox" class="sheet-checkbox_wound" name="attr_Wounds_Dead" value="-1000"><span></span>
</td>
</tr>
</table>
</div>
</div>
<!-- Armor -->
<div>
<h4 class="sheet-heading_label" data-i18n="armor" >Armor</h4>
<table class="sheet-table_2" style="width:800px;">
<tr>
<th colspan="2" data-i18n="armor-worn" >Armor Worn</th>
<th colspan="2" data-i18n="combat-modifiers" >Combat Modifiers</th>
</tr>
<tr>
<th colspan="2"><textarea class="sheet-textarea_2" name="attr_ArmorWorn"></textarea></th>
<th colspan="2"><textarea class="sheet-textarea_2" name="attr_ArmorModifiers"></textarea></th>
</tr>
</table>
</div>
<div>
<table class="sheet-table_2" style="width:380px">
<tr>
<td></td>
<th data-i18n="soak">Soak</th>
<th data-i18n="soak-bonus">Soak Bonus</th>
<th data-i18n="armor-protection" >Armor Protection</th>
<th data-i18n="armor-load" >Armor Load</th>
<td></td>
</tr>
<tr>
<td style="width:30px;">
<button type="roll" class="sheet-button sheet-stress-roll sheet-single-roll" name="roll_soak" value="&{template:soak} {{name= @{character_name} }} {{armorsoak= @{armor_soak_bonus}}} {{soakbonus= @{soak_bonus}}} {{rollsoak= [[@{stress-die} + @{Stamina_Score} [@{stamina_i18n}] + @{soak_bonus} [@{soakbns_i18n}] + @{armor_soak_bonus} [@{armor_i18n}]]]}} {{stress=1}} {{botch-button=[@{botch_i18n}!](~@{character_name}|botch)}} {{crit-button=[@{critical_i18n}!](~@{character_name}|critical)}}"></button>
</td>
<td><input type="text" class="sheet-number_1" name="attr_Soak" value="(@{Stamina_Score} + @{soak_bonus} + @{armor_soak_bonus})" disabled="true"/></td>
<td><input type="number" class="sheet-number_2" name="attr_soak_bonus" value="0"/></td>
<td><input type="number" class="sheet-number_2" name="attr_armor_soak_bonus" value="0"/></td>
<th colspan="2"><input type="number" class="sheet-number_2" name="attr_armor_load" value="0"/></th>
</tr>
</table>
</div>
<!-- Weapons -->
<div>
<h4 class="sheet-heading_label" data-i18n="weapons" >Weapons</h4>
<table class="sheet-table_2" style="width:800px">
<tr>
<th><div style="width:190px" data-i18n="weapon-name" >Weapon Name</div></th>
<td><div style="width:100px"></div></td>
<th><div style="width:60px" data-i18n="init" >Init</div></th>
<td><div style="width:25px"></div></td>
<th><div style="width:60px" data-i18n="atk" >Atk</div></th>
<td><div style="width:30px"></div></td>
<th><div style="width:45px" data-i18n="dfn-u" >DFN</div></th>
<td><div style="width:18px;"></div></td>
<th><div style="width:45px" data-i18n="dam" >Dam</div></th>
<td><div style="width:50px" data-i18n="ability" >Ability</div></td>
<th><div style="width:50px" data-i18n="load" >Load</div></th>
<th><div style="width:40px" data-i18n="range" >Range</div></th>
<th><div style="width:60px"></div></th>
</tr>
</table>
<fieldset class="repeating_weapons">
<table class="sheet-table_2" style="width:800px">
<tr>
<th><input type="text" class="sheet-heading_3" name="attr_Weapon_name"/></th>
<td><button type="roll" class="sheet-button sheet-stress-roll sheet-single-roll" name="roll_weapon_Init" value="&{template:initiative} {{name= @{character_name} }} {{weapon= @{Weapon_name} }} {{roll= [[ @{stress-die} + @{Quickness_Score} [@{quickness_i18n}] + @{Init_Weap} [@{Weapon_name}] - @{Init_Enc} [@{encumbrance_i18n}] + (@{wound_total}) [@{wounds_i18n}] + ([[floor(@{Fatigue})]]) [@{fatigue_i18n}] + (?{@{initiative_i18n} @{modifiers_i18n}|0}) [@{initiative_i18n} @{modifiers_i18n}] &{tracker}]] }} {{stress=1}} {{botch-button=[@{botch_i18n}!](~@{character_name}|botch)}} {{crit-button=[@{critical_i18n}!](~@{character_name}|critical)}}" data-i18n="init" >Init</button></td>
<td><input type="text" class="sheet-number_1" name="attr_Init" value="(@{Quickness_Score} + @{Init_Weap} - @{Init_Enc})" disabled="true"/></td>
<td><button type="roll" class="sheet-button sheet-stress-roll sheet-single-roll" name="roll_weapon_Atk" value="&{template:attack} {{name= @{character_name} }} {{weapon= @{Weapon_name} }} {{attack= [[ @{stress-die} + @{Dexterity_Score} [@{dexterity_i18n}] + @{WeaponAbility} [@{ability_i18n}] + @{Atk_Weap} [@{Weapon_name}] + (@{wound_total}) [@{wounds_i18n}] + ([[floor(@{Fatigue})]]) [@{fatigue_i18n}] + (?{@{circumstantial_i18n} @{attack_i18n}|0}) [@{circumstantial_i18n} @{attack_i18n}] ]] }} {{damage= [[ @{Strength_Score} [@{strength_i18n}] + @{Dam_Weap} [@{Weapon_name}] + (?{@{circumstantial_i18n} @{damage_i18n}|0}) [@{circumstantial_i18n} @{damage_i18n}] ]]}} {{stress=1}} {{botch-button=[@{botch_i18n}!](~@{character_name}|botch)}} {{crit-button=[@{critical_i18n}!](~@{character_name}|critical)}}" data-i18n="atk" >Atk</button></td>
<td><input type="text" class="sheet-number_1" name="attr_Atk" value="(@{Dexterity_Score} + @{WeaponAbility} + @{Atk_Weap})" disabled="true"/></td>
<td><button type="roll" class="sheet-button sheet-stress-roll sheet-single-roll" name="roll_weapon_Dfn" value="&{template:defend} {{name= @{character_name} }} {{weapon= @{Weapon_name} }} {{defend= [[ @{stress-die} + @{Quickness_Score} [@{quickness_i18n}] + @{WeaponAbility} [@{ability_i18n}] + @{Dfn_Weap} [@{Weapon_name}] + (@{wound_total}) [@{wounds_i18n}] + ([[floor(@{Fatigue})]]) [@{fatigue_i18n}] + (?{@{circumstantial_i18n} @{defense_i18n}|0}) [@{circumstantial_i18n} @{defense_i18n}] ]] }} {{stress=1}} {{botch-button=[@{botch_i18n}!](~@{character_name}|botch)}} {{crit-button=[@{critical_i18n}!](~@{character_name}|critical)}}" data-i18n="dfn" >Dfn</button></td>
<td><input type="text" class="sheet-number_1" name="attr_DFN" value="(@{Quickness_Score} + @{WeaponAbility} + @{Dfn_Weap})" disabled="true"/></td>
<td><div style="width:10px;"></div></td>
<td><input type="text" class="sheet-number_1" name="attr_Dam" value="@{Strength_Score} + @{Dam_Weap}" disabled="true"/></td>
<td><input type="text" class="sheet-number_1" name="attr_WeaponAbility" value="0"/></td>
<td><input type="text" class="sheet-number_1" name="attr_Wounds_Load" value="0"/></td>
<td><input type="text" class="sheet-number_1" name="attr_Wounds_Range"/></td>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_Weapon_show" value="1" checked/><span></span></div></th>
</tr>
</table>
<input type="checkbox" class="sheet-hider sheet-hidden" name="attr_Weapon_show" value="1" checked/><span></span>
<div class="sheet-hide" style="border-color:#e6dbc6; border-style: inset;">
<table class="sheet-table_3" style="display:inline; margin-right:10px;">
<tr >
<th colspan="5"><div style="width:200px;text-align:center;" data-i18n="initiative" >Initiative</div></th>
</tr>
<tr>
<td data-i18n="qik" >Qik</td>
<td></td>
<td data-i18n="weap" >Weap.</td>
<td></td>
<td data-i18n="enc-" >Enc.</td>
</tr>
<tr>
<td><input type="text" class="sheet-number_2" name="attr_Init_Qik" value="@{Quickness_Score}" disabled='true'/></td>
<td>+</td>
<td><input type="text" class="sheet-number_2" name="attr_Init_Weap" value="0"/></td>
<td>-</td>
<td><input type="text" class="sheet-number_2" name="attr_Init_Enc" value="0"/></td>
</tr>
</table>
<table class="sheet-table_3" style="display:inline; margin-right:10px;">
<tr>
<th colspan="5"><div style="width:200px;text-align:center;" data-i18n="attack" >Attack</div></th>
</tr>
<tr>
<td data-i18n="dex" >Dex</td>
<td></td>
<td data-i18n="ability" >Ability</td>
<td></td>
<td data-i18n="weap" >Weap</td>
</tr>
<tr>
<td><input type="text" class="sheet-number_2" name="attr_Atk_Dex" value="@{Dexterity_Score}" disabled='true'/></td>
<td>+</td>
<td><input type="text" class="sheet-number_2" name="attr_Atk_Ability" value="@{WeaponAbility}" disabled="true"/></td>
<td>+</td>
<td><input type="text" class="sheet-number_2" name="attr_Atk_Weap" value="0"/></td>
</tr>
</table>
<table class="sheet-table_3" style="display:inline; margin-right:10px;">
<tr>
<th colspan="5"><div style="width:200px;text-align:center;" data-i18n="defense" >Defense</div></th>
</tr>
<tr>
<td data-i18n="qik" >Qik</td>
<td></td>
<td data-i18n="ability" >Ability</td>
<td></td>
<td data-i18n="weapon" >Weapon</td>
</tr>
<tr>
<td><input type="text" class="sheet-number_2" name="attr_Dfn_Qik" value="@{Quickness_Score}" disabled='true'/></td>
<td>+</td>
<td><input type="text" class="sheet-number_2" name="attr_Dfn_Ability" value="@{WeaponAbility}" disabled="true"/></td>
<td>+</td>
<td><input type="text" class="sheet-number_2" name="attr_Dfn_Weap" value="0"/></td>
</tr>
</table>
<table class="sheet-table_3" style="display:inline;">
<tr>
<th colspan="3"><div style="width:150px;text-align:center;" data-i18n="damage" >Damage</div></th>
</tr>
<tr>
<td data-i18n="strength" >Strength</td>
<td></td>
<td data-i18n="weapon" >Weapon</td>
</tr>
<tr>
<td><input type="text" class="sheet-number_2" name="attr_Dam_Str" value="@{Strength_Score}" disabled='true'/></td>
<td>+</td>
<td><input type="text" class="sheet-number_2" name="attr_Dam_Weap" value="0"/></td>
</tr>
</table>
</div>
</fieldset>
</div>
</div>
<!-- 5 Spells -->
<div class="sheet-tab-content sheet-tab5">
<h4 class="sheet-heading_label" style="margin-top:10px;" data-i18n="bonus" >Bonus</h4>
<table class="sheet-table_3" style="width:400px;">
<tr></tr>
<tr>
<td style="text-align:right;"><span style="font-size:1.4em; margin-left: 15px;" data-i18n="aura" >Aura</span></td>
<td><input type="number" class="sheet-number_1" name="attr_aura" value="3"/></td>
<td style="text-align:right;" colspan="2"><span style="font-size:1.2em; margin-right:15px" data-i18n="gestures" >Gestures</span></td>
<td>
<select class="sheet-select_1" name="attr_gestures">
<option class="sheet-italic" value="1 [@{gestures_i18n}: @{exaggerated_i18n}]" data-i18n="gestures-exaggerated" >Exaggerated</option>
<option class="sheet-italic" selected value="0 [@{gestures_i18n}: @{bold_i18n}]" data-i18n="gestures-bold" >Bold</option>
<option class="sheet-italic" value="(-2) [@{gestures_i18n}: @{subtle_i18n}]" data-i18n="gestures-subtle" >Subtle</option>
<option class="sheet-italic" value="(-5) [@{gestures_i18n}: @{gest-none_i18n}]" data-i18n="gestures-none" >None</option>
</select>
</td>
<td style="text-align:right;" colspan="2"><span style="font-size:1.2em; margin-right:15px" data-i18n="words" >Words</span></td>
<td colspan="2">
<select class="sheet-select_1" name="attr_words">
<option class="sheet-italic" value="1 [@{words_i18n}: @{loud_i18n}]" data_i18n="words-loud" >Loud</option>
<option class="sheet-italic" selected value="0 [@{words_i18n}: @{firm_i18n}]" data_i18n="words-firm" >Firm</option>
<option class="sheet-italic" value="(-5) [@{words_i18n}: @{quiet_i18n}]" data_i18n="words-quiet" >Quiet</option>
<option class="sheet-italic" value="(-10) [@{words_i18n}: @{words-none_i18n}]" data_i18n="words-none" >None</option>
</select>
</td>
<td></td>
</tr>
</table>
<h4 class="sheet-heading_label" style="margin-top:10px;" data-i18n="spells" >Spells</h4>
<fieldset class="repeating_spell">
<table style="margin-top:10px;">
<tr>
<th style="padding-left:10px;"><div class="sheet-flex-container">
<button type="roll" class="sheet-button sheet-simple-roll" name="roll_spell_simple" value="$$spell_roll_simple$$"></button>
<button type="roll" class="sheet-button sheet-stress-roll" name="roll_spell_stress" value="$$spell_roll_stress$$"></button>
</div></th>
<th style="padding-left:10px;"><input style="width:645px;" type="text" class="sheet-heading_2" name="attr_spell_name" placeholder="Spell Name" data-i18n-placeholder="spell-name" /></th>
<th><div style="width:40px;"><input type="checkbox" class="sheet-hider sheet-checkbox_1" name="attr_Spell_show" value="1" checked/><span></span></div></th>
</tr>
</table>
<input type="checkbox" class="sheet-hider sheet-hidden" value="1" name="attr_Spell_show" checked/>
<div class="sheet-hide">
<table class="sheet-table_2" >
<tr>
<td data-i18n="technique" >Technique</td>
<td>
<select class="sheet-select_1" name="attr_Technique_select">
<option class="sheet-italic" value="0" data-i18n="technique" >Technique</option>
$$technique_enumerated_options$$
</select>
</td>
<td data-i18n="form" >Form</td>
<td>
<select class="sheet-select_1" name="attr_Form_select">
<option class="sheet-italic" value="0" data-i18n="form" >Form</option>
$$form_enumerated_options$$
</select>
</td>
<td data-i18n="focus" >Focus</td>
<td><input type="checkbox" class="sheet-check" name="attr_spell_Focus" value="[[{@{spell_Technique}, @{spell_Form}}kl1]] [@{focus_i18n}]"></input></td>
<td data-i18n="level" >Level</td>
<td><input type="number" class="sheet-number_2" name="attr_spell_level" value="0"/></td>
<td data-i18n="bonus" >Bonus</td>
<td><input type="number" class="sheet-number_2" name="attr_spell_bonus" value="0"/></td>
<td></td>
</tr>
<tr>
<td></td>
<td><input type="text" class="sheet-hidden" name="attr_Technique_name" value="Technique"/></td>
<td><input type="number" class="sheet-hidden" name="attr_spell_Technique" value="0"/></td></td>
<td><input type="text" class="sheet-hidden" name="attr_Form_name" value="Form"/></td>
<td><input type="number" class="sheet-hidden" name="attr_spell_Form" value="0"/></td></td>
<td></td>
</tr>
<tr>
<td data-i18n="range" >Range</td>
<td><input type="text" class="sheet-heading_2" name="attr_spell_range" value=""/></td>
<td data-i18n="duration" >Duration</td>
<td><input type="text" class="sheet-heading_2" name="attr_spell_duration" value=""/></td>
<td data-i18n="target" >Target</td>
<td colspan="3"><input type="text" class="sheet-heading_2" name="attr_spell_target" value="" /></td>
<td data-i18n="exp" >Exp</td>
<td>[<input type="number" class="sheet-number_2" name="attr_spell_exp" value="0"/></td>
<td>/<input type="number" class="sheet-number_2" name="attr_spell_exp-2" value="0"/>]</td>
</tr>
<tr>
<td colspan="11"><textarea class="sheet-textarea_2" style="width:815px;" name="attr_spell_note" placeholder="Spell Description" data-i18n-placeholder="spell-description"></textarea></td>
</tr>
<tr>
<td colspan="11"><textarea class="sheet-textarea_2" style="width:815px;height:36px" name="attr_spell_note-2" data-i18n-placeholder="spell-mastery" placeholder="Spell Mastery "></textarea></td>
</tr>
</table>
</div>
</fieldset>
</div>
<!-- 6 Help -->
<div class="sheet-tab-content sheet-tab6">
<div>
<h2 class="sheet-heading_label">Configuration</h2>
<div class="sheet-config">
<div class="sheet-config-entry">
<span>Botch formula</span>
<select class="sheet-select_1" name="attr_botchFormula">
<option value="[[{[[?{@{botch_num_i18n}|1}]]d10cs0cf1}=1]]">Grouped rolls</option>
<option value="$$botch_separated$$">Separated rolls</option>
</select>
</div>
<div class="sheet-config-entry">
<span>Dice type</span>
<select class="sheet-select_1" name="attr_die-type-selection">
<option value="toggle">Toggle</option>
<option value="both">Both</option>
</select>
</div>
</div>
</div>
<div class="sheet-documentation" style="margin-top:35px">
$$documentation$$
</div>
</div>
<!-- Roll Templates -->
<div class="sheet-hidden">
<!-- melee -->
<rolltemplate class="sheet-rolltemplate-spell">
<table class="sheet-rolltemplate-all">
<tr>
<td class="spellsubheader" colspan="3"><i><b>{{character}}</b> <div data-i18n="casts-rt" style="padding-left: 112px;">casts</div></i></td>
</tr>
<tr>
<th colspan="3">{{spell}}</th>
</tr>
{{#sigil}}
<tr>
<td colspan="3"><i class="sheet-spelldescription" style="margin-left:5px;">{{sigil}}</i></td>
</tr>
{{/sigil}}
<tr>
<td class="sheet-top_bottom" style="padding-left:5px;padding-right:5px;"><i>{{Technique}}</i></td>
<td class="sheet-top_bottom" style="padding-left:5px;padding-right:5px;"><i>{{Form}}</i></td>
<td class="sheet-top_bottom" style="padding-left:5px;padding-right:5px;"><i>{{Level}}</i></td>
</tr>
<tr>
<td><div style="padding-left:5px;padding-right:5px;">R</div></td>
<td><div style="padding-left:5px;padding-right:5px;">D</div></td>
<td><div style="padding-left:5px;padding-right:5px;">T</div></td>
</tr>
<tr>
<td><div style="padding-left:5px;padding-right:5px;" class="spelllabel">{{range}}</div></td>
<td><div style="padding-left:5px;padding-right:5px;" class="spelllabel">{{duration}}</div></td>
<td><div style="padding-left:5px;padding-right:5px;" class="spelllabel">{{target}}</div></td>
</tr>
<tr>
<td><div style="padding-left:5px;padding-right:5px;"><b data-i18n="roll">Roll:</b></div></td>
{{^stress}}
<td class="sheet-display-simple"><span class="sheet-tcat"></span>{{roll}}</td>
{{/stress}}
{{#stress}}
<td class="sheet-display-stress">
<span class="sheet-tcat"></span>
{{roll}}
{{#rollWasFumble() roll}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() roll}}
{{#rollWasCrit() roll}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() roll}}
</td>
{{/stress}}
<td></td>
</tr>
{{#effect}}
<tr>
<td colspan="3"><div style="padding-left:5px;padding-right:5px;"><b data-i18n="effect" >Effect</b></div></td>
</tr>
<tr>
<td colspan="3"><div style="padding-left:5px;padding-right:5px;" class="spelldescription">{{effect}}</div></td>
</tr>
{{/effect}}
{{#mastery}}
<tr>
<td colspan="3"><div style="padding-left:5px;padding-right:5px;"><b data-i18n="mastery">Mastery</b></div> </td>
</tr>
<tr>
<td colspan="3"><div style="padding-left:5px;padding-right:5px;" class="spelldescription">{{mastery}}</div></td>
</tr>
{{/mastery}}
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-botch">
<table class="sheet-rolltemplate-all">
<tr>
<th colspan="3">
<span data-i18n="botch">Botch</span>
{{#type}}
<span> ({{type}})</span>
{{/type}}
</th>
</tr>
<tr>
<td colspan="3">{{roll}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-reroll">
<table class="sheet-rolltemplate-all">
<tr>
<th colspan="3" data-i18n="roll">Roll</th>
</tr>
<tr>
<td colspan="3">{{roll}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-critical">
<table class="sheet-rolltemplate-all">
<tr>
<th colspan="3">
<span data-i18n="critical">Critical</span>
{{#type}}
<span> ({{type}})</span>
{{/type}}
</th>
</tr>
<tr>
<td colspan="3">{{roll}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-attack">
<table class="combatroller sheet-rolltemplate-all">
<tr>
<th colspan="2">{{name}}</th>
</tr>
<tr>
<td><div style="text-align:center;" data-i18n="attack">Attack</div></td>
{{^stress}}
<td class="sheet-display-simple-light"><div style="text-align:center;">{{attack}}</div></td>
{{/stress}}
{{#stress}}
<td class="sheet-display-stress-light">
<div style="text-align:center;">{{attack}}</div>
{{#rollWasFumble() attack}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() attack}}
{{#rollWasCrit() attack}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() attack}}
</td>
{{/stress}}
</tr>
<tr>
<td><div style="text-align:center;" data-i18n="damage">Damage</div></td>
<td class="sheet-display-default"><div style="text-align:center;">{{#^rollLess() damage 0}}<span class="inlinerollresult" style="min-width:0; margin-right: -15px">+</span>{{/^rollLess() damage 0}}{{damage}}</div></td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-defend">
<div class="combatroller sheet-rolltemplate-all">
<table>
<tr>
<th colspan="2">{{name}}</th>
</tr>
<tr>
<td data-i18n="defend-rt">Defend</td>
{{^stress}}
<td class="sheet-display-simple-light">{{defend}}</td>
{{/stress}}
{{#stress}}
<td class="sheet-display-stress-light">
{{defend}}
{{#rollWasFumble() defend}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() defend}}
{{#rollWasCrit() defend}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() defend}}
</td>
{{/stress}}
</tr>
</table>
</div>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-soak">
<table class="combatroller sheet-rolltemplate-all">
<tr>
<th colspan="2">{{name}}</th>
</tr>
<tr>
<td><div style="text-align:center;" data-i18n="soak">Soak</div></td>
{{^stress}}
<td class="sheet-display-simple-light"><div style="text-align:center;">{{rollsoak}}</div></td>
{{/stress}}
{{#stress}}
<td class="sheet-display-stress-light">
<div style="text-align:center;">{{rollsoak}}</div>
{{#rollWasFumble() rollsoak}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() rollsoak}}
{{#rollWasCrit() rollsoak}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() rollsoak}}
</td>
{{/stress}}
</tr>
<tr>
<td><div style="text-align:center;" data-i18n="armor-protection">Armor Protection</div></td>
<td class="sheet-display-default"><div style="text-align:center;">{{armorsoak}}</div></td>
</tr>
{{#soakbonus}}
<tr>
<td><div style="text-align:center;" data-i18n="bonus">Bonus</div></td>
<td class="sheet-display-default"><div style="text-align:center;">{{soakbonus}}</div></td>
</tr>
{{/soakbonus}}
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-initiative">
<table class="sheet-combatroller sheet-rolltemplate-all">
<tr>
<th>{{name}}</th>
</tr>
<tr>
{{^stress}}
<td class="sheet-display-simple-light">
<div style="text-align:center;">
<div data-i18n="initiative">Initiative</div>
{{roll}}
<div data-i18n="with-rt">with</div>
{{weapon}}
</div>
</td>
{{/stress}}
{{#stress}}
<td class="sheet-display-stress-light">
<div style="text-align:center;">
<div>
<div data-i18n="initiative">Initiative</div>
{{roll}}
{{#rollWasFumble() roll}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() roll}}
{{#rollWasCrit() roll}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() roll}}
</div>
<div data-i18n="with-rt">with</div>
{{weapon}}
</div>
</td>
{{/stress}}
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-ability">
<table class="sheet-rolltemplate-all">
<tr>
<th colspan="2"><b>{{name}}</b> <div data-i18n="leverages-rt" style="font-size:24px; padding-left:95px;">leverages</div></th>
</tr>
<tr class="subheader">
<td class="label" colspan="2" style="width:100%">
<div class="define">{{label0}}</div>
<div class="flex_item" data-i18n="attaining-rt">Attaining</div>
</td>
</tr>
<tr class="subheader">
<td class="label" colspan="2">
{{^stress}}
<div class="sheet-display-simple bigresult">{{result0}}</div>
{{/stress}}
{{#stress}}
<div class="sheet-display-stress bigresult">{{result0}}
{{#rollWasFumble() result0}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() result0}}
{{#rollWasCrit() result0}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() result0}}
</div>
{{/stress}}
</td>
</tr>
<tr>
<td class="banner" colspan="2">{{banner}}</td>
</tr>
<tr>
<td class="label">{{label1}}</td>
<td class="result">{{result1}}</td>
</tr>
<tr>
<td class="label">{{label2}}</td>
<td class="result">{{result2}}</td>
</tr>
<tr>
<td class="label">{{label3}}</td>
<td class="result">{{result3}}</td>
</tr>
<tr>
<td class="label">{{label4}}</td>
<td class="result">{{result4}}</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-generic">
<table class="sheet-rolltemplate-all">
<tr>
<th colspan=2><span style="position:relative;bottom:5px;">{{Banner}}</span></th>
</tr>
<tr>
<td class="Label">{{Label}}</td>
{{^stress}}
<td class="Result sheet-display-simple">{{Result}}</td>
{{/stress}}
{{#stress}}
<td class="Result sheet-display-stress">
{{Result}}
{{#rollWasFumble() Result}}
<span class="sheet-rolltemplate-botchbt">{{botch-button}}</span>
{{/rollWasFumble() Result}}
{{#rollWasCrit() Result}}
<span class="sheet-rolltemplate-critbt">{{crit-button}}</span>
{{/rollWasCrit() Result}}
</td>
{{/stress}}
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-arcane">
<div style="background-image:url(https://i.imgur.com/gIacv0f.jpg);box-shadow: 0px 0px 4px black;">
<div style="background-image:url(https://i.imgur.com/q9tcTtR.jpg);width:235px;height:125px"></div>
<table class="sheet-rolltemplate-all">
<tr>
{{^stress}}
<td class="sheet-bigresult sheet-display-simple-light" colspan="2">{{result0}}</td>
{{/stress}}
{{#stress}}
<td class="sheet-bigresult sheet-display-stress-light" colspan="2">{{result0}}</td>
{{/stress}}
</tr>
{{#rollWasFumble() result0}}
<tr style="text-align: center;"><td colspan="2"><span class="sheet-rolltemplate-botchbt">{{botch-button}}</span></td></tr>
{{/rollWasFumble() result0}}
{{#rollWasCrit() result0}}
<tr style="text-align: center;"><td colspan="2"><span class="sheet-rolltemplate-critbt">{{crit-button}}</span></td></tr>
{{/rollWasCrit() result0}}
<tr>
<th colspan="2"><span>{{label0}}</span></th>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
{{#label1}}
<tr>
<td class="sheet-label">{{label1}}</td>
<td class="sheet-result">{{result1}}</td>
</tr>
{{/label1}}
{{#label2}}
<tr>
<td class="sheet-label">{{label2}}</td>
<td class="sheet-result">{{result2}}</td>
</tr>
{{/label2}}
{{#label3}}
<tr>
<td class="sheet-label">{{label3}}</td>
<td class="sheet-result">{{result3}}</td>
</tr>
{{/label3}}
{{#label4}}
<tr>
<td class="sheet-label">{{label4}}</td>
<td class="sheet-result">{{result4}}</td>
</tr>
{{/label4}}
{{#label5}}
<tr>
<td class="sheet-label">{{label5}}</td>
<td class="sheet-result">{{result5}}</td>
</tr>
{{/label5}}
{{#label6}}
<tr>
<td class="sheet-label">{{label6}}</td>
<td class="sheet-result">{{result6}}</td>
</tr>
{{/label6}}
{{#textlabel}}
<tr name="divider">
<td colspan="2"><hr style="margin-bottom:0px;"></td>
</tr>
<tr>
<td class="sheet-label" colspan="2">{{textlabel}}</td>
</tr>
<tr>
<td class="sheet-textfield" colspan="2">{{textfield}}</td>
</tr>
{{/textlabel}}
</table>
</div>
<div style="background-image:url(https://i.imgur.com/DdTHJT1.jpg); width:235px; height:125px; position:relative; top:-50px;"></div>
</rolltemplate>
</div>
<!-- Translation keys -->
$$translation_attrs$$
<!-- System attributes used for defered attribute access -->
<input name="attr_Unselected_Score" type="hidden" value="0" />
<input name="attr_Unselected_Puissant" type="hidden" value="0" />
<input name ="attr_sys_at" type="hidden" value="@{" />
<input name ="attr_sys_pipe" type="hidden" value="|" />
<input name ="attr_sys_lbk" type="hidden" value="}" />
<!-- Sheet Worker Scripts -->
<script type="text/worker">
["character","abilities","magic","combat","spells","help"].forEach(function (button) {
on("clicked:" + button, function() {
setAttrs({
"sheetTab": button
});
});
});
// Die configuration and toggle
on("change:die-type-selection", function() {
getAttrs(["die-type-selection"], function(values) {
setAttrs({
"die-type-selection-proxy": values["die-type-selection"]
});
});
});
on("clicked:die-toggle-simple", function() {
setAttrs({
"selected-die": "stress"
});
});
on("clicked:die-toggle-stress", function() {
setAttrs({
"selected-die": "simple"
});
});
// Additional fatigue levels
on("change:additionalFatigue", function() {
getAttrs(["additionalFatigue"], function(values) {
setAttrs({
"additionalFatigueProxy": values.additionalFatigue
});
});
});
// Ability Experience Calculations
on("change:repeating_ability:ability_score change:repeating_ability:acceleratedcheck", function() {
getAttrs(["repeating_ability_Ability_Score", "repeating_ability_AcceleratedCheck"], function(values) {
var n = Math.abs(parseInt(values.repeating_ability_Ability_Score)||0);
var a = parseInt(values.repeating_ability_AcceleratedCheck)||5;
setAttrs({
repeating_ability_Ability_totalExp: ((n*(n+1)/2)*a),
repeating_ability_Ability_advancementExp: ((n+1)*a)
});
});
});
// Art Experience Calculations
['creo', 'intellego', 'muto', 'perdo', 'rego', 'animal', 'aquam', 'auram', 'corpus', 'herbam', 'ignem', 'imaginem', 'mentem', 'terram', 'vim'].forEach(function (name) {
on("change:" + name + "_score", function () {
getAttrs([name + "_score"], function(values) {
const n = parseInt(values[name + "_score"])||0;
setAttrs({
[name + "_advancementExp"]: (n+1),
[name + "_totalExp"]: (n*(n+1)/2)
});
});
});
});
// Laboratory Adding
on("change:repeating_labspecializations:labbonus remove:repeating_labspecializations change:repeating_labspecializations:sactive", function() {
getSectionIDs("repeating_labspecializations", function(IDArray) {
var fieldNames = [];
for (var i=0; i < IDArray.length; i++) {
fieldNames.push("repeating_labspecializations_" + IDArray[i] + "_labbonus");
fieldNames.push("repeating_labspecializations_" + IDArray[i] + "_sactive");
}
var total = 0;
getAttrs(fieldNames, function(values) {
for (var i=0; i < IDArray.length; i++) {
total += (parseInt(values["repeating_labspecializations_" + IDArray[i] + "_labbonus"])||0) * ( parseInt(values["repeating_labspecializations_" + IDArray[i] + "_sactive"])|| 0 );
}
setAttrs({
"labbonus_total": total
});
});
});
});
// Basic Math
//Stats
//Wounds
on("change:Wounds_Light1 change:Wounds_Light2 change:Wounds_Light3 change:Wounds_Light4 change:Wounds_Light5 change:Wounds_Medium1 change:Wounds_Medium2 change:Wounds_Medium3 change:Wounds_Medium4 change:Wounds_Medium5 change:Wounds_Heavy1 change:Wounds_Heavy2 change:Wounds_Heavy3 change:Wounds_Heavy4 change:Wounds_Heavy5 change:Wounds_Incapacitated change:Wounds_Dead sheet:opened", function() {
getAttrs(["Wounds_Light1", "Wounds_Light2", "Wounds_Light3", "Wounds_Light4", "Wounds_Light5", "Wounds_Medium1", "Wounds_Medium2", "Wounds_Medium3", "Wounds_Medium4", "Wounds_Medium5", "Wounds_Heavy1", "Wounds_Heavy2", "Wounds_Heavy3", "Wounds_Heavy4", "Wounds_Heavy5", "Wounds_Incapacitated", "Wounds_Dead"], function(values) {
setAttrs({
wound_total: (+values.Wounds_Light1 + +values.Wounds_Light2 + +values.Wounds_Light3 + +values.Wounds_Light4 + +values.Wounds_Light5 + +values.Wounds_Medium1 + +values.Wounds_Medium2 + +values.Wounds_Medium3 + +values.Wounds_Medium4 + +values.Wounds_Medium5 + +values.Wounds_Heavy1 + +values.Wounds_Heavy2 + +values.Wounds_Heavy3 + +values.Wounds_Heavy4 + +values.Wounds_Heavy5 + +values.Wounds_Incapacitated + +values.Wounds_Dead)
});
});
});
on("change:repeating_spell:Technique_select change:Fatigue change:wound_total change:Creo_Score change:Intellego_Score change:Muto_Score change:Perdo_Score change:Rego_Score change:Creo_Puissant change:Intellego_Puissant change:Muto_Puissant change:Perdo_Puissant change:Rego_Puissant change:Creo_Puissant change:Intellego_Puissant change:Muto_Puissant change:Perdo_Puissant change:Rego_Puissant sheet:open", function() {
getAttrs(['repeating_spell_Technique_select', 'Creo_Score', 'Intellego_Score', 'Muto_Score', 'Perdo_Score', 'Rego_Score', 'Creo_Puissant', 'Intellego_Puissant', 'Muto_Puissant', 'Perdo_Puissant', 'Rego_Puissant'], function(values) {
if (values.repeating_spell_Technique_select == 0 ) {
setAttrs({
repeating_spell_Technique_name: getTranslationByKey("none"),
repeating_spell_spell_Technique: 0
})
}
else if
(values.repeating_spell_Technique_select == 1 ) {
setAttrs({
repeating_spell_Technique_name: getTranslationByKey("creo"),
repeating_spell_spell_Technique: (+values.Creo_Score + +values.Creo_Puissant)
})
}
else if (values.repeating_spell_Technique_select == 2 ) {
setAttrs({
repeating_spell_Technique_name: getTranslationByKey("intellego"),
repeating_spell_spell_Technique: (+values.Intellego_Score + +values.Intellego_Puissant)
})
}
else if (values.repeating_spell_Technique_select == 3 ) {
setAttrs({
repeating_spell_Technique_name: getTranslationByKey("muto"),
repeating_spell_spell_Technique: (+values.Muto_Score + +values.Muto_Puissant)
})
}
else if (values.repeating_spell_Technique_select == 4 ) {
setAttrs({
repeating_spell_Technique_name: getTranslationByKey("perdo"),
repeating_spell_spell_Technique: (+values.Perdo_Score + +values.Perdo_Puissant)
})
}
else if (values.repeating_spell_Technique_select == 5 ) {
setAttrs({
repeating_spell_Technique_name: getTranslationByKey("rego"),
repeating_spell_spell_Technique: (+values.Rego_Score + +values.Rego_Puissant)
})
}
});
});
on("change:repeating_spell:Form_select change:Fatigue change:wound_total change:Animal_Puissant change:Animal_Score change:Aquam_Score change:Auram_Score change:Corpus_Score change:Herbam_Score change:Ignem_Score change:Imaginem_Score change:Mentem_Score change:Terram_Score change:Vim_Score change:Aquam_Puissant change:Auram_Puissant change:Corpus_Puissant change:Herbam_Puissant change:Ignem_Puissant change:Imaginem_Puissant change:Mentem_Puissant change:Terram_Puissant change: Vim_Puissant sheet:open", function() {
getAttrs(['repeating_spell_Form_select', 'Animal_Score', 'Aquam_Score', 'Auram_Score', 'Corpus_Score', 'Herbam_Score', 'Ignem_Score', 'Imaginem_Score', 'Mentem_Score', 'Terram_Score', 'Vim_Score','Animal_Puissant','Aquam_Puissant','Auram_Puissant','Corpus_Puissant','Herbam_Puissant','Ignem_Puissant','Imaginem_Puissant','Mentem_Puissant','Terram_Puissant','Vim_Puissant'], function(values) {
if (values.repeating_spell_Form_select == 0 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("none"),
repeating_spell_spell_Form: 0
})
}
else if (values.repeating_spell_Form_select == 1 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("animal"),
repeating_spell_spell_Form: +values.Animal_Score + +values.Animal_Puissant
})
}
else if (values.repeating_spell_Form_select == 2 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("aquam"),
repeating_spell_spell_Form: +values.Aquam_Score + +values.Aquam_Puissant
})
}
else if (values.repeating_spell_Form_select == 3 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("auram"),
repeating_spell_spell_Form: +values.Auram_Score + +values.Auram_Puissant
})
}
else if (values.repeating_spell_Form_select == 4 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("corpus"),
repeating_spell_spell_Form: +values.Corpus_Score + +values.Corpus_Puissant
})
}
else if (values.repeating_spell_Form_select == 5 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("herbam"),
repeating_spell_spell_Form: +values.Herbam_Score + +values.Herbam_Puissant
})
}
else if (values.repeating_spell_Form_select == 6 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("ignem"),
repeating_spell_spell_Form: +values.Ignem_Score + +values.Ignem_Puissant
})
}
else if (values.repeating_spell_Form_select == 7 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("imaginem"),
repeating_spell_spell_Form: +values.Imaginem_Score + +values.Imaginem_Puissant
})
}
else if (values.repeating_spell_Form_select == 8 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("mentem"),
repeating_spell_spell_Form: +values.Mentem_Score + +values.Mentem_Puissant
})
}
else if (values.repeating_spell_Form_select == 9 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("terram"),
repeating_spell_spell_Form: +values.Terram_Score + +values.Terram_Puissant
})
}
else if (values.repeating_spell_Form_select == 10 ) {
setAttrs({
repeating_spell_Form_name: getTranslationByKey("vim"),
repeating_spell_spell_Form: +values.Vim_Score + +values.Vim_Puissant
})
}
});
});
// Translation key replacement
on("sheet:opened", function(eventInfo){
setAttrs({
$$translation_attrs_setup$$
});
});
// test
on("sheet:opened", function(eventInfo) {
getAttrs(["words"], function (values) {
testAttr: values.words
});
});
</script>
<!--
------------- i18n-tags generated with ACSI V0.50 (Automated Character Sheet Internationalizer)-------------
ACSI author: https://github.com/Anduh
ACSI Sourcecode: https://github.com/Anduh/acsi
-->