Files
roll20-character-sheets/Shadowrun2e/shadowrun2e.html
T
2024-06-03 13:15:14 -04:00

1252 lines
71 KiB
HTML

<div class="sheet-row"> <!-- Start of General Information -->
<h2 style="color:#663399;">General Information</h2>
Name/Streetname: <input type="text" style="width:180px" name="attr_name"> Race: <input type="text" style="width:50px" name="attr_metatype">
Sex: <input type="text" name="attr_sex" style='width:46px;'> Age: <input type="text" style="width:50px" name="attr_age">
Height: <input type="text" name="attr_height" style="width:46px">cm
Weight: <input type="text" name="attr_weight" style="width:46px">kg
</div>
</div><br>
<div class="sheet-row">
<div class="sheet-col">
<h4 style="color:#663399;">Condition Monitor</h4>
<table style='text-align:center;vertical-align:top;' cellpadding=5>
<tr>
<td></td>
<td>Uninjured</td>
<td>Light Stun</td>
<td>Moderate Stun</td>
<td>Serious Stun</td>
<td>Unconscious</td>
</tr><tr>
<td>
Stun:<input type="number" name="attr_stun_pen" value=0 style="display:none">
</td><td>
<input type="radio" name="attr_stun" value=0 CHECKED>
</td><td>
<input type="radio" name="attr_stun" value=1>
<input type="radio" name="attr_stun" value=2>
</td><td>
<input type="radio" name="attr_stun" value=3>
<input type="radio" name="attr_stun" value=4>
<input type="radio" name="attr_stun" value=5>
</td><td>
<input type="radio" name="attr_stun" value=6>
<input type="radio" name="attr_stun" value=7>
<input type="radio" name="attr_stun" value=8>
<input type="radio" name="attr_stun" value=9>
</td><td>
<input type="radio" name="attr_stun" value=10>
</td>
</tr><tr>
<td>
Physical:<input type="number" name="attr_wound_pen" value=0 style="display:none" />
</td><td>
<input type="radio" name="attr_wounds" value=0 CHECKED>
</td><td>
<input type="radio" name="attr_wounds" value=1>
<input type="radio" name="attr_wounds" value=2>
</td><td>
<input type="radio" name="attr_wounds" value=3>
<input type="radio" name="attr_wounds" value=4>
<input type="radio" name="attr_wounds" value=5>
</td><td>
<input type="radio" name="attr_wounds" value=6>
<input type="radio" name="attr_wounds" value=7>
<input type="radio" name="attr_wounds" value=8>
<input type="radio" name="attr_wounds" value=9>
</td><td>
<input type="radio" name="attr_wounds" value=10>
</td>
</tr><tr>
<td></td>
<td>Uninjured&nbsp;</td>
<td>Light Wound&nbsp;</td>
<td>Moderate Wound&nbsp;</td>
<td>Serious Wound&nbsp;</td>
<td>Unconscious<br />
maybe dead</td>
</tr>
</table>
PHYSICAL DAMAGE OVERFLOW: <input type="number" name="attr_overflow" value=0 min=0 />
</div>
<div class="sheet-col">
<div class="logo">
<img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Shadowrun2e/logo.png" alt="Shadowrun Second Edition"></div>
</div>
</div>
<div class="sheet-row">
<h4 style="color:#663399;">Dice Pools</h4><br>
Combat Pool:<input type="text" name="attr_combat" value=1 min=1 style="width:39px;">
Magic Pool:<input type="text" name="attr_magicpool" value=1 min=1 style="width:39px;">
Hacking Pool:<input type="text" name="attr_hackingpool" value=1 min=1 style="width:39px;">
Control Pool:<input type="text" name="attr_controlpool" value=1 min=1 style="width:39px;">
Astral Pool:<input type="text" name="attr_astralpool" value=1 min=1 style="width:39px;"><br>
<input type="text" style="width:80px;"><input type="text" name="attr_pool1" value=1 min=1 style="width:39px;">
<input type="text" style="width:69px;"><input type="text" name="attr_pool2" value=1 min=1 style="width:39px;">
<input type="text" style="width:80px;"><input type="text" name="attr_pool3" value=1 min=1 style="width:39px;">
</div>
</div>
<br>
<div> <!-- Tab Information -->
<button type="action" name="act_character" style="color:#663399;">Character/Lifestyle</button>
<button type="action" name="act_skills" style="color:#663399;">Skills/Edges/Flaws</button>
<button type="action" name="act_magic" style="color:#663399;">Magic/Spells</button>
<button type="action" name="act_decks" style="color:#663399;">Decks</button>
<button type="action" name="act_gear"style="color:#663399;"> Gear</button>
<button type="action" name="act_vehicles" style="color:#663399;">Vehicles</button>
<button type="action" name="act_drones" style="color:#663399;">Drones</button>
<button type="action" name="act_combat" style="color:#663399;">Combat</button>
</div>
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" value="character" />
<div class="sheet-character"> <!--Character Tab -->
<h2 style="color:#663399;">Character</h2>
<div class="grid1">
<div><!-- col 1 -->
<div data-il8n="ATTRIBUTES"><h3 style="color:#663399;">Attributes</h3></div>
<div class="attributes">
<div></div>
<div class="header" data-il8n="Natural" >Natural</div>
<div class="header" data-il8n="Augmented" >Augmented</div>
<div data-il8n="Body" class="label" >Body</div>
<div>
<input type="text" name="attr_body" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_body_test" title="Body Test without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Body (Natural)}} {{Result= [[ [[@{body} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div>
<input type="text" name="attr_body_max" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_augment_body_test" title="Body Test with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}} {{Attribute=Body (Augmented)}} {{Result= [[ [[@{body|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div data-il8n="Quickness" class="label" >Quickness</div>
<div>
<input type="text" name="attr_agility" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_quick_test" title="Quickness Test without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Quickness Test (Natural)}} {{Result= [[ [[@{agility} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div>
<input type="text" name="attr_agility_max" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_augment_quick_test" title="Quickness Test with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Quickness (Augmented)}} {{Result= [[ [[@{agility|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div data-il8n="Strength" class="label" >Strength</Div>
<div>
<input type="text" name="attr_strength" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_strength_test" title="Strength Test without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Strength (Natural)}} {{Result= [[ [[@{strength} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div>
<input type="text" name="attr_strength_max" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_augment_str_test" title="Strength Test with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Strength (Augmented)}} {{Result= [[ [[@{strength|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div data-il8n="Charisma" class="label" > Charisma</div>
<div>
<input type="text" name="attr_Charisma" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_cha_test" title="Charisma Test without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Charisma (Natural)}} {{Result= [[ [[@{Charisma} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div>
<input type="text" name="attr_Charisma_max" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_augment_cha_test" title="Charisma Test with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}} {{Attribute=Charisma (Augmented)}} {{Result= [[ [[@{Charisma|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div data-il8n="Intelligence" class="label">Intelligence</div>
<div>
<input type="text" name="attr_intelligence" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_int_test" title="Intelligence Test without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Intelligence (Natural)}} {{Result= [[ [[@{intelligence} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div>
<input type="text" name="attr_intelligence_max" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_augment_int_test" title="Intelligence Test with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Intelligence (Augmented)}} {{Result= [[ [[@{intelligence|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div data-il8n="Willpower" class="label">Willpower</div>
<div>
<input type="text" name="attr_willpower" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_will_test" title="Willpower Test without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Willpower (Natural)}} {{Name= [[ [[@{willpower} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div>
<input type="text" name="attr_willpower_max" value=1 min=1 style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_augment_will_test" title="Willpower Test with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{Attribute=Willpower (Augmented)}} {{Name= [[ [[@{willpower|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
<div data-il8n="essence" class="label">Essence</div>
<div>
<input type="text" name="attr_essence" value=6 step='0.01' min='0.01' style='width:39px' />
<button type="roll" class="d6-dice" name="roll_essence_test" title="Essence Test" value="&{template:default} {{character=@{character_name}}}{{Attribute=Essence}} {{Result= [[ [[floor(@{essence}) + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div><br>
<div data-il8n="magic" class="label">Magic</div>
<input type="text" name="attr_magic" style='width:39px;' />
<button type="roll" class="d6-dice" name="roll_magic_test" title="Magic Test" value="&{template:default} {{character=@{character_name}}} {{Attribute=Magic}} {{Result= [[ [[@{magic} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
</div>
</div>
<div> <!-- col2 --->
<br /><span data-il8n="REACTION">REACTION</span><br>
<input type="text" name="attr_reaction" style="width:39px;"><button type="roll" class="d6-dice" name="roll_reaction_test" title="Reaction Test without cyber-/bio- ware" value="&{template:default} {{Attribute=Reaction (Natural)}} {{Result= [[ [[@{reaction} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button>
<input type="text" name="attr_reaction_max" style="width:39px;"><button type="roll" class="d6-dice" name="roll_augment_reaction_test" title="Reaction Test with cyber-/bio- ware" value="&{template:default} {{Attribute=Reaction (Augmented)}} {{Result= [[ [[@{reaction|max} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!! ]] }}"></button><br>
<span data-il8n="INITIATIVE">INITIATIVE</span><br>
<input type="text" name="attr_initiative" style="width:39px;" >d6<button type="roll" class="d6-dice" name="roll_initiative" title="Initiative Roll without cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}} {{type=Initiative Roll (Natural)}} {{character=@{character_name}}} {{roll=[[@{initiative}d6+@{reaction}-@{stun_pen}-@{wound_pen} &{tracker}]]}}"></button>
<input type="text" name="attr_initiative_max" style="width:39px;">d6<button type="roll" class="d6-dice" name="roll_augment_initiative" title="Initiative Roll with cyber-/bio- ware" value="&{template:default} {{character=@{character_name}}}{{type=Initiative Roll (Augmented)}} {{character=@{character_name}}} {{roll=[[@{initiative|max}d6+@{reaction|max}-@{stun_pen}-@{wound_pen} &{tracker}]]}}"></button>
</div>
<div> <!-- col3 --->
<h2><span data-il8n="Karma" style="color:#663399;">Karma</span></h2>
<span data-il8n="Karma-Pool">Karma Pool</span>: <input type="text" name="attr_karma_pool" style="width:39px;" />/<input type="number" name="attr_karma_pool_max" value="1"><br>
<span data-il8n="Good-Karma">Good Karma</span>: <input type="text" name="attr_good_karma" style="width:39px;"/><br>
<span data-il8n="Total-Karma">Total Karma</span>: <input type="text" name="attr_total_karma" style="width:39px;"/><br>
<h2><span data-il8n="Reputation" style="color:#663399;">Reputation</span></h2>
<span data-il8n="Private-Rep">Private Rep.</span>: <input type="text" name="attr_privaterep" style="width:39px;" /><br>
<span data-il8n="Public-Rep">Public Rep.</span>: <input type="text" name="attr_publicrep" style="width:39px;" /><br>
<span data-il8n="Corp-Rep">Corp. Rep.</span>: <input type="text" name="attr_corprep" style="width:39px;"/>
</div>
</div><h2 style="color:#663399;">Lifestyle</h2>
<div class="3colrow">
<div class="col">
<h3 style="color:#663399;">Contacts</h3>
<fieldset class="repeating_contacts">
<select name="attr_contacttype" style="Width:130px">
<option SELECTED>Contact</option>
<option>Buddy</option>
<option>Friend for Life</option>
<option>Followers</option>
</select>
<textarea name="attr_contactdetail" style="width:275px;height:50px">Name Occupation Upkeep</textarea>
</fieldset>
</div>
<div class="col">
<h3 style="color:#663399;">Money</h3>
Legal Credstick:<input type="text" name="attr_money"style="width:80px;"/>¥
<fieldset class="repeating_credsticks">
Rating <input type="number" name="attr_credrate" min=1 /> Credstick:<input type="text" name="attr_credmoney" style="width:70px;"/>¥
</fieldset>
</div>
<div class="col">
<h3 style="color:#663399;">IDs and Permits</h3>
<fieldset class="repeating_idperm">
Rating <input type="number" name="attr_idperm" min=1 /> Id/Permit:<input type="text" name="attr_idname" style="width:90px;" />
</fieldset>
</div>
</div>
<div class="sheet-row">
<h3 style="color:#663399;">Lifestyle Class/Gear at Home</h3>
<textarea name="attr_lifestylegear" style="width:780px;height:50px"></textarea>
</div>
</div>
<div class="sheet-skills"> <!-- Skills Tab -->
<h2 style="color:#663399;">Skills/Edges/Flaws</h2>
<div class="grid3">
<div class="col">
<h4 style="color:#663399;">Skills</h4>
<div class="atable">
<div class="atablerow">
<div class="atablecell">Name</div>
<div class="atablecell">Rating</div>
<div class="atablecell">&nbsp;</div>
</div>
<fieldset class="repeating_skills">
<div class="atablecell"><input type="text" name="attr_skillname" class="aname"></div>
<div class="atablecell"><input type="number" name="attr_skillrating" min="1" class="arating"></div>
<div class="atablecell"><button type="roll" class="d6-dice" name='roll_skill' title='Roll Generic Skill Test' value='&{template:skill} {{skillname=@{skillname}}} {{skilltest= [[ {[[@{skillrating} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen}]]!!} ]] }}'></button>
</fieldset>
</div>
</div>
<div class="col"><!-- col 2 -->
<h4 style="color:#663399;">Edges</h4>
<fieldset class="repeating_edges">
<textarea style="width:250px; height:50px" name="attr_edgedesc"></textarea>
</fieldset>
</div>
<div class="col"<!-- col 3 -->
<h4 style="color:#663399;">Flaws</h4>
<fieldset class="repeating_flaws">
<textarea style="width:240px; height:50px" name="attr_flawdesc"></textarea>
</fieldset>
</div>
</div>
</div>
<div class='sheet-magic'> <!-- Magic Tab -->
<h2 style="color:#663399;"> Spells</h2>
Spells Stacked: <input type="number" name="attr_spellstack" min="0" value="0">
Spells Sustained: <input type="number" name="attr_spellsus" min="0" value="0">
<br>
<div class="atable spellstable">
<div class="atablerow">
<div class="atablecell">Name</div>
<div class="atablecell">Force</div>
<div class="atablecell">Type</div>
<div class="atablecell">Range</div>
<div class="atablecell">Target</div>
<div class="atablecell">Dmg</div>
<div class="atablecell">Dur.</div>
<div class="atablecell">Drain</div>
<div class="atablecell">TN &nbsp; &nbsp; &nbsp; &nbsp; Mod &nbsp; Force &nbsp; Roll</div>
<div class="atablecell">Description</div>
</div>
<fieldset class="repeating_spells">
<div class="atablecell"><input type="text" name="attr_spellname" class="aname"></div>
<div class="atablecell"><input type="number" name="attr_force" min="1"></div>
<div class="atablecell">
<select name="attr_spelltype" style= "width:50px;">
<option value="mana">M</option>
<option value="physical">P</option>
</select>
</div>
<div class="atablecell"><input type="text" name="attr_spellrange" class="arating"></div>
<div class="atablecell"><input type="text" name="attr_target" class="arating"></div>
<div class="atablecell">
<select name="attr_spelldmg" style= "width:50px;">
<option SELECTED>N/A</option>
<option>L</option>
<option>M</option>
<option>S</option>
<option>D</option>
</select>
</div>
<div class="atablecell">
<select name="attr_duration" style= "width:50px;">
<option SELECTED>I</option>
<option>S</option>
<option>P</option>
</select>
</div>
<div class="atablecell">
F/2+<input type="number" name="attr_drain" value="0">&nbsp; <select name="attr_drainlvl" style= "width:50px;">
<option SELECTED>L</option>
<option>M</option>
<option>S</option>
<option>D</option>
</select>
</div>
<div class="atablecell"><input type="number" name="attr_castTN" value="4" min="2" placeholder="Target #">/<input type="number" name="attr_spellmisc">/<input type="number" name="attr_castforce" value="1" min="1"> <button type="roll" class="d6-dice" name="roll_cast_spell" title="Cast Spell" value="&{template:spell}{{spellname=@{spellname}}}{{description=@{spelldesc}}}{{casttest=[[[[@{castforce}+?{How many dice are you taking for casting?|0}]]d6>[[{@{castTN}+2*(@{spellstack}+@{spellsus})+@{spellmisc}+@{stun_pen}+@{wound_pen},2}kh1]]!!}]]}}{{draintest=[[[[@{willpower|max}+?{How many dice are you taking for drain resistance?|0}]]d6>[[{floor(@{castforce}/2)+@{drain},2}kh1]]!!]]}}"></button></div>
<div class="atablecell"><input type="text" name="attr_spelldesc" Style="width:100px; height 10px">
</div>
</fieldset>
</div><br>
<h3 style="color:#663399;">Notes for Spells</h3>
<textarea name="attr_spellnotes" style='width:750px;height:50px'></textarea>
<div class="2colrow">
<div class="col">
<h2 style="color:#663399;">Adept Powers/Foci/Fetishes</h2>
<table>
<tr>
<td style='width:203px;'>Name</td>
<td style='width:46px;'>Rating</td>
<td>Cost</td>
</tr>
</table>
<fieldset class='repeating_powers'>
<input type='text' name='attr_powername' style='width:200px;' /> <input type='number' name ='attr_powerrating' min="1">
<input type='number' name='attr_powercost' step='0.25' min='0.25' style='width:56px'>
</fieldset>
</div>
<div class="col">
<h2 style="color:#663399;">Shaman Totem/Abilities</h2>
<fieldset class='repeating_edges'>
<textarea style='width:200px; height:50px"' name='attr_shaman'></textarea>
</fieldset>
</div>
</div>
</div>
<div class='sheet-decks'> <!--Decks Tab -->
<h2 style="color:#663399;">Decks and Programs</h2>
<fieldset class="repeating_decks">
<div class="atable deckstable">
<div class="atablecell">Model</div><span style="padding-left: 90px;">
<div class="atablecell">Persona</div><span style="padding-left: 20px;">
<div class="atablecell">Hard.</div><span style="padding-left: 10px;">
<div class="atablecell">Active</div><span style="padding-left: 10px;">
<div class="atablecell">Storage</div><span style="padding-left: 10px;">
<div class="atablecell">Offline</div><span style="padding-left: 10px;">
<div class="atablecell">I/O</div><span style="padding-left: 20px;">
<div class="atablecell">Response</div><span style="padding-left: 20px;">
<div class="atablecell">Bod</div><span style="padding-left:20px;">
<div class="atablecell">Evasion</div><span style="padding-left: 10px;">
<div class="atablecell">Masking</div><span style="padding-left: 5px;">
<div class="atablecell">Sensors</div><span style="padding-left: 10px;">
</div>
<div class="atablecell"><input type="text" name="attr_deck" class="aname"></div>
<div class="atablecell"><input type="number" name="attr_persona"></div>
<div class="atablecell"><input type="number" name="attr_hard"></div>
<div class="atablecell"><input type="number" name="attr_active"></div>
<div class="atablecell"><input type="number" name="attr_storage"></div>
<div class="atablecell"><input type="number" name="attr_offline"></div>
<div class="atablecell"><input type="number" name="attr_io"></div>
<div class="atablecell"><input type="number" name="attr_response"><button type="roll" class="d6-dice" name="roll_matrix_initiative" title="Matrix Initiative" value="&{template:default} {{character=@{character_name}}} {{roll=[[(1+@{response})d6+2*@{response}+@{reaction}-@{stun_pen}-@{wound_pen} &{tracker}]]}}"></button></div>
<div class="atablecell"><input type="number" name="attr_bod"></div>
<div class="atablecell"><input type="number" name="attr_evasion"></div>
<div class="atablecell"><input type="number" name="attr_masking"></div>
<div class="atablecell"><input type="number" name="attr_sensors"></div>
<textarea name="attr_decknotes" placeholder="Deck Notes" style="width:750px; height:80px"></textarea>
<table style='text-align:left;vertical-align:top;' cellpadding=5>
<tr>
<td></td>
<td>Mint</td>
<td>Light</td><br>
<td>Moderate</td>
<td>Serious</td>
<td>Crashed</td>
</tr><tr>
</td><td>
<div class="atablecell">Deck Related Skill: <input type="text" name="attr_deckskillname"></div>
<div class="atablecell"><input type="number" name="attr_deckskillrating" min="1" class="arating"></div>
<div class="atablecell"><button type="roll" class="d6-dice" name='roll_skill' title='Roll Skill Test' value='&{template:skill} {{skillname=@{deckskillname}}} {{skilltest= [[ {[[@{deckskillrating} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number - Program Rating?} + @{stun_pen} + @{wound_pen} + @{deckdam_pen}]]!!} ]] }}'></button>
</div>
<input type="hidden" name="attr_deckdam_pen" value=0 >
<td>
<input type="radio" name="attr_deckscon" value=0 CHECKED><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_deckscon" value=1>
<input type="radio" name="attr_deckscon" value=2><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_deckscon" value=3>
<input type="radio" name="attr_deckscon" value=4>
<input type="radio" name="attr_deckscon" value=5><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_deckscon" value=6>
<input type="radio" name="attr_deckscon" value=7>
<input type="radio" name="attr_deckscon" value=8>
<input type="radio" name="attr_deckscon" value=9><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_deckscon" value=10><span style="padding-left: 20px;">
</tr><tr>
<td><br>
</fieldset><br>
<div class="2rowcol">
<div class="col">
<h3 style="color:#663399;">Programs</h3>
<table>
<tr>
<td style='width:176px;'>Name</td>
<td style='width:50px;'>Rating</td>
<td style='width:54px;'>Size</td>
<td style='width:45px;'>Active</td>
<td style='width:45px;'>Stored</td>
</tr>
</table>
<fieldset class="repeating_programs">
<table>
<tr>
<td style='width:176px;'><input type="text" name="attr_program" style='width:175px;'></td>
<td style='width:50px;'><input type="number" name="attr_prograting" value=1></td>
<td style='width:54px;'><input type="number" name="attr_size" style='width:53px'></td>
<td style='width:45px;text-align:center;'><input type='checkbox' name="attr_inactive"></td>
<td style='width:45px;text-align:center;'><input type='checkbox' name="attr_instorage"></td>
</tr>
</table>
</fieldset>
</div>
<div class="col">
<h3 style="color:#663399;">Programs</h3>
<table>
<tr>
<td style='width:176px;'>Name</td>
<td style='width:50px;'>Rating</td>
<td style='width:54px;'>Size</td>
<td style='width:45px;'>Active</td>
<td style='width:45px;'>Stored</td>
</tr>
</table>
<fieldset class="repeating_programs">
<table>
<tr>
<td style='width:176px;'><input type="text" name="attr_program2" style='width:175px;'></td>
<td style='width:50px;'><input type="number" name="attr_prograting2" value=1></td>
<td style='width:54px;'><input type="number" name="attr_size2" style='width:53px'></td>
<td style='width:45px;text-align:center;'><input type='checkbox' name="attr_inactive2"></td>
<td style='width:45px;text-align:center;'><input type='checkbox' name="attr_instorage2"></td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
<div class='sheet-gear'> <!--Gear Tab -->
<div class="2rowcol">
<div class="col">
<h2 style="color:#663399;">Gear</h2><br>
<fieldset class="repeating_gear">
<input type="text" style="width:120px" name="attr_item">
Rating: <input type="number" name="attr_itemrating">
Weight <input type="number" name="attr_wt" step='0.1'><button type="roll" class="d6-dice" name="roll_use_item" title="Use Item" value="&{template:default} {{name=@{item}}} {{ Success Test = [[ {@{itemrating}d6>?{What is the Target Number?}!!} ]] }}"></button>
</fieldset>
</div>
<div class="col">
<h2 style="color:#663399;">Gear</h2><br>
<fieldset class="repeating_gear">
<input type="text" style="width:120px" name="attr_item2">
Rating: <input type="number" name="attr_itemrating2">
Weight <input type="number" name="attr_wt2" step='0.1'><button type="roll" class="d6-dice" name="roll_use_item" title="Use Item" value="&{template:default} {{name=@{item2}}} {{ Success Test = [[ {@{itemrating2}d6>?{What is the Target Number?}!!} ]] }}"></button>
</fieldset>
</div>
</div>
<div class="2rowcol">
<div class="col"><!-- col 1 -->
<h2 style="color:#663399;">Cyberware</h2>
<fieldset class="repeating_cyberware"><br>
Name:<input type="text" name="attr_cyberware" style="width:120px">
Rating:<input type="number" name="attr_cyberrating">
Essence.: <input type='number' name='attr_essencecost' step='0.01' width='55px'><br>
Effect:<input type="text" name="attr_cybernotes" style='width:300px;height:30px;'>
</fieldset>
</div>
<div class="col"><!-- col 2 -->
<h2 style="color:#663399;">Bioware</h2>
<fieldset class="repeating_bioware"><br>
Name:<input type="text" name="attr_bioware" style="width:120px">
Rating:<input type="number" name="attr_biorating">
Body: <input type='number' name='attr_biocost' step='0.01' width='55px'><br>
Effect:<input type="text" name="attr_bionotes" style='width:300px;height:30px;'>
</fieldset>
</div>
</div>
</div>
<div class='sheet-vehicles'> <!-- Vehicles Tab -->
<h2 style="color:#663399;">Vehicles</h2>
<fieldset class="repeating_vehicles">
<div class="atable deckstable">
<div class="atablecell">Name</div><span style="padding-left: 90px;">
<div class="atablecell">Handling</div><span style="padding-left: 30px;">
<div class="atablecell">Speed</div><span style="padding-left: 40px;">
<div class="atablecell">Acc.</div><span style="padding-left: 20px;">
<div class="atablecell">Body</div><span style="padding-left: 15px;">
<div class="atablecell">Armour</div><span style="padding-left: 5px;">
<div class="atablecell">Signature</div><span style="padding-left: 0px;">
<div class="atablecell">Sensor</div><span style="padding-left:10px;">
<div class="atablecell">Pilot</div><span style="padding-left:50px;">
<div class="atablecell">Fuel</div><span style="padding-left: 40px;">
<div class="atablecell">Economy</div><span style="padding-left: 5px;">
<div class="atablecell">Stress</div><span style="padding-left: 10px;">
</div>
<div class="atablecell"><input type="text" name="attr_vehicle" class="aname"></div>
<div class="atablecell"><input type="text" name="attr_handling" style="width:46px"></div>
<div class="atablecell"><input type="number" name="attr_speed">/<input type="number" name="attr_speed_max"></div>
<div class="atablecell"><input type="number" name="attr_accel"></div>
<div class="atablecell"><input type="number" name="attr_vehiclebody"></div>
<div class="atablecell"><input type="number" name="attr_vehiclearmor"></div>
<div class="atablecell"><input type="number" name="attr_signature"></div>
<div class="atablecell"><input type="number" name="attr_vehiclesensor"></div>
<div class="atablecell"><input type="number" name="attr_pilot"></div>
<div class="atablecell"><input type="number" name="attr_fuel">/<input type="number" name="attr_fuel_max"></div>
<div class="atablecell"><input type="number" name="attr_fueleco"></div>
<div class="atablecell"><input type="number" name="attr_stress"></div>
<textarea name="attr_vehiclenotes" placeholder="Vehicle Notes" style="width:750px; height:80px"></textarea><br>
Firmpoints: <input type="number" name="attr_firm">
Hardpoints: <input type="number" name="attr_hard">
Cargo: <input type="number" name="attr_cargo">
Load: <input type="number" name="attr_load"><br>
<table style='text-align:left;vertical-align:top;' cellpadding=5>
<tr>
<td></td>
<td>Mint</td>
<td>Light</td><br>
<td>Moderate</td>
<td>Serious</td>
<td>Destroyed</td>
</tr><tr>
</td><td>
<div class="atablecell">Vehicle Related Skill: <input type="text" name="attr_vehicleskillname"></div>
<div class="atablecell"><input type="number" name="attr_vehicleskillrating" min="1" class="arating"></div>
<div class="atablecell"><button type="roll" class="d6-dice" name='roll_skill' title='Roll Vehicle Test' value='&{template:skill} {{skillname=@{vehicleskillname}}} {{skilltest= [[ {[[@{vehicleskillrating} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen} + @{vehicle_pen}]]!!} ]] }}'></button>
</div>
<input type="hidden" name="attr_vehicle_pen" value=0 >
<td>
<input type="radio" name="attr_vehiclecon" value=0 CHECKED><span style="padding-left: 30px;">
</td>
<td>
<input type="radio" name="attr_vehiclecon" value=1>
<input type="radio" name="attr_vehiclecon" value=2><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_vehiclecon" value=3>
<input type="radio" name="attr_vehiclecon" value=4>
<input type="radio" name="attr_vehiclecon" value=5><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_vehiclecon" value=6>
<input type="radio" name="attr_vehiclecon" value=7>
<input type="radio" name="attr_vehiclecon" value=8>
<input type="radio" name="attr_vehiclecon" value=9><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_vehiclecon" value=10><span style="padding-left: 20px;">
</tr><tr>
<td><br>
</fieldset><br>
</div>
</div>
</div>
<div class="sheet-drones">
<fieldset class="repeating_drone">
<h2 style="color:#663399;">Drone</h2>
<div class="atable dronestable">
<div class="atablecell">Name</div><span style="padding-left: 90px;">
<div class="atablecell">Handling</div><span style="padding-left: 30px;">
<div class="atablecell">Speed</div><span style="padding-left: 40px;">
<div class="atablecell">Acc.</div><span style="padding-left: 20px;">
<div class="atablecell">Body</div><span style="padding-left: 15px;">
<div class="atablecell">Armour</div><span style="padding-left: 5px;">
<div class="atablecell">Signature</div><span style="padding-left: 0px;">
<div class="atablecell">Autonav</div><span style="padding-left:30px;">
<div class="atablecell">Fuel</div><span style="padding-left:40px;">
<div class="atablecell">Economy</div><span style="padding-left: 10px;">
<div class="atablecell">Stress</div><span style="padding-left: 40px;">
</div>
<div class="atablecell"><input type="text" name="attr_drone" class="aname"></div>
<div class="atablecell"><input type="number" name="attr_dronehandling"></div>
<div class="atablecell"><input type="number" name="attr_dronespeed">/<input type="number" name="attr_dronespeed_max"></div>
<div class="atablecell"><input type="number" name="attr_droneaccel"></div>
<div class="atablecell"><input type="number" name="attr_dronebody"></div>
<div class="atablecell"><input type="number" name="attr_dronearmor"></div>
<div class="atablecell"><input type="number" name="attr_dronesignature"></div>
<div class="atablecell"><input type="number" name="attr_dronepilot"></div>
<div class="atablecell"><input type="number" name="attr_dronefuel">/<input type="number" name="attr_dronefuel_max"></div>
<div class="atablecell"><input type="number" name="attr_dronefueleco"></div>
<div class="atablecell"><input type="number" name="attr_dronestress"></div><br>
<textarea name="attr_dronenotes" placeholder="Drone Notes" style="width:750px; height:80px"></textarea><br>
Firmpoints: <input type="number" name="attr_dronefirm">
Hardpoints: <input type="number" name="attr_dronehard">
Cargo: <input type="number" name="attr_dronecargo">
Load: <input type="number" name="attr_droneload"><br>
<div class="dronecond">
<table style='text-align:left;vertical-align:top;' cellpadding=5>
<tr>
<td></td>
<td>Mint</td>
<td>Light</td><br>
<td>Moderate</td>
<td>Serious</td>
<td>Destroyed</td>
</tr><tr>
</td><td>
<div class="atablecell">Drone Related Skill: <input type="text" name="attr_droneskillname"></div>
<div class="atablecell"><input type="number" name="attr_droneskillrating" min="1" class="arating"></div>
<div class="atablecell"><button type="roll" class="d6-dice" name='roll_skill' title='Roll Drone Test' value='&{template:skill} {{skillname=@{droneskillname}}} {{skilltest= [[ {[[@{droneskillrating} + ?{How many dice are you taking from your pool?|0}]]d6>[[?{What is the Target Number?} + @{stun_pen} + @{wound_pen} + @{drone_pen} + @{comm_pen} +@{sim_pen} + @{sys_pen}]]!!} ]] }}'></button>
</div>
<input type="hidden" name="attr_drone_pen" value=0 >
<td>
<input type="radio" name="attr_dronecon" value=0 CHECKED><span style="padding-left: 30px;">
</td>
<td>
<input type="radio" name="attr_dronecon" value=1>
<input type="radio" name="attr_dronecon" value=2><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_dronecon" value=3>
<input type="radio" name="attr_dronecon" value=4>
<input type="radio" name="attr_dronecon" value=5><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_dronecon" value=6>
<input type="radio" name="attr_dronecon" value=7>
<input type="radio" name="attr_dronecon" value=8>
<input type="radio" name="attr_dronecon" value=9><span style="padding-left: 20px;">
</td>
<td>
<input type="radio" name="attr_dronecon" value=10><span style="padding-left: 20px;">
</tr><tr>
<td><br>
</div>
<h4 style="color:#663399;">Electronics</h4>
<div class="atable sensorstable">
<div class="atablecell "style="color:#663399;">SENSOR</div><span style="padding-left: 10px;">
<div class="atablecell">Flux</div><span style="padding-left: 10px;">
<div class="atablecell">MAX Flux</div><span style="padding-left: 10px;">
<div class="atablecell "style="color:#663399;">ECM</div><span style="padding-left: 10px;">
<div class="atablecell">Flux</div><span style="padding-left: 10px;">
<div class="atablecell">MAX Flux</div><span style="padding-left: 5px;">
<div class="atablecell "style="color:#663399;">ECCM</div><span style="padding-left:10px;">
<div class="atablecell">Flux</div><span style="padding-left:10px;">
<div class="atablecell">MAX Flux</div><span style="padding-left:10px;">
<div class="atablecell "style="color:#663399;" >ED</div><span style="padding-left: 20px;">
<div class="atablecell">Flux</div><span style="padding-left: 15px;">
<div class="atablecell">MAX Flux</div><span style="padding-left: 5px;">
<div class="atablecell "style="color:#663399;" >ECD</div><span style="padding-left: 20px;">
<div class="atablecell">Flux</div><span style="padding-left: 10px">
<div class="atablecell">MAX Flux</div><span style="padding-left: 10px;">
</div>
<div class="atablecell"><input type="number" name="attr_dronesensors"></div>
<div class="atablecell"><input type="number" name="attr_sensorsflux">/<input type="number" name="attr_sensorsflux_max"></div>
<div class="atablecell"><input type="number" name="attr_ECM"></div>
<div class="atablecell"><input type="number" name="attr_ECMflux">/<input type="number" name="attr_ECMflux_max"></div>
<div class="atablecell"><input type="number" name="attr_ECCM"></div>
<div class="atablecell"><input type="number" name="attr_ECCMflux">/<input type="number" name="attr_ECCMflux_max"></div>
<div class="atablecell"><input type="number" name="attr_ED"></div>
<div class="atablecell"><input type="number" name="attr_EDflux">/<input type="number" name="attr_EDflux_max"></div>
<div class="atablecell"><input type="number" name="attr_ECD"></div>
<div class="atablecell"><input type="number" name="attr_ECDflux">/<input type="number" name="attr_ECDflux_max"></div>
<br>
<div class="channelcond">
<h4 style="color:#663399;">Signal Degredation Monitors</h4>
<table style='text-align:left;vertical-align:top;' cellpadding=5>
<tr>
<td></td>
<td>None</td>
<td>Light</td><br>
<td>Moderate</td>
<td>Serious</td>
<td>Destroyed</td>
</tr><tr>
<td>
<h4 style="color:#663399;">Command Channel:</h4>
<input type="hidden" name="attr_comm_pen" value=0 >
</td><td>
<input type="radio" name="attr_commcond" value=0 CHECKED><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_commcond" value=1>
<input type="radio" name="attr_commcond" value=2><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_commcond" value=3>
<input type="radio" name="attr_commcond" value=4>
<input type="radio" name="attr_commcond" value=5><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_commcond" value=6>
<input type="radio" name="attr_commcond" value=7>
<input type="radio" name="attr_commcond" value=8>
<input type="radio" name="attr_commcond" value=9><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_commcond" value=10>
</td>
</tr><tr>
<td>
<h4 style="color:#663399;">Simsense Channel:</h4>
<input type="hidden" name="attr_sim_pen" value=0 >
</td><td>
<input type="radio" name="attr_simcond" value=0 CHECKED><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_simcond" value=1>
<input type="radio" name="attr_simcond" value=2><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_simcond" value=3>
<input type="radio" name="attr_simcond" value=4>
<input type="radio" name="attr_simcond" value=5><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_simcond" value=6>
<input type="radio" name="attr_simcond" value=7>
<input type="radio" name="attr_simcond" value=8>
<input type="radio" name="attr_simcond" value=9><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_simcond" value=10>
</td>
</tr><tr>
<td>
<h4 style="color:#663399;">System Channel:</h4>
<input type="hidden" name="attr_sys_pen" value=0 >
</td><td>
<input type="radio" name="attr_syscond" value=0 CHECKED><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_syscond" value=1>
<input type="radio" name="attr_syscond" value=2><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_syscond" value=3>
<input type="radio" name="attr_syscond" value=4>
<input type="radio" name="attr_syscond" value=5><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_syscond" value=6>
<input type="radio" name="attr_syscond" value=7>
<input type="radio" name="attr_syscond" value=8>
<input type="radio" name="attr_syscond" value=9><span style="padding-left: 20px;">
</td><td>
<input type="radio" name="attr_syscond" value=10>
</td>
</tr><tr>
<td><br>
</fieldset>
</div>
</div>
</div>
<div class='sheet-combat'> <!-- Combat Tab -->
<div class="sheet-row">
<h2 style="color:#663399;">Combat</h2>
<div class="sheet-row">
<div class="sheet-col">
<h3 style="color:#663399;"> Weapons </h3>
<div class="atable weaponstable">
<div class="atablerow">
<div class="atablecell">Name</div>
<div class="atablecell">Type</div>
<div class="atablecell">Conceal</div>
<div class="atablecell">Reach</div>
<div class="atablecell">Mode</div>
<div class="atablecell">Short</div>
<div class="atablecell">Medium</div>
<div class="atablecell">Long</div>
<div class="atablecell">Extreme</div>
<div class="atablecell">Ammo</div>
<div class="atablecell">Damage</div>
<div class="atablecell">Notes</div>
</div>
<fieldset class="repeating_weapons">
<div class="atablecell"><input type="text" name="attr_weaponname" class="aname"></div>
<div class="atablecell"><input type="text" name="attr_weapontype" style="width:50px"></div>
<div class="atablecell"><input type="number" name="attr_concealability"></div>
<div class="atablecell"><input type="number" name="attr_reach" min="0"></div>
<div class="atablecell"><input type="text" name="attr_mode" style="width:75px"> </div>
<div class="atablecell"><input type="text" name="attr_shortrange" style="width:40px"></div>
<div class="atablecell"><input type="text" name="attr_medrange" style='width:40px'></div>
<div class="atablecell"><input type="text" name="attr_longrange" style='width:46px'></div>
<div class="atablecell"><input type="text" name="attr_extrange" style='width:46px'></div>
<div class="atablecell"><input type="text" name="attr_ammo" style='width:45px'></div>
<div class="atablecell">
<input type="number" name="attr_weaponpower" min="2" style="width:40px">
<select name="attr_weapondmg" style="width:50px">
<option SELECTED>L</option>
<option>M</option>
<option>S</option>
<option>D</option>
</select>
</div>
<div class="atablecell"><input type="text" class="aname" name="attr_weaponnotes"></div>
</fieldset>
</div>
</div>
</div>
<br>
<div class="column-row">
<div class="col">
<h3 style="color:#663399;">Weapon Skill Ratings</h3>
<textarea name="attr_weaponsrating" style='width:250px;height:50px'></textarea>
<h2 style="color:#663399;">Armour</h2>
Dermal <input type="number" name='attr_dermalarmour' value="0" min="0">
Pain Resistance <input type='number' name='attr_pain_res' value="0" min="0" max=9>
<fieldset class="repeating_armour">
<input type="text" name="attr_armourname" style='width:245px'><br />
B &nbsp;<input type="number" name="attr_balistic" value="0" min="0">
<button type="roll" class="d6-dice" name='roll_resist_balistic' title='Resist Damage with Ballistic Armor, such as getting shot' value=" &{template:default}{{name=Ballistic Armor}} {{roll= [[ [[@{body|max} + @{dermalarmour}]]d6>[[(2+ (?{What is the attack's power?|4} - @{balistic}) + abs(2 - (?{What is the attack's power?|4} - @{balistic})))/2]]!! ]]}} {{Pool Dice= [[ [[?{How many dice are you taking from your pool?|0}]]d6>[[(2+ (?{What is the attack's power?|4} - @{balistic}) + abs(2 - (?{What is the attack's power?|4} - @{balistic})))/2]]!! ]]}}"></button>
<button type="roll" class="d6-dice" name='roll_resist_half_balistic' title='Resist Damage with Half Ballistic Armor, such as APDS ammo' value="&{template:default}{{name=Half Ballistic Armor}} {{roll= [[ [[@{body|max} + @{dermalarmour}]]d6>[[(2+ (?{What is the attack's power?|4} - floor(@{balistic}/2)) + abs(2 - (?{What is the attack's power?|4} - floor(@{balistic}/2))))/2]]!! ]]}} {{Pool Dice= [[ [[?{How many dice are you taking from your pool?|0}]]d6>[[(2+ (?{What is the attack's power?|4} - floor(@{balistic}/2)) + abs(2 - (?{What is the attack's power?|4} - floor(@{balistic}/2))))/2]]!! ]]}}"></button>
I &nbsp;<input type="number" name="attr_impact" value="0" min="0">
<button type="roll" class="d6-dice" name='roll_resist_impact' title='Resist Damage with Impact Armor, such as melee attacks' value="&{template:default}{{name=Impact Armor}} {{roll= [[ [[@{body|max} + @{dermalarmour}]]d6>[[(2+ (?{What is the attack's power?|4} - @{impact}) + abs(2 - (?{What is the attack's power?|4} - @{impact})))/2]]!! ]]}} {{Pool Dice= [[ [[?{How many dice are you taking from your pool?|0}]]d6>[[(2+ (?{What is the attack's power?|4} - @{impact}) + abs(2 - (?{What is the attack's power?|4} - @{impact})))/2]]!! ]]}}"></button>
<button type="roll" class="d6-dice" name='roll_resist_half_impact' title='Resist Damage with Half Impact Armor, such as damaging manipulation spells' value="&{template:default} {{name=Half Impact Armor}} {{roll= [[ [[@{body|max} + @{dermalarmour}]]d6>[[(2+ (?{What is the attack's power?|4} - floor(@{impact}/2)) + abs(2 - (?{What is the attack's power?|4} - floor(@{impact}/2))))/2]]!! ]]}} {{Pool Dice= [[ [[?{How many dice are you taking from your pool?|0}]]d6>[[(2+ (?{What is the attack's power?|4} - floor(@{impact}/2)) + abs(2 - (?{What is the attack's power?|4} - floor(@{impact}/2))))/2]]!! ]]}}"></button>
</fieldset></br>
<h2 style="color:#663399;">Movement</h2>
Walking:<input type="number" name="attr_walking" value="0" min="0"></br>
Running:<input type="number" name="attr_running" value="0" min="0"></br>
</div>
<div class='col'>
<h3 style="color:#663399;">Ranged Combat</h3>
Range: <select name="attr_combatrange" style="width:200px">
<option value=4 SELECTED>Short</option>
<option value=5>Medium</option>
<option value=6>Long</option>
<option value=9>Extreme</option>
</select><br />
Visibility: <select name="attr_rangevis" style="width:200px">
<option value=0 SELECTED>Clear</option>
<option disabled>-NORMAL VISION-</option>
<option value=8>Full Dark</option>
<option value=6>Minimal Light</option>
<option value=2>Partial Light</option>
<option value=2>Glare</option>
<option value=2>Mist</option>
<option value=4>Light Smoke/Fog/Rain</option>
<option value=6>Heavy Smoke/Fog/Rain</option>
<option disabled>-TECHNOLOGICAL LOW-LIGHT VISION-</option>
<option value=8>Full Dark</option>
<option value=4>Minimal Light</option>
<option value=1>Partial Light</option>
<option value=4>Glare</option>
<option value=2>Mist</option>
<option value=4>Light Smoke/Fog/Rain</option>
<option value=6>Heavy Smoke/Fog/Rain</option>
<option disabled>-NATURAL LOW-LIGHT VISION-</option>
<option value=8>Full Dark</option>
<option value=2>Minimal Light</option>
<option value=0>Partial Light</option>
<option value=2>Glare</option>
<option value=0>Mist</option>
<option value=2>Light Smoke/Fog/Rain</option>
<option value=4>Heavy Smoke/Fog/Rain</option>
<option disabled>-TECHNOLOGICAL THERMOGRAPHIC-</option>
<option value=4>Full Dark</option>
<option value=4>Minimal Light</option>
<option value=2>Partial Light</option>
<option value=4>Glare</option>
<option value=0>Mist</option>
<option value=0>Light Smoke/Fog/Rain</option>
<option value=1>Heavy Smoke/Fog/Rain</option>
<option value=4>Light Thermal Smoke</option>
<option value=6>Heavy Thermal Smoke</option>
<option disabled>-NATURAL THERMOGRAPHIC-</option>
<option value=2>Full Dark</option>
<option value=2>Minimal Light</option>
<option value=1>Partial Light</option>
<option value=2>Glare</option>
<option value=0>Mist</option>
<option value=0>Light Smoke/Fog/Rain</option>
<option value=0>Heavy Smoke/Fog/Rain</option>
<option value=4>Light Thermal Smoke</option>
<option value=6>Heavy Thermal Smoke</option>
</select><br>
Cover: <select name="attr_cover">
<option value=0 SELECTED>None</option>
<option value=4>Partial</option>
<option value=8>Blind Fire</option>
</select><br>
Previous Targets: <input type='number' name='attr_prevtar' min="0" value="0"><br>
Recoil: <input type='number' name='attr_recoil' value="0" min="0" title='+1 second Semiauto shot, +3 per burst, +1 per shot on FA, double for heavy weapons'>
Compensation: <input type='number' name='attr_recoil_comp' value="0" min="0"><br>
You are <select name="attr_move" style="width:200px">
<option value=0 selected>not moving</option>
<option value=1>walking</option>
<option value=2>walking over difficult ground</option>
<option value=4>running</option>
<option value=6>running over difficult ground</option>
</select><br />
Target is <select name="attr_tarmove" style="width:200px">
<option value='-1'>not moving</option>
<option value=0 selected>walking</option>
<option value=2>running</option>
</select><br />
Gyro Stabalization: <input type='number' name='attr_gyro' min=0 value=0><br>
Two Firearms? <input type='checkbox' name='attr_dualgun' value='2'><br>
Tech: <input type='radio' name='attr_tech' value=0 CHECKED>None <input type='radio' name='attr_tech' value='-2'>Smartlink<br>
<input type='radio' name='attr_tech' value='-1'>Smart Goggles <input type='radio' name='attr_tech' value='-1'>Laser Sight<br>
Aim Actions Taken: <input type='number' name='attr_aim' value="0" min="0"><br>
Enemies in Melee with you: <input type='number' name='attr_threats' min="0" value="0"><br>
Dots crossed on the Skill Web: <input type='number' name='attr_rangeweb' min="0" value="0"><br>
Misc. Modifiers <input type='number' name='attr_rangemisc' value="0"><br>
Final: <input type='number' name='attr_rangedTN' min="2" value="4">
<button type="roll" class="d6-dice" name='roll_ranged_attack' title='Roll a Ranged Attack' value='&{template:default} {{name=Ranged Attack}} {{ Success Test = [[ {?{What is your skill with the weapon?|1}d6>@{rangedTN}!!} ]] }} {{ Pool Dice = [[ {?{How many dice are you taking from your pool?|0}d6>@{rangedTN}!!} ]] }}'>
</div>
<div class='col'>
<h3 style="color:#663399;">Melee Combat</h3>
People in Melee with you<br />
Enemies: <input type='number' name='attr_enemies' min="0" value="0">
Friends: <input type='number' name='attr_friends' min="0" value="0"><br>
Visibility: <select name='attr_meleevis' style="width:180px">
<option value=0 SELECTED>Clear</option>
<option disabled>-NORMAL VISION-</option>
<option value=8>Full Dark</option>
<option value=3>Minimal Light</option>
<option value=1>Partial Light</option>
<option value=1>Glare</option>
<option value=1>Mist</option>
<option value=2>Light Smoke/Fog/Rain</option>
<option value=3>Heavy Smoke/Fog/Rain</option>
<option disabled>-TECHNOLOGICAL LOW-LIGHT VISION-</option>
<option value=4>Full Dark</option>
<option value=2>Minimal Light</option>
<option value=0>Partial Light</option>
<option value=2>Glare</option>
<option value=1>Mist</option>
<option value=2>Light Smoke/Fog/Rain</option>
<option value=3>Heavy Smoke/Fog/Rain</option>
<option disabled>-NATURAL LOW-LIGHT VISION-</option>
<option value=4>Full Dark</option>
<option value=1>Minimal Light</option>
<option value=0>Partial Light</option>
<option value=1>Glare</option>
<option value=0>Mist</option>
<option value=1>Light Smoke/Fog/Rain</option>
<option value=2>Heavy Smoke/Fog/Rain</option>
<option disabled>-TECHNOLOGICAL THERMOGRAPHIC-</option>
<option value=2>Full Dark</option>
<option value=2>Minimal Light</option>
<option value=1>Partial Light</option>
<option value=2>Glare</option>
<option value=0>Mist</option>
<option value=0>Light Smoke/Fog/Rain</option>
<option value=0>Heavy Smoke/Fog/Rain</option>
<option value=2>Light Thermal Smoke</option>
<option value=3>Heavy Thermal Smoke</option>
<option disabled>-NATURAL THERMOGRAPHIC-</option>
<option value=1>Full Dark</option>
<option value=1>Minimal Light</option>
<option value=0>Partial Light</option>
<option value=1>Glare</option>
<option value=0>Mist</option>
<option value=0>Light Smoke/Fog/Rain</option>
<option value=0>Heavy Smoke/Fog/Rain</option>
<option value=2>Light Thermal Smoke</option>
<option value=3>Heavy Thermal Smoke</option>
</select><br />
Weapon Reach<br />
Yours: <input type='number' name='attr_youreach' value="0" min="0">
Theirs: <input type='number' name='attr_enemyreach' value="0" min="0"><br>
Additional Targets: <input type='number' name='attr_meleetargets' value="0" min="0"><br>
Superior Position? <input type='checkbox' name='attr_position' value=-1><br>
Enemy Prone? <input type='checkbox' name='attr_prone' value=-2><br>
Misc. Modifiers <input type='number' name='attr_meleemisc' value="0"><br>
Final: <input type='number' name='attr_meleeTN' min="2" value="4">
<button type="roll" class="d6-dice" name='roll_melee_attack' title='Roll a Melee Attack' value='&{template:default} {{name=Melee Attack}} {{ Success Test = [[ {?{What is your skill with the weapon?|1}d6>@{meleeTN}!!} ]] }} {{ Pool Dice = [[ {?{How many dice are you taking from your pool?|0}d6>@{meleeTN}!!} ]] }}'>
</div>
</div>
</div>
</div>
<script type="text/worker">
const buttonlist = ["character","skills","magic","decks","gear","vehicles","combat","drones",];
buttonlist.forEach(button => {
on(`clicked:${button}`, function() {
setAttrs({
sheetTab: button
});
});
});
</script>
<script type="text/worker">
on("change:combatrange change:rangevis change:cover change:prevtar change:recoil change:recoil_comp change:move change:tarmove change:gyro change:dualgun change:tech change:aim change:threats change:rangeweb change:rangemisc change:stun_pen change:wound_pen", function() {
updateRangeTN();
});
on("change:baseTN change:modifiers change:stun_pen change:wound_pen", function() {
updateGeneralTN();
});
on("change:enemies change:friends change:meleevis change:youreach change:enemyreach change:meleetargets change:position change:prone change:stun_pen change:wound_pen change:meleemisc", function() {
updateMeleeTN();
});
on("change:stun change:pain_res", function() {
getAttrs(["stun","pain_res"], function(v) {
var penalty = 0;
var stun = parseInt(v.stun);
var res = parseInt(v.pain_res);
if (stun > res) {
if (stun > 5) penalty = 3;
else if (stun > 2) penalty = 2;
else if (stun > 0) penalty = 1;
}
setAttrs({"stun_pen": penalty});
});
});
on("change:wounds change:pain_res", function() {
getAttrs(["wounds","pain_res"], function(v) {
var penalty = 0;
var wounds = parseInt(v.wounds);
var res = parseInt(v.pain_res);
if (wounds > res) {
if (wounds > 5) penalty = 3;
else if (wounds > 2) penalty = 2;
else if (wounds > 0) penalty = 1;
}
setAttrs({"wound_pen": penalty});
});
});
on("change:repeating_decks:deckscon", function() {
getAttrs(["repeating_decks_deckscon"], function(v) {
var penalty = 0;
var deckscon = parseInt(v.repeating_decks_deckscon);
{
if (deckscon > 5) penalty = 3;
else if (deckscon > 2) penalty = 2;
else if (deckscon > 0) penalty = 1;
}
setAttrs({"repeating_decks_deckdam_pen": penalty});
});
});
on("change:repeating_vehicles:vehiclecon", function(info) {
console.log(info);
getAttrs(["repeating_vehicles_vehiclecon"], function(v) {
var penalty = 0;
var vehiclecon = parseInt(v.repeating_vehicles_vehiclecon);
{
if (vehiclecon > 5) penalty = 3;
else if (vehiclecon > 2) penalty = 2;
else if (vehiclecon > 0) penalty = 1;
}
setAttrs({"repeating_vehicles_vehicle_pen": penalty});
});
});
on("change:repeating_drone:dronecon", function(info) {
console.log(info);
getAttrs(["repeating_drone_dronecon"], function(v) {
var penalty = 0;
var dronecon = parseInt(v.repeating_drone_dronecon);
{
if (dronecon > 5) penalty = 3;
else if (dronecon > 2) penalty = 2;
else if (dronecon > 0) penalty = 1;
}
setAttrs({"repeating_drone_drone_pen": penalty});
});
});
on("change:repeating_drone:commcond", function(info) {
console.log(info);
getAttrs(["repeating_drone_commcond"], function(v) {
var penalty = 0;
var commcond = parseInt(v.repeating_drone_commcond);
{
if (commcond > 5) penalty = 3;
else if (commcond > 2) penalty = 2;
else if (commcond > 0) penalty = 1;
}
setAttrs({"repeating_drone_comm_pen": penalty});
});
});
on("change:repeating_drone:simcond", function(info) {
console.log(info);
getAttrs(["repeating_drone_simcond"], function(v) {
var penalty = 0;
var simcond = parseInt(v.repeating_drone_simcond);
{
if (simcond > 5) penalty = 3;
else if (simcond > 2) penalty = 2;
else if (simcond > 0) penalty = 1;
}
setAttrs({"repeating_drone_sim_pen": penalty});
});
});
on("change:repeating_drone:syscond", function(info) {
console.log(info);
getAttrs(["repeating_drone_syscond"], function(v) {
var penalty = 0;
var syscond = parseInt(v.repeating_drone_syscond);
{
if ( syscond> 5) penalty = 3;
else if (syscond > 2) penalty = 2;
else if (syscond > 0) penalty = 1;
}
setAttrs({"repeating_drone_sys_pen": penalty});
});
});
var updateRangeTN = function() {
getAttrs(["combatrange","rangevis","cover","prevtar","recoil","recoil_comp","move","tarmove","gyro","dualgun","tech","aim","threats","rangeweb","rangemisc","stun_pen","wound_pen"], function(v) {
var targetNumber = parseInt(v.recoil) - parseInt(v.recoil_comp);
if (targetNumber < 0) targetNumber = 0;
targetNumber += parseInt(v.move) - parseInt(v.gyro);
if (targetNumber < 0) targetNumber = 0;
targetNumber += parseInt(v.combatrange) + parseInt(v.rangevis) + parseInt(v.cover) + parseInt(v.tarmove) + parseInt(v.dualgun) + parseInt(v.tech) - parseInt(v.aim) + 2 * (parseInt(v.threats) + parseInt(v.rangeweb) + parseInt(v.prevtar)) + parseInt(v.rangemisc) + parseInt(v.stun_pen) + parseInt(v.wound_pen);
if (targetNumber < 2) targetNumber = 2;
setAttrs({"rangedTN": targetNumber});
});
};
var updateGeneralTN = function() {
getAttrs(["baseTN","modifiers","stun_pen","wound_pen"], function(v) {
var targetNumber = parseInt(v.baseTN) + parseInt(v.modifiers) + parseInt(v.stun_pen) + parseInt(v.wound_pen);
if (targetNumber < 2) targetNumber = 2;
setAttrs({"generalTN": targetNumber});
});
};
var updateMeleeTN = function() {
var targetNumber = 4;
getAttrs(["enemies", "friends", "meleevis", "youreach", "enemyreach","meleetargets","position","prone","stun_pen","wound_pen","meleemisc"], function(v) {
var participants = parseInt(v.enemies) - parseInt(v.friends);
if (participants > 4) participants = 4;
else if (participants < -4) participants = -4;
targetNumber += participants + parseInt(v.meleevis) + parseInt(v.enemyreach) - parseInt(v.youreach) + 2 * parseInt(v.meleetargets) + parseInt(v.position) + parseInt(v.prone) + parseInt(v.meleemisc) + parseInt(v.stun_pen) + parseInt(v.wound_pen);
if (targetNumber < 2) targetNumber = 2;
setAttrs({"meleeTN": targetNumber});
});
};
</script>
<rolltemplate class="sheet-rolltemplate-spell">
<table>
<tr><th>{{spellname}}</th></tr>
{{#description}}
<tr><td>
{{description}}
</td></tr>
{{/description}}
<tr><td>
<span class="tcat">Casting Test: </span>{{casttest}}
</td></tr>
<tr><td>
<span class="tcat">Drain Test: </span>{{draintest}}
</td></tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-skill">
<table>
<tr><th>{{skillname}}</th></tr>
{{#description}}
<tr><td>
{{description}}
</td></tr>
{{/description}}
<tr><td>
<span class="tcat">Success Test: </span>{{skilltest}}
</td></tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-attrib">
<table>
<tr><th>{{attribname}}</th></tr>
<tr><td>
{{#description}}
<tr><td>
{{description}}
</td></tr>
{{/description}}
<tr><td>
<span class="tcat">Success Test: </span>{{attribtest}}
</td></tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-init">
<table>
<tr><th>{{type}}</th></tr>
<tr><td>
<span class="tcat">Roll: </span>{{roll}}
</td></tr>
{{#rollGreater() roll 10}}
<tr><td>
<span class="bonus">{{character}} has qualified for multiple combat phases!</span>
</td></tr>
{{/rollGreater() roll 10}}
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-damageresist">
<table>
<tr><th>{{type}}</th></tr>
<tr><td>
<span class="tcat">Resistance Roll: </span>{{roll}}
</td></tr>
<tr><td>
<span class="tcat">Resistance from Pool: </span>{{poolroll}}<br />
If this roll alone surpasses the attacker, it is a clean miss.
</td></tr>
</table>
</rolltemplate>