Skip to content

Instantly share code, notes, and snippets.

@Anduh
Forked from chronosv2/DoubleCrossCharSheet.html
Created April 14, 2020 13:15
Show Gist options
  • Save Anduh/1d2dbcce4932b40477e4e19b0f2d9c4c to your computer and use it in GitHub Desktop.
Save Anduh/1d2dbcce4932b40477e4e19b0f2d9c4c to your computer and use it in GitHub Desktop.
Double Cross Character Sheet + Stat & Skill Roller
<!-- Starting at Line 446 is an optional table of roll buttons that call an API script. This can be commented out to remove this section. -->
<!-- Access the script at "https://gist.github.com/chronosv2/4bd5fd2350410be73c67". -->
<table style="width: 800px; height: 108px;" border="1">
<tbody>
<tr align="center">
<td style="background-color: black;" colspan="4" rowspan="1">
<span style="font-weight: bold;">
<span style="color: white;">Basic Information
<br></span>
</span>
</td>
</tr>
<tr>
<td style="background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Name
<br></span>
</td>
<td style="background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Spent/Total EXP
<br></span>
</td>
<td style="background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Unspent EXP
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<strong>Encroachment
<br></strong>
</td>
</tr>
<tr>
<td style="text-align: center;">
<input style="width:188px;" name="attr_character_name" type="text">
</td>
<td style="text-align: center;">
S<input style="width:60px;" value="0" name="attr_SEXP" type="number"> / <input style="width:60px;" value="0" name="attr_TXP" type="number">T
</td>
<td style="text-align: center;">
<input disabled="disabled" value="(@{TXP}-@{SEXP})" name="attr_EXP_Left" style="width:60px;" type="number">
</td>
<td style="text-align: center;">
<span>
<input style="width:60px;" name="attr_Encroach" type="number">
</span>%
</tr>
<tr>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Age
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Gender
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Zodiac
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Work
<br></span>
</td>
</tr>
<tr>
<td style="text-align: center;">
<input name="attr_Age" type="number">
<br>
</td>
<td style="text-align: center;">
<input maxlength="1" size="1" style="width:25px;" name="attr_Gender" type="text">
<br>
</td>
<td style="text-align: center;">
<input name="attr_Zodiac" style="width:180px;" type="text">
<br>
</td>
<td style="text-align: center;">
<input name="attr_Work" style="width:180px;" type="text">
<br>
</td>
</tr>
<tr>
<td style="width: 193px; text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Height
<br></span>
</td>
<td style="width: 193px; text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Weight
<br></span>
</td>
<td style="width: 193px; margin-left: 10px; text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Blood Type
<br></span>
</td>
<td style="margin-left: -2px; text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Cover
<br></span>
</td>
</tr>
<tr>
<td style="text-align: center;">
<input name="attr_height" style="width:60px;" type="number">cm
</td>
<td style="text-align: center;">
<input name="attr_Weight" style="width:60px;" type="number">kg
</td>
<td style="text-align: center;">
<input maxlength="3" size="3" name="attr_BType" style="width:35px;" type="text">
<br>
</td>
<td style="text-align: center;">
<input name="attr_Cover" style="width:180px;" type="text">
<br>
</td>
</tr>
<tr>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Breed</span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Syndrome 1</span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Syndrome 2</span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Sub-Syndrome</span>
</td>
</tr>
<tr>
<td style="text-align: center;">
<select name="attr_Breed" style="width:180px;">
<option selected="selected" value="Pure">Pure</option>
<option value="Cross">Cross</option>
<option value="Tri">Tri</option>
</select>
</td>
<td style="text-align: center;">
<select name="attr_Syn1" style="width:180px;">
<option selected="selected" value="Angel Halo">Angel Halo</option>
<option value="Balor">Balor</option>
<option value="Black Dog">Black Dog</option>
<option value="Bram Stoker">Bram Stoker</option>
<option value="Chimera">Chimera</option>
<option value="Exile">Exile</option>
<option value="Hanuman">Hanuman</option>
<option value="Morpheus">Morpheus</option>
<option value="Neumann">Neumann</option>
<option value="Orcus">Orcus</option>
<option value="Salamandra">Salamandra</option>
<option value="Solaris">Solaris</option>
<option value="Ouroboros">Ouroboros</option>
</select>
</td>
<td style="text-align: center;">
<select name="attr_Syn2" style="width:180px;">
<option selected="selected" value="">None</option>
<option value="Angel Halo">Angel Halo</option>
<option value="Balor">Balor</option>
<option value="Black Dog">Black Dog</option>
<option value="Bram Stoker">Bram Stoker</option>
<option value="Chimera">Chimera</option>
<option value="Exile">Exile</option>
<option value="Hanuman">Hanuman</option>
<option value="Morpheus">Morpheus</option>
<option value="Neumann">Neumann</option>
<option value="Orcus">Orcus</option>
<option value="Salamandra">Salamandra</option>
<option value="Solaris">Solaris</option>
<option value="Ouroboros">Ouroboros</option>
</select>
</td>
<td style="text-align: center;">
<select name="attr_Syn3" style="width:180px;">
<option selected="selected" value="">None</option>
<option value="Angel Halo">Angel Halo</option>
<option value="Balor">Balor</option>
<option value="Black Dog">Black Dog</option>
<option value="Bram Stoker">Bram Stoker</option>
<option value="Chimera">Chimera</option>
<option value="Exile">Exile</option>
<option value="Hanuman">Hanuman</option>
<option value="Morpheus">Morpheus</option>
<option value="Neumann">Neumann</option>
<option value="Orcus">Orcus</option>
<option value="Salamandra">Salamandra</option>
<option value="Solaris">Solaris</option>
<option value="Ouroboros">Ouroboros</option>
</select>
</td>
</tr>
</tbody>
</table>
<table style="width: 800px; height: 264px;" border="1">
<tbody>
<tr align="center">
<td style="background-color: black;" colspan="4" rowspan="1">
<span style="color: white;">
<span style="font-weight: bold;">Stats &amp; Skills</span>
<br>
</span>
</td>
</tr>
<tr>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Body
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Sense
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Mind
<br></span>
</td>
<td style="text-align: center; background-color: #cccccc;">
<span style="font-weight: bold;">Social
<br></span>
</td>
</tr>
<tr>
<td style="width: 193px; text-align: center;">
<span>
<input style="width:70px; font-size:xx-large;" value="0" name="attr_Body" type="number">
</span>
</td>
<td style="width: 193px; text-align: center;">
<span>
<input style="width:70px; font-size:xx-large;" value="0" name="attr_Sense" type="number">
</span>
</td>
<td style="width: 193px; text-align: center;">
<span>
<input style="width:70px; font-size:xx-large;" value="0" name="attr_Mind" type="number">
</span>
</td>
<td style="width: 193px; text-align: center;">
<span>
<input style="width:70px; font-size:xx-large;" value="0" name="attr_Social" type="number">
</span>
</td>
</tr>
<tr>
<td>Melee
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Melee" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Ranged
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Ranged" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>RC
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_RC" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Negotiation
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Negotiation" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>Dodge
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Dodge" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Perception
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Perception" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Will
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Will" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Procure
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Procure" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>Ride
<input name="attr_RideS1" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Ride1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Art
<input name="attr_ArtS1" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Art1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Knw
<input name="attr_KnwlS1" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Knwl1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Info
<input name="attr_InfoS1" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Info1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>Ride
<input name="attr_RideS2" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Ride2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Art
<input name="attr_ArtS2" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Art2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Knw
<input name="attr_KnwlS2" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Knwl2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>Info
<input name="attr_InfoS2" style="width:100px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_Info2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>
<input name="attr_BS1" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_BSkill1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_SnS1" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SnSkill1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_MS1" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_MSkill1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_Sl1" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SlSkill1" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>
<input name="attr_BS2" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_BSkill2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_SnS2" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SnSkill2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_MS2" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_MSkill2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_Sl2" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SlSkill2" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>
<input name="attr_BS3" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_BSkill3" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_SnS3" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SnSkill3" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_MS3" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_MSkill3" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_Sl3" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SlSkill3" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
<tr>
<td>
<input name="attr_BS4" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_BSkill4" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_SnS4" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SnSkill4" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_MS4" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_MSkill4" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
<td>
<input name="attr_Sl4" style="width:130px;" type="text">
<span style="float:right; clear:both;">
<input value="0" style="width:45px;" name="attr_SlSkill4" type="number">
<span style="font-size:smaller;">Lv</span>
</span></td>
</tr>
</tbody>
</table>
<!-- <table style="width: 800px;" border="1">
<tbody>
<tr>
<td colspan="5" style="background-color: #000000; color: #FFA9A9; text-align:center;"><strong>Rollers</strong></td>
</tr>
<tr>
<td style="width:133px; text-align:center; background-color: #FFA9A9;">
<select name="attr_rStatValue" style="width:130px;">
<option value="{Body}" selected="selected">Body</option>
<option value="{Sense}">Sense</option>
<option value="{Mind}">Mind</option>
<option value="{Social}">Social</option>
</select>
</td>
<td style="width:198px; text-align:center; background-color: #FFA9A9;">
<select name="attr_rSkillValue" style="width:195px;">
<option value="-" selected="selected">No Skill</option>
<option value="{Melee}">[Body] Melee</option>
<option value="{Dodge}">[Body] Dodge</option>
<option value="{Ride1}">[Body] Ride: ___ (1)</option>
<option value="{Ride2}">[Body] Ride: ___ (2)</option>
<option value="{BSkill1}">[Body] Skill: ___ (1)</option>
<option value="{BSkill2}">[Body] Skill: ___ (2)</option>
<option value="{BSkill3}">[Body] Skill: ___ (3)</option>
<option value="{BSkill4}">[Body] Skill: ___ (4)</option>
<option value="{Ranged}">[Sense] Ranged</option>
<option value="{Perception}">[Sense] Perception</option>
<option value="{Art1}">[Sense] Art: ___ (1)</option>
<option value="{Art2}">[Sense] Art: ___ (2)</option>
<option value="{SnSkill1}">[Sense] Skill: ___ (1)</option>
<option value="{SnSkill2}">[Sense] Skill: ___ (2)</option>
<option value="{SnSkill3}">[Sense] Skill: ___ (3)</option>
<option value="{SnSkill4}">[Sense] Skill: ___ (4)</option>
<option value="{RC}">[Mind] RC</option>
<option value="{Will}">[Mind] Will</option>
<option value="{Knwl1}">[Mind] Knowledge: ___ (1)</option>
<option value="{Knwl2}">[Mind] Knowledge: ___ (2)</option>
<option value="{MSkill1}">[Mind] Skill: ___ (1)</option>
<option value="{MSkill2}">[Mind] Skill: ___ (2)</option>
<option value="{MSkill3}">[Mind] Skill: ___ (3)</option>
<option value="{MSkill4}">[Mind] Skill: ___ (4)</option>
<option value="{Negotiation}">[Social] Negotiation</option>
<option value="{Procure}">[Social] Procure</option>
<option value="{Info1}">[Social] Info: ___ (1)</option>
<option value="{Info2}">[Social] Info: ___ (2)</option>
<option value="{SlSkill1}">[Social] Skill: ___ (1)</option>
<option value="{SlSkill2}">[Social] Skill: ___ (2)</option>
<option value="{SlSkill3}">[Social] Skill: ___ (3)</option>
<option value="{SlSkill4}">[Social] Skill: ___ (4)</option>
</select>
</td>
<td style="width=88px; background-color: #FFA9A9;">
<span title="Dice Bonus: Add any bonus dice (including Encroachment bonus) here.
Encroachment Bonuses:
00-59 = +0D
60-79 = +1D
80-99 = +2D
100-129 = +3D
130-159 = +4D
160-199 = +5D
200-239 = +6D
240-299 = +7D
300+ = +8D">
+<input type="number" style="width:50px;" name="attr_rBonus" value="0" />D
</span>
+<input type="number" style="width:50px;" name="attr_rScBonus" value="0" title="Score Bonus (added after result)" />
</td>
<td style="width=83px; background-color: #FFA9A9;">
crit <input type="number" style="width:60px;" name="attr_rCrit" value="10" />
</td>
<td style="width=288px; background-color: #FFA9A9;">
<span style="font-size:small;">[<input type="checkbox" name="attr_rbDamage" value="1"> Accuracy Roll]</span>
<span style="float:right; clear:both;">
<button type="roll" value="!rollskill @{character_id} @{rStatValue} @{rSkillValue} @{rBonus} @{rCrit} @{rScBonus} 1 @{rbDamage}" style="width:60px">Scrt.</button> <button type="roll" value="!rollskill @{character_id} @{rStatValue} @{rSkillValue} @{rBonus} @{rCrit} @{rScBonus} 0 @{rbDamage}" style="width:60px" />
</span>
</td>
</tr>
<tr>
<td colspan="5" style="background-color: #FFA9A9;">
Damage: Tens Digit of Accuracy Roll: <input type="number" style="width:80px;" name="attr_rTens" value="0" min="0"/> |
Accuracy: <input style="width:60px;" name="attr_WeapACC" type="number" value="0" />
<span style="float:right; clear:both;">
<span title="Calculate Accuracy for Accuracy Roller"><button type="roll" value="!accuracy @{character_id}" style="width:60px">Acc.</button></span>
<span title="Check all equipped weapons/power modifiers in Weapons Table!"><button type="roll" value="!rollatk @{character_id} @{rTens}" style="width:60px">Dmg.</button></span>
</span>
</td>
</tr>
<tr>
<td colspan="5" style="background-color: #FFA9A9;">
Defense: <input type="number" name="attr_rDamage" style="width:80px;" min="0" value="0"> damage +<input type="number" name="attr_rGuardBonus" style="width:80px;" min="0" value="0"> bonus [<input type="checkbox" name="attr_rGuard" value="1"> Guarding]
<span style="float:right; clear:both;">
<button type="roll" value="!rolldef @{character_id} @{rGuard} @{rDamage} @{rGuardBonus}" style="width:60px" />
</span>
</td>
</tr>
<tr>
<td colspan="5" style="background-color: #FFA9A9;">
Encroach: +<input type="number" style="width:60px;" name="attr_rEncr" value="0" /> /
Currently: <input disabled="disabled" style="width:60px;" name="attr_EncroachD" type="number" value="@{Encroach}" />%
<span style="float:right; clear:both;">
<span title="Reset Encroachment to Base"><button type="roll" value="!baseenc @{character_id}">Base</button></span>
<span title="Reset Encroachment Roller for new Power calculations"><button type="roll" value="!addenc @{character_id} -1">Reset</button></span>
<button type="roll" value="!encroach @{character_id} @{rEncr}" style="width:60px" />
</span>
</td>
</tr>
<tr>
<td colspan="5" style="background-color: #FFA9A9;">
Resurrect: <span style="font-size:smaller;">Lv</span><input type="number" style="width:60px;" name="attr_rResLv" value="@{Pwr_LevelR}" disabled="disabled" />
<span style="float:right; clear:both;" title="This is not the encroachment button.">
<button type="roll" value="!resurrect @{character_id} @{Pwr_LevelR}" style="width:60px" />
</span>
</td>
</tr>
<tr>
<td colspan="5" style="background-color: #FFA9A9;">
Backtrack: [<span title="Number of remaining Lois. Exclude any marked as Titus."># of active Lois <input type="number" value="3" style="width:50px;" min="0" name="attr_rLois" /></span>] <span style="font-size:smaller;">[<span title="Check if you are doubling your Backtrack roll. You will lose 2 Encroach XP.">Double Up <input type="checkbox" value="1" name="attr_rDoubleUp" /> (3 Enc.XP)</span>] [<span title="Check if you are re-rolling your Backtrack. You will receive 0 Encroach XP.">Reroll <input type="checkbox" value="1" name="attr_rReroll" /> (0 Enc.XP)</span>]</span>
<span style="float:right; clear:both;">
<button type="roll" value="!backtrack @{character_id} @{rLois} @{rDoubleUp} @{rReroll}" style="width:60px" />
</span>
</td>
</tr>
<tr>
<td colspan="5" style="background-color: #FFA9A9;">
Utility Buttons: Click your token <strong>BEFORE</strong> using these buttons!
<span style="float:right; clear:both;">
<span title="Click on your token, then click this button to fix your HP and Encroachment bars!"><button type="roll" value="!fixbars @{selected|token_id} @{Body} @{Mind} @{HPMaxB}">Fix Stat Bars</button></span>
<span title="Click on your token, then click this button to add your character to the turn tracker!"><button type="roll" value="/roll @{Initiative} &{tracker}">Add Token to Tracker</button></span>
</span>
</td>
</tr>
</tbody></table>
-->
<table style="width: 800px; height: 170px;" border="1">
<tbody>
<tr>
<td style="width: 388px;">
<table style="width: 100%" border="1">
<tbody>
<tr>
<td style="text-align: right;">Origin</td>
<td colspan="2" rowspan="1">
<input name="attr_Origin" type="text">
<br>
</td>
</tr>
<tr>
<td style="text-align: right;">Experience</td>
<td colspan="2" rowspan="1">
<input name="attr_Experience" type="text">
<input style="width:1px; visibility: hidden;" disabled="disabled" value="100" name="attr_Encroach_max" type="number"></td>
</td>
</tr>
<tr>
<td style="text-align: right;">Encounter</td>
<td colspan="2" rowspan="1">
<input name="attr_Encounter" type="text">
</td>
</tr>
<tr>
<td style="text-align: right;">Awakening</td>
<td style="width: 180px;">
<input name="attr_Awakening" type="text">
</td>
<td style="width: 80px;">
<input value="0" name="attr_Awakening_Enc" type="number">
</td>
</tr>
<tr>
<td style="text-align: right; width: 122.117px;">Impulse</td>
<td>
<input name="attr_Impulse" type="text">
</td>
<td>
<input value="0" name="attr_Impulse_Enc" type="number">
</td>
</tr>
<tr>
<td style="text-align: right; width: 122.117px; background-color: black;"></td>
<td style="text-align: right;">
Constant Power Encroachment
</td>
<td>
<input value="0" name="attr_Constant_Enc" type="number">
</td>
</tr>
<tr>
<td style="background-color: black;">
</td>
<td style="text-align: right;">Base Encroach</td>
<td>
<input style="width:70px;" disabled="disabled" value="@{Awakening_Enc}+@{Impulse_Enc}+@{Constant_Enc}" name="attr_Base_Encroach" type="number">
</td>
</tr>
</tbody>
</table>
</td>
<td style="width: 388px; height: 30px; text-align: center; vertical-align: top;">
<table style="width: 388px; text-align: left; margin-left: 0px; margin-right: 0px;" border="1">
<tbody>
<tr align="center">
<td style="background-color: black;" colspan="2" rowspan="1">
<span style="color: white;">
<span style="font-weight: bold;">Derived Stats</span>
<br>
</span>
</td>
</tr>
<tr>
<td style="text-align: center; height: 20px;"><span style="font-weight:bold;">HP </span>
<input value="0" name="attr_HP" style="width:60px;" type="number">/
<input disabled="disabled" style="width:60px;" value="((@{Body}*2)+@{Mind}+@{HPMaxB})+20" name="attr_HP_max" type="number">
<br>
<span style="font-size:x-small; font-family:monospace;">Body x2 + Mind + 20</span></td>
<td style="text-align: center; height: 20px;"><span style="font-weight:bold;">Stock </span>
<input value="0" name="attr_Stock" style="width:60px;" type="number">/
<input disabled="disabled" value="(@{Social}*2)+(@{Procure}*2)" name="attr_Stock_max" style="width:60px;" type="number">
<br>
<span style="font-size:x-small; font-family:monospace;">(Social x2) + (Procure x2)</span></td>
</tr>
<tr>
<td style="width: 194px; text-align: center;"><span style="font-weight:bold;">Savings </span>
<input value="0" name="attr_Savings" style="width:60px;" type="number"></td>
<td style="width: 194px; text-align: center; height: 20px;"><span style="font-weight:bold;">Init </span>-
<input value="0" name="attr_Init_Item_Penalty" style="width:60px;" type="number">=
<input disabled="disabled" value="((@{Sense}*2)+@{Mind})-@{Init_Item_Penalty}+@{InitB}" name="attr_Initiative" style="width:60px;" type="number">
<br>
<span style="font-size:x-small; font-family:monospace;">(Sense x2) + Mind - Item</span></td>
</tr>
<tr>
<td style="text-align: center;"><span style="font-weight:bold;">Move </span>
<input disabled="disabled" value="(((@{Sense}*2)+@{Mind})-@{Init_Item_Penalty}+@{InitB}+@{MoveB})+5" name="attr_Move" style="width:60px;" type="number">m
<br>
<span style="font-size:x-small; font-family:monospace;">Initiative + 5</span></td>
<td style="text-align: center;"><span style="font-weight:bold;">Dash </span>
<input disabled="disabled" value="(((@{Sense}*2)+@{Mind})-@{Init_Item_Penalty}+@{InitB}+@{MoveB}+5)*2" name="attr_Dash" style="width:60px;" type="number">m
<br>
<span style="font-size:x-small; font-family:monospace;">Move x2</span></td>
</tr>
<tr>
<td style="text-align: center;">
HP Max Bonus: <input value="0" name="attr_HPMaxB" style="width:60px;" type="number">
</td>
<td style="text-align: center;">
Init Bonus: <input value="0" name="attr_InitB" style="width:60px;" type="number">
</td>
</tr>
<tr>
<td style="text-align: center;">
Move Bonus: <input value="0" name="attr_MoveB" style="width:60px;" type="number">m
</td>
<td style="text-align: center;">
Total Stats: <input value="@{Body}+@{Sense}+@{Mind}+@{Social}" name="attr_TotalStats" style="width:60px;" type="number" disabled="disabled" /><br>
Total Skills: <input value="@{Melee}+@{Dodge}+@{Ranged}+@{Perception}+@{RC}+@{Will}+@{Procure}+@{Negotiation}" name="attr_TotalSkills" style="width:60px;" type="number" disabled="disabled" />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style="width:800px; height: 186px;" border="1">
<tbody>
<tr>
<td style="background-color: black; text-align: center;" colspan="5" rowspan="1">
<span style="color: white; font-weight: bold;">
Lois
</span>
</td>
</tr>
<tr>
<td style="width:158px; background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Relationship
<br></span>
</td>
<td style="width:158px; background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Name
<br></span>
</td>
<td style="width:158px; background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Emotion (Positive)
<br></span>
</td>
<td style="width:158px; background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Emotion (Negative)
<br></span>
</td>
<td style="width:158px; background-color: #cccccc; text-align: center;">
<span style="font-weight: bold;">Titus
<br></span>
</td>
</tr>
<tr>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois1_Relation" style="width:130px;" type="text">
<br>
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois1_Name" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois1_EmP" type="checkbox">
<input name="attr_Lois1_EmPDesc" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois1_EmN" type="checkbox">
<input name="attr_Lois1_EmNDesc" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois1_Titus" type="checkbox">
<input name="attr_Lois1_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td style="background-color: #ccffff;" colspan="10">Notes: <input name="attr_Lois_Notes1" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois2_Relation" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois2_Name" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois2_EmP" type="checkbox">
<input name="attr_Lois2_EmPDesc" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois2_EmN" type="checkbox">
<input name="attr_Lois2_EmNDesc" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois2_Titus" type="checkbox">
<input name="attr_Lois2_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td style="background-color: #ccffff;" colspan="10">Notes: <input name="attr_Lois_Notes2" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois3_Relation" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois3_Name" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois3_EmP" type="checkbox">
<input name="attr_Lois3_EmPDesc" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois3_EmN" type="checkbox">
<input name="attr_Lois3_EmNDesc" style="width:130px;" type="text">
</td>
<td style="background-color: #ccffff; text-align: center;">
<input name="attr_Lois3_Titus" type="checkbox">
<input name="attr_Lois3_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td style="background-color: #ccffff;" colspan="10">Notes: <input name="attr_Lois_Notes3" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="text-align: center;">
<input name="attr_Lois4_Relation" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois4_Name" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois4_EmP" type="checkbox">
<input name="attr_Lois4_EmPDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois4_EmN" type="checkbox">
<input name="attr_Lois4_EmNDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois4_Titus" type="checkbox">
<input name="attr_Lois4_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Lois_Notes4" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="text-align: center;">
<input name="attr_Lois5_Relation" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois5_Name" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois5_EmP" type="checkbox">
<input name="attr_Lois5_EmPDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois5_EmN" type="checkbox">
<input name="attr_Lois5_EmNDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois5_Titus" type="checkbox">
<input name="attr_Lois5_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Lois_Notes5" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="text-align: center;">
<input name="attr_Lois6_Relation" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois6_Name" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois6_EmP" type="checkbox">
<input name="attr_Lois6_EmPDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois6_EmN" type="checkbox">
<input name="attr_Lois6_EmNDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois6_Titus" type="checkbox">
<input name="attr_Lois6_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Lois_Notes6" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="text-align: center;">
<input name="attr_Lois7_Relation" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois7_Name" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois7._EmP" type="checkbox">
<input name="attr_Lois7_EmPDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois7_EmN" type="checkbox">
<input name="attr_Lois7_EmNDesc" style="width:130px;" type="text">
</td>
<td style="text-align: center;">
<input name="attr_Lois7_Titus" type="checkbox">
<input name="attr_Lois7_TitusDesc" style="width:130px;" type="text">
</td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Lois_Notes7" style="width:720px;" type="text"></td>
</tr>
</tbody>
</table>
<table style="width: 800px;" border="1">
<tbody>
<tr>
<td style="background-color: black; text-align: center;" colspan="10">
<strong><span style="color: white;">Powers</span></strong></td>
</tr>
<tr>
<td style="text-align: center; width: 22.6667px; background-color: #cccccc;"><span style="font-weight: bold;">#</span></td>
<td style="text-align: center; width: 109.2px; background-color: #cccccc;"><span style="font-weight: bold;">Power</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Lv</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Timing</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Skill Check</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">DFCLTY</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Target</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Range</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Encroach</span></td>
<td style="width: 72px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Restrict</span></td>
</tr>
<tr>
<td>-</td>
<td>Resurrect</td>
<td><input value="1" style="width:40px;" name="attr_Pwr_LevelR" type="number"></td>
<td style="text-align: center;">Auto</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">Self</td>
<td style="text-align: center;">Close</td>
<td style="text-align: center;">Refer</td>
<td style="text-align: center;">-</td>
</tr>
<tr>
<td colspan="10">Notes: -</td></tr>
<tr>
<td>-</td>
<td>Warding</td>
<td><input value="1" style="width:40px;" name="attr_Pwr_LevelW" type="number"></td>
<td style="text-align: center;">Auto</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">Auto</td>
<td style="text-align: center;">Scene</td>
<td style="text-align: center;">View</td>
<td style="text-align: center;">0</td>
<td style="text-align: center;">&nbsp;</td>
</tr>
<tr>
<td colspan="10">Notes: -</td></tr>
<tr>
<td>1</td>
<td>Concentrate</td>
<td><input value="2" style="width:40px;" name="attr_Pwr_Level1" type="number"></td>
<td style="text-align: center;">Major</td>
<td style="text-align: center;">Syndrome</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;"><br></td>
<td style="text-align: center;">2</td>
<td style="text-align: center;">-</td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes1" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} 2" style="width:30px">+</button></span>
</span>
</td>
</tr>
<tr>
<td>2</td>
<td><input name="attr_Pwr_Name2" style="width:120px;" type="text"></td>
<td><input style="width:40px;" name="attr_Pwr_Level2" type="number"></td>
<td>
<select name="attr_Pwr_Timing2" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td><input name="attr_Pwr_Skill2" style="width:120px;" type="text"><br></td>
<td>
<select name="attr_Pwr_Diff2" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target2" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range2" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;"><input style="width:60px;" value="0" name="attr_Pwr_Enc2" type="number"><br></td>
<td>
<select name="attr_Pwr_Restrict2" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes2" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc2}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>3</td>
<td><input name="attr_Pwr_Name3" style="width:120px;" type="text"></td>
<td><input style="width:40px;" name="attr_Pwr_Level3" type="number"></td>
<td>
<select name="attr_Pwr_Timing3" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td><input name="attr_Pwr_Skill3" style="width:120px;" type="text"><br></td>
<td>
<select name="attr_Pwr_Diff3" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target3" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range3" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;"><input style="width:60px;" value="0" name="attr_Pwr_Enc3" type="number"><br></td>
<td>
<select name="attr_Pwr_Restrict3" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes3" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc3}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>4</td>
<td><input name="attr_Pwr_Name4" style="width:120px;" type="text"></td>
<td><input name="attr_Pwr_Level4" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing4" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td><input name="attr_Pwr_Skill4" style="width:120px;" type="text"><br></td>
<td>
<select name="attr_Pwr_Diff4" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target4" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range4" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;"><input style="width:60px;" value="0" name="attr_Pwr_Enc4" type="number"><br></td>
<td>
<select name="attr_Pwr_Restrict4" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes4" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc4}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>5</td>
<td>
<input name="attr_Pwr_Name5" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level5" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing5" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill5" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff5" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target5" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range5" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc5" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict5" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes5" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc5}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>6</td>
<td>
<input name="attr_Pwr_Name6" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level6" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing6" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill6" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff6" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target6" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range6" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc6" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict6" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes6" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc6}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>7</td>
<td>
<input name="attr_Pwr_Name7" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level7" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing7" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill7" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff7" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target7" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range7" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc7" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict7" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes7" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc7}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>8</td>
<td>
<input name="attr_Pwr_Name8" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level8" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing8" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill8" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff8" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target8" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range8" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc8" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict8" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes8" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc8}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>9</td>
<td>
<input name="attr_Pwr_Name9" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level9" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing9" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill9" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff9" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target9" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range9" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc9" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict9" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes9" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc9}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>10</td>
<td>
<input name="attr_Pwr_Name10" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level10" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing10" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill10" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff10" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target10" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range10" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc10" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict10" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes10" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc10}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>11</td>
<td>
<input name="attr_Pwr_Name11" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level11" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing11" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill11" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff11" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target11" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range11" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc11" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict11" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes11" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc11}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>12</td>
<td>
<input name="attr_Pwr_Name12" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level12" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing12" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill12" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff12" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target12" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range12" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc12" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict12" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes12" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc12}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>13</td>
<td>
<input name="attr_Pwr_Name13" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level13" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing13" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill13" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff13" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target13" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range13" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc13" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict13" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes13" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc13}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>14</td>
<td>
<input name="attr_Pwr_Name14" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level14" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing14" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill14" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff14" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target14" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range14" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc14" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict14" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes14" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc14}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>15</td>
<td>
<input name="attr_Pwr_Name15" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level15" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing15" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill15" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff15" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target15" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range15" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc15" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict15" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes15" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc15}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>16</td>
<td>
<input name="attr_Pwr_Name16" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level16" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing16" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill16" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff16" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target16" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range16" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc16" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict16" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes16" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc16}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>17</td>
<td>
<input name="attr_Pwr_Name17" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level17" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing17" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill17" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff17" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target17" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range17" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc17" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict17" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes17" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc17}" style="width:30px">+</button></span>
</span>
</td></tr>
<tr>
<td>18</td>
<td>
<input name="attr_Pwr_Name18" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level18" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing18" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill18" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff18" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target18" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range18" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc18" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict18" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes18" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc18}" style="width:30px">+</button></span>
</span>
</td></tr>
</tbody></table>
<fieldset class="repeating_powerlist">
<table style="width: 800px;" border="1"><tbody>
<tr>
<td>*</td>
<td>
<input name="attr_Pwr_Name" style="width:120px;" type="text"></td>
<td>
<input name="attr_Pwr_Level" style="width:40px;" type="number"></td>
<td>
<select name="attr_Pwr_Timing" style="width:80px">
<option selected="selected" value=""></option>
<option value="-">-</option>
<option value="Minor">Minor</option>
<option value="Major">Major</option>
<option value="React">React</option>
<option value="Auto">Auto</option>
<option value="Setup">Setup</option>
<option value="Initiative">Init</option>
<option value="Constant">Const</option></select></td>
<td>
<input name="attr_Pwr_Skill" style="width:120px;" type="text"></td>
<td>
<select name="attr_Pwr_Diff" style="width:80px">
<option selected="selected" value=""></option>
<option value="Number">Num*</option>
<option value="Auto">Auto</option>
<option value="-">-</option>
<option value="Opposed">Opp</option></select></td>
<td>
<select name="attr_Pwr_Target" style="width:80px">
<option selected="selected" value=""></option>
<option value="Self">Self</option>
<option value="Single">Sngl</option>
<option value="Number">Num**</option>
<option value="Area">Area</option>
<option value="AreaSelect">Area(S)</option>
<option value="Scene">Scene</option>
<option value="SceneSelect">Scene(S)</option></select></td>
<td>
<select name="attr_Pwr_Range" style="width:80px">
<option selected="selected" value=""></option>
<option value="Close">Close</option>
<option value="Weapon">Weap</option>
<option value="View">View</option></select></td>
<td style="height: 22px;">
<input name="attr_Pwr_Enc" style="width:60px;" value="0" type="number"></td>
<td>
<select name="attr_Pwr_Restrict" style="width:80px">
<option selected="selected" value=""></option>
<option value="80">80%</option>
<option value="100">100%</option>
<option value="120">120%</option>
<option value="Pure">Pure</option>
<option value="Other">Other***</option></select></td>
</tr>
<tr>
<td colspan="10">Notes: <input name="attr_Pwr_Notes18" style="width:710px;" type="text">
<span style="float:right; clear:both;">
<button type="roll" value="!addenc @{character_id} @{Pwr_Enc}" style="width:30px">+</button></span>
</span>
</td></tr>
</tbody></table>
</fieldset>
<table style="width: 800px; height: 186px;" border="1">
<tbody>
<tr>
<td colspan="8" style="background-color: black; text-align: center;"><strong><span style="color: white;">Weapons</span></strong></td>
</tr>
<tr>
<td style="width: 142.283px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Item</span></td>
<td style="width: 89.333px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Type</span></td>
<td style="width: 130.35px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Skill</span></td>
<td style="width: 70.1px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Accuracy</span></td>
<td style="width: 76.917px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Atk. Power</span></td>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Guard</span></td>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">RNG</span></td>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Stock</span></td>
</tr>
<tr>
<td><input name="attr_Weap_Name1" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq1" value="1" /></td>
<td>
<select name="attr_Weap_Type1" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill1" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur1" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power1" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard1" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range1" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock1" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes1" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name2" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq2" value="1" /></td>
<td>
<select name="attr_Weap_Type2" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill2" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur2" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power2" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard2" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range2" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock2" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes2" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name3" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq3" value="1" /></td>
<td>
<select name="attr_Weap_Type3" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill3" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur3" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power3" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard3" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range3" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock3" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes3" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name4" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq4" value="1" /></td>
<td>
<select name="attr_Weap_Type4" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill4" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur4" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power4" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard4" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range4" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock4" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes4" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name5" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq5" value="1" /></td>
<td>
<select name="attr_Weap_Type5" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill5" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur5" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power5" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard5" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range5" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock5" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes5" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name6" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq6" value="1" /></td>
<td>
<select name="attr_Weap_Type6" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill6" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur6" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power6" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard6" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range6" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock6" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes6" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name7" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq7" value="1" /></td>
<td>
<select name="attr_Weap_Type7" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill7" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur7" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power7" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard7" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range7" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock7" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes7" style="width:720px;" type="text"></td>
</tr>
<tr>
<td><input name="attr_Weap_Name8" style="width:120px;" type="text"><input type="checkbox" name="attr_WeapEq8" value="1" /></td>
<td>
<select name="attr_Weap_Type8" style="width:80px">
<option selected="selected" value=""></option>
<option value="Melee">Melee</option>
<option value="Ranged">Ranged</option></select>
</td>
<td><input name="attr_Weap_Skill8" style="width:120px;" type="text"></td>
<td><input value="0" name="attr_Weap_Accur8" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Power8" style="width:80px;" type="number"></td>
<td><input value="0" name="attr_Weap_Guard8" style="width:80px;" type="number"></td>
<td>
<input name="attr_Weap_Range8" style="width:80px;" type="text">
</td>
<td><input value="0" name="attr_Weap_Stock8" style="width:80px;" type="number"></td>
</tr>
<tr>
<td colspan="8">Notes: <input name="attr_Weap_Notes8" style="width:720px;" type="text"></td>
</tr>
<tr>
<td>Total</td>
<td style="background-color: black;"><br></td>
<td style="background-color: black;"><br></td>
<td><input disabled="disabled" value="@{Weap_Accur1}+@{Weap_Accur2}+@{Weap_Accur3}+@{Weap_Accur4}+@{Weap_Accur5}+@{Weap_Accur6}+@{Weap_Accur7}+@{Weap_Accur8}" name="attr_Weap_AccurT" style="width:80px;" type="number"></td>
<td><input disabled="disabled" value="@{Weap_Power1}+@{Weap_Power2}+@{Weap_Power3}+@{Weap_Power4}+@{Weap_Power5}+@{Weap_Power6}+@{Weap_Power7}+@{Weap_Power8}" name="attr_Weap_PowerT" style="width:80px;" type="number"></td>
<td><input disabled="disabled" value="@{Weap_Guard1}+@{Weap_Guard2}+@{Weap_Guard3}+@{Weap_Guard4}+@{Weap_Guard5}+@{Weap_Guard6}+@{Weap_Guard7}+@{Weap_Guard8}" name="attr_Weap_GuardT" style="width:80px;" type="number"></td>
<td style="background-color: black;"><br></td>
<td><input disabled="disabled" value="@{Weap_Stock1}+@{Weap_Stock2}+@{Weap_Stock3}+@{Weap_Stock4}+@{Weap_Stock5}+@{Weap_Stock6}+@{Weap_Stock7}+@{Weap_Stock8}" name="attr_Weap_StockT" style="width:80px;" type="number"></td>
</tr>
</tbody></table>
<table style="width: 800px;" border="1">
<tbody>
<tr>
<td colspan="6" style="background-color: black; text-align: center; height: 26.4px;"><strong><span style="color: white;">Armor</span></strong></td>
</tr>
<tr>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Item</span></td>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Type</span></td>
<td style="text-align: center; background-color: #cccccc; margin-left: 14px;"><strong>Dodge</strong></td>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Initiative</span></td>
<td style="text-align: center; background-color: #cccccc; width: 80.3667px;"><span style="font-weight: bold;">Armor</span></td>
<td style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Stock</span></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name1" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq1" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type1" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge1" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init1" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor1" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock1" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes1" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name2" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq2" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type2" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge2" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init2" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor2" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock2" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes2" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name3" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq3" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type3" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge3" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init3" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor3" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock3" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes3" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name4" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq4" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type4" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge4" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init4" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor4" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock4" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes4" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name5" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq5" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type5" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge5" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init5" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor5" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock5" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes5" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name6" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq6" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type6" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge6" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init6" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor6" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock6" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes6" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name7" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq7" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type7" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge7" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init7" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor7" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock7" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes7" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width: 254px;"><input name="attr_Armor_Name8" style="width:237px;" type="text">
<input type="checkbox" name="attr_Armor_Eq8" value="1" /></td>
<td style="width: 185px;"><input name="attr_Armor_Type8" style="width:183px;" type="text"><br></td>
<td style="width: 80px;"><input name="attr_Armor_Dodge8" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Init8" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Armor8" style="width:78px;" value="0" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_Stock8" style="width:78px;" value="0" type="number"></td></tr>
<tr>
<td colspan="8">Notes: <input name="attr_Armor_Notes8" style="width:720px;" type="text"></td>
</tr>
<tr>
<td>Total</td>
<td style="background-color: black;"><br></td>
<td style="width: 80px;"><input name="attr_Armor_DodgeT" disabled="disabled" value="@{Armor_Dodge1}+@{Armor_Dodge2}+@{Armor_Dodge3}+@{Armor_Dodge4}+@{Armor_Dodge5}+@{Armor_Dodge6}+@{Armor_Dodge7}+@{Armor_Dodge8}" style="width:78px;" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_InitT" disabled="disabled" value="@{Armor_Init1}+@{Armor_Init2}+@{Armor_Init3}+@{Armor_Init4}+@{Armor_Init5}+@{Armor_Init6}+@{Armor_Init7}+@{Armor_Init8}" style="width:78px;" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_ArmorT" disabled="disabled" value="@{Armor_Armor1}+@{Armor_Armor2}+@{Armor_Armor3}+@{Armor_Armor4}+@{Armor_Armor5}+@{Armor_Armor6}+@{Armor_Armor7}+@{Armor_Armor8}" style="width:78px;" type="number"></td>
<td style="width: 80px;"><input name="attr_Armor_StockT" disabled="disabled" value="@{Armor_Stock1}+@{Armor_Stock2}+@{Armor_Stock3}+@{Armor_Stock4}+@{Armor_Stock5}+@{Armor_Stock6}+@{Armor_Stock7}+@{Armor_Stock8}" style="width:78px;" type="number"></td></tr>
</tbody></table>
<table style="width:800px;" border="1">
<tbody>
<tr>
<td colspan="4" style="background-color:black; text-align:center;"><span style="color: white;"><strong>Misc. Items</strong></span></td>
</tr>
<tr>
<td style="text-align: center; background-color: #cccccc;"><strong>Name</strong></td>
<td style="text-align: center; background-color: #cccccc;"><strong>Type</strong></td>
<td style="text-align: center; background-color: #cccccc;"><strong>Skill</strong></td>
<td style="text-align: center; background-color: #cccccc;"><strong>Stock</strong></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name1" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type1" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill1" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock1" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes1" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name2" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type2" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill2" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock2" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes2" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name3" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type3" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill3" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock3" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes3" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name4" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type4" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill4" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock4" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes4" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name5" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type5" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill5" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock5" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes5" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name6" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type6" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill6" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock6" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes6" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name7" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type7" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill7" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock7" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes7" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;"><input style="width:295px;" name="attr_Item_Name8" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Type8" type="text"></td>
<td style="width:200px;"><input style="width:195px;" name="attr_Item_Skill8" type="text"></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_Stock8" type="number" value="0"></td>
</tr>
<tr>
<td colspan="4">Notes: <input name="attr_Item_Notes8" style="width:720px;" type="text"></td>
</tr>
<tr>
<td style="width:300px;">Total</td>
<td style="width: 200px; background-color: black;"><br></td>
<td style="width: 200px; background-color: black;"><br></td>
<td style="width:100px;"><input style="width:95px;" name="attr_Item_StockT" value="@{Item_Stock1}+@{Item_Stock2}+@{Item_Stock3}+@{Item_Stock4}+@{Item_Stock5}+@{Item_Stock6}+@{Item_Stock7}+@{Item_Stock8}" disabled="disabled" type="number"></td>
</tr>
</tbody></table>
<table style="width: 800px;" border="1">
<tbody>
<tr>
<td colspan="8" style="background-color: black; text-align: center; height: 26.4px;"><strong><span style="color: white;">Combos</span></strong></td>
</tr>
<tr>
<td colspan="8" style="text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Name</span></td>
</tr>
<tr>
<td style="width: 100px; text-align: center; background-color: #cccccc;" colspan="1" rowspan="2"><span style="font-weight: bold;">&lt;100%</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc; height: 20px;"><span style="font-weight: bold;">Combo</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Timing</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Skill</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">DFCLTY</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;">Target</td>
<td style="width: 100px; text-align: center; background-color: #cccccc;">RNG</td>
<td style="width: 100px; text-align: center; background-color: #cccccc;">Encroach</td>
</tr>
<tr>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;"><span style="font-size:x-small;">Dice (Enc Bonus)</span></span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Crit</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Power</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;" colspan="4"><span style="font-weight: bold;">Notes</span></td>
</tr>
<tr>
<td style="width: 100px; text-align: center; background-color: #cccccc;" colspan="1" rowspan="2"><span style="font-weight: bold;">&gt;=100%</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Combo</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Timing</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Skill</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">DFCLTY</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;">Target</td>
<td style="width: 100px; text-align: center; background-color: #cccccc;">RNG</td>
<td style="width: 100px; text-align: center; background-color: #cccccc;">Encroach</td>
</tr>
<tr>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;"><span style="font-size:x-small;">Dice (Enc Bonus)</span></span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Crit</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;"><span style="font-weight: bold;">Power</span></td>
<td style="width: 100px; text-align: center; background-color: #cccccc;" colspan="4"><span style="font-weight: bold;">Notes</span></td>
</tr>
</tbody>
</table>
<!-- Repeating Section -->
<fieldset class="repeating_combos">
<table style="width: 800px;" border="1">
<tbody>
<tr>
<td colspan="8" style="text-align:center;"><input style="width:795px;" name="attr_Combo_Name" type="text"></td>
</tr>
<tr>
<td style="width: 100px; text-align:center;" colspan="1" rowspan="2">&lt;100%<br><button type="roll" value="!addenc @{character_id} @{Combo_LT_Encr}" style="width:30px">+</button></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Combo" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Timing" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Skill" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_DFCLTY" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Target" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Range" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Encr" type="text"></td>
</tr>
<tr>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Bonus" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Crit" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_LT_Power" type="text"></td>
<td style="width: 400px; text-align:center;" colspan="4"><input style="width:398px;" name="attr_Combo_LT_Notes" type="text"></td>
</tr>
<tr>
<td style="width: 100px; text-align:center;" colspan="1" rowspan="2">&gt;=100%<br><button type="roll" value="!addenc @{character_id} @{Combo_GT_Encr}" style="width:30px">+</button></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_Combo" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_Timing" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_Skill" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_DFCLTY" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_Target" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_Range" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_Combo_GT_Encr" type="text"></td>
</tr>
<tr>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_GT_Combo_Bonus" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_GT_Combo_Crit" type="text"></td>
<td style="width: 100px; text-align:center;"><input style="width:98px;" name="attr_GT_Combo_Power" type="text"></td>
<td style="width: 400px; text-align:center;" colspan="4"><input style="width:398px;" name="attr_Combo_GT_Notes" type="text"></td>
</tr>
</tbody></table>
</fieldset>
//Optional API script if you enable the Stat Roller section in the character sheet HTML (line 445).
on("chat:message", function(msg) {
if(msg.type == "api" && msg.content.indexOf("!playerID") !== -1) {
log("Speaker: "+ msg.who + " ID: "+ msg.playerid);
}
// Rolls a stat/skill.
if(msg.type == "api" && msg.content.indexOf("!rollskill ") !== -1) {
var GM_IDs= [""]; //Use !playerID, check the API log and put your player ID into this [""] to make Secret rolls from you only show up to you.
var bIsGM = false;
var sCheck = "";
for (w=0;w<GM_IDs.length;w++)
{
sCheck = GM_IDs[w];
if (msg.playerid==sCheck)
{
bIsGM = true;
} else {
bIsGM = false;
}
}
var parts = msg.content.split(' ');
// log("Parts:"+parts[1]+","+parts[2]+","+parts[3]+","+parts[4]+","+parts[5]);
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var sBase_Stat = parts[2];
var sSkill = parts[3];
var iStat = 0;
var iSkill = 0;
var iBonus = parseInt(parts[4]);
var iSBonus = parseInt(parts[6]);
var iCrit = parseInt(parts[5]);
var bToGM = parseInt(parts[7]);
var bAccRoll = parseInt(parts[8]);
var oCrit = findObjs({name: "rCrit",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
switch(sBase_Stat)
{
case '{Body}':
iStat = getAttrByName(character.id, "Body");
//log("Base Stat: Body ("+iStat+")");
break;
case '{Sense}':
iStat = getAttrByName(character.id, "Sense");
//log("Base Stat: Sense ("+iStat+")");
break;
case '{Mind}':
iStat = getAttrByName(character.id, "Mind");
//log("Base Stat: Mind ("+iStat+")");
break;
case '{Social}':
iStat = getAttrByName(character.id, "Social");
//log("Base Stat: Social ("+iStat+")");
break;
default:
log("Invalid Stat.");
break;
}
switch (sSkill)
{
case '-':
iSkill = parseInt(0);
break;
case '{Melee}':
iSkill = getAttrByName(character.id, "Melee");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Dodge}':
iSkill = getAttrByName(character.id, "Dodge");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Ride1}':
iSkill = getAttrByName(character.id, "Ride1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Ride2}':
iSkill = getAttrByName(character.id, "Ride2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{BSkill1}':
iSkill = getAttrByName(character.id, "BSkill1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{BSkill2}':
iSkill = getAttrByName(character.id, "BSkill2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{BSkill3}':
iSkill = getAttrByName(character.id, "BSkill3");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{BSkill4}':
iSkill = getAttrByName(character.id, "BSkill4");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Ranged}':
iSkill = getAttrByName(character.id, "Ranged");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Perception}':
iSkill = getAttrByName(character.id, "Perception");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Art1}':
iSkill = getAttrByName(character.id, "Art1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Art2}':
iSkill = getAttrByName(character.id, "Art2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SnSkill1}':
iSkill = getAttrByName(character.id, "SnSkill");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SnSkill2}':
iSkill = getAttrByName(character.id, "SnSkill2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SnSkill3}':
iSkill = getAttrByName(character.id, "SnSkill3");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SnSkill4}':
iSkill = getAttrByName(character.id, "SnSkill4");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{RC}':
iSkill = getAttrByName(character.id, "RC");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Will}':
iSkill = getAttrByName(character.id, "Will");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Knwl1}':
iSkill = getAttrByName(character.id, "Knwl1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Knwl2}':
iSkill = getAttrByName(character.id, "Knwl2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{MSkill1}':
iSkill = getAttrByName(character.id, "MSkill1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{MSkill2}':
iSkill = getAttrByName(character.id, "MSkill2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{MSkill3}':
iSkill = getAttrByName(character.id, "MSkill3");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{MSkill4}':
iSkill = getAttrByName(character.id, "MSkill4");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Negotiation}':
iSkill = getAttrByName(character.id, "Negotiation");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Procure}':
iSkill = getAttrByName(character.id, "Procure");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Info1}':
iSkill = getAttrByName(character.id, "Info1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{Info2}':
iSkill = getAttrByName(character.id, "Info2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SlSkill1}':
iSkill = getAttrByName(character.id, "SlSkill1");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SlSkill2}':
iSkill = getAttrByName(character.id, "SlSkill2");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SlSkill3}':
iSkill = getAttrByName(character.id, "SlSkill3");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
case '{SlSkill4}':
iSkill = getAttrByName(character.id, "SlSkill4");
//log("Skill: "+sSkill+" ("+iSkill+")");
break;
default:
log("Invalid Skill.");
break;
}
var iDice = parseInt(iStat)+parseInt(iBonus);
var iRolls = [];
var iRollsBase = [];
var iCurrRoll = 0;
var bCrit = false;
var iCurrIndex = 0;
var iNumCrits = 0;
var iLoop;
if (iDice > 0) {
// log("Reached loop.")
for (iLoop=0; iLoop < iDice; iLoop++) {
iCurrRoll = 0;
iNumCrits = 0;
iCurrRoll = randomInteger(10);
//log("Roll: Dice "+(iLoop+1)+": "+iCurrRoll);
if (iCurrRoll >= iCrit) {
bCrit = true;
while (bCrit==true) {
bCrit==false;
iNumCrits++;
//log ("Crit! ("+iNumCrits+")");
iCurrRoll = randomInteger(10);
//log("Roll: Dice "+(iLoop+1)+" Crit ["+iNumCrits+"]: "+iCurrRoll);
if (iCurrRoll >= iCrit) {
bCrit = true;
} else {
bCrit = false;
}
}
}
if (bAccRoll==true) {
var iAccuracy = getAttrByName(character.id, "WeapACC");
}
if (iCurrRoll == 1 && iNumCrits == 0)
{
//log("Rolled a 1. Skill is irrelevant.");
iRollsBase[iRolls.length] = 1;
iRolls[iRolls.length] = 1;
iCurrIndex = iRolls.length;
//log("iRolls["+iCurrIndex+"]: "+iRolls[iCurrIndex-1]);
} else {
iRollsBase[iRolls.length] = (iNumCrits*10)+iCurrRoll;
iRolls[iRolls.length] = (iNumCrits*10)+iCurrRoll+parseInt(iSkill)+parseInt(iSBonus);
if (bAccRoll==true) {
iRolls[iCurrIndex] += parseInt(iAccuracy);
}
iCurrIndex = iRolls.length;
//log("Roll "+iRolls.length+" Result: Crits: "+iNumCrits+" | Skill: "+parseInt(iSkill)+" | Bonus: "+parseInt(iSBonus)+" | Total: "+ iRolls[iRolls.length-1]);
//log("iRolls["+iCurrIndex+"]: "+iRolls[iCurrIndex-1]);
}
}
iRolls.sort(function(a, b){return b-a});
iRollsBase.sort(function(a, b){return b-a});
var index;
sBase_Stat = sBase_Stat.replace("{","");
sBase_Stat = sBase_Stat.replace("}","");
sSkill = sSkill.replace("{","");
sSkill = sSkill.replace("}","");
if (sSkill == '-') {
if (bAccRoll==true) {
var sMsg = "Rolling " + sBase_Stat + " - (" + iStat + "+"+ iBonus + "=)" + (parseInt(iStat)+parseInt(iBonus)) +"d10" + " +" + iSBonus + " + " + iAccuracy + " vs " + iCrit + " crit";
} else {
var sMsg = "Rolling " + sBase_Stat + " - (" + iStat + "+"+ iBonus + "=)" + (parseInt(iStat)+parseInt(iBonus)) +"d10" + " +" + iSBonus + " vs " + iCrit + " crit";
}
} else {
if (bAccRoll==true) {
var sMsg = "Rolling " + sSkill + " (" + sBase_Stat + ") - (" + iStat + "+" + iBonus + "=)" + (parseInt(iStat)+parseInt(iBonus)) +"d10 +" + iSkill + " +" + iSBonus + " + " + iAccuracy + " vs " + iCrit + " crit";
} else {
var sMsg = "Rolling " + sSkill + " (" + sBase_Stat + ") - (" + iStat + "+" + iBonus + "=)" + (parseInt(iStat)+parseInt(iBonus)) +"d10 +" + iSkill + " +" + iSBonus + " vs " + iCrit + " crit";
}
}
//log(sMsg);
if (bToGM==false)
{
sendChat(msg.who, sMsg);
} else {
if (bIsGM==false) {
sendChat(msg.who, sMsg+ " (Secret)");
} else {
sendChat(msg.who, "/w gm "+sMsg+ " (Secret)");
}
}
//log("Result: )
sMsg = "Roll Result: <span style='font-size:18px; background-color:#FEF68E;'><strong> " + iRolls[0] + " </strong></span> (Rolls: ";
for (index = 0; index < iRolls.length; ++index) {
//log(iRolls[index] + ", " + iRollsBase[index]);
sMsg += "<b>"+iRolls[index] + "</b>("+iRollsBase[index]+") ";
}
sMsg=sMsg.trim();
sMsg += ")";
} else {
if (sSkill == '-') {
sMsg = "No dice to roll for "+ sBase_Stat +"! <strong>Check fails!</strong> (# of dice to roll: "+iDice+")";
} else {
sMsg = "No dice to roll for "+ sSkill +" ("+ sBase_Stat +")! <strong>Check fails!</strong> (# of dice to roll: "+iDice+")";
}
}
if (bAccRoll==true) {
try{
var orTens = findObjs({name: "rTens",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
orTens.set('current',parseInt(iRolls[0]/10));
} catch(err) {
//log("ERROR: Tens value undefined. Please ask users to edit this value.");
sendChat("Error", "/w "+msg.who+": Please adjust the Tens Digit value on your caracter sheet. (Set it to 1, then back to 0)");
}
}
// log(sMsg);
if (bToGM==false)
{
sendChat(msg.who, sMsg);
} else {
//sMsg = sMsg.replace(" ","");
sendChat(msg.who, "/w gm " + sMsg);
}
try {
oCrit.set('current',parseInt(10));
} catch(err) {
//log("ERROR: Crit value undefined. Please ask users to edit this value.");
sendChat("Error", "/w "+msg.who+": Please adjust the Crit rate value on your caracter sheet. (Lower it by one, then put it back to 10)");
}
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
// Increases Encroach and informs player of dice bonus, if any.
if(msg.type == "api" && msg.content.indexOf("!encroach ") !== -1) {
var parts = msg.content.split(' ');
// Format: !encroach @{character_id} @{rEncr}
var sChar_ID = parts[1];
var iEncr = parts[2];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var iCurrEncr = findObjs({name: "Encroach",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
var sMsg = "Encroach changes! "+parseInt(iCurrEncr.get('current'))+ " +" +parseInt(iEncr)+ " -> ";
iCurrEncr.set('current', parseInt(iCurrEncr.get('current'))+parseInt(iEncr));
sMsg += parseInt(iCurrEncr.get('current')) + "! ";
try {
switch(true) {
case (iCurrEncr.get('current')<60):
sMsg += "Dice rolls normal.";
break;
case (iCurrEncr.get('current')<80):
sMsg += "+1 Bonus dice to all rolls!";
break;
case (iCurrEncr.get('current')<100):
sMsg += "+2 Bonus dice to all rolls!";
break;
case (iCurrEncr.get('current')<130):
sMsg += "+3 Bonus dice to all rolls and Power Levels +1!";
break;
case (iCurrEncr.get('current')<160):
sMsg += "+4 Bonus dice to all rolls and Power Levels +1!";
break;
case (iCurrEncr.get('current')<200):
sMsg += "+5 Bonus dice to all rolls and Power Levels +2!";
break;
case (iCurrEncr.get('current')<240):
sMsg += "+6 Bonus dice to all rolls and Power Levels +2!";
break;
case (iCurrEncr.get('current')<300):
sMsg += "+7 Bonus dice to all rolls and Power Levels +2!";
break;
case (iCurrEncr.get('current')>=300):
sMsg += "+8 Bonus dice to all rolls and Power Levels +2!";
break;
default:
//log("Invalid Encroach value.");
break;
}
//log(sMsg);
//log(getAttrByName(character.id, "rEncLevel"));
sendChat(msg.who, sMsg);
} catch(err) {
sendChat("Error", "/w "+msg.who+": Please enter something in the big textbox in the Encroach roller, then click Reset, then click the Encroachment roll button.");
}
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
// Rolls for Ressurect
if(msg.type == "api" && msg.content.indexOf("!resurrect ") !== -1) {
var parts = msg.content.split(' ');
// Format: !resurrect @{character_id} @{Pwr_LevelR}
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var iResPwr = parseInt(parts[2]);
var iCurrHP = findObjs({name: "HP",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
var iCurrEncr = findObjs({name: "Encroach",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
var iMaxHP = getAttrByName(character.id, "HP", "max");
var iRecover = iResPwr*randomInteger(10);
iCurrHP.set('current', parseInt(0) + parseInt(iRecover));
if (iCurrHP.get('current') > iMaxHP) {
iCurrHP.set('current', parseInt(iMaxHP));
}
iCurrEncr.set('current', parseInt(iCurrEncr.get('current'))+ parseInt(iRecover));
sMsg = "Resurrected! Regained " + iRecover + " HP... but also gained " + iRecover + " Encroach (now ";
sMsg += parseInt(iCurrEncr.get('current')) + ")! ";
try {
switch(true) {
case (iCurrEncr.get('current')<60):
sMsg += "Dice rolls normal.";
break;
case (iCurrEncr.get('current')<80):
sMsg += "+1 Bonus dice to all rolls!";
break;
case (iCurrEncr.get('current')<100):
sMsg += "+2 Bonus dice to all rolls!";
break;
case (iCurrEncr.get('current')<130):
sMsg += "+3 Bonus dice to all rolls and Power Levels +1!";
break;
case (iCurrEncr.get('current')<160):
sMsg += "+4 Bonus dice to all rolls and Power Levels +1!";
break;
case (iCurrEncr.get('current')<200):
sMsg += "+5 Bonus dice to all rolls and Power Levels +2!";
break;
case (iCurrEncr.get('current')<240):
sMsg += "+6 Bonus dice to all rolls and Power Levels +2!";
break;
case (iCurrEncr.get('current')<300):
sMsg += "+7 Bonus dice to all rolls and Power Levels +2!";
break;
case (iCurrEncr.get('current')>=300):
sMsg += "+8 Bonus dice to all rolls and Power Levels +2!";
break;
default:
//log("Invalid Encroach value.");
break;
}
//log(sMsg);
//log(getAttrByName(character.id, "rEncLevel"));
sendChat(msg.who, sMsg);
} catch(err) {
sendChat("Error", "/w "+msg.who+": Please enter something in the big textbox in the Encroach roller, then click Reset, then click the Encroachment roll button.");
}
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
if(msg.type == "api" && msg.content.indexOf("!rollatk ") !== -1) {
var parts = msg.content.split(' ');
// Format: !rollatk @{character_id} @{rTens}
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var iTens = parts[2];
var iDice = parseInt(iTens)+parseInt(1);
var iPower = [getAttrByName(character.id, "Weap_Power1"),
getAttrByName(character.id, "Weap_Power2"),
getAttrByName(character.id, "Weap_Power3"),
getAttrByName(character.id, "Weap_Power4"),
getAttrByName(character.id, "Weap_Power5"),
getAttrByName(character.id, "Weap_Power6"),
getAttrByName(character.id, "Weap_Power7"),
getAttrByName(character.id, "Weap_Power8")];
var iEquip = [getAttrByName(character.id, "WeapEq1"),
getAttrByName(character.id, "WeapEq2"),
getAttrByName(character.id, "WeapEq3"),
getAttrByName(character.id, "WeapEq4"),
getAttrByName(character.id, "WeapEq5"),
getAttrByName(character.id, "WeapEq6"),
getAttrByName(character.id, "WeapEq7"),
getAttrByName(character.id, "WeapEq8")];
var iTotalPwr = 0;
sMsg = "Rolling Attack Power: " + iDice + "d10 + ";
for (i=0;i<8;i++) {
if (iEquip[i] == true) {
iTotalPwr += parseInt(iPower[i]);
}
}
sMsg += iTotalPwr + ": ";
var iRolls = [];
var iCurrRoll = 0;
var iCurrIndex = 0;
var iNumCrits = 0;
var iLoop;
var index;
var iScore = 0;
for (iLoop=0; iLoop < iDice; iLoop++) {
iCurrRoll = 0;
iCurrRoll = parseInt(randomInteger(10));
iRolls[iRolls.length] = parseInt(iCurrRoll);
iCurrIndex = iRolls.length;
}
for (index = 0; index < iRolls.length; ++index) {
sMsg += parseInt(iRolls[index]) + " ";
iScore += parseInt(iRolls[index]);
}
iScore += parseInt(iTotalPwr);
sMsg += "= " + iScore + " damage!";
sendChat(msg.who,sMsg);
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
if(msg.type == "api" && msg.content.indexOf("!rolldef ") !== -1) {
var parts = msg.content.split(' ');
// Format: !rollatk @{character_id} @{rGuard} @{rGuardBonus}
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var bGuard = parts[2];
var iDamage = parts[3];
var iBonus = parts[4];
var iGTotal = 0, iATotal = 0;
var iGuard = [getAttrByName(character.id, "Weap_Guard1"),
getAttrByName(character.id, "Weap_Guard2"),
getAttrByName(character.id, "Weap_Guard3"),
getAttrByName(character.id, "Weap_Guard4"),
getAttrByName(character.id, "Weap_Guard5"),
getAttrByName(character.id, "Weap_Guard6"),
getAttrByName(character.id, "Weap_Guard7"),
getAttrByName(character.id, "Weap_Guard8")];
var iArmor = [getAttrByName(character.id, "Armor_Armor1"),
getAttrByName(character.id, "Armor_Armor2"),
getAttrByName(character.id, "Armor_Armor3"),
getAttrByName(character.id, "Armor_Armor4"),
getAttrByName(character.id, "Armor_Armor5"),
getAttrByName(character.id, "Armor_Armor6"),
getAttrByName(character.id, "Armor_Armor7"),
getAttrByName(character.id, "Armor_Armor8")];
var iWEquip = [getAttrByName(character.id, "WeapEq1"),
getAttrByName(character.id, "WeapEq2"),
getAttrByName(character.id, "WeapEq3"),
getAttrByName(character.id, "WeapEq4"),
getAttrByName(character.id, "WeapEq5"),
getAttrByName(character.id, "WeapEq6"),
getAttrByName(character.id, "WeapEq7"),
getAttrByName(character.id, "WeapEq8")];
var iAEquip = [getAttrByName(character.id, "Armor_Eq1"),
getAttrByName(character.id, "Armor_Eq2"),
getAttrByName(character.id, "Armor_Eq3"),
getAttrByName(character.id, "Armor_Eq4"),
getAttrByName(character.id, "Armor_Eq5"),
getAttrByName(character.id, "Armor_Eq6"),
getAttrByName(character.id, "Armor_Eq7"),
getAttrByName(character.id, "Armor_Eq8")];
var sMsg = "Defending ";
if (bGuard == true) {
sMsg += "(with Guard):"
} else {
sMsg = "Defending: ";
}
for (i=0;i<8;i++) {
if (iWEquip[i] == true && bGuard == true) {
iGTotal += parseInt(iGuard[i]);
sMsg += "G("+iGuard[i]+") ";
}
if (iAEquip[i] == true) {
iATotal += parseInt(iArmor[i]);
sMsg += "A("+iArmor[i]+") ";
}
}
if (bGuard==true) {
iDamage -= parseInt(iGTotal);
}
iDamage -= parseInt(iATotal);
iDamage -= parseInt(iBonus);
sMsg += " - "+ iBonus +" = ";
sMsg += iDamage + " damage.";
sendChat(msg.who,sMsg);
if (iDamage < 1) {
sMsg = "You take no damage.";
sendChat(msg.who,sMsg);
}
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
if(msg.type == "api" && msg.content.indexOf("!backtrack ") !== -1) {
var parts = msg.content.split(' ');
// Format: !backtrack @{character_id} @{rLois} @{rDoubleUp} @{rReroll}
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var iCurrEncr = findObjs({name: "Encroach",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
var iNumLois = parts[2];
var bDoubleUp = parts[3];
var bReroll = parts[4];
var iBTVal = 0;
var sMsg = "";
if (parseInt(bReroll)==false) {
if (iNumLois > 1) {
sMsg = "You cling on to your humanity using your "+iNumLois+" Loises...";
} else {
sMsg = "You cling on to your humanity using your "+iNumLois+" Lois...";
}
} else {
if (iNumLois > 1) {
sMsg = "You attempt again to cling on to your humanity using your "+iNumLois+" Loises...";
} else {
sMsg = "You attempt again to cling on to your humanity using your "+iNumLois+" Lois...";
}
}
sendChat(msg.who,sMsg);
var iRoll = 0;
if(parseInt(bDoubleUp)==true) {
sMsg = "Roll Results ("+parseInt(iNumLois*2)+"): ";
for (i=0;i<(parseInt(iNumLois)*2);i++) {
iRoll = randomInteger(10);
iBTVal += iRoll;
sMsg += parseInt(iRoll) + " ";
}
} else {
sMsg = "Roll Results ("+parseInt(iNumLois)+"): ";
for (i=0;i<(parseInt(iNumLois));i++) {
iRoll = randomInteger(10);
iBTVal += iRoll;
sMsg += parseInt(iRoll) + " ";
}
}
sMsg += "= " + parseInt(iBTVal);
sendChat(msg.who,sMsg);
sMsg = "";
iCurrEncr.set('current', parseInt(iCurrEncr.get('current'))-parseInt(iBTVal));
if (parseInt(bReroll)==false) {
if (iCurrEncr.get('current')<100) {
sMsg = "Your Encroach rate is " + iCurrEncr.get('current') + "%. You retain your humanity.";
} else {
sMsg = "Your Encroach rate is " + iCurrEncr.get('current') + "%. You feel your humanity slipping away...";
}
} else {
if (iCurrEncr.get('current')<100) {
sMsg = "Your Encroach rate is " + iCurrEncr.get('current') + "%. You retain your humanity.";
} else {
sMsg = "Your Encroach rate is " + iCurrEncr.get('current') + "%. Your humanity has been lost and you become a Gjaum.";
}
}
sendChat(msg.who,sMsg);
//log(getAttrByName(character.id, "rEncLevel"));
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
if(msg.type == "api" && msg.content.indexOf("!fixbars ") !== -1) {
//Syntax: !fixbars @{selected|token_id} @{Body} @{Mind} @{HPMaxB}
var parts = msg.content.split(' ');
var sSelected = parts[1];
var iBody = parseInt(parts[2]);
var iMind = parseInt(parts[3]);
var iHPBonus = parseInt(parts[4]);
var iHPMax = parseInt((iBody*2)+iMind+iHPBonus+20);
if (sSelected != "") {
var obj = getObj("graphic", sSelected);
obj.set("bar1_max", iHPMax);
obj.set("bar3_max", 100);
} else {
sendChat("Error", "/w "+msg.who+": You need to select your token first.");
}
}
if(msg.type == "api" && msg.content.indexOf("!addenc ") !== -1) {
var parts = msg.content.split(' ');
//Syntax: !addenc @{character_id} [Amount]
//Encroachment text box value: rEncr
var sChar_ID = parts[1];
var iEnc_Amt = parts[2];
if (iEnc_Amt == "") {
iEnc_Amt = 0;
} else {
iEnc_Amt == parseInt(iEnc_Amt);
}
var character = getObj("character", sChar_ID);
if (character != undefined) {
var iEncRoller = findObjs({name: "rEncr",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
var iEncCalc = 0;
if (iEnc_Amt == -1) {
iEncRoller.set('current',0);
} else {
iEncCalc = parseInt(iEncRoller.get('current'));
iEncCalc += parseInt(iEnc_Amt);
iEncRoller.set('current',iEncCalc);
}
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
if(msg.type == "api" && msg.content.indexOf("!baseenc ") !== -1) {
// Format: !baseenc @{character_id}
var parts = msg.content.split(' ');
// log("Parts:"+parts[1]+","+parts[2]+","+parts[3]+","+parts[4]+","+parts[5]);
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
var iCurrEncr = findObjs({name: "Encroach",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
var Base_Enc = parseInt(getAttrByName(character.id, "Awakening_Enc"))+parseInt(getAttrByName(character.id, "Impulse_Enc"))+parseInt(getAttrByName(character.id, "Constant_Enc"));
iCurrEncr.set('current',Base_Enc);
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
if(msg.type == "api" && msg.content.indexOf("!accuracy ") !== -1) {
var parts = msg.content.split(' ');
var sChar_ID = parts[1];
var character = getObj("character", sChar_ID);
if (character != undefined) {
// Weap_Accur1
var iAccuracy = [getAttrByName(character.id, "Weap_Accur1"),
getAttrByName(character.id, "Weap_Accur2"),
getAttrByName(character.id, "Weap_Accur3"),
getAttrByName(character.id, "Weap_Accur4"),
getAttrByName(character.id, "Weap_Accur5"),
getAttrByName(character.id, "Weap_Accur6"),
getAttrByName(character.id, "Weap_Accur7"),
getAttrByName(character.id, "Weap_Accur8")];
var iEquip = [getAttrByName(character.id, "WeapEq1"),
getAttrByName(character.id, "WeapEq2"),
getAttrByName(character.id, "WeapEq3"),
getAttrByName(character.id, "WeapEq4"),
getAttrByName(character.id, "WeapEq5"),
getAttrByName(character.id, "WeapEq6"),
getAttrByName(character.id, "WeapEq7"),
getAttrByName(character.id, "WeapEq8")];
var iTotalAcc = 0;
for (i=0;i<8;i++) {
if (iEquip[i] == true) {
iTotalAcc += parseInt(iAccuracy[i]);
}
}
try{
var orAcc = findObjs({name: "WeapACC",_type: "attribute",_characterid: character.id}, {caseInsensitive: true})[0];
orAcc.set('current',parseInt(iTotalAcc));
} catch(err) {
//log("ERROR: Tens value undefined. Please ask users to edit this value.");
sendChat("Error", "/w "+msg.who+": Please adjust the Accuracy value on your caracter sheet. (Set it to 1, then back to 0)");
}
} else {
sendChat("Error", "/w "+msg.who+": Invalid character. Please use these commands from the character sheet!");
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment