Files
roll20-character-sheets-tester/Infinity-2d20/Infinity 2d20.html
T

2238 lines
334 KiB
HTML

<input type="radio" name="attr_type_tab" class="sheet-type-tab sheet-type-tab1" value="1" checked="checked" title="PC" /><span class="sheet-type-tab sheet-type-tab1">PC</span>
<input type="radio" name="attr_type_tab" class="sheet-type-tab sheet-type-tab2" value="2" title="NPC" /><span class="sheet-type-tab sheet-type-tab2">NPC</span>
<input type="radio" name="attr_type_tab" class="sheet-type-tab sheet-type-tab3" value="3" title="Geist" /><span class="sheet-type-tab sheet-type-tab3">Geist</span>
<input type="radio" name="attr_type_tab" class="sheet-type-tab sheet-type-tab4" value="4" title="Shell" /><span class="sheet-type-tab sheet-type-tab4">Shell</span>
<input type="radio" name="attr_type_tab" class="sheet-type-tab sheet-type-tab5" value="5" title="Vehc." /><span class="sheet-type-tab sheet-type-tab5">Vehc.</span>
<div class="sheet-type-PC">
<!-- "#" character means "To-Do" -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" checked="checked" title="Overview"/><span class="sheet-tab sheet-tab1">OVERVIEW</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" title="Talents"/><span class="sheet-tab sheet-tab2">TALENTS</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" title="Gear"/><span class="sheet-tab sheet-tab3">GEAR</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" title="Sheut"/><span class="sheet-tab sheet-tab4">HOST</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab5" value="5" title="Bio"/><span class="sheet-tab sheet-tab5">SHEUT</span>
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab99" value="99" title="All"/><span class="sheet-tab sheet-tab99">ALL</span>
<div class="sheet-section-overview">
<!-- First Page: Main -->
<div class="sheet-row">
<div class="sheet-column" style="width:58%">
<!-- Left Panel -->
<table style="width:100%;margin-top:0" class="sheet-center">
<!-- Character Information -->
<tr>
<td class="sheet-StatLabel">Name</td>
<td colspan="3" class="sheet-StatInput"><input type="text" name="attr_character_name"></input></td>
</tr>
<tr>
<td class="sheet-StatLabel">Faction</td>
<td class="sheet-StatInput"><input type="text" name="attr_faction"></input></td>
<td class="sheet-StatLabel">Assets</td>
<td class="sheet-StatInput" style="width:15%"><input type="number" name="attr_assets"></input></td>
</tr>
<tr>
<td class="sheet-StatLabel">Heritage</td>
<td class="sheet-StatInput"><input type="text" name="attr_heritage"></input></td>
<td class="sheet-StatLabel">Earnings</td>
<td class="sheet-StatInput" style="width:15%"><input type="number" name="attr_earnings"></input></td>
</tr>
<tr>
<td class="sheet-StatLabel">Age</td>
<td class="sheet-StatInput"><input type="text" name="attr_age"></input></td>
<td class="sheet-StatLabel">Cashflow</td>
<td class="sheet-StatInput" style="width:15%"><input type="number" name="attr_cashflow"></input><span class="sheet-InputText">/</span><input type="text" name="attr_cashflow_max" value="(@{earnings}+@{skill_lifestyle_exp}+5)" disabled></td>
</tr>
<tr>
<td class="sheet-StatLabel" style="font-size:0.8em">Soc. Status</td>
<td class="sheet-StatInput"><input type="text" name="attr_social_status"></input></td>
<td class="sheet-StatLabel">Shortfalls</td>
<td class="sheet-StatInput" style="width:15%"><input type="number" name="attr_shortfalls"></input></td>
</tr>
</table>
<div class="sheet-stats-center">
<!-- Trackers -->
<table>
<!-- Infinity Points -->
<tr>
<td class="sheet-StatLabel" colspan="6">
Infinity Points
</td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container sheet-radio-gradient-red"><input type="radio" name="attr_infinity_points" value="0" checked="checked"/><span >0</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient5-4"><input type="radio" name="attr_infinity_points" value="1"/><span >1</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient5-3"><input type="radio" name="attr_infinity_points" value="2"/><span >2</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient5-2"><input type="radio" name="attr_infinity_points" value="3"/><span >3</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient5-1"><input type="radio" name="attr_infinity_points" value="4"/><span >4</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_infinity_points" value="5"/><span >5</span></label></td>
</tr>
</table>
<table>
<!-- Refresh -->
<tr>
<td class="sheet-StatLabel">
Refresh
</td>
</tr>
<tr>
<td class="sheet-StatInput sheet-number">
<input type="number" name="attr_refresh" style="height:22px;"></input>
</td>
</tr>
</table>
<table>
<!-- Reactions -->
<tr>
<td class="sheet-StatLabel" colspan="7">
Reactions
</td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container"><input type="radio" name="attr_reactions" value="0" checked="checked"/><span >0</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient6-1"><input type="radio" name="attr_reactions" value="1"/><span >1</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient6-2"><input type="radio" name="attr_reactions" value="2"/><span >2</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient6-3"><input type="radio" name="attr_reactions" value="3"/><span >3</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient6-4"><input type="radio" name="attr_reactions" value="4"/><span >4</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient6-5"><input type="radio" name="attr_reactions" value="5"/><span >5</span></label></td>
<td><label class="sheet-radio-container sheet-radio-gradient-red"><input type="radio" name="attr_reactions" value="6"/><span >6</span></label></td>
</tr>
</table>
</div>
<div class="sheet-stats-center">
<!-- Damage Bonus and XP -->
<table style="width:60%">
<!-- Damage Bonus -->
<tr>
<td class="sheet-StatLabel" colspan="4">Damage Bonus</td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:25%">Infowar</td>
<td class="sheet-StatLabelSub" style="width:25%">Psywar</td>
<td class="sheet-StatLabelSub" style="width:25%">Melee</td>
<td class="sheet-StatLabelSub" style="width:25%">Ranged</td>
</tr>
<tr>
<td class="sheet-StatInput"><span class="sheet-InputText">+</span><input type="number" name="attr_damage_bonus_infowar" style="width:40%"></input><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><span class="sheet-InputText">+</span><input type="number" name="attr_damage_bonus_psywar" style="width:40%"></input><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><span class="sheet-InputText">+</span><input type="number" name="attr_damage_bonus_melee" style="width:40%"></input><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><span class="sheet-InputText">+</span><input type="number" name="attr_damage_bonus_ranged" style="width:40%"></input><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
</tr>
</table>
<table style="width:30%">
<!-- XP -->
<tr>
<td class="sheet-StatLabel" colspan="2">XP</td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:50%">Total</td>
<td class="sheet-StatLabelSub" style="width:50%">Spent</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="number" name="attr_xp_total"></input></td>
<td class="sheet-StatInput"><input type="number" name="attr_xp_spent"></input></td>
</tr>
</table>
</div>
<div class="sheet-row">
<!-- Damage Trackers and Defences -->
<div class="sheet-column">
<!-- Left Column -->
<div class="sheet-header sheet-filled" style="width:96%">
<span>DAMAGE</span>
</div>
<div>
<!-- Damage Tracks -->
<table class="sheet-center">
<!-- Firewall -->
<tr>
<td class="sheet-StatLabel" colspan="9">
Firewall
</td>
</tr>
<!-- #Maybe finish this later
<tr class="StatInput sheet-stress-max">
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="0" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="1" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="2" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="3" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="4" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="5" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="6" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="7" /><span>MAX</span></label></td>
<td><label class="sheet-stress-max-container"><input type="radio" name="attr_firewall_max" value="8" /><span>MAX</span></label></td>
</tr>
-->
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container redmark"><input type="radio" name="attr_firewall" value="0" checked="checked"/><span >0</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="1"/><span >1</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="2"/><span >2</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="3"/><span >3</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="4"/><span >4</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="5"/><span >5</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="6"/><span >6</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="7"/><span >7</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="8"/><span >8</span></label></td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="9"/><span >9</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="10"/><span >10</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="11"/><span >11</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="12"/><span >12</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="13"/><span >13</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="14"/><span >14</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="15"/><span >15</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="16"/><span >16</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_firewall" value="17"/><span >17</span></label></td>
</tr>
<tr>
<td colspan="100%" class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="3" style="font-size:0.7em">
Max Firewall:
</td>
<td class="sheet-StatInput sheet-number" colspan="6">
<input type="number" name="attr_firewall_max"></input>
</td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="3">
Breaches
</td>
<td class="sheet-StatInput"><label class="sheet-radio-container"><input type="radio" name="attr_breaches" value="0" checked="checked"/><span >0</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-1"><input type="radio" name="attr_breaches" value="1"/><span >1</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-2"><input type="radio" name="attr_breaches" value="2"/><span >2</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-3"><input type="radio" name="attr_breaches" value="3"/><span >3</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient-red"><input type="radio" name="attr_breaches" value="4"/><span >4</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient-black"><input type="radio" name="attr_breaches" value="5"/><span >5</span></label></td>
</tr>
</table>
<table class="sheet-center">
<!-- Resolve -->
<tr>
<td class="sheet-StatLabel" colspan="9">
Resolve
</td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="0" checked="checked"/><span >0</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="1"/><span >1</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="2"/><span >2</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="3"/><span >3</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="4"/><span >4</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="5"/><span >5</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="6"/><span >6</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="7"/><span >7</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="8"/><span >8</span></label></td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="9"/><span >9</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="10"/><span >10</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="11"/><span >11</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="12"/><span >12</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="13"/><span >13</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="14"/><span >14</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="15"/><span >15</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="16"/><span >16</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_resolve" value="17"/><span >17</span></label></td>
</tr>
<tr>
<td colspan="100%" class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="3" style="font-size:0.7em">
Max Resolve:
</td>
<td class="sheet-StatInput sheet-number" colspan="6">
<input type="number" name="attr_resolve_max"></input>
</td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="3">
Metanoia
</td>
<td class="sheet-StatInput"><label class="sheet-radio-container"><input type="radio" name="attr_metanoia" value="0" checked="checked"/><span >0</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-1"><input type="radio" name="attr_metanoia" value="1"/><span >1</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-2"><input type="radio" name="attr_metanoia" value="2"/><span >2</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-3"><input type="radio" name="attr_metanoia" value="3"/><span >3</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient-red"><input type="radio" name="attr_metanoia" value="4"/><span >4</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient-black"><input type="radio" name="attr_metanoia" value="5"/><span >5</span></label></td>
</tr>
</table>
<table class="sheet-center">
<!-- Vigour -->
<tr>
<td class="sheet-StatLabel" colspan="9">
Vigour
</td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="0" checked="checked"/><span >0</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="1"/><span >1</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="2"/><span >2</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="3"/><span >3</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="4"/><span >4</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="5"/><span >5</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="6"/><span >6</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="7"/><span >7</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="8"/><span >8</span></label></td>
</tr>
<tr class="sheet-StatInput">
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="9"/><span >9</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="10"/><span >10</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="11"/><span >11</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="12"/><span >12</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="13"/><span >13</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="14"/><span >14</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="15"/><span >15</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="16"/><span >16</span></label></td>
<td><label class="sheet-radio-container"><input type="radio" name="attr_vigour" value="17"/><span >17</span></label></td>
</tr>
<tr>
<td colspan="100%" class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="3" style="font-size:0.7em">
Max Vigour:
</td>
<td class="sheet-StatInput sheet-number" colspan="6">
<input type="number" name="attr_vigour_max"></input>
</td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="3">
Wounds
</td>
<td class="sheet-StatInput"><label class="sheet-radio-container"><input type="radio" name="attr_wounds" value="0" checked="checked"/><span >0</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-1"><input type="radio" name="attr_wounds" value="1"/><span >1</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-2"><input type="radio" name="attr_wounds" value="2"/><span >2</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient4-3"><input type="radio" name="attr_wounds" value="3"/><span >3</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient-red"><input type="radio" name="attr_wounds" value="4"/><span >4</span></label></td>
<td class="sheet-StatInput"><label class="sheet-radio-container sheet-radio-gradient-black"><input type="radio" name="attr_wounds" value="5"/><span >5</span></label></td>
</tr>
</table>
</div>
<table class="sheet-center" style="min-width:236px;width:100%">
<!-- Harm Effects --> <!-- #TO-DO: Make this a repeating field -->
<tr>
<td class="sheet-StatLabel">
Harm Effects
</td>
</tr>
<tr>
<td class="sheet-StatInput">
<input type="text" name="attr_harm_1"></input>
</td>
</tr>
<tr>
<td class="sheet-StatInput">
<input type="text" name="attr_harm_2"></input>
</td>
</tr>
<tr>
<td class="sheet-StatInput">
<input type="text" name="attr_harm_3"></input>
</td>
</tr>
</table>
</div>
<div class="sheet-column sheet-column-middle">
<!-- Right Column -->
<div class="sheet-header sheet-filled">
<span>DEFENCES</span>
</div>
<table class="sheet-column-triple sheet-center">
<!--- Non-Armour Soaks -->
<tr>
<td class="sheet-StatLabel">Security</td>
<td class="sheet-StatLabel">Morale</td>
<td class="sheet-StatLabel">BTS</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="number" name="attr_soak_security" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_soak_morale" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_soak_bts" /></td>
</tr>
</table>
<table class="sheet-column-triple sheet-center">
<tr>
<td class="sheet-empty"></td>
<td class="sheet-StatLabel">Head</td>
<td class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-empty"></td>
<td class="sheet-StatLabelSub">1-2</td>
<td class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-empty"></td>
<td class="sheet-StatInput"><input type="number" name="attr_soak_loc_head" /></td>
<td class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-StatLabel">L. Arm</td>
<td class="sheet-empty"></td>
<td class="sheet-StatLabel">R. Arm</td>
</tr>
<tr>
<td class="sheet-StatLabelSub">6-8</td>
<td class="sheet-StatLabel">Torso</td>
<td class="sheet-StatLabelSub">3-5</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="number" name="attr_soak_loc_arm_l" /></td>
<td class="sheet-StatLabelSub">9-14</td>
<td class="sheet-StatInput"><input type="number" name="attr_soak_loc_arm_r" /></td>
</tr>
<tr>
<td class="sheet-empty"></td>
<td class="sheet-StatInput"><input type="number" name="attr_soak_loc_torso" /></td>
<td class="sheet-empty"></td>
</tr>
<tr>
<td class="sheet-StatLabel">L. Leg</td>
<td class="sheet-empty"></td>
<td class="sheet-StatLabel">R. Leg</td>
</tr>
<tr>
<td class="sheet-StatLabelSub">18-20</td>
<td class="sheet-empty"></td>
<td class="sheet-StatLabelSub">15-17</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="number" name="attr_soak_loc_leg_l" /></td>
<td class="sheet-empty"></td>
<td class="sheet-StatInput"><input type="number" name="attr_soak_loc_leg_r" /></td>
</tr>
</table>
<table class="sheet-center" style="width:100%">
<!-- Equipped Armour -->
<tr>
<td class="sheet-StatLabel">ARMOUR EQUIPPED</td>
<!-- #TO-DO: Add a repeating field -->
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_item_equipped_armour_1" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_item_equipped_armour_2" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_item_equipped_armour_3" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Armour Qualities</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_item_equipped_armour_qualities" /></td>
</tr>
</table>
</div>
</div>
<div class="sheet-row">
<!-- Traits -->
<div class="sheet-header sheet-filled">
<span>TRAITS</span>
</div>
<table class="sheet-center" style="width:100%">
<tr>
<td class="sheet-StatLabelSub" style="width:25px">1</td>
<td class="sheet-StatInput"><input type="text" name="attr_trait_1" class="sheet-left"></input></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:25px">2</td>
<td class="sheet-StatInput"><input type="text" name="attr_trait_2" class="sheet-left"></input></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:25px">3</td>
<td class="sheet-StatInput"><input type="text" name="attr_trait_3" class="sheet-left"></input></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:25px">4</td>
<td class="sheet-StatInput"><input type="text" name="attr_trait_4" class="sheet-left"></input></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:25px">5</td>
<td class="sheet-StatInput"><input type="text" name="attr_trait_5" class="sheet-left"></input></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" style="width:25px">6</td>
<td class="sheet-StatInput"><input type="text" name="attr_trait_6" class="sheet-left"></input></td>
</tr>
</table>
</div>
</div>
<div class="sheet-column sheet-column-right" style="width:40%;">
<!-- Right Panel (Skills)-->
<div class="sheet-header sheet-filled">
<span>ATTRIBUTES & SKILLS</span>
</div>
<table class="sheet-SkillTable">
<!-- Agility -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">AGILITY</td>
<td><input type="number" value="7" name="attr_agility" /></td>
<td>
<button type="roll" name="roll_agility" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Agility Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{agility}}} {{roll=[[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{agility}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{agility}]]-d20cs<[[@{agility}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{agility}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Acrobatics</td>
<td><input type="checkbox" name="attr_skill_acrobatics_sig" /></td>
<td><input type="number" value="0" name="attr_skill_acrobatics_exp" /></td>
<td><input type="number" value="0" name="attr_skill_acrobatics_foc" /></td>
<td>
<button type="roll" name="roll_acrobatics" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Acrobatics Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Acrobatics}} {{skill_exp=@{skill_acrobatics_exp}}} {{skill_foc=@{skill_acrobatics_foc}}} {{attribute=?{Attribute|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute}]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute}]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute}]]-@{skill_acrobatics_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]cf<@{skill_acrobatics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_acrobatics_exp}+?{Attribute&amp;#125;]]-@{skill_acrobatics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Close Combat</td>
<td><input type="checkbox" name="attr_skill_close_combat_sig" /></td>
<td><input type="number" value="0" name="attr_skill_close_combat_exp" /></td>
<td><input type="number" value="0" name="attr_skill_close_combat_foc" /></td>
<td>
<button type="roll" name="roll_close_combat" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Close Combat Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Close Combat}} {{skill_exp=@{skill_close_combat_exp}}} {{skill_foc=@{skill_close_combat_foc}}} {{attribute=?{Attribute|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_close_combat_exp}+?{Attribute}]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute}]]-@{skill_close_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+?{Attribute&amp;#125;]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Stealth</td>
<td><input type="checkbox" name="attr_skill_stealth_sig" /></td>
<td><input type="number" value="0" name="attr_skill_stealth_exp" /></td>
<td><input type="number" value="0" name="attr_skill_stealth_foc" /></td>
<td>
<button type="roll" name="roll_stealth" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Stealth Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Stealth}} {{skill_exp=@{skill_stealth_exp}}} {{skill_foc=@{skill_stealth_foc}}} {{attribute=?{Attribute|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_stealth_exp}+?{Attribute}]]-d20cs<[[@{skill_stealth_exp}+?{Attribute}]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute}]]-@{skill_stealth_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_stealth_exp}+?{Attribute&amp;#125;]]cf<@{skill_stealth_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_stealth_exp}+?{Attribute&amp;#125;]]-@{skill_stealth_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-SkillTable">
<!-- Awareness -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">AWARENESS</td>
<td><input type="number" value="7" name="attr_awareness" /></td>
<td>
<button type="roll" name="roll_awareness" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Awareness Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{awareness}}} {{roll=[[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{awareness}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{awareness}]]-d20cs<[[@{awareness}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{awareness}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Analysis</td>
<td><input type="checkbox" name="attr_skill_analysis_sig" /></td>
<td><input type="number" value="0" name="attr_skill_analysis_exp" /></td>
<td><input type="number" value="0" name="attr_skill_analysis_foc" /></td>
<td>
<button type="roll" name="roll_analysis" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Analysis Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Analysis}} {{skill_exp=@{skill_analysis_exp}}} {{skill_foc=@{skill_analysis_foc}}} {{attribute=?{Attribute|Awareness, @{awareness}|Agility, @{agility}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_analysis_exp}+?{Attribute}]]-d20cs<[[@{skill_analysis_exp}+?{Attribute}]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute}]]-@{skill_analysis_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_analysis_exp}+?{Attribute&amp;#125;]]cf<@{skill_analysis_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_analysis_exp}+?{Attribute&amp;#125;]]-@{skill_analysis_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Extraplanetary</td>
<td><input type="checkbox" name="attr_skill_extraplanetary_sig" /></td>
<td><input type="number" value="0" name="attr_skill_extraplanetary_exp" /></td>
<td><input type="number" value="0" name="attr_skill_extraplanetary_foc" /></td>
<td>
<button type="roll" name="roll_extraplanetary" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Extraplanetary Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Extraplanetary}} {{skill_exp=@{skill_extraplanetary_exp}}} {{skill_foc=@{skill_extraplanetary_foc}}} {{attribute=?{Attribute|Awareness, @{awareness}|Agility, @{agility}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute}]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute}]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute}]]-@{skill_extraplanetary_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]cf<@{skill_extraplanetary_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_extraplanetary_exp}+?{Attribute&amp;#125;]]-@{skill_extraplanetary_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Observation</td>
<td><input type="checkbox" name="attr_skill_observation_sig" /></td>
<td><input type="number" value="0" name="attr_skill_observation_exp" /></td>
<td><input type="number" value="0" name="attr_skill_observation_foc" /></td>
<td>
<button type="roll" name="roll_observation" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Observation Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Observation}} {{skill_exp=@{skill_observation_exp}}} {{skill_foc=@{skill_observation_foc}}} {{attribute=?{Attribute|Awareness, @{awareness}|Agility, @{agility}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_observation_exp}+?{Attribute}]]-d20cs<[[@{skill_observation_exp}+?{Attribute}]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_observation_exp}+?{Attribute}]]-@{skill_observation_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_observation_exp}+?{Attribute&amp;#125;]]cf<@{skill_observation_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_observation_exp}+?{Attribute&amp;#125;]]-@{skill_observation_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Survival</td>
<td><input type="checkbox" name="attr_skill_survival_sig" /></td>
<td><input type="number" value="0" name="attr_skill_survival_exp" /></td>
<td><input type="number" value="0" name="attr_skill_survival_foc" /></td>
<td>
<button type="roll" name="roll_survival" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Survival Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Survival}} {{skill_exp=@{skill_survival_exp}}} {{skill_foc=@{skill_survival_foc}}} {{attribute=?{Attribute|Awareness, @{awareness}|Agility, @{agility}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_survival_exp}+?{Attribute}]]-d20cs<[[@{skill_survival_exp}+?{Attribute}]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_survival_exp}+?{Attribute}]]-@{skill_survival_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_survival_exp}+?{Attribute&amp;#125;]]cf<@{skill_survival_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_survival_exp}+?{Attribute&amp;#125;]]-@{skill_survival_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Thievery</td>
<td><input type="checkbox" name="attr_skill_thievery_sig" /></td>
<td><input type="number" value="0" name="attr_skill_thievery_exp" /></td>
<td><input type="number" value="0" name="attr_skill_thievery_foc" /></td>
<td>
<button type="roll" name="roll_thievery" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Thievery Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Thievery}} {{skill_exp=@{skill_thievery_exp}}} {{skill_foc=@{skill_thievery_foc}}} {{attribute=?{Attribute|Awareness, @{awareness}|Agility, @{agility}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_thievery_exp}+?{Attribute}]]-d20cs<[[@{skill_thievery_exp}+?{Attribute}]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute}]]-@{skill_thievery_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_thievery_exp}+?{Attribute&amp;#125;]]cf<@{skill_thievery_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_thievery_exp}+?{Attribute&amp;#125;]]-@{skill_thievery_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-SkillTable">
<!-- Brawn -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">Brawn</td>
<td><input type="number" value="7" name="attr_brawn" /></td>
<td>
<button type="roll" name="roll_brawn" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Brawn Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{brawn}}} {{roll=[[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{brawn}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{brawn}]]-d20cs<[[@{brawn}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{brawn}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Athletics</td>
<td><input type="checkbox" name="attr_skill_athletics_sig" /></td>
<td><input type="number" value="0" name="attr_skill_athletics_exp" /></td>
<td><input type="number" value="0" name="attr_skill_athletics_foc" /></td>
<td>
<button type="roll" name="roll_athletics" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Athletics Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Athletics}} {{skill_exp=@{skill_athletics_exp}}} {{skill_foc=@{skill_athletics_foc}}} {{attribute=?{Attribute|Brawn, @{brawn}|Agility, @{agility}|Awareness, @{awareness}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_athletics_exp}+?{Attribute}]]-d20cs<[[@{skill_athletics_exp}+?{Attribute}]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute}]]-@{skill_athletics_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_athletics_exp}+?{Attribute&amp;#125;]]cf<@{skill_athletics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_athletics_exp}+?{Attribute&amp;#125;]]-@{skill_athletics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Resistance</td>
<td><input type="checkbox" name="attr_skill_resistance_sig" /></td>
<td><input type="number" value="0" name="attr_skill_resistance_exp" /></td>
<td><input type="number" value="0" name="attr_skill_resistance_foc" /></td>
<td>
<button type="roll" name="roll_resistance" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Resistance Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Resistance}} {{skill_exp=@{skill_resistance_exp}}} {{skill_foc=@{skill_resistance_foc}}} {{attribute=?{Attribute|Brawn, @{brawn}|Agility, @{agility}|Awareness, @{awareness}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_resistance_exp}+?{Attribute}]]-d20cs<[[@{skill_resistance_exp}+?{Attribute}]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute}]]-@{skill_resistance_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_resistance_exp}+?{Attribute&amp;#125;]]cf<@{skill_resistance_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_resistance_exp}+?{Attribute&amp;#125;]]-@{skill_resistance_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-SkillTable">
<!-- Coordination -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">Coordination</td>
<td><input type="number" value="7" name="attr_coordination" /></td>
<td>
<button type="roll" name="roll_coordination" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Coordination Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{coordination}}} {{roll=[[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{coordination}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{coordination}]]-d20cs<[[@{coordination}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{coordination}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Ballistics</td>
<td><input type="checkbox" name="attr_skill_ballistics_sig" /></td>
<td><input type="number" value="0" name="attr_skill_ballistics_exp" /></td>
<td><input type="number" value="0" name="attr_skill_ballistics_foc" /></td>
<td>
<button type="roll" name="roll_ballistics" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Ballistics Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Ballistics}} {{skill_exp=@{skill_ballistics_exp}}} {{skill_foc=@{skill_ballistics_foc}}} {{attribute=?{Attribute|Coordination, @{coordination}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_ballistics_exp}+?{Attribute}]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute}]]-@{skill_ballistics_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+?{Attribute&amp;#125;]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Pilot</td>
<td><input type="checkbox" name="attr_skill_pilot_sig" /></td>
<td><input type="number" value="0" name="attr_skill_pilot_exp" /></td>
<td><input type="number" value="0" name="attr_skill_pilot_foc" /></td>
<td>
<button type="roll" name="roll_pilot" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Pilot Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Pilot}} {{skill_exp=@{skill_pilot_exp}}} {{skill_foc=@{skill_pilot_foc}}} {{attribute=?{Attribute|Coordination, @{coordination}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_pilot_exp}+?{Attribute}]]-d20cs<[[@{skill_pilot_exp}+?{Attribute}]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute}]]-@{skill_pilot_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_pilot_exp}+?{Attribute&amp;#125;]]cf<@{skill_pilot_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_pilot_exp}+?{Attribute&amp;#125;]]-@{skill_pilot_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Spacecraft</td>
<td><input type="checkbox" name="attr_skill_spacecraft_sig" /></td>
<td><input type="number" value="0" name="attr_skill_spacecraft_exp" /></td>
<td><input type="number" value="0" name="attr_skill_spacecraft_foc" /></td>
<td>
<button type="roll" name="roll_spacecraft" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Spacecraft Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Spacecraft}} {{skill_exp=@{skill_spacecraft_exp}}} {{skill_foc=@{skill_spacecraft_foc}}} {{attribute=?{Attribute|Coordination, @{coordination}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Intelligence, @{intelligence}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute}]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute}]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute}]]-@{skill_spacecraft_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]cf<@{skill_spacecraft_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_spacecraft_exp}+?{Attribute&amp;#125;]]-@{skill_spacecraft_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-SkillTable">
<!-- Intelligence -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">Intelligence</td>
<td><input type="number" value="7" name="attr_intelligence" /></td>
<td>
<button type="roll" name="roll_intelligence" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Intelligence Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{intelligence}}} {{roll=[[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{intelligence}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{intelligence}]]-d20cs<[[@{intelligence}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{intelligence}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Education</td>
<td><input type="checkbox" name="attr_skill_education_sig" /></td>
<td><input type="number" value="0" name="attr_skill_education_exp" /></td>
<td><input type="number" value="0" name="attr_skill_education_foc" /></td>
<td>
<button type="roll" name="roll_education" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Education Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Education}} {{skill_exp=@{skill_education_exp}}} {{skill_foc=@{skill_education_foc}}} {{attribute=?{Attribute|Intelligence, @{intelligence}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_education_exp}+?{Attribute}]]-d20cs<[[@{skill_education_exp}+?{Attribute}]]cf<@{skill_education_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_education_exp}+?{Attribute}]]-@{skill_education_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_education_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_education_exp}+?{Attribute&amp;#125;]]cf<@{skill_education_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_education_exp}+?{Attribute&amp;#125;]]-@{skill_education_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Hacking</td>
<td><input type="checkbox" name="attr_skill_hacking_sig" /></td>
<td><input type="number" value="0" name="attr_skill_hacking_exp" /></td>
<td><input type="number" value="0" name="attr_skill_hacking_foc" /></td>
<td>
<button type="roll" name="roll_hacking" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Hacking Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Hacking}} {{skill_exp=@{skill_hacking_exp}}} {{skill_foc=@{skill_hacking_foc}}} {{attribute=?{Attribute|Intelligence, @{intelligence}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_hacking_exp}+?{Attribute}]]-d20cs<[[@{skill_hacking_exp}+?{Attribute}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute}]]-@{skill_hacking_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_hacking_exp}+?{Attribute&amp;#125;]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+?{Attribute&amp;#125;]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Medicine</td>
<td><input type="checkbox" name="attr_skill_medicine_sig" /></td>
<td><input type="number" value="0" name="attr_skill_medicine_exp" /></td>
<td><input type="number" value="0" name="attr_skill_medicine_foc" /></td>
<td>
<button type="roll" name="roll_medicine" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Medicine Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Medicine}} {{skill_exp=@{skill_medicine_exp}}} {{skill_foc=@{skill_medicine_foc}}} {{attribute=?{Attribute|Intelligence, @{intelligence}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_medicine_exp}+?{Attribute}]]-d20cs<[[@{skill_medicine_exp}+?{Attribute}]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute}]]-@{skill_medicine_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_medicine_exp}+?{Attribute&amp;#125;]]cf<@{skill_medicine_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_medicine_exp}+?{Attribute&amp;#125;]]-@{skill_medicine_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Psychology</td>
<td><input type="checkbox" name="attr_skill_psychology_sig" /></td>
<td><input type="number" value="0" name="attr_skill_psychology_exp" /></td>
<td><input type="number" value="0" name="attr_skill_psychology_foc" /></td>
<td>
<button type="roll" name="roll_psychology" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Psychology Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Psychology}} {{skill_exp=@{skill_psychology_exp}}} {{skill_foc=@{skill_psychology_foc}}} {{attribute=?{Attribute|Intelligence, @{intelligence}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_psychology_exp}+?{Attribute}]]-d20cs<[[@{skill_psychology_exp}+?{Attribute}]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute}]]-@{skill_psychology_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_psychology_exp}+?{Attribute&amp;#125;]]cf<@{skill_psychology_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_psychology_exp}+?{Attribute&amp;#125;]]-@{skill_psychology_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Science</td>
<td><input type="checkbox" name="attr_skill_science_sig" /></td>
<td><input type="number" value="0" name="attr_skill_science_exp" /></td>
<td><input type="number" value="0" name="attr_skill_science_foc" /></td>
<td>
<button type="roll" name="roll_science" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Science Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Science}} {{skill_exp=@{skill_science_exp}}} {{skill_foc=@{skill_science_foc}}} {{attribute=?{Attribute|Intelligence, @{intelligence}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_science_exp}+?{Attribute}]]-d20cs<[[@{skill_science_exp}+?{Attribute}]]cf<@{skill_science_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_science_exp}+?{Attribute}]]-@{skill_science_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_science_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_science_exp}+?{Attribute&amp;#125;]]cf<@{skill_science_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_science_exp}+?{Attribute&amp;#125;]]-@{skill_science_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Tech</td>
<td><input type="checkbox" name="attr_skill_tech_sig" /></td>
<td><input type="number" value="0" name="attr_skill_tech_exp" /></td>
<td><input type="number" value="0" name="attr_skill_tech_foc" /></td>
<td>
<button type="roll" name="roll_tech" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Tech Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Tech}} {{skill_exp=@{skill_tech_exp}}} {{skill_foc=@{skill_tech_foc}}} {{attribute=?{Attribute|Intelligence, @{intelligence}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Personality, @{personality}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_tech_exp}+?{Attribute}]]-d20cs<[[@{skill_tech_exp}+?{Attribute}]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_tech_exp}+?{Attribute}]]-@{skill_tech_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_tech_exp}+?{Attribute&amp;#125;]]cf<@{skill_tech_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_tech_exp}+?{Attribute&amp;#125;]]-@{skill_tech_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-SkillTable">
<!-- Personality -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">Personality</td>
<td><input type="number" value="7" name="attr_personality" /></td>
<td>
<button type="roll" name="roll_personality" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Personality Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{personality}}} {{roll=[[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{personality}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{personality}]]-d20cs<[[@{personality}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{personality}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Animal Handling</td>
<td><input type="checkbox" name="attr_skill_animal_handling_sig" /></td>
<td><input type="number" value="0" name="attr_skill_animal_handling_exp" /></td>
<td><input type="number" value="0" name="attr_skill_animal_handling_foc" /></td>
<td>
<button type="roll" name="roll_animal_handling" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Animal Handling Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Animal Handling}} {{skill_exp=@{skill_animal_handling_exp}}} {{skill_foc=@{skill_animal_handling_foc}}} {{attribute=?{Attribute|Personality, @{personality}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute}]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute}]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute}]]-@{skill_animal_handling_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]cf<@{skill_animal_handling_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_animal_handling_exp}+?{Attribute&amp;#125;]]-@{skill_animal_handling_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Command</td>
<td><input type="checkbox" name="attr_skill_command_sig" /></td>
<td><input type="number" value="0" name="attr_skill_command_exp" /></td>
<td><input type="number" value="0" name="attr_skill_command_foc" /></td>
<td>
<button type="roll" name="roll_command" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Command Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Command}} {{skill_exp=@{skill_command_exp}}} {{skill_foc=@{skill_command_foc}}} {{attribute=?{Attribute|Personality, @{personality}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_command_exp}+?{Attribute}]]-d20cs<[[@{skill_command_exp}+?{Attribute}]]cf<@{skill_command_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_command_exp}+?{Attribute}]]-@{skill_command_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_command_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_command_exp}+?{Attribute&amp;#125;]]cf<@{skill_command_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_command_exp}+?{Attribute&amp;#125;]]-@{skill_command_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Lifestyle</td>
<td><input type="checkbox" name="attr_skill_lifestyle_sig" /></td>
<td><input type="number" value="0" name="attr_skill_lifestyle_exp" /></td>
<td><input type="number" value="0" name="attr_skill_lifestyle_foc" /></td>
<td>
<button type="roll" name="roll_lifestyle" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Lifestyle Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Lifestyle}} {{skill_exp=@{skill_lifestyle_exp}}} {{skill_foc=@{skill_lifestyle_foc}}} {{attribute=?{Attribute|Personality, @{personality}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute}]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute}]]-@{skill_lifestyle_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+?{Attribute&amp;#125;]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-Skill">
<td>Persuade</td>
<td><input type="checkbox" name="attr_skill_persuade_sig" /></td>
<td><input type="number" value="0" name="attr_skill_persuade_exp" /></td>
<td><input type="number" value="0" name="attr_skill_persuade_foc" /></td>
<td>
<button type="roll" name="roll_persuade" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Persuade Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Persuade}} {{skill_exp=@{skill_persuade_exp}}} {{skill_foc=@{skill_persuade_foc}}} {{attribute=?{Attribute|Personality, @{personality}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Willpower, @{willpower}}}} {{roll=[[{{ceil(([[@{skill_persuade_exp}+?{Attribute}]]-d20cs<[[@{skill_persuade_exp}+?{Attribute}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute}]]-@{skill_persuade_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_persuade_exp}+?{Attribute&amp;#125;]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+?{Attribute&amp;#125;]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-SkillTable">
<!-- Willpower -->
<tr class="sheet-SkillTableHeader">
<td colspan="3">Willpower</td>
<td><input type="number" value="7" name="attr_willpower" /></td>
<td>
<button type="roll" name="roll_willpower" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Willpower Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{attribute=@{willpower}}} {{roll=[[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{willpower}]])),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{willpower}]]-d20cs<[[@{willpower}]]cf<0cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{willpower}]]))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="sheet-Skill">
<td>Discipline</td>
<td><input type="checkbox" name="attr_skill_discipline_sig" /></td>
<td><input type="number" value="0" name="attr_skill_discipline_exp" /></td>
<td><input type="number" value="0" name="attr_skill_discipline_foc" /></td>
<td>
<button type="roll" name="roll_discipline" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=Discipline Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Discipline}} {{skill_exp=@{skill_discipline_exp}}} {{skill_foc=@{skill_discipline_foc}}} {{attribute=?{Attribute|Willpower, @{willpower}|Agility, @{agility}|Awareness, @{awareness}|Brawn, @{brawn}|Coordination, @{coordination}|Intelligence, @{intelligence}|Personality, @{personality}}}} {{roll=[[{{ceil(([[@{skill_discipline_exp}+?{Attribute}]]-d20cs<[[@{skill_discipline_exp}+?{Attribute}]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute}]]-@{skill_discipline_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{skill_discipline_exp}+?{Attribute&amp;#125;]]cf<@{skill_discipline_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_discipline_exp}+?{Attribute&amp;#125;]]-@{skill_discipline_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="sheet-section-talents">
<!-- Second Page: Talents -->
<div class="sheet-row">
<div class="sheet-column" style="width:100%">
<!--<div class="sheet-header sheet-filled">
<span>TALENTS</span>
</div>-->
<table class="sheet-center" style="margin:0">
<tr>
<td class="sheet-StatLabelSub" style="width:13%">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_name_1" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Skill</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_skill_1" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Ranks</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_talent_ranks_1" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Effect</td>
<td class="sheet-StatInput" colspan="5"><textarea name="attr_talent_effect_1"></textarea></td>
</tr>
</table>
<br>
<table class="sheet-center" style="margin:0">
<tr>
<td class="sheet-StatLabelSub" style="width:13%">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_name_2" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Skill</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_skill_2" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Ranks</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_talent_ranks_2" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Effect</td>
<td class="sheet-StatInput" colspan="5"><textarea name="attr_talent_effect_2"></textarea></td>
</tr>
</table>
<br>
<table class="sheet-center" style="margin:0">
<tr>
<td class="sheet-StatLabelSub" style="width:13%">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_name_3" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Skill</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_skill_3" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Ranks</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_talent_ranks_3" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Effect</td>
<td class="sheet-StatInput" colspan="5"><textarea name="attr_talent_effect_3"></textarea></td>
</tr>
</table>
<br>
<fieldset class="repeating_talents">
<table class="sheet-center sheet-table-repeating" style="margin:0">
<tr>
<td class="sheet-StatLabelSub" style="width:13%">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_name" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Skill</td>
<td class="sheet-StatInput"><input type="text" name="attr_talent_skill" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Ranks</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_talent_ranks" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Effect</td>
<td class="sheet-StatInput" colspan="5"><textarea name="attr_talent_effect"></textarea></td>
</tr>
</table>
<br>
</fieldset>
</div>
</div>
</div>
<div class="sheet-section-gear">
<!-- Third Page: Gear -->
<div class="sheet-row">
<!-- Weapons and Gear -->
<div class="sheet-column" style="width:48%">
<!-- Weapons column -->
<div class="sheet-header sheet-filled">
<!-- Weapons header -->
<span>WEAPONS</span>
</div>
<fieldset class="repeating_weapons">
<!-- Repeating wepaons -->
<table class="sheet-WeaponStats" style="margin-top:4px">
<tr>
<td class="sheet-StatLabel" colspan="4">Weapon Name</td>
<td class="sheet-StatInput" colspan="3"><input type="text" name="attr_weapon_name" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Range</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Burst</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Size</td>
<td class="sheet-StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_weapon_range" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_weapon_damage_fixed"/></td>
<td class="sheet-StatInput" style="width:1%"><span class="sheet-InputText">+</span></td>
<td class="sheet-StatInput"><input type="text" name="attr_weapon_damage_dice" style="width:50%"/><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_weapon_burst" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_weapon_size" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_weapon_ammo" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="sheet-StatInput" colspan="7"><input type="text" name="attr_weapon_qualities" /></td>
</tr>
</table>
<table class="sheet-WeaponStats-bottom">
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Type</td>
<td class="sheet-StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_weapon_type" value="Infowar" class="sheet-weapon-tab sheet-weapon-tab-1" checked="checked" /><span class="sheet-weapon-tab sheet-weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_weapon_type" value="Psywar" class="sheet-weapon-tab sheet-weapon-tab-2" /><span class="sheet-weapon-tab sheet-weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_weapon_type" value="Melee" class="sheet-weapon-tab sheet-weapon-tab-3" /><span class="sheet-weapon-tab sheet-weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_weapon_type" value="Ranged" class="sheet-weapon-tab sheet-weapon-tab-4" /><span class="sheet-weapon-tab sheet-weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="sheet-button-damage sheet-button-infowar" name="attr_weapon_infowar_roll" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=@{weapon_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Hacking}} {{skill_exp=@{skill_hacking_exp}}} {{skill_foc=@{skill_hacking_foc}}} {{attribute=Intelligence, @{intelligence}}} {{ammo=@{weapon_ammo}}} {{qualities=@{weapon_qualities}}} {{roll=[[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{weapon_name} &#13;/r ?{Fixed damage|@{weapon_damage_fixed}}+[[?{Variable damage|@{weapon_damage_dice}}+@{damage_bonus_infowar}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-psywar" name="attr_weapon_psywar_roll" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=@{weapon_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Persuade}} {{skill_exp=@{skill_persuade_exp}}} {{skill_foc=@{skill_persuade_foc}}} {{attribute=Personality, @{personality}}} {{ammo=@{weapon_ammo}}} {{qualities=@{weapon_qualities}}} {{roll=[[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_persuade_exp}+@{personality}]]-d20cs<[[@{skill_persuade_exp}+@{personality}]]cf<@{skill_persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_persuade_exp}+@{personality}]]-@{skill_persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{weapon_name} &#13;/r ?{Fixed damage|@{weapon_damage_fixed}}+[[?{Variable damage|@{weapon_damage_dice}}+@{damage_bonus_psywar}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-melee" name="attr_weapon_melee_roll" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=@{weapon_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Close Combat}} {{skill_exp=@{skill_close_combat_exp}}} {{skill_foc=@{skill_close_combat_foc}}} {{attribute=Brawn, @{brawn}}} {{ammo=@{weapon_ammo}}} {{qualities=@{weapon_qualities}}} {{roll=[[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_close_combat_exp}+@{brawn}]]-d20cs<[[@{skill_close_combat_exp}+@{brawn}]]cf<@{skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_close_combat_exp}+@{brawn}]]-@{skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{weapon_name} &#13;/r ?{Fixed damage|@{weapon_damage_fixed}}+[[?{Variable damage|@{weapon_damage_dice}}+@{damage_bonus_melee}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-ranged" name="attr_weapon_ranged_roll" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=@{weapon_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Ballistics}} {{skill_exp=@{skill_ballistics_exp}}} {{skill_foc=@{skill_ballistics_foc}}} {{attribute=Coordination, @{coordination}}} {{ammo=@{weapon_ammo}}} {{qualities=@{weapon_qualities}}} {{roll=[[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_ballistics_exp}+@{coordination}]]-d20cs<[[@{skill_ballistics_exp}+@{coordination}]]cf<@{skill_ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_ballistics_exp}+@{coordination}]]-@{skill_ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{weapon_name} &#13;/r ?{Fixed damage|@{weapon_damage_fixed}}+[[?{Variable damage|@{weapon_damage_dice}}+@{damage_bonus_ranged}]]t[Combat-Dice])}}"></button>
</td>
<td class="sheet-StatLabelSub">Reloads</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_weapon_reloads" value="0" /></td>
</tr>
</table>
</fieldset>
</div>
<div class="sheet-column" style="width:48%;margin-left:4px;">
<!-- Gear column -->
<div class="sheet-header sheet-filled">
<!-- Gear header -->
<span>GEAR</span>
</div>
<table style="margin-top:-2px;width:100%;">
<!-- Wealth -->
<tr>
<td class="sheet-StatLabelSub" style="width:22%">Assets</td>
<td class="sheet-StatLabelSub" style="width:22%">Earnings</td>
<td class="sheet-StatLabelSub" style="width:22%">Cashflow</td>
<td class="sheet-StatLabelSub" style="width:22%">Shortfalls</td>
<td class="sheet-StatLabelSub" style="width:12%">Acq.</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="number" name="attr_assets" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_earnings" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_cashflow" /><span> / </span><input type="text" name="attr_cashflow_max" value="(@{earnings}+@{skill_lifestyle_exp}+5)" disabled></td>
<td class="sheet-StatInput"><input type="number" name="attr_shortfalls" /></td>
<td style="background-color:white;text-align:center">
<button type="roll" style="display:inline" value="&amp;{template:skillroll} {{header=?{Item name} Acquisition}} {{character_name=@{character_name}}} {{subheader=Difficulty [[?{Restriction rating|0}+@{shortfalls}+?{Bulk difficulty|0}]]}} {{skill=Lifestyle}} {{skill_exp=@{skill_lifestyle_exp}}} {{skill_foc=@{skill_lifestyle_foc}}} {{attribute=Personality, [[@{personality}]]}} {{roll=[[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_lifestyle_exp}+@{personality}]]-d20cs<[[@{skill_lifestyle_exp}+@{personality}]]cf<@{skill_lifestyle_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_lifestyle_exp}+@{personality}]]-@{skill_lifestyle_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Cost](!&#13;/em Rolling for item cost. Tariff: ?{Tariff|0} &#13;/r ?{Fixed cost|1}+?{Variable cost|1}t[Combat-Dice])}}" ></button>
</td>
</tr>
</table>
<table style="width:100%;margin-bottom:0;">
<!-- Items -->
<tr>
<td class="sheet-StatLabelSub sheet-left">Name</td>
<td class="sheet-StatLabelSub" style="width:15%">Qty.</td>
<td class="sheet-StatLabelSub" style="width:15%">Maint.</td>
</tr>
</table>
<fieldset class="repeating_gear">
<!-- Items repeating field -->
<table style="margin:0;margin-top:-2px">
<tr>
<td class="sheet-StatInput"><input type="text" class="sheet-left" name="attr_gear_name" /></td>
<td class="sheet-StatInput" style="width:15%"><input type="number" name="attr_gear_qty" /></td>
<td class="sheet-StatInput" style="width:15%"><input type="text" name="attr_gear_maintinence" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class="sheet-row">
<!-- Ammo and Resources -->
<div class="sheet-column" style="width:58%">
<!-- Ammo -->
<div class="sheet-header sheet-filled" style="margin-bottom:0">
<span>Ammunition</span>
</div>
<fieldset class="repeating_Ammo">
<table style="width:100%">
<tr>
<td class="sheet-StatLabel">Ammo</td>
<td class="sheet-StatInput"><input type="text" name="attr_ammo_name" /></td>
<td class="sheet-StatLabelSub">Category</td>
<td class="sheet-StatInput"><input type="text" name="attr_ammo_category" /></td>
<td class="sheet-StatLabelSub">Reloads</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_ammo_reloads" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Qualities</td>
<td class="sheet-StatInput" colspan="5"><input type="text" name="attr_ammo_qualities" class="sheet-left"/></td>
</tr>
</table>
</fieldset>
</div>
<div class="sheet-column" style="width:38%;margin-left:4px;">
<!-- Resources -->
<div class="sheet-header sheet-filled" style="margin-bottom:0">
<span>Resources</span>
</div>
<table style="margin-top:-2px;margin-bottom:0;width:100%">
<tr>
<td class="sheet-StatLabelSub sheet-left">Name</td>
<td class="sheet-StatLabelSub" style="width:20%">Qty.</td>
</tr>
</table>
<fieldset class="repeating_resources">
<table style="margin:0;margin-top:-2px;width:100%">
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_resource_name" class="sheet-left" /></td>
<td class="sheet-StatInput" style="width:20%"><input type="text" name="attr_resource_qty" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class="sheet-row">
<!-- Hacking -->
<div class="sheet-header sheet-filled" style="margin-bottom:0;margin-top:4px">
<!-- Header -->
<span>Hacking Device</span>
</div>
<table style="width:100%;margin-top:-2px">
<!-- Hacking Device info -->
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_hacking_device_name" /></td>
<td class="sheet-StatLabelSub sheet-tablediv-7">CLAW</td>
<td class="sheet-StatInput sheet-tablediv-7"><input type="text" name="attr_hacking_device_claw" /></td>
<td class="sheet-StatLabelSub sheet-tablediv-7">SWORD</td>
<td class="sheet-StatInput sheet-tablediv-7"><input type="text" name="attr_hacking_device_sword" /></td>
<td class="sheet-StatLabelSub sheet-tablediv-7">SHIELD</td>
<td class="sheet-StatInput sheet-tablediv-7"><input type="text" name="attr_hacking_device_shield" /></td>
<td class="sheet-StatLabelSub sheet-tablediv-7">GADGET</td>
<td class="sheet-StatInput sheet-tablediv-7"><input type="text" name="attr_hacking_device_gadget" /></td>
<td class="sheet-StatLabelSub sheet-tablediv-7">IC</td>
<td class="sheet-StatInput sheet-tablediv-7"><input type="text" name="attr_hacking_device_ic" /></td>
</tr>
</table>
<table style="margin-bottom:0;width:100%">
<tr>
<td class="sheet-StatLabel" colspan="8">Device Programs</td>
</tr>
<tr>
<td style="width:12%" class="sheet-StatLabelSub">Type</td>
<td style="width:08%"class="sheet-StatLabelSub">Rating</td>
<td style="width:15%" class="sheet-StatLabelSub sheet-left">Name</td>
<td style="width:10%" class="sheet-StatLabelSub" colspan="3">Damage</td>
<td style="width:50%" class="sheet-StatLabelSub">Qualities/Special Effects</td>
<td style="width:05%" class="sheet-StatLabelSub">Roll</td>
</tr>
</table>
<fieldset class="repeating_programs">
<table style="margin-top:-2px;width:100%">
<tr>
<td class="sheet-StatInput" style="width:12%">
<select name="attr_hacking_program_type">
<option value="CLAW">CLAW</option>
<option value="SWORD">SWORD</option>
<option value="SHIELD">SHIELD</option>
<option value="GADGET">GADGET</option>
<option value="IC">IC</option>
<option value="UPGRADE">UPGRADE</option>
</select>
</td>
<td style="width:08%" class="sheet-StatInput"><input type="text" name="attr_hacking_program_rating" /></td>
<td class="sheet-StatInput" style="width:15%"><input type="text" class="sheet-left" name="attr_hacking_program_name" /></td>
<td class="sheet-StatInput" style="width:3%;border-right-style:none"><input type="text" name="attr_hacking_program_damage_fixed" /></td>
<td style="width:2%;background-color:white;text-align:center;border-left-style:none;border-right-style:none;"><span class="sheet-InputText">+</span></td>
<td class="sheet-StatInput" style="width:5%;border-left-style:none"><input type="text" name="attr_hacking_program_damage_dice" style="width:50%"/><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput" style="width:50%"><input type="text" name="attr_hacking_program_qualities" /></td>
<td style="background-color:white;text-align:center;width:5%"><button type="roll" name="attr_weapon_infowar_roll" value="&amp;{template:skillroll} {{character_name=@{character_name}}} {{header=@{hacking_program_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Hacking}} {{skill_exp=@{skill_hacking_exp}}} {{skill_foc=@{skill_hacking_foc}}} {{attribute=Intelligence, @{intelligence}}} {{qualities=@{hacking_program_qualities}}} {{roll=[[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{skill_hacking_exp}+@{intelligence}]]-d20cs<[[@{skill_hacking_exp}+@{intelligence}]]cf<@{skill_hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{skill_hacking_exp}+@{intelligence}]]-@{skill_hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{hacking_program_name} &#13;/r ?{Fixed damage|@{hacking_program_damage_fixed}}+[[?{Variable damage|@{hacking_program_damage_dice}}+@{damage_bonus_infowar}]]t[Combat-Dice])}}"></button></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class="sheet-section-character">
<!-- Fourth Page: Character Info -->
<div style="margin-bottom:0;margin-top:4px;" class="sheet-header sheet-filled">
<span>Host</span>
</div>
<table style="width:100%;margin-top:-2px">
<tr>
<td colspan="2" class="sheet-StatLabelSub">Type</td>
<td colspan="5" class="sheet-StatInput"><input type="text" name="attr_host_type" /></td>
</tr>
<tr>
<td style="width:14%" class="sheet-StatLabelSub">AGI</td>
<td style="width:14%" class="sheet-StatLabelSub">AWA</td>
<td style="width:14%" class="sheet-StatLabelSub">BRW</td>
<td style="width:14%" class="sheet-StatLabelSub">COO</td>
<td style="width:14%" class="sheet-StatLabelSub">INT</td>
<td style="width:14%" class="sheet-StatLabelSub">PER</td>
<td style="width:14%" class="sheet-StatLabelSub">WIL</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_host_agi" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_host_awa" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_host_brw" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_host_coo" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_host_int" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_host_per" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_host_wil" /></td>
</tr>
</table>
<table style="width:100%;margin-bottom:0">
<tr>
<td colspan="5" class="sheet-StatLabel">Augmentations</td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">Name</td>
<td style="width:20%" class="sheet-StatLabelSub">Category</td>
<td style="width:30%" class="sheet-StatLabelSub">Type / Location</td>
<td style="width:20%" class="sheet-StatLabelSub">Qualities</td>
<td style="width:10%" class="sheet-StatLabelSub">Maint.</td>
</tr>
</table>
<fieldset class="repeating_augmentations">
<table style="width:100%;margin-top:-2px;margin-bottom:0">
<tr>
<td style="width:20%" class="sheet-StatInput"><input type="text" name="attr_augmentation_name" /></td>
<td style="width:20%" class="sheet-StatInput"><input type="text" name="attr_augmentation_category" /></td>
<td style="width:30%" class="sheet-StatInput"><input type="text" name="attr_augmentation_type" /></td>
<td style="width:20%" class="sheet-StatInput"><input type="text" name="attr_augmentation_qualities" /></td>
<td style="width:10%" class="sheet-StatInput"><input type="text" name="attr_augmentation_maintinence" /></td>
</tr>
</table>
</fieldset>
<table style="width:100%">
<tr>
<td class="sheet-StatLabel">Host Attributes</td>
</tr>
<tr>
<td class="sheet-StatInput"><textarea name="attr_host_attributes"></textarea></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="4" class="sheet-StatLabel">Character Description</td>
</tr>
<tr>
<td colspan="4" class="sheet-StatInput"><textarea name="attr_description"></textarea></td>
</tr>
<tr>
<td style="width:25%" class="sheet-StatLabelSub">Height</td>
<td style="width:25%" class="sheet-StatLabelSub">Weight</td>
<td style="width:25%" class="sheet-StatLabelSub">Hair</td>
<td style="width:25%" class="sheet-StatLabelSub">Eyes</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_height" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_weight" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_hair" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_eyes" /></td>
</tr>
</table>
</div>
<div class="sheet-section-bio">
<!-- Fifth Page: Biography -->
<div class="sheet-row">
<div class="sheet-column">
<div style="margin-bottom:0" class="sheet-header sheet-filled">
<span>Background</span>
</div>
<table style="margin-top:-2px;width:100%">
<!-- Age & Language -->
<tr>
<td style="width:10%" class="sheet-StatLabelSub">Age</td>
<td class="sheet-StatLabelSub">Languages</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_age" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_character_languages" /></td>
</tr>
</table>
<table class="sheet-character-background" style="width:100%">
<!-- Lifepath -->
<tr>
<td colspan="2" style="font-size:1em;padding:4px" class="sheet-StatLabel">Lifepath Characteristics</td>
</tr>
<tr>
<td style="width:20%;" class="sheet-StatLabelSub">Family <br />Social Status</td>
<td class="sheet-StatInput"><input type="text" name="attr_family_social_status" /></td>
</tr>
<tr>
<td style="width:20%;" class="sheet-StatLabelSub">Home Environment</td>
<td class="sheet-StatInput"><input type="text" name="attr_home_environment" /></td>
</tr>
<tr>
<td style="width:20%;" class="sheet-StatLabelSub">Youth Event</td>
<td class="sheet-StatInput"><input type="text" name="attr_youth_event" /></td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">Education</td>
<td class="sheet-StatInput"><input type="text" name="attr_education" /></td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">Adolescent Event</td>
<td class="sheet-StatInput"><input type="text" name="attr_adolescent_event" /></td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">1st Career</td>
<td class="sheet-StatInput"><input type="text" name="attr_career_1" /></td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">2nd Career</td>
<td class="sheet-StatInput"><input type="text" name="attr_career_2" /></td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">3rd Career</td>
<td class="sheet-StatInput"><input type="text" name="attr_career_3" /></td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub">4th Career</td>
<td class="sheet-StatInput"><input type="text" name="attr_career_4" /></td>
</tr>
<tr>
<td rowspan="3" class="sheet-StatLabelSub">Previous Factions</td>
<td class="sheet-StatInput"><input type="text" name="attr_previous_faction_1" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_previous_faction_2" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_previous_faction_3" /></td>
</tr>
</table>
<table style="width:100%">
<!-- Notes -->
<tr>
<td class="sheet-StatLabelSub">Additional Lifepath Notes / Events</td>
</tr>
<tr>
<td style="background-color:white"><textarea name="attr_lifepath_notes"></textarea></td>
</tr>
</table>
<div class="sheet-header sheet-filled" style="margin-bottom:0px">
<!-- Faction Handler Header -->
<span>Faction Handler</span>
</div>
<table style="width:100%;margin-top:-2px">
<!-- Faction Handler -->
<tr>
<td style="width:20%" class="sheet-StatLabelSub sheet-left">Identity</td>
<td style="width:80%" class="sheet-StatInput"><input type="text" name="attr_handler_name" class="sheet-left" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-left">Faction</td>
<td class="sheet-StatInput"><input type="text" name="attr_handler_faction" class="sheet-left" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-left">Contact Protocol</td>
<td class="sheet-StatInput"><input type="text" name="attr_handler_contact" class="sheet-left" /></td>
</tr>
</table>
<table style="width:100%">
<!-- Covert Objective -->
<tr>
<td class="sheet-StatLabelSub">Covert Objective</td>
</tr>
<tr>
<td class="sheet-StatInput"><textarea name="attr_handler_objective"></textarea></td>
</tr>
</table>
</div>
<div class="sheet-column" style="padding-left:4px">
<table style="width:100%;margin-bottom:0">
<tr>
<td colspan="2" class="sheet-StatLabel">Contacts</td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub sheet-left">Name</td>
<td style="width:80%" class="sheet-StatLabelSub sheet-left">Notes</td>
</tr>
</table>
<fieldset class="repeating_Contacts">
<table style="width:100%;margin-top:-2px">
<tr>
<td style="width:20%" class="sheet-StatInput sheet-left"><input class="sheet-left" type="text" name="attr_contact_name" /></td>
<td style="width:80%" class="sheet-StatInput sheet-left"><input class="sheet-left" type="text" name="attr_contact_notes" /></td>
</tr>
</table>
</fieldset>
<table style="width:100%">
<tr>
<td colspan="2" class="sheet-StatLabel">Personality</td>
</tr>
<tr>
<td style="width:20%" class="sheet-StatLabelSub sheet-left">Likes</td>
<td style="width:80%" class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_likes" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-left">Dislikes</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_dislikes" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-left">Quirks</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_quirks" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-left">Phobias</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_phobias" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-left">Catchphrases &amp; Battlecries</td>
<td class="sheet-StatInput"><textarea name="attr_catchphrases"></textarea></td>
</tr>
</table>
<table style="width:100%;margin-bottom:0">
<!-- Lifestyles -->
<tr>
<td colspan="3" class="sheet-StatLabel">Lifestyles</td>
</tr>
<tr>
<td style="width:65%" class="sheet-StatLabelSub sheet-left">Name</td>
<td style="width:20%" class="sheet-StatLabelSub">Rating</td>
<td style="width:15%" class="sheet-StatLabelSub">Maint.</td>
</tr>
</table>
<fieldset class="repeating_Lifestyles">
<table style="width:100%;margin-top:-2px">
<tr>
<td style="width:65%" class="sheet-StatInput"><input type="text" name="attr_lifestyle_name" class="sheet-left" /></td>
<td style="width:20%" class="sheet-StatInput"><input type="text" name="attr_lifestyle_rating" /></td>
<td style="width:15%" class="sheet-StatInput"><input type="text" name="attr_lifestyle_maintinence" /></td>
</tr>
</table>
</fieldset>
<table style="width:100%">
<tr>
<td colspan="2" class="sheet-StatLabel">Family</td>
</tr>
<tr>
<td style="width:20%" rowspan="2" class="sheet-left sheet-StatLabelSub">Parents</td>
<td style="width:80%" class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_parent_1" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_parent_2" /></td>
</tr>
<tr>
<td class="sheet-left sheet-StatLabelSub">Spouse</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_spouse" /></td>
</tr>
<tr>
<td rowspan="2" class="sheet-left sheet-StatLabelSub">Siblings</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_sibling_1" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_sibling_2" /></td>
</tr>
<tr>
<td rowspan="2" class="sheet-left sheet-StatLabelSub">Children</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_child_1" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_child_2" /></td>
</tr>
<tr>
<td rowspan="2" class="sheet-left sheet-StatLabelSub">Extended Family</td>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_extended_family_1" /></td>
</tr>
<tr>
<td class="sheet-StatInput"><input class="sheet-left" type="text" name="attr_extended_family_2" /></td>
</tr>
</table>
<table style="width:100%;margin-bottom:0">
<tr>
<td colspan="2" class="sheet-left sheet-StatLabel">Fake ID<span style="text-transform:lowercase">s</span></th>
</tr>
<tr>
<td style="width:85%" class="sheet-StatLabelSub sheet-left">Name</td>
<td style="width:15%" class="sheet-StatLabelSub">Rating</td>
</tr>
</table>
<fieldset class="repeating_IDs">
<table style="width:100%;margin-top:-2px">
<tr>
<td style="width:85%" class="sheet-left sheet-StatInput"><input class="sheet-left" type="text" name="attr_id_name" /></td>
<td style="width:15%" class="sheet-left sheet-StatInput"><input type="text" name="attr_id_rating" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
</div>
<div class="sheet-type-NPC">
<div class="sheet-row">
<div style="width:60%" class="sheet-column">
<table style="width:100%">
<tr>
<td class="sheet-StatLabel">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_name" /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="7" class="sheet-StatLabel">Attributes</td>
</tr>
<tr>
<td style="width:14%" class="sheet-StatLabelSub">AGI</td>
<td style="width:14%" class="sheet-StatLabelSub">AWA</td>
<td style="width:14%" class="sheet-StatLabelSub">BRW</td>
<td style="width:14%" class="sheet-StatLabelSub">COO</td>
<td style="width:14%" class="sheet-StatLabelSub">INT</td>
<td style="width:14%" class="sheet-StatLabelSub">PER</td>
<td style="width:14%" class="sheet-StatLabelSub">WIL</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_npc_agility" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_awareness" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_brawn" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_coordination" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_intelligence" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_personality" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_willpower" /></td>
</tr>
</table>
<table class="sheet-NPC sheet-expertise">
<!-- Fields of Expertise -->
<tr>
<td colspan="12" class="sheet-StatLabel">Fields of Expertise</td>
</tr>
<tr>
<th>Combat</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_combat_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_npc_combat_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_npc_roll_combat" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=Combat Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Combat}} {{EXP=@{npc_combat_exp}}} {{FOC=@{npc_combat_foc}}} {{attribute=?{Attribute|Agility, @{npc_agility}|Awareness, @{npc_awareness}|Brawn, @{npc_brawn}|Coordination, @{npc_coordination}|Intelligence, @{npc_intelligence}|Personality, @{npc_personality}|Willpower, @{npc_willpower}}}} {{roll=[[{{ceil(([[@{npc_combat_exp}+?{Attribute}]]-d20cs<[[@{npc_combat_exp}+?{Attribute}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_combat_exp}+?{Attribute}]]-@{npc_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_combat_exp}+?{Attribute&amp;#125;]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+?{Attribute&amp;#125;]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Movement</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_movement_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_npc_movement_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_npc_roll_movement" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=Movement Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Movement}} {{EXP=@{npc_movement_exp}}} {{FOC=@{npc_movement_foc}}} {{attribute=?{Attribute|Agility, @{npc_agility}|Awareness, @{npc_awareness}|Brawn, @{npc_brawn}|Coordination, @{npc_coordination}|Intelligence, @{npc_intelligence}|Personality, @{npc_personality}|Willpower, @{npc_willpower}}}} {{roll=[[{{ceil(([[@{npc_movement_exp}+?{Attribute}]]-d20cs<[[@{npc_movement_exp}+?{Attribute}]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_movement_exp}+?{Attribute}]]-@{npc_movement_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_movement_exp}+?{Attribute&amp;#125;]]cf<@{npc_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_movement_exp}+?{Attribute&amp;#125;]]-@{npc_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Social</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_social_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_npc_social_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_npc_roll_social" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=Social Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Social}} {{EXP=@{npc_social_exp}}} {{FOC=@{npc_social_foc}}} {{attribute=?{Attribute|Agility, @{npc_agility}|Awareness, @{npc_awareness}|Brawn, @{npc_brawn}|Coordination, @{npc_coordination}|Intelligence, @{npc_intelligence}|Personality, @{npc_personality}|Willpower, @{npc_willpower}}}} {{roll=[[{{ceil(([[@{npc_social_exp}+?{Attribute}]]-d20cs<[[@{npc_social_exp}+?{Attribute}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_social_exp}+?{Attribute}]]-@{npc_social_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_social_exp}+?{Attribute&amp;#125;]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+?{Attribute&amp;#125;]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr>
<th>Fortitude</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_fortitude_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_npc_fortitude_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_npc_roll_fortitude" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=Fortitude Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Fortitude}} {{EXP=@{npc_fortitude_exp}}} {{FOC=@{npc_fortitude_foc}}} {{attribute=?{Attribute|Agility, @{npc_agility}|Awareness, @{npc_awareness}|Brawn, @{npc_brawn}|Coordination, @{npc_coordination}|Intelligence, @{npc_intelligence}|Personality, @{npc_personality}|Willpower, @{npc_willpower}}}} {{roll=[[{{ceil(([[@{npc_fortitude_exp}+?{Attribute}]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute}]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute}]]-@{npc_fortitude_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{npc_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_fortitude_exp}+?{Attribute&amp;#125;]]-@{npc_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Senses</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_senses_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_npc_senses_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_npc_roll_senses" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=Senses Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Senses}} {{EXP=@{npc_senses_exp}}} {{FOC=@{npc_senses_foc}}} {{attribute=?{Attribute|Agility, @{npc_agility}|Awareness, @{npc_awareness}|Brawn, @{npc_brawn}|Coordination, @{npc_coordination}|Intelligence, @{npc_intelligence}|Personality, @{npc_personality}|Willpower, @{npc_willpower}}}} {{roll=[[{{ceil(([[@{npc_senses_exp}+?{Attribute}]]-d20cs<[[@{npc_senses_exp}+?{Attribute}]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_senses_exp}+?{Attribute}]]-@{npc_senses_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_senses_exp}+?{Attribute&amp;#125;]]cf<@{npc_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_senses_exp}+?{Attribute&amp;#125;]]-@{npc_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Technical</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_technical_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_npc_technical_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_npc_roll_technical" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=Technical Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Technical}} {{EXP=@{npc_technical_exp}}} {{FOC=@{npc_technical_foc}}} {{attribute=?{Attribute|Agility, @{npc_agility}|Awareness, @{npc_awareness}|Brawn, @{npc_brawn}|Coordination, @{npc_coordination}|Intelligence, @{npc_intelligence}|Personality, @{npc_personality}|Willpower, @{npc_willpower}}}} {{roll=[[{{ceil(([[@{npc_technical_exp}+?{Attribute}]]-d20cs<[[@{npc_technical_exp}+?{Attribute}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_technical_exp}+?{Attribute}]]-@{npc_technical_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{npc_technical_exp}+?{Attribute&amp;#125;]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+?{Attribute&amp;#125;]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-NPC sheet-defences">
<tr>
<th class="sheet-StatLabel" colspan="6">Defences</th>
</tr>
<tr>
<th>Firewall</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_firewall" /><span class="sheet-InputText">/</span><input type="number" name="attr_npc_firewall_max" /></td>
<th>Resolve</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_resolve" /><span class="sheet-InputText">/</span><input type="number" name="attr_npc_resolve_max" /></td>
<th>Vigour</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_vigour" /><span class="sheet-InputText">/</span><input type="number" name="attr_npc_vigour_max" /></td>
</tr>
<tr>
<th>Security</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_soak_security" /></td>
<th>Morale</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_soak_morale" /></td>
<th>Armour</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_soak_armour" /></td>
</tr>
</table>
<table class="sheet-NPC sheet-defences">
<tr>
<th colspan="6" class="sheet-StatLabel">Harms</th>
</tr>
<tr>
<th>Breaches</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_breaches" /><span class="sheet-InputText">/</span><input type="number" name="attr_npc_breaches_max" /></td>
<th>Metanoia</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_metanoia" /><span class="sheet-InputText">/</span><input type="number" name="attr_npc_metanoia_max" /></td>
<th>Wounds</th>
<td class="sheet-StatInput"><input type="number" name="attr_npc_wounds" /><span class="sheet-InputText">/</span><input type="number" name="attr_npc_wounds_max" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Attacks</td>
</tr>
</table>
<fieldset class="repeating_attacks">
<!-- Repeating wepaons -->
<table class="sheet-WeaponStats" style="margin-top:4px">
<tr>
<td class="sheet-StatLabel" colspan="4">Attack Name</td>
<td class="sheet-StatInput" colspan="3"><input type="text" name="attr_npc_attack_name" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Range</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Burst</td>
<td class="sheet-StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_npc_attack_range" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_attack_damage_fixed" /></td>
<td class="sheet-StatInput" style="width:1%"><span class="sheet-InputText">+</span></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_attack_damage_dice" style="width:50%" /><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_attack_burst" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_attack_ammo" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="sheet-StatInput" colspan="7"><input type="text" name="attr_npc_attack_qualities" /></td>
</tr>
</table>
<table class="sheet-WeaponStats-bottom">
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Type</td>
<td class="sheet-StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_npc_attack_type" value="Infowar" class="sheet-weapon-tab sheet-weapon-tab-1" checked="checked" /><span class="sheet-weapon-tab sheet-weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_npc_attack_type" value="Psywar" class="sheet-weapon-tab sheet-weapon-tab-2" /><span class="sheet-weapon-tab sheet-weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_npc_attack_type" value="Melee" class="sheet-weapon-tab sheet-weapon-tab-3" /><span class="sheet-weapon-tab sheet-weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_npc_attack_type" value="Ranged" class="sheet-weapon-tab sheet-weapon-tab-4" /><span class="sheet-weapon-tab sheet-weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="sheet-button-damage sheet-button-infowar" name="attr_npc_attack_infowar_roll" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=@{npc_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Technical}} {{EXP=@{npc_technical_exp}}} {{FOC=@{npc_technical_foc}}} {{attribute=Intelligence, @{npc_intelligence}}} {{ammo=@{npc_attack_ammo}}} {{qualities=@{npc_attack_qualities}}} {{roll=[[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_technical_exp}+@{npc_intelligence}]]-d20cs<[[@{npc_technical_exp}+@{npc_intelligence}]]cf<@{npc_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_technical_exp}+@{npc_intelligence}]]-@{npc_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{npc_attack_name} &#13;/r ?{Fixed damage|@{npc_attack_damage_fixed}}+[[?{Variable damage|@{npc_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-psywar" name="attr_npc_attack_psywar_roll" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=@{npc_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Social}} {{EXP=@{npc_social_exp}}} {{FOC=@{npc_social_foc}}} {{attribute=Personality, @{npc_personality}}} {{ammo=@{npc_attack_ammo}}} {{qualities=@{npc_attack_qualities}}} {{roll=[[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_social_exp}+@{npc_personality}]]-d20cs<[[@{npc_social_exp}+@{npc_personality}]]cf<@{npc_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_social_exp}+@{npc_personality}]]-@{npc_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{npc_attack_name} &#13;/r ?{Fixed damage|@{npc_attack_damage_fixed}}+[[?{Variable damage|@{npc_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-melee" name="attr_npc_attack_melee_roll" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=@{npc_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Close Combat}} {{EXP=@{npc_combat_exp}}} {{FOC=@{npc_combat_foc}}} {{attribute=Brawn, @{npc_brawn}}} {{ammo=@{npc_attack_ammo}}} {{qualities=@{npc_attack_qualities}}} {{roll=[[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_brawn}]]-d20cs<[[@{npc_combat_exp}+@{npc_brawn}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_brawn}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{npc_attack_name} &#13;/r ?{Fixed damage|@{npc_attack_damage_fixed}}+[[?{Variable damage|@{npc_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-ranged" name="attr_npc_attack_ranged_roll" value="&amp;{template:skillroll} {{npc_name=@{npc_name}}} {{header=@{npc_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Combat}} {{EXP=@{npc_combat_exp}}} {{FOC=@{npc_combat_foc}}} {{attribute=Coordination, @{npc_coordination}}} {{ammo=@{npc_attack_ammo}}} {{qualities=@{npc_attack_qualities}}} {{roll=[[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{npc_combat_exp}+@{npc_coordination}]]-d20cs<[[@{npc_combat_exp}+@{npc_coordination}]]cf<@{npc_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{npc_combat_exp}+@{npc_coordination}]]-@{npc_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{npc_attack_name} &#13;/r ?{Fixed damage|@{npc_attack_damage_fixed}}+[[?{Variable damage|@{npc_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
</td>
</tr>
</table>
</fieldset>
</div>
<div class="sheet-column" style="width:39%;padding-left:4px">
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Type</td>
<td class="sheet-StatInput"><input type="text" name="attr_npc_type" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Gear</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_npc_gear"></textarea></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Special Abilities</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="20" name="attr_npc_abilities"></textarea></td>
</tr>
</table>
</div>
</div>
</div>
<div class="sheet-type-Geist">
<div class="sheet-row">
<div style="width:60%" class="sheet-column">
<table style="width:100%">
<tr>
<td class="sheet-StatLabel">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_name" /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="7" class="sheet-StatLabel">Attributes</td>
</tr>
<tr>
<td style="width:14%" class="sheet-StatLabelSub">AGI</td>
<td style="width:14%" class="sheet-StatLabelSub">AWA</td>
<td style="width:14%" class="sheet-StatLabelSub">BRW</td>
<td style="width:14%" class="sheet-StatLabelSub">COO</td>
<td style="width:14%" class="sheet-StatLabelSub">INT</td>
<td style="width:14%" class="sheet-StatLabelSub">PER</td>
<td style="width:14%" class="sheet-StatLabelSub">WIL</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_geist_agility" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_awareness" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_brawn" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_coordination" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_intelligence" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_personality" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_willpower" /></td>
</tr>
</table>
<table class="sheet-NPC sheet-defences">
<tr>
<th class="sheet-StatLabel" colspan="6">Defences</th>
</tr>
<tr>
<th>Firewall</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_firewall" /><span class="sheet-InputText">/</span><input type="number" name="attr_geist_firewall_max" /></td>
<th>Resolve</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_resolve" /><span class="sheet-InputText">/</span><input type="number" name="attr_geist_resolve_max" /></td>
<th>Structure</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_structure" /><span class="sheet-InputText">/</span><input type="number" name="attr_geist_structure_max" /></td>
</tr>
<tr>
<th>Security</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_soak_security" /></td>
<th>Morale</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_soak_morale" /></td>
<th>Armour</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_soak_armour" /></td>
</tr>
</table>
<table class="sheet-NPC sheet-defences">
<tr>
<th colspan="6" class="sheet-StatLabel">Harms</th>
</tr>
<tr>
<th>Breaches</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_breaches" /><span class="sheet-InputText">/</span><input type="number" name="attr_geist_breaches_max" /></td>
<th>Metanoia</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_metanoia" /><span class="sheet-InputText">/</span><input type="number" name="attr_geist_metanoia_max" /></td>
<th>Faults</th>
<td class="sheet-StatInput"><input type="number" name="attr_geist_faults" /><span class="sheet-InputText">/</span><input type="number" name="attr_geist_faults_max" /></td>
</tr>
</table>
<div class="sheet-row">
<div class="sheet-column">
<!-- Skills -->
<table style="margin-bottom:0" class="sheet-SkillTable">
<tr>
<td colspan="5" class="sheet-StatLabel">Skills</td>
</tr>
<tr class="sheet-SkillTableHeaderSub">
<td>Skill</td>
<td></td>
<td style="width:30px">EXP</td>
<td style="width:30px">FOC</td>
<td style="width:30px">ROLL</td>
</tr>
</table>
<fieldset class="repeating_GeistSkills">
<table style="margin-top:-2px;margin-bottom:0;width:100%">
<tr>
<td class="sheet-StatInput sheet-left"><input class="sheet-left" type="text" name="attr_geist_skill_name" /></td>
<td style="width:30px" class="sheet-StatInput"><input type="number" name="attr_geist_skill_exp" value="0" /></td>
<td style="width:30px" class="sheet-StatInput"><input type="number" name="attr_geist_skill_foc" value="0" /></td>
<td style="width:30px;background-color:white;text-align:center">
<button type="roll" name="attr_geist_skill_roll" value="&amp;{template:skillroll} {{character_name=@{geist_name}}} {{header=@{geist_skill_name} Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=@{geist_skill_name}}} {{skill_exp=@{geist_skill_exp}}} {{skill_foc=@{geist_skill_foc}}} {{attribute=?{Attribute|Agility, @{geist_agility}|Awareness, @{geist_awareness}|Brawn, @{geist_brawn}|Coordination, @{geist_coordination}|Intelligence, @{geist_intelligence}|Personality, @{geist_personality}|Willpower, @{geist_willpower}}}} {{roll=[[{{ceil(([[@{geist_skill_exp}+?{Attribute}]]-d20cs<[[@{geist_skill_exp}+?{Attribute}]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{geist_skill_exp}+?{Attribute}]]-@{geist_skill_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{geist_skill_exp}+?{Attribute&amp;#125;]]cf<@{geist_skill_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{geist_skill_exp}+?{Attribute&amp;#125;]]-@{geist_skill_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
</fieldset>
</div>
<div class="sheet-column" style="padding-left:4px">
<!-- Traits -->
<table style="margin-bottom:0" class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Traits</td>
</tr>
</table>
<fieldset class="repeating_GeistTraits">
<table style="margin-top:-2px;margin-bottom:0" class="sheet-NPC">
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_geist_trait" class="sheet-left" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Talents</td>
</tr>
</table>
<fieldset class="repeating_talents">
<table class="sheet-center sheet-table-repeating" style="margin:0">
<tr>
<td class="sheet-StatLabelSub" style="width:13%">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_talent_name" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Skill</td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_talent_skill" /></td>
<td class="sheet-StatLabelSub" style="width:13%">Ranks</td>
<td class="sheet-StatInput" style="width:10%"><input type="number" name="attr_geist_talent_ranks" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub">Effect</td>
<td class="sheet-StatInput" colspan="5"><textarea name="attr_geist_talent_effect"></textarea></td>
</tr>
</table>
<br>
</fieldset>
</div>
<div class="sheet-column" style="width:39%;padding-left:4px">
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Type</td>
<td class="sheet-StatInput"><input type="text" name="attr_geist_type" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">AR Avatar</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_avatar"></textarea></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Roleplaying</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_roleplaying"></textarea></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Background</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_background"></textarea></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Other Notes</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_notes"></textarea></td>
</tr>
</table>
</div>
</div>
</div>
<div class="sheet-type-Shell">
<div class="sheet-row">
<div style="width:60%" class="sheet-column">
<table style="width:100%">
<tr>
<td class="sheet-StatLabel">Name</td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_name" /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="7" class="sheet-StatLabel">Attributes</td>
</tr>
<tr>
<td style="width:14%" class="sheet-StatLabelSub">AGI</td>
<td style="width:14%" class="sheet-StatLabelSub">AWA</td>
<td style="width:14%" class="sheet-StatLabelSub">BRW</td>
<td style="width:14%" class="sheet-StatLabelSub">COO</td>
<td style="width:14%" class="sheet-StatLabelSub">INT</td>
<td style="width:14%" class="sheet-StatLabelSub">PER</td>
<td style="width:14%" class="sheet-StatLabelSub">WIL</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_shell_agility" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_awareness" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_brawn" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_coordination" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_intelligence" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_personality" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_willpower" /></td>
</tr>
</table>
<table class="sheet-NPC sheet-expertise">
<!-- Fields of Expertise -->
<tr>
<td colspan="12" class="sheet-StatLabel">Fields of Expertise</td>
</tr>
<tr>
<th>Combat</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_combat_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_shell_combat_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_shell_roll_combat" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=Combat Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Combat}} {{EXP=@{shell_combat_exp}}} {{FOC=@{shell_combat_foc}}} {{attribute=?{Attribute|Agility, @{shell_agility}|Awareness, @{shell_awareness}|Brawn, @{shell_brawn}|Coordination, @{shell_coordination}|Intelligence, @{shell_intelligence}|Personality, @{shell_personality}|Willpower, @{shell_willpower}}}} {{roll=[[{{ceil(([[@{shell_combat_exp}+?{Attribute}]]-d20cs<[[@{shell_combat_exp}+?{Attribute}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_combat_exp}+?{Attribute}]]-@{shell_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_combat_exp}+?{Attribute&amp;#125;]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+?{Attribute&amp;#125;]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Movement</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_movement_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_shell_movement_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_shell_roll_movement" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=Movement Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Movement}} {{EXP=@{shell_movement_exp}}} {{FOC=@{shell_movement_foc}}} {{attribute=?{Attribute|Agility, @{shell_agility}|Awareness, @{shell_awareness}|Brawn, @{shell_brawn}|Coordination, @{shell_coordination}|Intelligence, @{shell_intelligence}|Personality, @{shell_personality}|Willpower, @{shell_willpower}}}} {{roll=[[{{ceil(([[@{shell_movement_exp}+?{Attribute}]]-d20cs<[[@{shell_movement_exp}+?{Attribute}]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_movement_exp}+?{Attribute}]]-@{shell_movement_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_movement_exp}+?{Attribute&amp;#125;]]cf<@{shell_movement_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_movement_exp}+?{Attribute&amp;#125;]]-@{shell_movement_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Social</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_social_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_shell_social_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_shell_roll_social" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=Social Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Social}} {{EXP=@{shell_social_exp}}} {{FOC=@{shell_social_foc}}} {{attribute=?{Attribute|Agility, @{shell_agility}|Awareness, @{shell_awareness}|Brawn, @{shell_brawn}|Coordination, @{shell_coordination}|Intelligence, @{shell_intelligence}|Personality, @{shell_personality}|Willpower, @{shell_willpower}}}} {{roll=[[{{ceil(([[@{shell_social_exp}+?{Attribute}]]-d20cs<[[@{shell_social_exp}+?{Attribute}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_social_exp}+?{Attribute}]]-@{shell_social_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_social_exp}+?{Attribute&amp;#125;]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+?{Attribute&amp;#125;]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
<tr>
<th>Fortitude</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_fortitude_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_shell_fortitude_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_shell_roll_fortitude" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=Fortitude Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Fortitude}} {{EXP=@{shell_fortitude_exp}}} {{FOC=@{shell_fortitude_foc}}} {{attribute=?{Attribute|Agility, @{shell_agility}|Awareness, @{shell_awareness}|Brawn, @{shell_brawn}|Coordination, @{shell_coordination}|Intelligence, @{shell_intelligence}|Personality, @{shell_personality}|Willpower, @{shell_willpower}}}} {{roll=[[{{ceil(([[@{shell_fortitude_exp}+?{Attribute}]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute}]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute}]]-@{shell_fortitude_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]cf<@{shell_fortitude_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_fortitude_exp}+?{Attribute&amp;#125;]]-@{shell_fortitude_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Senses</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_senses_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_shell_senses_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_shell_roll_senses" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=Senses Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Senses}} {{EXP=@{shell_senses_exp}}} {{FOC=@{shell_senses_foc}}} {{attribute=?{Attribute|Agility, @{shell_agility}|Awareness, @{shell_awareness}|Brawn, @{shell_brawn}|Coordination, @{shell_coordination}|Intelligence, @{shell_intelligence}|Personality, @{shell_personality}|Willpower, @{shell_willpower}}}} {{roll=[[{{ceil(([[@{shell_senses_exp}+?{Attribute}]]-d20cs<[[@{shell_senses_exp}+?{Attribute}]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_senses_exp}+?{Attribute}]]-@{shell_senses_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_senses_exp}+?{Attribute&amp;#125;]]cf<@{shell_senses_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_senses_exp}+?{Attribute&amp;#125;]]-@{shell_senses_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
<th>Technical</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_technical_exp" /></td>
<td class="sheet-StatInput"><input type="number" name="attr_shell_technical_foc" /></td>
<td style="background-color:white">
<button type="roll" name="attr_roll_technical" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=Technical Test}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Technical}} {{EXP=@{shell_technical_exp}}} {{FOC=@{shell_technical_foc}}} {{attribute=?{Attribute|Agility, @{shell_agility}|Awareness, @{shell_awareness}|Brawn, @{shell_brawn}|Coordination, @{shell_coordination}|Intelligence, @{shell_intelligence}|Personality, @{shell_personality}|Willpower, @{shell_willpower}}}} {{roll=[[{{ceil(([[@{shell_technical_exp}+?{Attribute}]]-d20cs<[[@{shell_technical_exp}+?{Attribute}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_technical_exp}+?{Attribute}]]-@{shell_technical_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-d20cs<[[@{shell_technical_exp}+?{Attribute&amp;#125;]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+?{Attribute&amp;#125;]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}}">
</button>
</td>
</tr>
</table>
<table class="sheet-NPC sheet-defences">
<tr>
<th class="sheet-StatLabel" colspan="6">Defences</th>
</tr>
<tr>
<th>Firewall</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_firewall" /><span class="sheet-InputText">/</span><input type="number" name="attr_shell_firewall_max" /></td>
<th>Resolve</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_resolve" /><span class="sheet-InputText">/</span><input type="number" name="attr_shell_resolve_max" /></td>
<th>Structure</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_structure" /><span class="sheet-InputText">/</span><input type="number" name="attr_shell_structure_max" /></td>
</tr>
<tr>
<th>Security</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_soak_security" /></td>
<th>Morale</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_soak_morale" /></td>
<th>Armour</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_soak_armour" /></td>
</tr>
</table>
<table class="sheet-NPC sheet-defences">
<tr>
<th colspan="6" class="sheet-StatLabel">Harms</th>
</tr>
<tr>
<th>Breaches</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_breaches" /><span class="sheet-InputText">/</span><input type="number" name="attr_shell_breaches_max" /></td>
<th>Metanoia</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_metanoia" /><span class="sheet-InputText">/</span><input type="number" name="attr_shell_metanoia_max" /></td>
<th>Faults</th>
<td class="sheet-StatInput"><input type="number" name="attr_shell_faults" /><span class="sheet-InputText">/</span><input type="number" name="attr_shell_faults_max" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Attacks</td>
</tr>
</table>
<fieldset class="repeating_attacks">
<!-- Repeating wepaons -->
<table class="sheet-WeaponStats" style="margin-top:4px">
<tr>
<td class="sheet-StatLabel" colspan="4">Attack Name</td>
<td class="sheet-StatInput" colspan="3"><input type="text" name="attr_shell_attack_name" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Range</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Burst</td>
<td class="sheet-StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_shell_attack_range" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_attack_damage_fixed" /></td>
<td class="sheet-StatInput" style="width:1%"><span class="sheet-InputText">+</span></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_attack_damage_dice" style="width:50%"/><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_attack_burst" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_attack_ammo" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="sheet-StatInput" colspan="7"><input type="text" name="attr_shell_attack_qualities" /></td>
</tr>
</table>
<table class="sheet-WeaponStats-bottom">
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Type</td>
<td class="sheet-StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_shell_attack_type" value="Infowar" class="sheet-weapon-tab sheet-weapon-tab-1" checked="checked" /><span class="sheet-weapon-tab sheet-weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_shell_attack_type" value="Psywar" class="sheet-weapon-tab sheet-weapon-tab-2" /><span class="sheet-weapon-tab sheet-weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_shell_attack_type" value="Melee" class="sheet-weapon-tab sheet-weapon-tab-3" /><span class="sheet-weapon-tab sheet-weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_shell_attack_type" value="Ranged" class="sheet-weapon-tab sheet-weapon-tab-4" /><span class="sheet-weapon-tab sheet-weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="sheet-button-damage sheet-button-infowar" name="attr_shell_attack_infowar_roll" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=@{shell_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Technical}} {{EXP=@{shell_technical_exp}}} {{FOC=@{shell_technical_foc}}} {{attribute=Intelligence, @{shell_intelligence}}} {{ammo=@{shell_attack_ammo}}} {{qualities=@{shell_attack_qualities}}} {{roll=[[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_technical_exp}+@{shell_intelligence}]]-d20cs<[[@{shell_technical_exp}+@{shell_intelligence}]]cf<@{shell_technical_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_technical_exp}+@{shell_intelligence}]]-@{shell_technical_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{shell_attack_name} &#13;/r ?{Fixed damage|@{shell_attack_damage_fixed}}+[[?{Variable damage|@{shell_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-psywar" name="attr_shell_attack_psywar_roll" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=@{shell_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Social}} {{EXP=@{shell_social_exp}}} {{FOC=@{shell_social_foc}}} {{attribute=Personality, @{shell_personality}}} {{ammo=@{shell_attack_ammo}}} {{qualities=@{shell_attack_qualities}}} {{roll=[[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_social_exp}+@{shell_personality}]]-d20cs<[[@{shell_social_exp}+@{shell_personality}]]cf<@{shell_social_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_social_exp}+@{shell_personality}]]-@{shell_social_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{shell_attack_name} &#13;/r ?{Fixed damage|@{shell_attack_damage_fixed}}+[[?{Variable damage|@{shell_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-melee" name="attr_shell_attack_melee_roll" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=@{shell_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Close Combat}} {{EXP=@{shell_combat_exp}}} {{FOC=@{shell_combat_foc}}} {{attribute=Brawn, @{shell_brawn}}} {{ammo=@{shell_attack_ammo}}} {{qualities=@{shell_attack_qualities}}} {{roll=[[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_brawn}]]-d20cs<[[@{shell_combat_exp}+@{shell_brawn}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_brawn}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{shell_attack_name} &#13;/r ?{Fixed damage|@{shell_attack_damage_fixed}}+[[?{Variable damage|@{shell_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-ranged" name="attr_shell_attack_ranged_roll" value="&amp;{template:skillroll} {{shell_name=@{shell_name}}} {{header=@{shell_attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Combat}} {{EXP=@{shell_combat_exp}}} {{FOC=@{shell_combat_foc}}} {{attribute=Coordination, @{shell_coordination}}} {{ammo=@{shell_attack_ammo}}} {{qualities=@{shell_attack_qualities}}} {{roll=[[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{shell_combat_exp}+@{shell_coordination}]]-d20cs<[[@{shell_combat_exp}+@{shell_coordination}]]cf<@{shell_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{shell_combat_exp}+@{shell_coordination}]]-@{shell_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{shell_attack_name} &#13;/r ?{Fixed damage|@{shell_attack_damage_fixed}}+[[?{Variable damage|@{shell_attack_damage_dice}}]]t[Combat-Dice])}}"></button>
</td>
</tr>
</table>
</fieldset>
</div>
<div class="sheet-column" style="width:39%;padding-left:4px">
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Type</td>
<td class="sheet-StatInput"><input type="text" name="attr_shell_type" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Gear</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_shell_gear"></textarea></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<td class="sheet-StatLabel">Special Abilities</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="20" name="attr_shell_abilities"></textarea></td>
</tr>
</table>
</div>
</div>
</div>
<div class="sheet-type-Vehicle">
<div class="sheet-row">
<div class="sheet-column">
<table style="width:100%">
<tr>
<td colspan="1" class="sheet-StatLabel">Name</td>
<td colspan="3" class="sheet-StatInput"><input type="text" name="attr_vehicle_name" /></td>
</tr>
<tr>
<th>Type</th>
<td class="sheet-StatInput"><input type="text" name="attr_vehicle_type" /></td>
<th style="width:15%">Cover</th>
<td style="width:20%" class="sheet-StatInput"><input style="width:20px" type="text" name="attr_vehicle_cover" /><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /><button style="margin-left:5px;font-size:20px;" type="roll" name="attr_vehicle_cover" value="/em takes cover in the @{vehicle_name} &#13;&#10;/r @{cover}t[Combat-Dice]&#13;&#10;"></button>
</td>
</tr>
<tr>
<th>Traits</th>
<td colspan="3" class="sheet-StatInput"><input type="text" name="attr_vehicle_qualities" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<th colspan="3" class="sheet-StatLabel">Attributes</th>
</tr>
<tr>
<th>Scale</th>
<th>Speed</th>
<th>Brawn</th>
</tr>
<tr>
<td style="width:33%"><input type="number" name="attr_vehicle_scale" value="0" /></td>
<td style="width:33%"><input type="number" name="attr_vehicle_speed" value="0" /></td>
<td style="width:33%;text-align:center"><input type="number" name="attr_vehicle_brawn" value="1" style="width:20px" /><span class="sheet-InputText">+ (</span><input type="number" name="attr_vehicle_brawn_vehicle" style="width:20px" value="1"/><span class="sheet-InputText">)</span></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<th colspan="2" class="sheet-StatLabel">Details</th>
</tr>
<tr>
<th>Max. Passengers</th>
<th>Impact</th>
</tr>
<tr>
<td><input type="number" name="attr_vehicle_passengers_max" value="1" /></td>
<td style="text-align:center"><input style="width:20px" type="number" name="attr_vehicle_impact_fixed" value="1" /><span class="sheet-InputText">+</span><input style="width:20px" type="number" name="attr_vehicle_impact_dice" value="1" /><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /><span class="sheet-InputText"> (</span><input style="width:65%" type="text" name="attr_vehicle_impact_type" /><span class="sheet-InputText">)</span></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<th colspan="4" class="sheet-StatLabel">Defences</th>
</tr>
<tr>
<th>Structure</th>
<td style="text-align:center"><input style="width:20px" type="number" name="attr_vehicle_structure" value="0" /><span class="sheet-InputText">/</span><input style="width:20px" type="number" name="attr_vehicle_structure_max" value="0" /></td>
<th>Firewall</th>
<td style="text-align:center"><input style="width:20px" type="number" name="attr_vehicle_firewall" value="0" /><span class="sheet-InputText">/</span><input style="width:20px" type="number" name="attr_vehicle_firewall_max" value="0" /></td>
</tr>
<tr>
<th>Armour</th>
<td><input type="number" name="attr_vehicle_armour" value="0" /></td>
<th>BTS</th>
<td><input type="number" name="attr_vehicle_bts" value="0" /></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<th class="sheet-StatLabel">Description</th>
</tr>
<tr>
<td style="background-color:white"><textarea rows="5" name="attr_vehicle_description"></textarea></td>
</tr>
</table>
</div>
<div class="sheet-column" style="padding-left:4px">
<table class="sheet-NPC">
<tr>
<th class="sheet-StatLabel">Mounted Weapons</th>
</tr>
</table>
<fieldset class="repeating_attacks">
<!-- Repeating wepaons -->
<table class="sheet-WeaponStats" style="margin-top:4px">
<tr>
<td class="sheet-StatLabel" colspan="4">Weapon Name</td>
<td class="sheet-StatInput" colspan="3"><input type="text" name="attr_vehicle_attack_name" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Range</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Burst</td>
<td class="sheet-StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="sheet-StatInput"><input type="text" name="attr_vehicle_attack_range" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_vehicle_attack_damage_fixed" /></td>
<td class="sheet-StatInput" style="width:1%"><span class="sheet-InputText">+</span></td>
<td class="sheet-StatInput"><input type="text" name="attr_vehicle_attack_damage_dice" style="width:50%" /><img class="sheet-icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_vehicle_attack_burst" /></td>
<td class="sheet-StatInput"><input type="text" name="attr_vehicle_attack_ammo" /></td>
</tr>
<tr>
<td class="sheet-StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="sheet-StatInput" colspan="7"><input type="text" name="attr_vehicle_attack_qualities" /></td>
</tr>
</table>
<table class="sheet-WeaponStats-bottom">
<tr>
<td class="sheet-StatLabelSub sheet-WeaponStats-EvenLabel">Type</td>
<td class="sheet-StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_vehicle_attack_type" value="Infowar" class="sheet-weapon-tab sheet-weapon-tab-1" checked="checked" /><span class="sheet-weapon-tab sheet-weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_vehicle_attack_type" value="Psywar" class="sheet-weapon-tab sheet-weapon-tab-2" /><span class="sheet-weapon-tab sheet-weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_vehicle_attack_type" value="Melee" class="sheet-weapon-tab sheet-weapon-tab-3" /><span class="sheet-weapon-tab sheet-weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_vehicle_attack_type" value="Ranged" class="sheet-weapon-tab sheet-weapon-tab-4" /><span class="sheet-weapon-tab sheet-weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="sheet-button-damage sheet-button-infowar" name="attr_vehicle_attack_infowar_roll" value="&amp;{template:skillroll} {{vehicle_name=@{target|vehicle_name}}} {{header=@{vehicle_name}'s @{attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Hacking}} {{EXP=@{target|skill_Hacking_exp}}} {{FOC=@{target|skill_Hacking_foc}}} {{attribute=Intelligence, @{target|Intelligence}}} {{ammo=@{attack_ammo}}} {{qualities=@{attack_qualities}}} {{roll=[[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-d20cs<[[@{target|skill_Hacking_exp}+@{target|Intelligence}]]cf<@{target|skill_Hacking_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Hacking_exp}+@{target|Intelligence}]]-@{target|skill_Hacking_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{attack_name} &#13;/r ?{Fixed damage|@{attack_damage_fixed}}+[[?{Variable damage|@{attack_damage_dice}}+@{target|Damage_Bonus_Infowar}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-psywar" name="attr_vehicle_attack_psywar_roll" value="&amp;{template:skillroll} {{vehicle_name=@{target|vehicle_name}}} {{header=@{vehicle_name}'s @{attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Persuade}} {{EXP=@{target|skill_Persuade_exp}}} {{FOC=@{target|skill_Persuade_foc}}} {{attribute=Personality, @{target|Personality}}} {{ammo=@{attack_ammo}}} {{qualities=@{attack_qualities}}} {{roll=[[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Persuade_exp}+@{target|Personality}]]-d20cs<[[@{target|skill_Persuade_exp}+@{target|Personality}]]cf<@{target|skill_Persuade_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Persuade_exp}+@{target|Personality}]]-@{target|skill_Persuade_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{attack_name} &#13;/r ?{Fixed damage|@{attack_damage_fixed}}+[[?{Variable damage|@{attack_damage_dice}}+@{target|Damage_Bonus_Psywar}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-melee" name="attr_vehicle_attack_melee_roll" value="&amp;{template:skillroll} {{vehicle_name=@{target|vehicle_name}}} {{header=@{vehicle_name}'s @{attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Close Combat}} {{EXP=@{target|skill_close_combat_exp}}} {{FOC=@{target|skill_close_combat_foc}}} {{attribute=Brawn, @{brawn}}} {{ammo=@{attack_ammo}}} {{qualities=@{attack_qualities}}} {{roll=[[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-d20cs<[[@{target|skill_close_combat_exp}+@{target|Brawn}]]cf<@{target|skill_close_combat_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_close_combat_exp}+@{target|Brawn}]]-@{target|skill_close_combat_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{attack_name} &#13;/r ?{Fixed damage|@{attack_damage_fixed}}+[[?{Variable damage|@{attack_damage_dice}}+@{target|Damage_Bonus_Melee}]]t[Combat-Dice])}}"></button>
<button type="roll" class="sheet-button-damage sheet-button-ranged" name="attr_vehicle_attack_ranged_roll" value="&amp;{template:skillroll} {{vehicle_name=@{target|vehicle_name}}} {{header=@{vehicle_name}'s @{attack_name} Attack}} {{subheader=Difficulty ?{Difficulty|1}}} {{skill=Ballistics}} {{EXP=@{target|skill_Ballistics_exp}}} {{FOC=@{target|skill_Ballistics_foc}}} {{attribute=Coordination, @{target|Coordination}}} {{ammo=@{attack_ammo}}} {{qualities=@{attack_qualities}}} {{roll=[[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range|1}]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc})),{2}}kl1,{0}}kh1]]?{Dice Pool|1d20, |2d20, + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|3d20, + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|4d20, + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]|5d20, + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]] + [[{{ceil(([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-d20cs<[[@{target|skill_Ballistics_exp}+@{target|Coordination}]]cf<@{target|skill_Ballistics_foc}cf>[[21-?{Complication Range&amp;#125;]]+1e-2)/([[@{target|skill_Ballistics_exp}+@{target|Coordination}]]-@{target|skill_Ballistics_foc}))&amp;#44;{2&amp;#125;&amp;#125;kl1&amp;#44;{0&amp;#125;&amp;#125;kh1]]}}} {{damage_roll=[Roll Damage](!&#13;/em rolls damage for @{attack_name} &#13;/r ?{Fixed damage|@{attack_damage_fixed}}+[[?{Variable damage|@{attack_damage_dice}}+@{target|Damage_Bonus_Ranged}]]t[Combat-Dice])}}"></button>
<span style="font-size:10px;color:black;padding-left:5px">Select token as gunner.</span>
</td>
</tr>
</table>
</fieldset>
<table class="sheet-NPC">
<tr>
<th class="sheet-StatLabel">Gear</th>
</tr>
<tr>
<td style="background-color:white"><textarea rows="5" name="attr_vehicle_gear"></textarea></td>
</tr>
</table>
<table class="sheet-NPC">
<tr>
<th class="sheet-StatLabel">Special Abilities</th>
</tr>
<tr>
<td style="background-color:white"><textarea rows="5" name="attr_vehicle_abilities"></textarea></td>
</tr>
</table>
</div>
</div>
</div>
<input type="hidden" name="attr_sheet_version" value="1.0.0" />
<!-- Roll Templates -->
<rolltemplate class="sheet-rolltemplate-skillroll">
<table>
<tr>
<th colspan="2">{{#header}}{{header}}{{/header}}</th>
</tr>
<tr>
<td class="sheet-subheader" colspan="2">
{{#character_name}}{{character_name}}, {{/character_name}}{{#subheader}}{{subheader}}{{/subheader}}
</td>
</tr>
{{#skill}}
<tr class="sheet-rolltemplate-body">
<td class="sheet-rolltemplate-label">Skill:</td>
<td>{{skill}}{{#skill_exp}}, EXP <span class="sheet-rolltemplate-greenborder">{{skill_exp}}</span>{{/skill_exp}}{{#skill_foc}} FOC <span class="sheet-rolltemplate-blueborder">{{skill_foc}}</span>{{/skill_foc}}</td>
</tr>
{{/skill}}
{{#attribute}}
<tr class="sheet-rolltemplate-body">
<td class="sheet-rolltemplate-label">Attribute:</td>
<td>{{attribute}}</td>
</tr>
{{/attribute}}
{{#ammo}}
<tr>
<td class="sheet-rolltemplate-label">Ammo:</td>
<td>{{ammo}}</td>
</tr>
{{/ammo}}
{{#qualities}}
<tr>
<td class="sheet-rolltemplate-label">Qualities:</td>
<td>{{qualities}}</td>
</tr>
{{/qualities}}
{{#roll}}
<tr>
<td class="sheet-rolltemplate-label">Result:</td>
<td style="padding:1px">{{roll}}</td>
</tr>
{{/roll}}
{{#damage_roll}}
<tr>
<td colspan="2" style="text-align:center">{{damage_roll}}</td>
</tr>
{{/damage_roll}}
</table>
</rolltemplate>
<!-- Sheet workers -->
<script type="text/worker">
</script>
<script type="text/javascript">
const newVersion = "1.0.0";
function getSheetVersion(attributeNameArray) {
const v = attributeNameArray.sheet_version;
if (v != undefined) {
return v;
} else {
return 0;
}
}
function setSheetVersion(newVersion) {
setAttrs({
sheet_version: newVersion
});
}
function updateSheetVersion(newVersion) {
// Check if the sheet's sheet_version attribute matches the currentVersion.
const attributeNameArray = getAttrs(["sheet_version"]);
const sheetVersion = getSheetVersion(attributeNameArray);
const isCurrentVersion = (sheetVersion === newVersion);
// If so, don't do anything.
if (!isCurrentVersion) {
// If not, see how much migration needs to be done.
// If sheet_version doesn't exist (is 0), then the sheet is the oldest version and will need to be migrated.
// If sheet_version does exist but is older, the new attributes should apply with no problems. Just update the version number.
switch(sheetVersion) {
case 0:
migrateSheet(newVersion);
break;
default:
setSheetVersion(newVersion);
break;
}
}
}
function migrateSheet(newVersion) {
}
</script>