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

3460 lines
348 KiB
HTML

<input id="type-tab1" type="radio" name="attr_type_tab" class="type-tab" value="1" checked="checked"/><label for="type-tab1">PC</label>
<input id="type-tab2" type="radio" name="attr_type_tab" class="type-tab" value="2" /><label for="type-tab2">NPC</label>
<input id="type-tab3" type="radio" name="attr_type_tab" class="type-tab" value="3" /><label for="type-tab3">Geist</label>
<input id="type-tab4" type="radio" name="attr_type_tab" class="type-tab" value="4" /><label for="type-tab4">Shell</label>
<input id="type-tab5" type="radio" name="attr_type_tab" class="type-tab" value="5" /><label for="type-tab5">Vehc.</label>
<div id="type-PC">
<input id="tab1" type="radio" name="attr_tab" value="1" checked="checked"/><label for="tab1">MAIN</label>
<input id="tab2" type="radio" name="attr_tab" value="2"/><label for="tab2">TALENTS</label>
<input id="tab3" type="radio" name="attr_tab" value="3"/><label for="tab3">GEAR</label>
<input id="tab4" type="radio" name="attr_tab" value="4"/><label for="tab4">HOST</label>
<input id="tab5" type="radio" name="attr_tab" value="5"/><label for="tab5">SHEUT</label>
<input id="tab99" type="radio" name="attr_tab" value="99"/><label for="tab99">ALL</label>
<!-- First Page: Overview -->
<div id="section-overview">
<div class="row">
<!-- Left Panel -->
<div class="column" id="overview-column-left">
<!-- Character Information -->
<table class="center width-full" id="character-info">
<tr>
<td class="StatLabel">Name</td>
<td colspan="3" class="StatInput"><input type="text" name="attr_character_name"></input></td>
</tr>
<tr>
<td class="StatLabel">Faction</td>
<td class="StatInput"><input type="text" name="attr_faction"></input></td>
<td class="StatLabel">Assets</td>
<td class="StatInput width-small"><input type="number" name="attr_assets"></input></td>
</tr>
<tr>
<td class="StatLabel">Heritage</td>
<td class="StatInput"><input type="text" name="attr_heritage"></input></td>
<td class="StatLabel">Earnings</td>
<td class="StatInput width-small"><input type="number" name="attr_earnings"></input></td>
</tr>
<tr>
<td class="StatLabel">Age</td>
<td class="StatInput"><input type="text" name="attr_age"></input></td>
<td class="StatLabel">Cashflow</td>
<td class="StatInput width-small"><input type="number" name="attr_cashflow"></input></td>
</tr>
<tr>
<td class="StatLabel font-small">Soc. Status</td>
<td class="StatInput"><input type="text" name="attr_social_status"></input></td>
<td class="StatLabel">Shortfalls</td>
<td class="StatInput width-small"><input type="number" name="attr_shortfalls"></input></td>
</tr>
</table>
<!-- Trackers -->
<div class="stats-center">
<!-- Infinity Points -->
<table id="tracker-infinity-points">
<tr>
<td class="StatLabel" colspan="6">
Infinity Points
</td>
</tr>
<tr class="tracker-radio">
<td><input type="radio" id="infinity-points0" name="attr_infinity_points" value="0" checked="checked"/><label for="infinity-points0">0</label></td>
<td><input type="radio" id="infinity-points1" name="attr_infinity_points" value="1"/><label for="infinity-points1">1</label></td>
<td><input type="radio" id="infinity-points2" name="attr_infinity_points" value="2"/><label for="infinity-points2">2</label></td>
<td><input type="radio" id="infinity-points3" name="attr_infinity_points" value="3"/><label for="infinity-points3">3</label></td>
<td><input type="radio" id="infinity-points4" name="attr_infinity_points" value="4"/><label for="infinity-points4">4</label></td>
<td><input type="radio" id="infinity-points5" name="attr_infinity_points" value="5"/><label for="infinity-points5">5</label></td>
</tr>
</table>
<!-- Refresh -->
<table id="tracker-refresh">
<tr>
<td class="StatLabel">
Refresh
</td>
</tr>
<tr>
<td class="StatInput number">
<input id="input-refresh" type="number" name="attr_refresh"></input>
</td>
</tr>
</table>
<!-- Reactions -->
<table id="tracker-reactions">
<tr>
<td class="StatLabel" colspan="7">
Reactions
</td>
</tr>
<tr class="tracker-radio">
<td><input type="radio" id="reactions0" name="attr_reactions" value="0" checked="checked"/><label for="reactions0">0</label></td>
<td><input type="radio" id="reactions1" name="attr_reactions" value="1"/><label for="reactions1">1</label></td>
<td><input type="radio" id="reactions2" name="attr_reactions" value="2"/><label for="reactions2">2</label></td>
<td><input type="radio" id="reactions3" name="attr_reactions" value="3"/><label for="reactions3">3</label></td>
<td><input type="radio" id="reactions4" name="attr_reactions" value="4"/><label for="reactions4">4</label></td>
<td><input type="radio" id="reactions5" name="attr_reactions" value="5"/><label for="reactions5">5</label></td>
<td><input type="radio" id="reactions6" name="attr_reactions" value="6"/><label for="reactions6">6</label></td>
</tr>
</table>
</div>
<!-- Damage Bonus and XP -->
<div class="stats-center">
<table id="damage-bonus">
<!-- Damage Bonus -->
<tr>
<td class="StatLabel" colspan="4">Damage Bonus</td>
</tr>
<tr>
<td class="StatLabelSub">Infowar</td>
<td class="StatLabelSub">Psywar</td>
<td class="StatLabelSub">Melee</td>
<td class="StatLabelSub">Ranged</td>
</tr>
<tr>
<td class="StatInput"><span class="InputText">+</span><input type="number" name="attr_damage_bonus_infowar"></input><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><span class="InputText">+</span><input type="number" name="attr_damage_bonus_psywar"></input><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><span class="InputText">+</span><input type="number" name="attr_damage_bonus_melee"></input><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><span class="InputText">+</span><input type="number" name="attr_damage_bonus_ranged"></input><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
</tr>
</table>
<table id="xp">
<!-- XP -->
<tr>
<td class="StatLabel" colspan="2">XP</td>
</tr>
<tr>
<td class="StatLabelSub">Total</td>
<td class="StatLabelSub">Spent</td>
</tr>
<tr>
<td class="StatInput"><input type="number" name="attr_xp_total"></input></td>
<td class="StatInput"><input type="number" name="attr_xp_spent"></input></td>
</tr>
</table>
</div>
<!-- Damage Trackers and Defences -->
<div class="row">
<!-- Left Column -->
<div class="column">
<div class="header-banner" id="header-damage">
<span>DAMAGE</span>
</div>
<!-- Damage Tracks -->
<!-- Firewall -->
<table class="tracker-damage" id="tracker-firewall">
<tr>
<td class="StatLabel" colspan="9">Firewall</td>
</tr>
<tr class="tracker-radio">
<td><input id="firewall0" type="radio" name="attr_firewall" value="0" checked="checked"/><label for="firewall0">0</label></td>
<td><input type="radio" id="firewall1" name="attr_firewall" value="1"><label for="firewall1">1</label></td>
<td><input type="radio" id="firewall2" name="attr_firewall" value="2"><label for="firewall2">2</label></td>
<td><input type="radio" id="firewall3" name="attr_firewall" value="3"><label for="firewall3">3</label></td>
<td><input type="radio" id="firewall4" name="attr_firewall" value="4"><label for="firewall4">4</label></td>
<td><input type="radio" id="firewall5" name="attr_firewall" value="5"><label for="firewall5">5</label></td>
<td><input type="radio" id="firewall6" name="attr_firewall" value="6"><label for="firewall6">6</label></td>
<td><input type="radio" id="firewall7" name="attr_firewall" value="7"><label for="firewall7">7</label></td>
<td><input type="radio" id="firewall8" name="attr_firewall" value="8"><label for="firewall8">8</label></td>
</tr>
<tr class="tracker-radio">
<td><input type="radio" id="firewall9" name="attr_firewall" value="9"><label for="firewall9">9</label></td>
<td><input type="radio" id="firewall10" name="attr_firewall" value="10"><label for="firewall10">10</label></td>
<td><input type="radio" id="firewall11" name="attr_firewall" value="11"><label for="firewall11">11</label></td>
<td><input type="radio" id="firewall12" name="attr_firewall" value="12"><label for="firewall12">12</label></td>
<td><input type="radio" id="firewall13" name="attr_firewall" value="13"><label for="firewall13">13</label></td>
<td><input type="radio" id="firewall14" name="attr_firewall" value="14"><label for="firewall14">14</label></td>
<td><input type="radio" id="firewall15" name="attr_firewall" value="15"><label for="firewall15">15</label></td>
<td><input type="radio" id="firewall16" name="attr_firewall" value="16"><label for="firewall16">16</label></td>
<td><input type="radio" id="firewall17" name="attr_firewall" value="17"><label for="firewall17">17</label></td>
</tr>
<tr>
<th colspan="3">Max</th>
<td class="StatInput number" colspan="6">
<input type="number" name="attr_firewall_max"></input>
</td>
</tr>
<tr class="tracker-radio">
<th colspan="3">Breaches</th>
<td><input type="radio" id="breaches0" name="attr_breaches" value="0" checked="checked"><label for="breaches0">0</label></td>
<td><input type="radio" id="breaches1" name="attr_breaches" value="1"><label for="breaches1">1</label></td>
<td><input type="radio" id="breaches2" name="attr_breaches" value="2"><label for="breaches2">2</label></td>
<td><input type="radio" id="breaches3" name="attr_breaches" value="3"><label for="breaches3">3</label></td>
<td><input type="radio" id="breaches4" name="attr_breaches" value="4"><label for="breaches4">4</label></td>
<td><input type="radio" id="breaches5" name="attr_breaches" value="5"><label for="breaches5">5</label></td>
</tr>
</table>
<!-- Resolve -->
<table class="tracker-damage" id="tracker-resolve">
<tr>
<td class="StatLabel" colspan="9">Resolve</td>
</tr>
<tr class="tracker-radio">
<td><input id="resolve0" type="radio" name="attr_resolve" value="0" checked="checked"/><label for="resolve0">0</label></td>
<td><input type="radio" id="resolve1" name="attr_resolve" value="1"><label for="resolve1">1</label></td>
<td><input type="radio" id="resolve2" name="attr_resolve" value="2"><label for="resolve2">2</label></td>
<td><input type="radio" id="resolve3" name="attr_resolve" value="3"><label for="resolve3">3</label></td>
<td><input type="radio" id="resolve4" name="attr_resolve" value="4"><label for="resolve4">4</label></td>
<td><input type="radio" id="resolve5" name="attr_resolve" value="5"><label for="resolve5">5</label></td>
<td><input type="radio" id="resolve6" name="attr_resolve" value="6"><label for="resolve6">6</label></td>
<td><input type="radio" id="resolve7" name="attr_resolve" value="7"><label for="resolve7">7</label></td>
<td><input type="radio" id="resolve8" name="attr_resolve" value="8"><label for="resolve8">8</label></td>
</tr>
<tr class="tracker-radio">
<td><input type="radio" id="resolve9" name="attr_resolve" value="9"><label for="resolve9">9</label></td>
<td><input type="radio" id="resolve10" name="attr_resolve" value="10"><label for="resolve10">10</label></td>
<td><input type="radio" id="resolve11" name="attr_resolve" value="11"><label for="resolve11">11</label></td>
<td><input type="radio" id="resolve12" name="attr_resolve" value="12"><label for="resolve12">12</label></td>
<td><input type="radio" id="resolve13" name="attr_resolve" value="13"><label for="resolve13">13</label></td>
<td><input type="radio" id="resolve14" name="attr_resolve" value="14"><label for="resolve14">14</label></td>
<td><input type="radio" id="resolve15" name="attr_resolve" value="15"><label for="resolve15">15</label></td>
<td><input type="radio" id="resolve16" name="attr_resolve" value="16"><label for="resolve16">16</label></td>
<td><input type="radio" id="resolve17" name="attr_resolve" value="17"><label for="resolve17">17</label></td>
</tr>
<tr>
<th colspan="3">Max</th>
<td class="StatInput number" colspan="6">
<input type="number" name="attr_resolve_max"></input>
</td>
</tr>
<tr class="tracker-radio">
<th colspan="3">Metanoia</th>
<td><input type="radio" id="metanoia0" name="attr_metanoia" value="0" checked="checked"><label for="metanoia0">0</label></td>
<td><input type="radio" id="metanoia1" name="attr_metanoia" value="1"><label for="metanoia1">1</label></td>
<td><input type="radio" id="metanoia2" name="attr_metanoia" value="2"><label for="metanoia2">2</label></td>
<td><input type="radio" id="metanoia3" name="attr_metanoia" value="3"><label for="metanoia3">3</label></td>
<td><input type="radio" id="metanoia4" name="attr_metanoia" value="4"><label for="metanoia4">4</label></td>
<td><input type="radio" id="metanoia5" name="attr_metanoia" value="5"><label for="metanoia5">5</label></td>
</tr>
</table>
<!-- Vigour -->
<table class="tracker-damage" id="tracker-vigour">
<tr>
<td class="StatLabel" colspan="9">Vigour</td>
</tr>
<tr class="tracker-radio">
<td><input id="vigour0" type="radio" name="attr_vigour" value="0" checked="checked"/><label for="vigour0">0</label></td>
<td><input type="radio" id="vigour1" name="attr_vigour" value="1"><label for="vigour1">1</label></td>
<td><input type="radio" id="vigour2" name="attr_vigour" value="2"><label for="vigour2">2</label></td>
<td><input type="radio" id="vigour3" name="attr_vigour" value="3"><label for="vigour3">3</label></td>
<td><input type="radio" id="vigour4" name="attr_vigour" value="4"><label for="vigour4">4</label></td>
<td><input type="radio" id="vigour5" name="attr_vigour" value="5"><label for="vigour5">5</label></td>
<td><input type="radio" id="vigour6" name="attr_vigour" value="6"><label for="vigour6">6</label></td>
<td><input type="radio" id="vigour7" name="attr_vigour" value="7"><label for="vigour7">7</label></td>
<td><input type="radio" id="vigour8" name="attr_vigour" value="8"><label for="vigour8">8</label></td>
</tr>
<tr class="tracker-radio">
<td><input type="radio" id="vigour9" name="attr_vigour" value="9"><label for="vigour9">9</label></td>
<td><input type="radio" id="vigour10" name="attr_vigour" value="10"><label for="vigour10">10</label></td>
<td><input type="radio" id="vigour11" name="attr_vigour" value="11"><label for="vigour11">11</label></td>
<td><input type="radio" id="vigour12" name="attr_vigour" value="12"><label for="vigour12">12</label></td>
<td><input type="radio" id="vigour13" name="attr_vigour" value="13"><label for="vigour13">13</label></td>
<td><input type="radio" id="vigour14" name="attr_vigour" value="14"><label for="vigour14">14</label></td>
<td><input type="radio" id="vigour15" name="attr_vigour" value="15"><label for="vigour15">15</label></td>
<td><input type="radio" id="vigour16" name="attr_vigour" value="16"><label for="vigour16">16</label></td>
<td><input type="radio" id="vigour17" name="attr_vigour" value="17"><label for="vigour17">17</label></td>
</tr>
<tr>
<th class="StatLabelSub" colspan="3">Max</th>
<td class="StatInput number" colspan="6">
<input type="number" name="attr_vigour_max"></input>
</td>
</tr>
<tr class="tracker-radio">
<th class="StatLabelSub" colspan="3">Wounds</th>
<td><input type="radio" id="wounds0" name="attr_wounds" value="0" checked="checked"><label for="wounds0">0</label></td>
<td><input type="radio" id="wounds1" name="attr_wounds" value="1"><label for="wounds1">1</label></td>
<td><input type="radio" id="wounds2" name="attr_wounds" value="2"><label for="wounds2">2</label></td>
<td><input type="radio" id="wounds3" name="attr_wounds" value="3"><label for="wounds3">3</label></td>
<td><input type="radio" id="wounds4" name="attr_wounds" value="4"><label for="wounds4">4</label></td>
<td><input type="radio" id="wounds5" name="attr_wounds" value="5"><label for="wounds5">5</label></td>
</tr>
</table>
<!-- Harm Effects -->
<table class="center width-full" id="tracker-harms">
<!-- #TO-DO: Make this a repeating field -->
<tr>
<td class="StatLabel">
Harm Effects
</td>
</tr>
<tr>
<td class="StatInput">
<input type="text" name="attr_harm_1"></input>
</td>
</tr>
<tr>
<td class="StatInput">
<input type="text" name="attr_harm_2"></input>
</td>
</tr>
<tr>
<td class="StatInput">
<input type="text" name="attr_harm_3"></input>
</td>
</tr>
</table>
</div>
<!-- Right Column -->
<div id="column-defences" class="column">
<div class="header-banner">
<span>DEFENCES</span>
</div>
<!--- Non-Armour Soaks -->
<table id="defences-soaks" class="column-triple center">
<tr>
<td class="StatLabel">Security</td>
<td class="StatLabel">Morale</td>
<td class="StatLabel">BTS</td>
</tr>
<tr>
<td class="StatInput"><input type="number" name="attr_soak_security" /></td>
<td class="StatInput"><input type="number" name="attr_soak_morale" /></td>
<td class="StatInput"><input type="number" name="attr_soak_bts" /></td>
</tr>
</table>
<table id="defences-armour-soaks" class="column-triple center">
<tr>
<td class="empty"></td>
<td class="StatLabel">Head</td>
<td class="empty"></td>
</tr>
<tr>
<td class="empty"></td>
<td class="StatLabelSub">1-2</td>
<td class="empty"></td>
</tr>
<tr>
<td class="empty"></td>
<td class="StatInput"><input type="number" name="attr_soak_loc_head" /></td>
<td class="empty"></td>
</tr>
<tr>
<td class="StatLabel">L. Arm</td>
<td class="StatLabel">Torso</td>
<td class="StatLabel">R. Arm</td>
</tr>
<tr>
<td class="StatLabelSub">6-8</td>
<td class="StatLabelSub">9-14</td>
<td class="StatLabelSub">3-5</td>
</tr>
<tr>
<td class="StatInput"><input type="number" name="attr_soak_loc_arm_l" /></td>
<td class="StatInput"><input type="number" name="attr_soak_loc_torso" /></td>
<td class="StatInput"><input type="number" name="attr_soak_loc_arm_r" /></td>
</tr>
<tr>
<td class="StatLabel">L. Leg</td>
<td class="empty"></td>
<td class="StatLabel">R. Leg</td>
</tr>
<tr>
<td class="StatLabelSub">18-20</td>
<td class="empty"></td>
<td class="StatLabelSub">15-17</td>
</tr>
<tr>
<td class="StatInput"><input type="number" name="attr_soak_loc_leg_l" /></td>
<td class="empty"></td>
<td class="StatInput"><input type="number" name="attr_soak_loc_leg_r" /></td>
</tr>
</table>
<!-- Equipped Armour -->
<table id="defences-armour-equipped" class="center">
<tr>
<td class="StatLabel">ARMOUR EQUIPPED</td>
<!-- #TO-DO: Add a repeating field -->
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_item_equipped_armour_1" /></td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_item_equipped_armour_2" /></td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_item_equipped_armour_3" /></td>
</tr>
<tr>
<td class="StatLabelSub">Armour Qualities</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_item_equipped_armour_qualities" /></td>
</tr>
</table>
</div>
</div>
<!-- Traits -->
<div class="column">
<div class="header-banner">
<span>TRAITS</span>
</div>
<table class="center width-full" id="tracker-traits">
<tr>
<td class="StatLabelSub">1</td>
<td class="StatInput"><input type="text" name="attr_trait_1" class="left"></input></td>
</tr>
<tr>
<td class="StatLabelSub">2</td>
<td class="StatInput"><input type="text" name="attr_trait_2" class="left"></input></td>
</tr>
<tr>
<td class="StatLabelSub">3</td>
<td class="StatInput"><input type="text" name="attr_trait_3" class="left"></input></td>
</tr>
<tr>
<td class="StatLabelSub">4</td>
<td class="StatInput"><input type="text" name="attr_trait_4" class="left"></input></td>
</tr>
<tr>
<td class="StatLabelSub">5</td>
<td class="StatInput"><input type="text" name="attr_trait_5" class="left"></input></td>
</tr>
<tr>
<td class="StatLabelSub">6</td>
<td class="StatInput"><input type="text" name="attr_trait_6" class="left"></input></td>
</tr>
</table>
</div>
</div>
<div class="column" id="overview-column-right">
<!-- Right Panel (Skills)-->
<div class="header-banner">
<span>ATTRIBUTES & SKILLS</span>
</div>
<table class="SkillTable">
<!-- Agility -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="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="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="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="SkillTable">
<!-- Awareness -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="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="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="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="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="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="SkillTable">
<!-- Brawn -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="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="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="SkillTable">
<!-- Coordination -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="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="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="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="SkillTable">
<!-- Intelligence -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="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="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="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="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="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="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="SkillTable">
<!-- Personality -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="Skill">
<td>Animal&nbsp;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="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="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="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="SkillTable">
<!-- Willpower -->
<tr class="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="SkillTableHeaderSub">
<td>Skill</td>
<td>Signature</td>
<td>EXP</td>
<td>FOC</td>
<td>ROLL</td>
</tr>
<tr class="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>
<!-- Second Page: Talents -->
<div id="section-talents">
<div class="row">
<div class="column">
<div class="header-banner"><span>Talents</span></div>
<table class="center">
<tr>
<td class="StatLabelSub">Name</td>
<td class="StatInput"><input type="text" name="attr_talent_name_1" /></td>
<td class="StatLabelSub">Skill</td>
<td class="StatInput"><input type="text" name="attr_talent_skill_1" /></td>
<td class="StatLabelSub">Ranks</td>
<td class="StatInput"><input type="number" name="attr_talent_ranks_1" /></td>
</tr>
<tr>
<td class="StatLabelSub">Effect</td>
<td class="StatInput" colspan="5"><textarea name="attr_talent_effect_1"></textarea></td>
</tr>
</table>
<br>
<fieldset class="repeating_talents">
<table class="center table-repeating">
<tr>
<td class="StatLabelSub">Name</td>
<td class="StatInput"><input type="text" name="attr_talent_name" /></td>
<td class="StatLabelSub">Skill</td>
<td class="StatInput"><input type="text" name="attr_talent_skill" /></td>
<td class="StatLabelSub">Ranks</td>
<td class="StatInput"><input type="number" name="attr_talent_ranks" /></td>
</tr>
<tr>
<td class="StatLabelSub">Effect</td>
<td class="StatInput" colspan="5"><textarea name="attr_talent_effect"></textarea></td>
</tr>
</table>
<br>
</fieldset>
</div>
</div>
</div>
<!-- Third Page: Gear -->
<div id="section-gear">
<!-- Weapons and Gear -->
<div class="row">
<!-- Weapons column -->
<div class="column" id="gear-column-left">
<div class="header-banner">
<span>WEAPONS</span>
</div>
<!-- Repeating wepaons -->
<fieldset class="repeating_weapons">
<table class="WeaponStats">
<tr>
<td class="StatLabel" colspan="4">Weapon Name</td>
<td class="StatInput" colspan="3"><input type="text" name="attr_weapon_name" /></td>
</tr>
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Range</td>
<td class="StatLabelSub WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="StatLabelSub WeaponStats-EvenLabel">Burst</td>
<td class="StatLabelSub WeaponStats-EvenLabel">Size</td>
<td class="StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_weapon_range" /></td>
<td class="StatInput"><input type="text" name="attr_weapon_damage_fixed"/></td>
<td class="StatInput"><span class="InputText">+</span></td>
<td class="StatInput"><input type="text" name="attr_weapon_damage_dice"/><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg"/></td>
<td class="StatInput"><input type="text" name="attr_weapon_burst" /></td>
<td class="StatInput"><input type="text" name="attr_weapon_size" /></td>
<td class="StatInput"><input type="text" name="attr_weapon_ammo" /></td>
</tr>
<tr>
<td class="StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="StatInput" colspan="7"><input type="text" name="attr_weapon_qualities" /></td>
</tr>
</table>
<table class="WeaponStats-bottom">
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Type</td>
<td class="StatInput WeaponType">
<input type="radio" name="attr_weapon_type" value="Infowar" class="weapon-tab weapon-tab-1" checked="checked" /><span class="weapon-tab weapon-tab-1"><span class="symbol-a">'</span>INF</span>
<input type="radio" name="attr_weapon_type" value="Psywar" class="weapon-tab weapon-tab-2" /><span class="weapon-tab weapon-tab-2"><span class="symbol-a">U</span>PSY</span>
<input type="radio" name="attr_weapon_type" value="Melee" class="weapon-tab weapon-tab-3" /><span class="weapon-tab weapon-tab-3"><span class="symbol-a">J</span>MEL</span>
<input type="radio" name="attr_weapon_type" value="Ranged" class="weapon-tab weapon-tab-4" /><span class="weapon-tab weapon-tab-4"><span class="symbol-b">[</span>RAN</span>
<button type="roll" class="button-damage 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="button-damage 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="button-damage 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="button-damage 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="StatLabelSub">Reloads</td>
<td class="StatInput"><input type="number" name="attr_weapon_reloads" value="0" /></td>
</tr>
</table>
</fieldset>
</div>
<!-- Gear column -->
<div class="column" id="header-gear">
<!-- Gear header -->
<div class="header-banner">
<span>GEAR</span>
</div>
<table id="tracker-assets">
<!-- Wealth -->
<tr>
<td class="StatLabelSub">Assets</td>
<td class="StatLabelSub">Earnings</td>
<td class="StatLabelSub">Cashflow</td>
<td class="StatLabelSub">Shortfalls</td>
<td class="StatLabelSub">Acq.</td>
</tr>
<tr>
<td class="StatInput"><input type="number" name="attr_assets" /></td>
<td class="StatInput"><input type="number" name="attr_earnings" /></td>
<td class="StatInput"><input type="number" name="attr_cashflow" /></td>
<td class="StatInput"><input type="number" name="attr_shortfalls" /></td>
<td>
<button type="roll" 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>
<!-- Items table header -->
<table id="table-items-header" class="repeating-header">
<tr>
<td class="StatLabelSub">Name</td>
<td class="StatLabelSub">Qty.</td>
<td class="StatLabelSub">Maint.</td>
</tr>
</table>
<!-- Repeating item rows -->
<fieldset class="repeating_gear">
<table>
<tr>
<td class="StatInput"><input type="text" name="attr_gear_name" /></td>
<td class="StatInput"><input type="number" name="attr_gear_qty" /></td>
<td class="StatInput"><input type="text" name="attr_gear_maintinence" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!-- Ammo and Resources -->
<div class="row" id="ammo-and-resources">
<!-- Ammo -->
<div class="column" id="column-ammo">
<div class="header-banner">
<span>Ammunition</span>
</div>
<fieldset class="repeating_Ammo">
<table>
<tr>
<td class="StatLabel">Ammo</td>
<td class="StatInput"><input type="text" name="attr_ammo_name" /></td>
<td class="StatLabelSub">Category</td>
<td class="StatInput"><input type="text" name="attr_ammo_category" /></td>
<td class="StatLabelSub">Reloads</td>
<td class="StatInput"><input type="number" name="attr_ammo_reloads" /></td>
</tr>
<tr>
<td class="StatLabelSub">Qualities</td>
<td class="StatInput" colspan="5"><input type="text" name="attr_ammo_qualities" class="left"/></td>
</tr>
</table>
</fieldset>
</div>
<!-- Resources -->
<div class="column" id="column-resources">
<div class="header-banner">
<span>Resources</span>
</div>
<table id="table-resources-header" class="repeating-header">
<tr>
<td class="StatLabelSub left">Name</td>
<td class="StatLabelSub">Qty.</td>
</tr>
</table>
<fieldset class="repeating_resources">
<table>
<tr>
<td class="StatInput"><input type="text" name="attr_resource_name" class="left" /></td>
<td class="StatInput"><input type="text" name="attr_resource_qty" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<!-- Hacking -->
<div class="row">
<div class="column">
<!-- Header -->
<div class="header-banner">
<span>Hacking Device</span>
</div>
<!-- Hacking Device info -->
<table id="table-hacking-device">
<tr>
<td class="StatLabel">Name</td>
<td class="StatInput"><input type="text" name="attr_hacking_device_name" /></td>
<td class="StatLabelSub">CLAW</td>
<td class="StatInput"><input type="text" name="attr_hacking_device_claw" /></td>
<td class="StatLabelSub">SWORD</td>
<td class="StatInput"><input type="text" name="attr_hacking_device_sword" /></td>
<td class="StatLabelSub">SHIELD</td>
<td class="StatInput"><input type="text" name="attr_hacking_device_shield" /></td>
<td class="StatLabelSub">GADGET</td>
<td class="StatInput"><input type="text" name="attr_hacking_device_gadget" /></td>
<td class="StatLabelSub">IC</td>
<td class="StatInput"><input type="text" name="attr_hacking_device_ic" /></td>
</tr>
</table>
<!-- Device Programs -->
<table id="table-hacking-programs" class="repeating-header">
<tr>
<td class="StatLabel" colspan="8">Device Programs</td>
</tr>
<tr>
<td class="StatLabelSub">Type</td>
<td class="StatLabelSub">Rating</td>
<td class="StatLabelSub left">Name</td>
<td class="StatLabelSub" colspan="3">Damage</td>
<td class="StatLabelSub">Qualities/Special Effects</td>
<td class="StatLabelSub">Roll</td>
</tr>
</table>
<fieldset class="repeating_programs">
<table>
<tr>
<td class="StatInput">
<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 class="StatInput"><input type="text" name="attr_hacking_program_rating" /></td>
<td class="StatInput"><input type="text" class="left" name="attr_hacking_program_name" /></td>
<td class="StatInput"><input type="text" name="attr_hacking_program_damage_fixed" /></td>
<td><span class="InputText">+</span></td>
<td class="StatInput"><input type="text" name="attr_hacking_program_damage_dice"/><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><input type="text" name="attr_hacking_program_qualities" /></td>
<td><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>
<!-- Fourth Page: Character Info / Host -->
<div id="section-host">
<div class="row">
<div class="column">
<div class="header-banner">
<span>Host</span>
</div>
<table id="host-attributes">
<tr>
<td colspan="2" class="StatLabelSub">Type</td>
<td colspan="5" class="StatInput"><input type="text" name="attr_host_type" /></td>
</tr>
<tr>
<td class="StatLabelSub">AGI</td>
<td class="StatLabelSub">AWA</td>
<td class="StatLabelSub">BRW</td>
<td class="StatLabelSub">COO</td>
<td class="StatLabelSub">INT</td>
<td class="StatLabelSub">PER</td>
<td class="StatLabelSub">WIL</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_host_agi" /></td>
<td class="StatInput"><input type="text" name="attr_host_awa" /></td>
<td class="StatInput"><input type="text" name="attr_host_brw" /></td>
<td class="StatInput"><input type="text" name="attr_host_coo" /></td>
<td class="StatInput"><input type="text" name="attr_host_int" /></td>
<td class="StatInput"><input type="text" name="attr_host_per" /></td>
<td class="StatInput"><input type="text" name="attr_host_wil" /></td>
</tr>
</table>
<table id="augmentations-headers" class="repeating-header">
<tr>
<td colspan="5" class="StatLabel">Augmentations</td>
</tr>
<tr>
<td class="StatLabelSub">Name</td>
<td class="StatLabelSub">Category</td>
<td class="StatLabelSub">Type / Location</td>
<td class="StatLabelSub">Qualities</td>
<td class="StatLabelSub">Maint.</td>
</tr>
</table>
<fieldset class="repeating_augmentations">
<table>
<tr>
<td class="StatInput"><input type="text" name="attr_augmentation_name" /></td>
<td class="StatInput"><input type="text" name="attr_augmentation_category" /></td>
<td class="StatInput"><input type="text" name="attr_augmentation_type" /></td>
<td class="StatInput"><input type="text" name="attr_augmentation_qualities" /></td>
<td class="StatInput"><input type="text" name="attr_augmentation_maintinence" /></td>
</tr>
</table>
</fieldset>
<table id="host-attributes-text">
<tr>
<td class="StatLabel">Host Attributes</td>
</tr>
<tr>
<td class="StatInput"><textarea name="attr_host_attributes"></textarea></td>
</tr>
</table>
<table id="character-description">
<tr>
<td colspan="4" class="StatLabel">Character Description</td>
</tr>
<tr>
<td colspan="4" class="StatInput"><textarea name="attr_description"></textarea></td>
</tr>
<tr>
<td class="StatLabelSub">Height</td>
<td class="StatLabelSub">Weight</td>
<td class="StatLabelSub">Hair</td>
<td class="StatLabelSub">Eyes</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_height" /></td>
<td class="StatInput"><input type="text" name="attr_weight" /></td>
<td class="StatInput"><input type="text" name="attr_hair" /></td>
<td class="StatInput"><input type="text" name="attr_eyes" /></td>
</tr>
</table>
</div>
</div>
</div>
<!-- Fifth Page: Biography / Sheut -->
<div id="section-sheut">
<div class="row">
<div class="column">
<div class="header-banner">
<span>Background</span>
</div>
<table id="age-languages">
<!-- Age & Language -->
<tr>
<td class="StatLabelSub">Age</td>
<td class="StatLabelSub">Languages</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_age" /></td>
<td class="StatInput"><input type="text" name="attr_character_languages" /></td>
</tr>
</table>
<table id="character-background">
<!-- Lifepath -->
<tr>
<td colspan="2" class="StatLabel">Lifepath Characteristics</td>
</tr>
<tr>
<td class="StatLabelSub">Family <br />Social Status</td>
<td class="StatInput"><input type="text" name="attr_family_social_status" /></td>
</tr>
<tr>
<td class="StatLabelSub">Home Environment</td>
<td class="StatInput"><input type="text" name="attr_home_environment" /></td>
</tr>
<tr>
<td class="StatLabelSub">Youth Event</td>
<td class="StatInput"><input type="text" name="attr_youth_event" /></td>
</tr>
<tr>
<td class="StatLabelSub">Education</td>
<td class="StatInput"><input type="text" name="attr_education" /></td>
</tr>
<tr>
<td class="StatLabelSub">Adolescent Event</td>
<td class="StatInput"><input type="text" name="attr_adolescent_event" /></td>
</tr>
<tr>
<td class="StatLabelSub">1st Career</td>
<td class="StatInput"><input type="text" name="attr_career_1" /></td>
</tr>
<tr>
<td class="StatLabelSub">2nd Career</td>
<td class="StatInput"><input type="text" name="attr_career_2" /></td>
</tr>
<tr>
<td class="StatLabelSub">3rd Career</td>
<td class="StatInput"><input type="text" name="attr_career_3" /></td>
</tr>
<tr>
<td class="StatLabelSub">4th Career</td>
<td class="StatInput"><input type="text" name="attr_career_4" /></td>
</tr>
<tr>
<td rowspan="3" class="StatLabelSub">Previous Factions</td>
<td class="StatInput"><input type="text" name="attr_previous_faction_1" /></td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_previous_faction_2" /></td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_previous_faction_3" /></td>
</tr>
</table>
<!-- Notes -->
<table id="lifepath-notes">
<tr>
<td class="StatLabelSub">Additional Lifepath Notes / Events</td>
</tr>
<tr>
<td><textarea name="attr_lifepath_notes"></textarea></td>
</tr>
</table>
<!-- Faction Handler Header -->
<div class="header-banner">
<span>Faction Handler</span>
</div>
<!-- Faction Handler -->
<table id="faction-handler">
<tr>
<td class="StatLabelSub left">Identity</td>
<td class="StatInput"><input type="text" name="attr_handler_name" class="left" /></td>
</tr>
<tr>
<td class="StatLabelSub left">Faction</td>
<td class="StatInput"><input type="text" name="attr_handler_faction" class="left" /></td>
</tr>
<tr>
<td class="StatLabelSub left">Contact Protocol</td>
<td class="StatInput"><input type="text" name="attr_handler_contact" class="left" /></td>
</tr>
</table>
<!-- Covert Objective -->
<table id="covert-objective">
<tr>
<td class="StatLabelSub">Covert Objective</td>
</tr>
<tr>
<td class="StatInput"><textarea name="attr_handler_objective"></textarea></td>
</tr>
</table>
</div>
<div class="column">
<table id="contacts" class="repeating-header">
<tr>
<td colspan="2" class="StatLabel">Contacts</td>
</tr>
<tr>
<td class="StatLabelSub left">Name</td>
<td class="StatLabelSub left">Notes</td>
</tr>
</table>
<fieldset class="repeating_contacts">
<table>
<tr>
<td class="StatInput left"><input class="left" type="text" name="attr_contact_name" /></td>
<td class="StatInput left"><input class="left" type="text" name="attr_contact_notes" /></td>
</tr>
</table>
</fieldset>
<table id="personality">
<tr>
<td colspan="2" class="StatLabel">Personality</td>
</tr>
<tr>
<td class="StatLabelSub left">Likes</td>
<td class="StatInput"><input class="left" type="text" name="attr_likes" /></td>
</tr>
<tr>
<td class="StatLabelSub left">Dislikes</td>
<td class="StatInput"><input class="left" type="text" name="attr_dislikes" /></td>
</tr>
<tr>
<td class="StatLabelSub left">Quirks</td>
<td class="StatInput"><input class="left" type="text" name="attr_quirks" /></td>
</tr>
<tr>
<td class="StatLabelSub left">Phobias</td>
<td class="StatInput"><input class="left" type="text" name="attr_phobias" /></td>
</tr>
<tr>
<td class="StatLabelSub left">Catchphrases &amp; Battlecries</td>
<td class="StatInput"><textarea name="attr_catchphrases"></textarea></td>
</tr>
</table>
<table id="lifestyles" class="repeating-header">
<tr>
<td colspan="3" class="StatLabel">Lifestyles</td>
</tr>
<tr>
<td class="StatLabelSub left">Name</td>
<td class="StatLabelSub">Rating</td>
<td class="StatLabelSub">Maint.</td>
</tr>
</table>
<fieldset class="repeating_lifestyles">
<table>
<tr>
<td class="StatInput"><input type="text" name="attr_lifestyle_name" class="left" /></td>
<td class="StatInput"><input type="text" name="attr_lifestyle_rating" /></td>
<td class="StatInput"><input type="text" name="attr_lifestyle_maintinence" /></td>
</tr>
</table>
</fieldset>
<table id="family">
<tr>
<td colspan="2" class="StatLabel">Family</td>
</tr>
<tr>
<td rowspan="2" class="left StatLabelSub">Parents</td>
<td class="StatInput"><input class="left" type="text" name="attr_parent_1" /></td>
</tr>
<tr>
<td class="StatInput"><input class="left" type="text" name="attr_parent_2" /></td>
</tr>
<tr>
<td class="left StatLabelSub">Spouse</td>
<td class="StatInput"><input class="left" type="text" name="attr_spouse" /></td>
</tr>
<tr>
<td rowspan="2" class="left StatLabelSub">Siblings</td>
<td class="StatInput"><input class="left" type="text" name="attr_sibling_1" /></td>
</tr>
<tr>
<td class="StatInput"><input class="left" type="text" name="attr_sibling_2" /></td>
</tr>
<tr>
<td rowspan="2" class="left StatLabelSub">Children</td>
<td class="StatInput"><input class="left" type="text" name="attr_child_1" /></td>
</tr>
<tr>
<td class="StatInput"><input class="left" type="text" name="attr_child_2" /></td>
</tr>
<tr>
<td rowspan="2" class="left StatLabelSub">Extended Family</td>
<td class="StatInput"><input class="left" type="text" name="attr_extended_family_1" /></td>
</tr>
<tr>
<td class="StatInput"><input class="left" type="text" name="attr_extended_family_2" /></td>
</tr>
</table>
<table id="fake-ids" class="repeating-header">
<tr>
<td colspan="2" class="left StatLabel">Fake ID<span style="text-transform:lowercase">s</span></th>
</tr>
<tr>
<td class="StatLabelSub left">Name</td>
<td class="StatLabelSub">Rating</td>
</tr>
</table>
<fieldset class="repeating_IDs">
<table>
<tr>
<td class="left StatInput"><input class="left" type="text" name="attr_id_name" /></td>
<td class="left StatInput"><input type="text" name="attr_id_rating" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
</div>
<div id="type-NPC">
<div class="row">
<div style="width:60%" class="column">
<table style="width:100%">
<tr>
<td class="StatLabel">Name</td>
<td class="StatInput"><input type="text" name="attr_npc_name" /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="7" class="StatLabel">Attributes</td>
</tr>
<tr>
<td style="width:14%" class="StatLabelSub">AGI</td>
<td style="width:14%" class="StatLabelSub">AWA</td>
<td style="width:14%" class="StatLabelSub">BRW</td>
<td style="width:14%" class="StatLabelSub">COO</td>
<td style="width:14%" class="StatLabelSub">INT</td>
<td style="width:14%" class="StatLabelSub">PER</td>
<td style="width:14%" class="StatLabelSub">WIL</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_npc_agility" /></td>
<td class="StatInput"><input type="text" name="attr_npc_awareness" /></td>
<td class="StatInput"><input type="text" name="attr_npc_brawn" /></td>
<td class="StatInput"><input type="text" name="attr_npc_coordination" /></td>
<td class="StatInput"><input type="text" name="attr_npc_intelligence" /></td>
<td class="StatInput"><input type="text" name="attr_npc_personality" /></td>
<td class="StatInput"><input type="text" name="attr_npc_willpower" /></td>
</tr>
</table>
<table class="NPC expertise">
<!-- Fields of Expertise -->
<tr>
<td colspan="12" class="StatLabel">Fields of Expertise</td>
</tr>
<tr>
<th>Combat</th>
<td class="StatInput"><input type="number" name="attr_npc_combat_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_npc_movement_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_npc_social_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_npc_fortitude_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_npc_senses_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_npc_technical_exp" /></td>
<td class="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="NPC defences">
<tr>
<th class="StatLabel" colspan="6">Defences</th>
</tr>
<tr>
<th>Firewall</th>
<td class="StatInput"><input type="number" name="attr_npc_firewall" /><span class="InputText">/</span><input type="number" name="attr_npc_firewall_max" /></td>
<th>Resolve</th>
<td class="StatInput"><input type="number" name="attr_npc_resolve" /><span class="InputText">/</span><input type="number" name="attr_npc_resolve_max" /></td>
<th>Vigour</th>
<td class="StatInput"><input type="number" name="attr_npc_vigour" /><span class="InputText">/</span><input type="number" name="attr_npc_vigour_max" /></td>
</tr>
<tr>
<th>Security</th>
<td class="StatInput"><input type="number" name="attr_npc_soak_security" /></td>
<th>Morale</th>
<td class="StatInput"><input type="number" name="attr_npc_soak_morale" /></td>
<th>Armour</th>
<td class="StatInput"><input type="number" name="attr_npc_soak_armour" /></td>
</tr>
</table>
<table class="NPC defences">
<tr>
<th colspan="6" class="StatLabel">Harms</th>
</tr>
<tr>
<th>Breaches</th>
<td class="StatInput"><input type="number" name="attr_npc_breaches" /><span class="InputText">/</span><input type="number" name="attr_npc_breaches_max" /></td>
<th>Metanoia</th>
<td class="StatInput"><input type="number" name="attr_npc_metanoia" /><span class="InputText">/</span><input type="number" name="attr_npc_metanoia_max" /></td>
<th>Wounds</th>
<td class="StatInput"><input type="number" name="attr_npc_wounds" /><span class="InputText">/</span><input type="number" name="attr_npc_wounds_max" /></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">Attacks</td>
</tr>
</table>
<fieldset class="repeating_attacks">
<!-- Repeating wepaons -->
<table class="WeaponStats" style="margin-top:4px">
<tr>
<td class="StatLabel" colspan="4">Attack Name</td>
<td class="StatInput" colspan="3"><input type="text" name="attr_npc_attack_name" /></td>
</tr>
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Range</td>
<td class="StatLabelSub WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="StatLabelSub WeaponStats-EvenLabel">Burst</td>
<td class="StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_npc_attack_range" /></td>
<td class="StatInput"><input type="text" name="attr_npc_attack_damage_fixed" /></td>
<td class="StatInput" style="width:1%"><span class="InputText">+</span></td>
<td class="StatInput"><input type="text" name="attr_npc_attack_damage_dice" style="width:50%" /><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><input type="text" name="attr_npc_attack_burst" /></td>
<td class="StatInput"><input type="text" name="attr_npc_attack_ammo" /></td>
</tr>
<tr>
<td class="StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="StatInput" colspan="7"><input type="text" name="attr_npc_attack_qualities" /></td>
</tr>
</table>
<table class="WeaponStats-bottom merge-top">
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Type</td>
<td class="StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_npc_attack_type" value="Infowar" class="weapon-tab weapon-tab-1" checked="checked" /><span class="weapon-tab weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_npc_attack_type" value="Psywar" class="weapon-tab weapon-tab-2" /><span class="weapon-tab weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_npc_attack_type" value="Melee" class="weapon-tab weapon-tab-3" /><span class="weapon-tab weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_npc_attack_type" value="Ranged" class="weapon-tab weapon-tab-4" /><span class="weapon-tab weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="button-damage 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="button-damage 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="button-damage 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="button-damage 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="column" style="width:39%;padding-left:4px">
<table class="NPC">
<tr>
<td class="StatLabel">Type</td>
<td class="StatInput"><input type="text" name="attr_npc_type" /></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">Gear</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_npc_gear"></textarea></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="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 id="type-Geist">
<div class="row">
<div style="width:60%" class="column">
<table style="width:100%">
<tr>
<td class="StatLabel">Name</td>
<td class="StatInput"><input type="text" name="attr_geist_name" /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="7" class="StatLabel">Attributes</td>
</tr>
<tr>
<td style="width:14%" class="StatLabelSub">AGI</td>
<td style="width:14%" class="StatLabelSub">AWA</td>
<td style="width:14%" class="StatLabelSub">BRW</td>
<td style="width:14%" class="StatLabelSub">COO</td>
<td style="width:14%" class="StatLabelSub">INT</td>
<td style="width:14%" class="StatLabelSub">PER</td>
<td style="width:14%" class="StatLabelSub">WIL</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_geist_agility" /></td>
<td class="StatInput"><input type="text" name="attr_geist_awareness" /></td>
<td class="StatInput"><input type="text" name="attr_geist_brawn" /></td>
<td class="StatInput"><input type="text" name="attr_geist_coordination" /></td>
<td class="StatInput"><input type="text" name="attr_geist_intelligence" /></td>
<td class="StatInput"><input type="text" name="attr_geist_personality" /></td>
<td class="StatInput"><input type="text" name="attr_geist_willpower" /></td>
</tr>
</table>
<table class="NPC defences">
<tr>
<th class="StatLabel" colspan="6">Defences</th>
</tr>
<tr>
<th>Firewall</th>
<td class="StatInput"><input type="number" name="attr_geist_firewall" /><span class="InputText">/</span><input type="number" name="attr_geist_firewall_max" /></td>
<th>Resolve</th>
<td class="StatInput"><input type="number" name="attr_geist_resolve" /><span class="InputText">/</span><input type="number" name="attr_geist_resolve_max" /></td>
<th>Structure</th>
<td class="StatInput"><input type="number" name="attr_geist_structure" /><span class="InputText">/</span><input type="number" name="attr_geist_structure_max" /></td>
</tr>
<tr>
<th>Security</th>
<td class="StatInput"><input type="number" name="attr_geist_soak_security" /></td>
<th>Morale</th>
<td class="StatInput"><input type="number" name="attr_geist_soak_morale" /></td>
<th>Armour</th>
<td class="StatInput"><input type="number" name="attr_geist_soak_armour" /></td>
</tr>
</table>
<table class="NPC defences">
<tr>
<th colspan="6" class="StatLabel">Harms</th>
</tr>
<tr>
<th>Breaches</th>
<td class="StatInput"><input type="number" name="attr_geist_breaches" /><span class="InputText">/</span><input type="number" name="attr_geist_breaches_max" /></td>
<th>Metanoia</th>
<td class="StatInput"><input type="number" name="attr_geist_metanoia" /><span class="InputText">/</span><input type="number" name="attr_geist_metanoia_max" /></td>
<th>Faults</th>
<td class="StatInput"><input type="number" name="attr_geist_faults" /><span class="InputText">/</span><input type="number" name="attr_geist_faults_max" /></td>
</tr>
</table>
<div class="row">
<div class="column">
<!-- Skills -->
<table style="margin-bottom:0" class="SkillTable">
<tr>
<td colspan="5" class="StatLabel">Skills</td>
</tr>
<tr class="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="StatInput left"><input class="left" type="text" name="attr_geist_skill_name" /></td>
<td style="width:30px" class="StatInput"><input type="number" name="attr_geist_skill_exp" value="0" /></td>
<td style="width:30px" class="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="column" style="padding-left:4px">
<!-- Traits -->
<table style="margin-bottom:0" class="NPC">
<tr>
<td class="StatLabel">Traits</td>
</tr>
</table>
<fieldset class="repeating_GeistTraits">
<table style="margin-top:-2px;margin-bottom:0" class="NPC">
<tr>
<td class="StatInput"><input type="text" name="attr_geist_trait" class="left" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<table class="NPC">
<tr>
<td class="StatLabel">Talents</td>
</tr>
</table>
<fieldset class="repeating_talents">
<table class="center table-repeating" style="margin:0">
<tr>
<td class="StatLabelSub" style="width:13%">Name</td>
<td class="StatInput"><input type="text" name="attr_geist_talent_name" /></td>
<td class="StatLabelSub" style="width:13%">Skill</td>
<td class="StatInput"><input type="text" name="attr_geist_talent_skill" /></td>
<td class="StatLabelSub" style="width:13%">Ranks</td>
<td class="StatInput" style="width:10%"><input type="number" name="attr_geist_talent_ranks" /></td>
</tr>
<tr>
<td class="StatLabelSub">Effect</td>
<td class="StatInput" colspan="5"><textarea name="attr_geist_talent_effect"></textarea></td>
</tr>
</table>
<br>
</fieldset>
</div>
<div class="column" style="width:39%;padding-left:4px">
<table class="NPC">
<tr>
<td class="StatLabel">Type</td>
<td class="StatInput"><input type="text" name="attr_geist_type" /></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">AR Avatar</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_avatar"></textarea></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">Roleplaying</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_roleplaying"></textarea></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">Background</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_geist_background"></textarea></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="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 id="type-Shell">
<div class="row">
<div style="width:60%" class="column">
<table style="width:100%">
<tr>
<td class="StatLabel">Name</td>
<td class="StatInput"><input type="text" name="attr_shell_name" /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="7" class="StatLabel">Attributes</td>
</tr>
<tr>
<td style="width:14%" class="StatLabelSub">AGI</td>
<td style="width:14%" class="StatLabelSub">AWA</td>
<td style="width:14%" class="StatLabelSub">BRW</td>
<td style="width:14%" class="StatLabelSub">COO</td>
<td style="width:14%" class="StatLabelSub">INT</td>
<td style="width:14%" class="StatLabelSub">PER</td>
<td style="width:14%" class="StatLabelSub">WIL</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_shell_agility" /></td>
<td class="StatInput"><input type="text" name="attr_shell_awareness" /></td>
<td class="StatInput"><input type="text" name="attr_shell_brawn" /></td>
<td class="StatInput"><input type="text" name="attr_shell_coordination" /></td>
<td class="StatInput"><input type="text" name="attr_shell_intelligence" /></td>
<td class="StatInput"><input type="text" name="attr_shell_personality" /></td>
<td class="StatInput"><input type="text" name="attr_shell_willpower" /></td>
</tr>
</table>
<table class="NPC expertise">
<!-- Fields of Expertise -->
<tr>
<td colspan="12" class="StatLabel">Fields of Expertise</td>
</tr>
<tr>
<th>Combat</th>
<td class="StatInput"><input type="number" name="attr_shell_combat_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_shell_movement_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_shell_social_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_shell_fortitude_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_shell_senses_exp" /></td>
<td class="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="StatInput"><input type="number" name="attr_shell_technical_exp" /></td>
<td class="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="NPC defences">
<tr>
<th class="StatLabel" colspan="6">Defences</th>
</tr>
<tr>
<th>Firewall</th>
<td class="StatInput"><input type="number" name="attr_shell_firewall" /><span class="InputText">/</span><input type="number" name="attr_shell_firewall_max" /></td>
<th>Resolve</th>
<td class="StatInput"><input type="number" name="attr_shell_resolve" /><span class="InputText">/</span><input type="number" name="attr_shell_resolve_max" /></td>
<th>Structure</th>
<td class="StatInput"><input type="number" name="attr_shell_structure" /><span class="InputText">/</span><input type="number" name="attr_shell_structure_max" /></td>
</tr>
<tr>
<th>Security</th>
<td class="StatInput"><input type="number" name="attr_shell_soak_security" /></td>
<th>Morale</th>
<td class="StatInput"><input type="number" name="attr_shell_soak_morale" /></td>
<th>Armour</th>
<td class="StatInput"><input type="number" name="attr_shell_soak_armour" /></td>
</tr>
</table>
<table class="NPC defences">
<tr>
<th colspan="6" class="StatLabel">Harms</th>
</tr>
<tr>
<th>Breaches</th>
<td class="StatInput"><input type="number" name="attr_shell_breaches" /><span class="InputText">/</span><input type="number" name="attr_shell_breaches_max" /></td>
<th>Metanoia</th>
<td class="StatInput"><input type="number" name="attr_shell_metanoia" /><span class="InputText">/</span><input type="number" name="attr_shell_metanoia_max" /></td>
<th>Faults</th>
<td class="StatInput"><input type="number" name="attr_shell_faults" /><span class="InputText">/</span><input type="number" name="attr_shell_faults_max" /></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">Attacks</td>
</tr>
</table>
<fieldset class="repeating_attacks">
<!-- Repeating wepaons -->
<table class="WeaponStats" style="margin-top:4px">
<tr>
<td class="StatLabel" colspan="4">Attack Name</td>
<td class="StatInput" colspan="3"><input type="text" name="attr_shell_attack_name" /></td>
</tr>
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Range</td>
<td class="StatLabelSub WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="StatLabelSub WeaponStats-EvenLabel">Burst</td>
<td class="StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_shell_attack_range" /></td>
<td class="StatInput"><input type="text" name="attr_shell_attack_damage_fixed" /></td>
<td class="StatInput" style="width:1%"><span class="InputText">+</span></td>
<td class="StatInput"><input type="text" name="attr_shell_attack_damage_dice" style="width:50%"/><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><input type="text" name="attr_shell_attack_burst" /></td>
<td class="StatInput"><input type="text" name="attr_shell_attack_ammo" /></td>
</tr>
<tr>
<td class="StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="StatInput" colspan="7"><input type="text" name="attr_shell_attack_qualities" /></td>
</tr>
</table>
<table class="WeaponStats-bottom">
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Type</td>
<td class="StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_shell_attack_type" value="Infowar" class="weapon-tab weapon-tab-1" checked="checked" /><span class="weapon-tab weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_shell_attack_type" value="Psywar" class="weapon-tab weapon-tab-2" /><span class="weapon-tab weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_shell_attack_type" value="Melee" class="weapon-tab weapon-tab-3" /><span class="weapon-tab weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_shell_attack_type" value="Ranged" class="weapon-tab weapon-tab-4" /><span class="weapon-tab weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="button-damage 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="button-damage 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="button-damage 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="button-damage 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="column" style="width:39%;padding-left:4px">
<table class="NPC">
<tr>
<td class="StatLabel">Type</td>
<td class="StatInput"><input type="text" name="attr_shell_type" /></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="StatLabel">Gear</td>
</tr>
<tr>
<td style="background-color:white"><textarea rows="10" name="attr_shell_gear"></textarea></td>
</tr>
</table>
<table class="NPC">
<tr>
<td class="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 id="type-Vehicle">
<div class="row">
<div class="column">
<table style="width:100%">
<tr>
<td colspan="1" class="StatLabel">Name</td>
<td colspan="3" class="StatInput"><input type="text" name="attr_vehicle_name" /></td>
</tr>
<tr>
<th>Type</th>
<td class="StatInput"><input type="text" name="attr_vehicle_type" /></td>
<th style="width:15%">Cover</th>
<td style="width:20%" class="StatInput"><input style="width:20px" type="text" name="attr_vehicle_cover" /><img class="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="StatInput"><input type="text" name="attr_vehicle_qualities" /></td>
</tr>
</table>
<table class="NPC">
<tr>
<th colspan="3" class="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="InputText">+ (</span><input type="number" name="attr_vehicle_brawn_vehicle" style="width:20px" value="1"/><span class="InputText">)</span></td>
</tr>
</table>
<table class="NPC">
<tr>
<th colspan="2" class="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="InputText">+</span><input style="width:20px" type="number" name="attr_vehicle_impact_dice" value="1" /><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /><span class="InputText"> (</span><input style="width:65%" type="text" name="attr_vehicle_impact_type" /><span class="InputText">)</span></td>
</tr>
</table>
<table class="NPC">
<tr>
<th colspan="4" class="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="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="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="NPC">
<tr>
<th class="StatLabel">Description</th>
</tr>
<tr>
<td style="background-color:white"><textarea rows="5" name="attr_vehicle_description"></textarea></td>
</tr>
</table>
</div>
<div class="column" style="padding-left:4px">
<table class="NPC">
<tr>
<th class="StatLabel">Mounted Weapons</th>
</tr>
</table>
<fieldset class="repeating_attacks">
<!-- Repeating wepaons -->
<table class="WeaponStats" style="margin-top:4px">
<tr>
<td class="StatLabel" colspan="4">Weapon Name</td>
<td class="StatInput" colspan="3"><input type="text" name="attr_vehicle_attack_name" /></td>
</tr>
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Range</td>
<td class="StatLabelSub WeaponStats-EvenLabel" colspan="3">Damage</td>
<td class="StatLabelSub WeaponStats-EvenLabel">Burst</td>
<td class="StatLabelSub">Ammo</td>
</tr>
<tr>
<td class="StatInput"><input type="text" name="attr_vehicle_attack_range" /></td>
<td class="StatInput"><input type="text" name="attr_vehicle_attack_damage_fixed" /></td>
<td class="StatInput" style="width:1%"><span class="InputText">+</span></td>
<td class="StatInput"><input type="text" name="attr_vehicle_attack_damage_dice" style="width:50%" /><img class="icon-N-small" src="https://svgshare.com/i/5ZJ.svg" /></td>
<td class="StatInput"><input type="text" name="attr_vehicle_attack_burst" /></td>
<td class="StatInput"><input type="text" name="attr_vehicle_attack_ammo" /></td>
</tr>
<tr>
<td class="StatLabelSub" colspan="7">Qualities</td>
</tr>
<tr>
<td class="StatInput" colspan="7"><input type="text" name="attr_vehicle_attack_qualities" /></td>
</tr>
</table>
<table class="WeaponStats-bottom">
<tr>
<td class="StatLabelSub WeaponStats-EvenLabel">Type</td>
<td class="StatInput" style="font-size:1em;color:black;padding-left:4px">
<input type="radio" name="attr_vehicle_attack_type" value="Infowar" class="weapon-tab weapon-tab-1" checked="checked" /><span class="weapon-tab weapon-tab-1"><span style="font-family:'Pictos'">'</span>INF</span>
<input type="radio" name="attr_vehicle_attack_type" value="Psywar" class="weapon-tab weapon-tab-2" /><span class="weapon-tab weapon-tab-2"><span style="font-family:'Pictos'">U</span>PSY</span>
<input type="radio" name="attr_vehicle_attack_type" value="Melee" class="weapon-tab weapon-tab-3" /><span class="weapon-tab weapon-tab-3"><span style="font-family:'Pictos'">J</span>MEL</span>
<input type="radio" name="attr_vehicle_attack_type" value="Ranged" class="weapon-tab weapon-tab-4" /><span class="weapon-tab weapon-tab-4"><span style="font-family:'Pictos Custom'">[</span>RAN</span>
<button type="roll" class="button-damage 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="button-damage 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="button-damage 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="button-damage 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="NPC">
<tr>
<th class="StatLabel">Gear</th>
</tr>
<tr>
<td style="background-color:white"><textarea rows="5" name="attr_vehicle_gear"></textarea></td>
</tr>
</table>
<table class="NPC">
<tr>
<th class="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" />
<!-- 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">
on('sheet:opened', function(){
// Array of all attribute names present on version 0.
var attrListOld = [
"character_name",
"MDB",
"PDB",
"XPT",
"Faction",
"RDB",
"IWDB",
"XPS",
"Heritage",
"Homeworld",
"Social_Status",
"Earnings",
"Current_Cashflow",
"Cashflow",
"Momentum",
"Morale_Soak",
"Security_Soak",
"BTS",
"Head_Soak",
"RA_Soak",
"LA_Soak",
"Torso_Soak",
"RL_Soak",
"LL_Soak",
"Host_AGI",
"Host_AWA",
"Host_BRW",
"Host_COO",
"Host_INT",
"Host_PER",
"Host_WIL",
"Host_Skills",
"Geist_AGI",
"Geist_AWA",
"Geist_BRW",
"Geist_COO",
"Geist_INT",
"Geist_PER",
"Geist_WIL",
"Geist_Skills",
"Geist_Vigor",
"Geist_Firewall",
"Geist_Resolve",
"Geist_Soak",
"FW",
"FW11b",
"FW12b",
"FW13b",
"FW14b",
"FW15b",
"MaxFirewall",
"FW_max",
"FW1",
"FW2",
"FW3",
"FW4",
"FW5",
"FW6",
"FW7",
"FW8",
"FW9",
"FW10",
"FW11",
"FW12",
"FW13",
"FW14",
"FW15",
"FW16",
"FW17",
"FW18",
"FW19",
"FW20",
"FW21",
"FW22",
"FW23",
"FW24",
"FW25",
"FW26",
"FW27",
"FW28",
"FW29",
"FW30",
"FW31",
"FW32",
"RS",
"RS11t",
"RS12t",
"RS13t",
"RS14t",
"RS15t",
"MaxResolve",
"RS_max",
"RS1",
"RS2",
"RS3",
"RS4",
"RS5",
"RS6",
"RS7",
"RS8",
"RS9",
"RS10",
"RS11",
"RS12",
"RS13",
"RS14",
"RS15",
"RS16",
"RS17",
"RS18",
"RS19",
"RS20",
"RS21",
"RS22",
"RS23",
"RS24",
"RS25",
"RS26",
"RS27",
"RS28",
"RS29",
"RS30",
"RS31",
"RS32",
"PH",
"PH11w",
"PH12w",
"PH13w",
"PH14w",
"PH15w",
"MaxVigor",
"PH_max",
"PH1",
"PH2",
"PH3",
"PH4",
"PH5",
"PH6",
"PH7",
"PH8",
"PH9",
"PH10",
"PH11",
"PH12",
"PH13",
"PH14",
"PH15",
"PH16",
"PH17",
"PH18",
"PH19",
"PH20",
"PH21",
"PH22",
"PH23",
"PH24",
"PH25",
"PH26",
"PH27",
"PH28",
"PH29",
"PH30",
"PH31",
"PH32",
"Harm1",
"Harm2",
"Harm3",
"Agility",
"Acrobatics_Expertise",
"Acrobatics_Focus",
"Awareness",
"Analysis_Expertise",
"Analysis_Focus",
"Brawn",
"Athletics_Expertise",
"Athletics_Focus",
"Coordination",
"Ballistics_Expertise",
"Ballistics_Focus",
"Intelligence",
"Education_Expertise",
"Education_Focus",
"Personality",
"Animal_Handling_Expertise",
"Animal_Handling_Focus",
"Willpower",
"Discipline_Expertise",
"Discipline_Focus",
"FactionHandler_Name1",
"FactionHandler_Name2",
"FactionHandler_Name3",
"FactionHandler_Name4",
"Traits_Name1",
"Traits_Name2",
"Traits_Name3",
"Traits_Name4",
"Traits_Name5",
"Traits_Name6",
"ATallent_Name1",
"ATallent_Skill1",
"ATallentt_Effect1",
"ATallent_Name2",
"ATallent_Skill2",
"ATallent_Effect2",
"ATallent_Name3",
"ATallent_Namerep1",
"ATallent_Skillrep1",
"ATallent_Effectrep1",
"ATallent_Namerep2",
"ATallent_Skillrep2",
"ATallent_Effectrep2",
"weapon_Name_rep",
"weapon_Range_rep",
"weapon_Attribute_rep",
"weapon_Damagebonus_rep",
"weapon_Damage_rep",
"weapon_Mode_rep",
"weapon_Burst_rep",
"weapon_Size_rep",
"weapon_Qualities_rep",
"RL1",
"RL2",
"RL3",
"RL4",
"RL5",
"weapon_GearName1_rep",
"Gear_Effect1_rep",
"weapon_GearName2_rep",
"Age",
"Languages_Notes",
"Family_Social_Status",
"Home_Enviroment",
"Youth_Event",
"EducationLP",
"Adolesent_Event",
"First_Career",
"Second_Career",
"Third_Career",
"Fourth_Career",
"Assets",
"Additional_Notes",
"cp1",
"cp2",
"cp3",
"cp4",
"cp5",
"Refresh",
"rt1",
"rt2",
"rt3",
"rt4",
"rt5",
"Acrobatics",
"Close_Combat",
"Close_Combat_Expertise",
"Close_Combat_Focus",
"Stealth",
"Stealth_Expertise",
"Stealth_Focus",
"Analysis",
"Extraplanetary",
"Extraplanetary_Expertise",
"Extraplanetary_Focus",
"Observation",
"Observation_Expertise",
"Observation_Focus",
"Survival",
"Survival_Expertise",
"Survival_Focus",
"Thievery",
"Thievery_Expertise",
"Thievery_Focus",
"Athletics",
"Resistance",
"Resistance_Expertise",
"Resistance_Focus",
"Ballistics",
"Pilot",
"Pilot_Expertise",
"Pilot_Focus",
"Space",
"Space_Expertise",
"Space_Focus",
"Education",
"Hacking",
"Hacking_Expertise",
"Hacking_Focus",
"Medicine",
"Medicine_Expertise",
"Medicine_Focus",
"Psychology",
"Psychology_Expertise",
"Psychology_Focus",
"Science",
"Science_Expertise",
"Science_Focus",
"Tech",
"Tech_Expertise",
"Tech_Focus",
"Animal_Handling",
"Command",
"Command_Expertise",
"Command_Focus",
"Lifestyle",
"Lifestyle_Expertise",
"Lifestyle_Focus",
"Persuade",
"Persuade_Expertise",
"Persuade_Focus",
"Discipline",
"FactionHandler_Name5",
"ATallent_Skill3",
"ATallent_Effect3",
"ATallent_Name4",
"ATallent_Skill4",
"ATallent_Effect4",
"ATallent_Name5",
"ATallent_Skill5",
"ATallent_Effect5",
"ATallent_Name6",
"ATallent_Skill6",
"ATallent_Effect6",
"ATallent_Name7",
"ATallent_Skill7",
"ATallentt_Effect7",
"ATallent_Name8",
"ATallent_Skill8",
"ATallent_Effect8",
"ATallent_Name9",
"ATallent_Skill9",
"ATallent_Effect9",
"ATallent_Name10",
"ATallent_Skill10",
"ATallent_Effect10",
"ATallent_Name11",
"ATallent_Skill11",
"ATallent_Effect11",
"ATallent_Name12",
"ATallent_Skill12",
"ATallent_Effect12",
"Combat-Dice",
"Gear_Effect2_rep",
"More_add_Notes"
];
// Array of all attribute names present on the current sheet.
var attrListNew = [
"type_tab",
"tab",
"character_name",
"faction",
"assets",
"heritage",
"earnings",
"age",
"cashflow",
"cashflow_max",
"social_status",
"shortfalls",
"infinity_points",
"refresh",
"reactions",
"damage_bonus_infowar",
"damage_bonus_psywar",
"damage_bonus_melee",
"damage_bonus_ranged",
"xp_total",
"xp_spent",
"firewall_max",
"firewall",
"breaches",
"resolve",
"resolve_max",
"metanoia",
"vigour",
"vigour_max",
"wounds",
"harm_1",
"harm_2",
"harm_3",
"soak_security",
"soak_morale",
"soak_bts",
"soak_loc_head",
"soak_loc_arm_l",
"soak_loc_arm_r",
"soak_loc_torso",
"soak_loc_leg_l",
"soak_loc_leg_r",
"item_equipped_armour_1",
"item_equipped_armour_2",
"item_equipped_armour_3",
"item_equipped_armour_qualities",
"trait_1",
"trait_2",
"trait_3",
"trait_4",
"trait_5",
"trait_6",
"agility",
"skill_acrobatics_sig",
"skill_acrobatics_exp",
"skill_acrobatics_foc",
"skill_close_combat_sig",
"skill_close_combat_exp",
"skill_close_combat_foc",
"skill_stealth_sig",
"skill_stealth_exp",
"skill_stealth_foc",
"awareness",
"skill_analysis_sig",
"skill_analysis_exp",
"skill_analysis_foc",
"skill_extraplanetary_sig",
"skill_extraplanetary_exp",
"skill_extraplanetary_foc",
"skill_observation_sig",
"skill_observation_exp",
"skill_observation_foc",
"skill_survival_sig",
"skill_survival_exp",
"skill_survival_foc",
"skill_thievery_sig",
"skill_thievery_exp",
"skill_thievery_foc",
"brawn",
"skill_athletics_sig",
"skill_athletics_exp",
"skill_athletics_foc",
"skill_resistance_sig",
"skill_resistance_exp",
"skill_resistance_foc",
"coordination",
"skill_ballistics_sig",
"skill_ballistics_exp",
"skill_ballistics_foc",
"skill_pilot_sig",
"skill_pilot_exp",
"skill_pilot_foc",
"skill_spacecraft_sig",
"skill_spacecraft_exp",
"skill_spacecraft_foc",
"intelligence",
"skill_education_sig",
"skill_education_exp",
"skill_education_foc",
"skill_hacking_sig",
"skill_hacking_exp",
"skill_hacking_foc",
"skill_medicine_sig",
"skill_medicine_exp",
"skill_medicine_foc",
"skill_psychology_sig",
"skill_psychology_exp",
"skill_psychology_foc",
"skill_science_sig",
"skill_science_exp",
"skill_science_foc",
"skill_tech_sig",
"skill_tech_exp",
"skill_tech_foc",
"personality",
"skill_animal_handling_sig",
"skill_animal_handling_exp",
"skill_animal_handling_foc",
"skill_command_sig",
"skill_command_exp",
"skill_command_foc",
"skill_lifestyle_sig",
"skill_lifestyle_exp",
"skill_lifestyle_foc",
"skill_persuade_sig",
"skill_persuade_exp",
"skill_persuade_foc",
"willpower",
"skill_discipline_sig",
"skill_discipline_exp",
"skill_discipline_foc",
"talent_name_1",
"talent_skill_1",
"talent_ranks_1",
"talent_effect_1",
"talent_name_2",
"talent_skill_2",
"talent_ranks_2",
"talent_effect_2",
"talent_name_3",
"talent_skill_3",
"talent_ranks_3",
"talent_effect_3",
"talent_name",
"talent_skill",
"talent_ranks",
"talent_effect",
"weapon_name",
"weapon_range",
"weapon_damage_fixed",
"weapon_damage_dice",
"weapon_burst",
"weapon_size",
"weapon_ammo",
"weapon_qualities",
"weapon_type",
"weapon_infowar_roll",
"weapon_psywar_roll",
"weapon_melee_roll",
"weapon_ranged_roll",
"weapon_reloads",
"gear_name",
"gear_qty",
"gear_maintinence",
"ammo_name",
"ammo_category",
"ammo_reloads",
"ammo_qualities",
"resource_name",
"resource_qty",
"hacking_device_name",
"hacking_device_claw",
"hacking_device_sword",
"hacking_device_shield",
"hacking_device_gadget",
"hacking_device_ic",
"hacking_program_type",
"hacking_program_rating",
"hacking_program_name",
"hacking_program_damage_fixed",
"hacking_program_damage_dice",
"hacking_program_qualities",
"host_type",
"host_agi",
"host_awa",
"host_brw",
"host_coo",
"host_int",
"host_per",
"host_wil",
"augmentation_name",
"augmentation_category",
"augmentation_type",
"augmentation_qualities",
"augmentation_maintinence",
"host_attributes",
"description",
"height",
"weight",
"hair",
"eyes",
"character_languages",
"family_social_status",
"home_environment",
"youth_event",
"education",
"adolescent_event",
"career_1",
"career_2",
"career_3",
"career_4",
"previous_faction_1",
"previous_faction_2",
"previous_faction_3",
"lifepath_notes",
"handler_name",
"handler_faction",
"handler_contact",
"handler_objective",
"contact_name",
"contact_notes",
"likes",
"dislikes",
"quirks",
"phobias",
"catchphrases",
"lifestyle_name",
"lifestyle_rating",
"lifestyle_maintinence",
"parent_1",
"parent_2",
"spouse",
"sibling_1",
"sibling_2",
"child_1",
"child_2",
"extended_family_1",
"extended_family_2",
"id_name",
"id_rating",
"npc_name",
"npc_agility[",
"npc_awareness",
"npc_brawn",
"npc_coordination",
"npc_intelligence",
"npc_personality",
"npc_willpower",
"npc_combat_exp",
"npc_combat_foc",
"npc_roll_combat",
"npc_movement_exp",
"npc_movement_foc",
"npc_roll_movement",
"npc_social_exp",
"npc_social_foc",
"npc_roll_social",
"npc_fortitude_exp",
"npc_fortitude_foc",
"npc_roll_fortitude",
"npc_senses_exp",
"npc_senses_foc",
"npc_roll_senses",
"npc_technical_exp",
"npc_technical_foc",
"npc_roll_technical",
"npc_firewall",
"npc_firewall_max",
"npc_resolve",
"npc_resolve_max",
"npc_vigour",
"npc_vigour_max",
"npc_soak_security",
"npc_soak_morale",
"npc_soak_armour",
"npc_breaches",
"npc_breaches_max",
"npc_metanoia",
"npc_metanoia_max",
"npc_wounds",
"npc_wounds_max",
"npc_attack_name",
"npc_attack_range",
"npc_attack_damage_fixed",
"npc_attack_damage_dice",
"npc_attack_burst",
"npc_attack_ammo",
"npc_attack_qualities",
"npc_attack_type",
"npc_attack_infowar_roll",
"npc_attack_psywar_roll",
"npc_attack_melee_roll",
"npc_attack_ranged_roll",
"npc_type",
"npc_gear",
"npc_abilities",
"geist_name",
"geist_agility",
"geist_awareness",
"geist_brawn",
"geist_coordination",
"geist_intelligence",
"geist_personality",
"geist_willpower",
"geist_firewall",
"geist_firewall_max",
"geist_resolve",
"geist_resolve_max",
"geist_structure",
"geist_structure_max",
"geist_soak_security",
"geist_soak_morale",
"geist_soak_armour",
"geist_breaches",
"geist_breaches_max",
"geist_metanoia",
"geist_metanoia_max",
"geist_faults",
"geist_faults_max",
"geist_skill_name",
"geist_skill_exp",
"geist_skill_foc",
"geist_skill_roll",
"geist_trait",
"geist_talent_name",
"geist_talent_skill",
"geist_talent_ranks",
"geist_talent_effect",
"geist_type",
"geist_avatar",
"geist_roleplaying",
"geist_background",
"geist_notes",
"shell_name",
"shell_agility",
"shell_awareness",
"shell_brawn",
"shell_coordination",
"shell_intelligence",
"shell_personality",
"shell_willpower",
"shell_combat_exp",
"shell_combat_foc",
"shell_roll_combat",
"shell_movement_exp",
"shell_movement_foc",
"shell_roll_movement",
"shell_social_exp",
"shell_social_foc",
"shell_roll_social",
"shell_fortitude_exp",
"shell_fortitude_foc",
"shell_roll_fortitude",
"shell_senses_exp",
"shell_senses_foc",
"shell_roll_senses",
"shell_technical_exp",
"shell_technical_foc",
"roll_technical",
"shell_firewall",
"shell_firewall_max",
"shell_resolve",
"shell_resolve_max",
"shell_structure",
"shell_structure_max",
"shell_soak_security",
"shell_soak_morale",
"shell_soak_armour",
"shell_breaches",
"shell_breaches_max",
"shell_metanoia",
"shell_metanoia_max",
"shell_faults",
"shell_faults_max",
"shell_attack_name",
"shell_attack_range",
"shell_attack_damage_fixed",
"shell_attack_damage_dice",
"shell_attack_burst",
"shell_attack_ammo",
"shell_attack_qualities",
"shell_attack_type",
"shell_attack_infowar_roll",
"shell_attack_psywar_roll",
"shell_attack_melee_roll",
"shell_attack_ranged_roll",
"shell_type",
"shell_gear",
"shell_abilities",
"vehicle_name",
"vehicle_type",
"vehicle_cover",
"vehicle_qualities",
"vehicle_scale",
"vehicle_speed",
"vehicle_brawn",
"vehicle_brawn_vehicle",
"vehicle_passengers_max",
"vehicle_impact_fixed",
"vehicle_impact_dice",
"vehicle_impact_type",
"vehicle_structure",
"vehicle_structure_max",
"vehicle_firewall",
"vehicle_firewall_max",
"vehicle_armour",
"vehicle_bts",
"vehicle_description",
"vehicle_attack_name",
"vehicle_attack_range",
"vehicle_attack_damage_fixed",
"vehicle_attack_damage_dice",
"vehicle_attack_burst",
"vehicle_attack_ammo",
"vehicle_attack_qualities",
"vehicle_attack_type",
"vehicle_attack_infowar_roll",
"vehicle_attack_psywar_roll",
"vehicle_attack_melee_roll",
"vehicle_attack_ranged_roll",
"vehicle_gear",
"vehicle_abilities"
];
// List of repeating sections from v0.
var repeating_section_details = [
{
section: 'repeating_talents',
fields: [
'ATallent_Namerep1',
'ATallent_Skillrep1',
'ATallent_Effectrep1',
'ATallent_Namerep2',
'ATallent_Skillrep2',
'ATallent_Effectrep2'
]
},
{
section: 'repeating_Weapons',
fields: [
'weapon_Name_rep',
'weapon_Range_rep',
'weapon_Attribute_rep',
'weapon_Damagebonus_rep',
'weapon_Damage_rep',
'weapon_Mode_rep',
'weapon_Burst_rep',
'weapon_Size_rep',
'weapon_Qualities_rep',
'RL1',
'RL2',
'RL3',
'RL4',
'RL5'
]
},
{
section: 'repeating_Gear',
fields: [
'weapon_GearName1_rep',
'Gear_Effect1_rep',
'weapon_GearName2_rep',
'Gear_Effect2_rep'
]
}
];
// BaseGet is a combination of all attributes on v0 and above.
var baseGet = [...attrListOld, ...attrListNew];
// Code below is by Scott C., taken from his sheet for Genefunk 2090.
// Source: https://github.com/Roll20/roll20-character-sheets/blob/4c930e6ee3ceae8dd777e483d7ee8c801fad754a/Genefunk%202090/genefunk2090.js#L1788
function openSheet() {
console.log("Starting import process.");
getSections(updateSheet,baseGet);
}
function getSections (callback,getArray,trigger,sections,queue) {
console.log("Getting sections");
queue = queue || JSON.parse(JSON.stringify(repeating_section_details));
getArray = getArray || [];
sections = sections || {};
let section = queue.shift();
getSectionIDs(section.section,(idArray)=>{
console.log("Getting repeating sections");
sections[section.section]=[];
idArray.forEach((id)=>{
sections[section.section].push(id);
section.fields.forEach((field)=>{
getArray.push(`${section.section}_${id}_${field}`);
});
});
if(_.isEmpty(queue)){
callback(getArray,sections,trigger);
}else{
getSections(callback,getArray,trigger,sections,queue);
}
});
}
function updateSheet (getArray,sections){
console.log("Checking sheet version");
const setObj = {};
getAttrs([...getArray,'sheet_version'],(attr)=>{
console.log("Sheet version detected: " + attr.sheet_version)
if(!attr.sheet_version){
attr.sheet_version = 0;
}
if(attr.sheet_version*1 < 1.1) {
updateTo1_0(attr,setObj);
set(setObj);
} // Migrate from old sheet to new style.
});
}
function set (obj,callback) {
console.log("Setting new values.");
setAttrs(obj,{silent:true},callback);
}
function updateTo1_0 (attrCurrent, setObj) {
console.log("Starting migration to 1.1");
// Migrate the values of each old attribute to their new equivalent.
// setAttrs takes objects with the property = attribute name and the value = new value.
// Create a new object with these values.
// Pass it to setAttrs to set them all at once.
const importList = [
'MDB',
'PDB',
'XPT',
'RDB',
'IWDB',
'XPS',
'Current_Cashflow',
'Cashflow',
'Morale_Soak',
'Security_Soak',
'BTS',
'Head_Soak',
'RA_Soak',
'LA_Soak',
'Torso_Soak',
'RL_Soak',
'LL_Soak',
'Host_Skills',
'Geist_AGI',
'Geist_AWA',
'Geist_BRW',
'Geist_COO',
'Geist_INT',
'Geist_PER',
'Geist_WIL',
'Geist_Skills',
'Geist_Vigor',
'Geist_Firewall',
'Geist_Resolve',
'FW',
'MaxFirewall',
'RS',
'MaxResolve',
'PH',
'MaxVigor',
'Harm1',
'Harm2',
'Harm3',
'Acrobatics_Expertise',
'Acrobatics_Focus',
'Analysis_Expertise',
'Analysis_Focus',
'Athletics_Expertise',
'Athletics_Focus',
'Ballistics_Expertise',
'Ballistics_Focus',
'Education_Expertise',
'Education_Focus',
'Animal_Handling_Expertise',
'Animal_Handling_Focus',
'Discipline_Expertise',
'Discipline_Focus',
'FactionHandler_Name1',
'FactionHandler_Name2',
'FactionHandler_Name3',
'FactionHandler_Name4',
'Traits_Name1',
'Traits_Name2',
'Traits_Name3',
'Traits_Name4',
'Traits_Name5',
'Traits_Name6',
'ATallent_Name1',
'ATallent_Skill1',
'ATallentt_Effect1',
'Languages_Notes',
'Family_Social_Status',
'Home_Enviroment',
'EducationLP',
'Adolesent_Event',
'First_Career',
'Second_Career',
'Third_Career',
'Fourth_Career',
'Additional_Notes',
'Acrobatics',
'Close_Combat',
'Close_Combat_Expertise',
'Close_Combat_Focus',
'Stealth',
'Stealth_Expertise',
'Stealth_Focus',
'Analysis',
'Extraplanetary',
'Extraplanetary_Expertise',
'Extraplanetary_Focus',
'Observation',
'Observation_Expertise',
'Observation_Focus',
'Survival',
'Survival_Expertise',
'Survival_Focus',
'Thievery',
'Thievery_Expertise',
'Thievery_Focus',
'Athletics',
'Resistance',
'Resistance_Expertise',
'Resistance_Focus',
'Ballistics',
'Pilot',
'Pilot_Expertise',
'Pilot_Focus',
'Space',
'Space_Expertise',
'Space_Focus',
'Education',
'Hacking',
'Hacking_Expertise',
'Hacking_Focus',
'Medicine',
'Medicine_Expertise',
'Medicine_Focus',
'Psychology',
'Psychology_Expertise',
'Psychology_Focus',
'Science',
'Science_Expertise',
'Science_Focus',
'Tech',
'Tech_Expertise',
'Tech_Focus',
'Animal_Handling',
'Command',
'Command_Expertise',
'Command_Focus',
'Lifestyle',
'Lifestyle_Expertise',
'Lifestyle_Focus',
'Persuade',
'Persuade_Expertise',
'Persuade_Focus',
'Discipline'
];
const migrationList = [
'damage_bonus_melee',
'damage_bonus_psywar',
'xp_total',
'damage_bonus_ranged',
'damage_bonus_infowar',
'xp_spent',
'cashflow',
'cashflow_max',
'soak_morale',
'soak_security',
'soak_bts',
'soak_loc_head',
'soak_loc_arm_r',
'soak_loc_arm_l',
'soak_loc_torso',
'soak_loc_leg_r',
'soak_loc_leg_l',
'host_attributes',
'geist_agility',
'geist_awareness',
'geist_brawn',
'geist_coordination',
'geist_intelligence',
'geist_personality',
'geist_willpower',
'geist_notes',
'geist_structure',
'geist_firewall',
'geist_resolve',
'firewall',
'firewall_max',
'resolve',
'resolve_max',
'vigour',
'vigour_max',
'harm_1',
'harm_2',
'harm_3',
'skill_acrobatics_exp',
'skill_acrobatics_foc',
'skill_analysis_exp',
'skill_analysis_foc',
'skill_athletics_exp',
'skill_athletics_foc',
'skill_ballistics_exp',
'skill_ballistics_foc',
'skill_education_exp',
'skill_education_foc',
'skill_animal_handling_exp',
'skill_animal_handling_foc',
'skill_discipline_exp',
'skill_discipline_foc',
'handler_name',
'handler_faction',
'handler_objective',
'handler_contact',
'trait_1',
'trait_2',
'trait_3',
'trait_4',
'trait_5',
'trait_6',
'talent_name_1',
'talent_skill_1',
'talent_effect_1',
'character_languages',
'social_status',
'home_environment',
'education',
'adolescent_event',
'career_1',
'career_2',
'career_3',
'career_4',
'lifepath_notes',
'skill_acrobatics_sig',
'Skill_Close_Combat_sig',
'Skill_Close_Combat_EXP',
'Skill_Close_Combat_FOC',
'skill_stealth_sig',
'skill_stealth_exp',
'skill_stealth_foc',
'skill_analysis_sig',
'skill_extraplanetary_sig',
'skill_extraplanetary_exp',
'skill_extraplanetary_foc',
'skill_observation_sig',
'skill_observation_exp',
'skill_observation_foc',
'skill_survival_sig',
'skill_survival_exp',
'skill_survival_foc',
'skill_thievery_sig',
'skill_athletics_exp',
'skill_thievery_foc',
'skill_athletics_sig',
'skill_resistance_sig',
'skill_resistance_exp',
'skill_resistance_foc',
'skill_ballistics_sig',
'skill_pilot_sig',
'skill_pilot_exp',
'skill_pilot_foc',
'skill_spacecraft_sig',
'skill_spacecraft_exp',
'skill_spacecraft_foc',
'skill_education_sig',
'skill_hacking_sig',
'skill_hacking_exp',
'skill_hacking_foc',
'skill_medicine_sig',
'skill_medicine_exp',
'skill_medicine_foc',
'skill_psychology_sig',
'skill_psychology_exp',
'skill_psychology_foc',
'skill_science_sig',
'skill_science_exp',
'skill_science_foc',
'skill_tech_sig',
'skill_tech_exp',
'skill_tech_foc',
'skill_animal_handling_Sig',
'skill_command_sig',
'skill_command_exp',
'skill_command_foc',
'skill_lifestyle_sig',
'skill_lifestyle_exp',
'skill_lifestyle_foc',
'skill_persuade_sig',
'skill_persuade_exp',
'skill_persuade_foc',
'skill_discipline_sig'
];
importList.forEach(function(attr, index) {
if (attr in attrCurrent) {
setObj[migrationList[index]] = attrCurrent[attr];
}
});
// REPEATING SECTIONS
// Talents:
// Migrate repeating talents FIRST so that we don't end up duplicating them.
// There is also the repeating talents section, where each id actually needs to be split into two new repeating ids.
function repeatingToRepeatingTalent (rowId, attrCurrent) {
var newAttrs = {};
console.log("Migrating repeating talents. RowID: " + rowId);
const oldAttrsA = [
`repeating_talents_${rowId}_ATallent_Namerep1`,
`repeating_talents_${rowId}_ATallent_Skillrep1`,
`repeating_talents_${rowId}_ATallent_Effectrep1`
];
const oldAttrsB = [
`repeating_talents_${rowId}_ATallent_Namerep2`,
`repeating_talents_${rowId}_ATallent_Skillrep2`,
`repeating_talents_${rowId}_ATallent_Effectrep2`
];
const repeatingAttrs = [
"talent_name",
"talent_skill",
//"talent_ranks",
"talent_effect"
];
var newRowId = generateRowID();
repeatingAttrs.forEach(function (attr, index) {
newAttrs[`repeating_talents_${rowId}_${attr}`] = attrCurrent[oldAttrsA[index]];
newAttrs[`repeating_talents_${newRowId}_${attr}`] = attrCurrent[oldAttrsB[index]];
});
return newAttrs;
}
getSectionIDs("talents", function(idArray) {
var newAttrs = {};
for(var i=0; i<idArray.length; i++) {
newAttrs = {...newAttrs, ...(repeatingToRepeatingTalent(idArray[i], attrCurrent))};
}
set(newAttrs);
});
// Talent 1 is non-repeating and transferred normally by the above setAttrs function.
// Talents 2-12 are non-repeating but need to be transferred to repeating sections if they are filled out.
function staticToRepeatingTalent (talentNumber, attrCurrent, setObj) {
console.log("Migrating talents: static to repeating");
const repeatingAttrs = [
"talent_name",
"talent_skill",
//"talent_ranks",
"talent_effect"
];
// Static talent 7 has a typo in its attr name. Check for and correct this.
var oldAttrs = [];
if (talentNumber != 7) {
oldAttrs = [
`ATallent_Name${talentNumber}`,
`ATallent_Skill${talentNumber}`,
`ATallent_Effect${talentNumber}`
];
} else {
oldAttrs = [
`ATallent_Name${talentNumber}`,
`ATallent_Skill${talentNumber}`,
`ATallentt_Effect7`
];
}
const newRowId = generateRowID();
repeatingAttrs.forEach(function (attr, index) {
setObj[`repeating_talents_${newRowId}_${attr}`] = attrCurrent[oldAttrs[index]];
});
}
for (var currentTalent = 2; currentTalent <= 12; currentTalent++) {
staticToRepeatingTalent(currentTalent, attrCurrent, setObj);
}
// Weapons:
// All repeating. Transfer each repeating id to a new one.
function repeatingToRepeatingWeapon (rowId, attrCurrent) {
console.log("Migrating repeating weapons. RowID: " + rowId);
var newAttrs = {};
const oldAttrs = [
`repeating_Weapons_${rowId}_weapon_Name_rep`,
`repeating_Weapons_${rowId}_weapon_Range_rep`,
//`repeating_Weapons_${rowId}_weapon_Attribute_rep`,
`repeating_Weapons_${rowId}_weapon_Damagebonus_rep`,
`repeating_Weapons_${rowId}_weapon_Damage_rep`,
//`repeating_Weapons_${rowId}_weapon_Mode_rep`,
`repeating_Weapons_${rowId}_weapon_Burst_rep`,
`repeating_Weapons_${rowId}_weapon_Size_rep`,
`repeating_Weapons_${rowId}_weapon_Qualities_rep`,
`repeating_Weapons_${rowId}_RL1`,
`repeating_Weapons_${rowId}_RL2`,
`repeating_Weapons_${rowId}_RL3`,
`repeating_Weapons_${rowId}_RL4`,
`repeating_Weapons_${rowId}_RL5`
];
const repeatingAttrs = [
"weapon_name",
"weapon_range",
"weapon_damage_fixed",
"weapon_damage_dice",
"weapon_burst",
"weapon_size",
//"weapon_ammo",
"weapon_qualities",
//"weapon_reloads"
];
const oldReloads = [
`repeating_Weapons_${rowId}_RL1`,
`repeating_Weapons_${rowId}_RL2`,
`repeating_Weapons_${rowId}_RL3`,
`repeating_Weapons_${rowId}_RL4`,
`repeating_Weapons_${rowId}_RL5`
];
repeatingAttrs.forEach(function (attr, index) {
newAttrs[`repeating_weapons_${rowId}_${attr}`] = attrCurrent[oldAttrs[index]];
});
// Calculate how many reloads are left based on which RL boxes are checked.
var reloads = 0;
for (var i=0; i<=oldReloads.length; i++) {
if (attrCurrent[oldReloads[i]] == "on") {
reloads++;
}
};
newAttrs[`repeating_weapons_${rowId}_weapon_reloads`] = reloads;
return newAttrs;
}
getSectionIDs("Weapons", function(idArray) {
var newAttrs = {};
for(var i=0; i<idArray.length; i++) {
newAttrs = {...newAttrs, ...(repeatingToRepeatingWeapon(idArray[i], attrCurrent))};
}
set(newAttrs);
});
// Gear:
// All repeating.
function repeatingToRepeatingGear (rowId, attrCurrent) {
var newAttrs = {};
console.log("Migrating repeating gear. RowID: " + rowId);
const oldAttrs = [
`repeating_Gear_${rowId}_weapon_GearName1_rep`,
`repeating_Gear_${rowId}_Gear_Effect1_rep`,
`repeating_Gear_${rowId}_weapon_GearName2_rep`,
`repeating_Gear_${rowId}_Gear_Effect2_rep`
];
oldAttrs.forEach(function (attr, index) {
if (index == 0) {
newAttrs[`repeating_gear_${rowId}_gear_name`] = attrCurrent[attr];
} else {
var newRowId = generateRowID();
newAttrs[`repeating_gear_${newRowId}_gear_name`] = attrCurrent[attr];
}
});
return newAttrs;
}
getSectionIDs("Gear", function(idArray) {
var newAttrs = {};
for(var i=0; i<idArray.length; i++) {
newAttrs = {...newAttrs, ...(repeatingToRepeatingGear(idArray[i], attrCurrent, setObj))};
}
set(newAttrs);
});
console.log("Updating sheet version to 1.1");
setObj.sheet_version = 1.1;
attrCurrent = {...attrCurrent, ...setObj};
}
openSheet();
});
</script>