Files
roll20-character-sheets-tester/Call_of_Cthulhu_7th_Ed/coc_7th_ed.html
T
Alex Hart 04c1d66f61 Added some old roll templates back
Added the previous roll templates back, future change is to add 2nd roll
button to use the smaller roll templates for people only wanting to see
a single roll and result.
2017-05-02 23:59:55 +02:00

3679 lines
194 KiB
HTML

<div class='sheet-2colrow'>
<div class='sheet-col'>
<h4 class="section-head" data-i18n="investigatorinfo-u">Investigator Info</h4>
<div class="section">
<table style="width:100%">
<tr>
<td data-i18n="name-u">Name </td>
<td colspan="3"><input type="text" name="attr_name" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="player-u">Player </td>
<td colspan="3"><input type="text" name="attr_player" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="occupation-u">Occupation </td>
<td colspan="3"><input type="text" name="attr_occupation" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="age-u">Age </td>
<td><input type="text" name="attr_age" style="width:100%"></td>
<td data-i18n="sex-u">Sex </td>
<td><input type="text" name="attr_sex" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="residence-u">Residence </td>
<td colspan="3"><input type="text" name="attr_residence" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="birthplace-u">Birthplace </td>
<td colspan="3"><input type="text" name="attr_birthplace" style="width:100%"></td>
</tr>
</table>
</div>
</div>
<div class='sheet-col'>
<h4 class="section-head" data-i18n="characteristics-u">Characteristics</h4>
<div class="section">
<table style="width:100%">
<tr>
<td class="attr-label" ><strong data-i18n="STR-u">STR</strong></td>
<td><input class="attr-input" type="text" name="attr_str" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=STR Roll}} {{success=[[@{str}]]}} {{hard=[[floor(@{str}/2)]]}} {{extreme=[[floor(@{str}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_str_check' /></td>
<td> </td>
<td class="attr-label" ><strong data-i18n="DEX-u">DEX</strong></td>
<td><input class="attr-input" type="text" name="attr_dex" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=DEX Roll}} {{success=[[@{dex}]]}} {{hard=[[floor(@{dex}/2)]]}} {{extreme=[[floor(@{dex}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_dex_check' /></td>
<td> </td>
<td class="attr-label"><strong data-i18n="POW-u">POW</strong></td>
<td><input class="attr-input" type="text" name="attr_pow" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=POW Roll}} {{success=[[@{pow}]]}} {{hard=[[floor(@{pow}/2)]]}} {{extreme=[[floor(@{pow}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_pow_check' /></td>
</tr>
<tr>
<td class="attr-label" ><strong data-i18n="CON-u">CON</strong></td>
<td><input class="attr-input" type="text" name="attr_con" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=CON Roll}} {{success=[[@{con}]]}} {{hard=[[floor(@{con}/2)]]}} {{extreme=[[floor(@{con}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_con_check' /></td>
<td> </td>
<td class="attr-label"><strong data-i18n="APP-u">APP</strong></td>
<td><input class="attr-input" type="text" name="attr_app" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=APP Roll}} {{success=[[@{app}]]}} {{hard=[[floor(@{app}/2)]]}} {{extreme=[[floor(@{app}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_app_check' /></td>
<td> </td>
<td class="attr-label"><strong data-i18n="EDU-u">EDU</strong></td>
<td><input class="attr-input" type="text" name="attr_edu" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=EDU Roll}} {{success=[[@{edu}]]}} {{hard=[[floor(@{edu}/2)]]}} {{extreme=[[floor(@{edu}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_edu_check' /></td>
</tr>
<tr>
<td class="attr-label" ><strong data-i18n="SIZ-u">SIZ</strong></td>
<td><input class="attr-input" type="text" name="attr_siz" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=SIZ Roll}} {{success=[[@{siz}]]}} {{hard=[[floor(@{siz}/2)]]}} {{extreme=[[floor(@{siz}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_siz_check' /></td>
<td> </td>
<td class="attr-label"><strong data-i18n="INT-u">INT</strong></td>
<td><input class="attr-input" type="text" name="attr_int" value="50"/></td>
<td class="attr-roll" ><button type='roll' value='&{template:coc} {{name=INT Roll}} {{success=[[@{int}]]}} {{hard=[[floor(@{int}/2)]]}} {{extreme=[[floor(@{int}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_int_check' /></td>
<td> </td>
<td class="attr-label"><strong data-i18n="Move rate-u">Move rate</strong></td>
<td><input class="attr-input" type="text" name="attr_mov"/></td>
<td class="attr-roll" ></td>
</tr>
</table>
</div>
</div>
</div>
<div class='sheet-3colrow'>
<div class="sheet-col">
<h4 class="section-head" data-i18n="HP-u">Hit Points</h4>
<div class="section">
<table style="width:100%">
<tr>
<td>
<input class="secondary-attr-input" placeholder="current" type="text" min="0" name="attr_hp">
</td>
<td style="text-align: center">/</td>
<td>
<input class="secondary-attr-input" placeholder="max" type="number" min="0" name="attr_hp_max" value="floor((@{con}+@{siz})/(10-@{pulp_hp}))" disabled="true">
</td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" value="1" name="attr_major_wound" data-i18n="majorwound-u"> Major Wound
</td>
<td colspan="2">
<input type="checkbox" value="5" name="attr_pulp_hp" data-i18n="pulphp-u"> Pulp HP
</td>
</tr>
</table>
</div>
<h4 class="section-head" data-i18n="luck-u">Luck</h4>
<div class="section">
<table style="width:100%">
<tr>
<td style="width:100%">
<input class="secondary-attr-input" placeholder="current" type="text" min="0" max="100" name="attr_luck">
</td>
<td>
<button type='roll' value='&{template:coc} {{name=Luck Roll}} {{success=[[@{luck}]]}} {{hard=[[floor(@{luck}/2)]]}} {{extreme=[[floor(@{luck}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_luck_check' />
</td>
</tr>
</table>
</div>
</div>
<div class="sheet-col">
<div style="text-align:center"><img src="http://i.imgur.com/Gq98aWD.png" alt="Call of Cthulhu"></div>
<div style="width:50%;float:left">
<h4 class="section-head" data-i18n="damagebonus-u">Damage Bonus</h4>
<div class="section">
<select style="width:100%;" name="attr_damage_bonus">
<option value="-2">-2</option>
<option value="-1">-1</option>
<option value="0" selected>None</option>
<option value="1d4">+1d4</option>
<option value="1d6">+1d6</option>
<option value="2d6">+2d6</option>
<option value="3d6">+3d6</option>
<option value="4d6">+4d6</option>
<option value="5d6">+5d6</option>
<option value="6d6">+6d6</option>
<option value="7d6">+7d6</option>
<option value="8d6">+8d6</option>
<option value="9d6">+9d6</option>
<option value="10d6">+10d6</option>
</select>
</div>
</div>
<div style="width:50%;float:left">
<h4 class="section-head" data-i18n="build-u">Build</h4>
<div class="section">
<input class="secondary-attr-input" type="text" name="attr_build">
</div>
</div>
</div>
<div class="sheet-col">
<h4 class="section-head" data-i18n="sanity-u">Sanity</h4>
<div class="section">
<table style="width:100%">
<tr>
<td colspan="2">
<input class="secondary-attr-input" placeholder="current" type="text" min="0" name="attr_san">
</td>
<td>
<button type='roll' value='&{template:coc} {{name=SAN Roll}} {{success=[[@{san}]]}} {{hard=[[floor(@{san}/2)]]}} {{extreme=[[floor(@{san}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_san_check' />
</td>
<td style="text-align: center">/</td>
<td colspan="2">
<input class="secondary-attr-input" placeholder="start" type="text" min="0" name="attr_san_start">
</td>
<td style="text-align: center">/</td>
<td colspan="2">
<input class="secondary-attr-input" type="number" min="0" name="attr_san_max" placeholder="max" value="99-@{cthulhu_mythos}" disabled="true">
</td>
</tr>
<tr>
<td colspan="4">
<input type="checkbox" value="1" name="attr_temp_insane" data-i18n="tempinsane-u"> Temp. Insane
</td>
<td colspan="4">
<input type="checkbox" value="1" name="attr_indef_insane" data-i18n="indefinsane-u"> Indef. Insane
</td>
</tr>
</table>
</div>
<h4 class="section-head" data-i18n="magicpoints-u">Magic Points</h4>
<div class="section">
<table style="width:100%">
<tr>
<td>
<input class="secondary-attr-input" placeholder="current" type="text" min="0" name="attr_mp">
</td>
<td style="text-align: center">/</td>
<td>
<input class="secondary-attr-input" placeholder="max" type="number" min="0" name="attr_mp_max" value="floor(@{pow}/5)" disabled="true">
</td>
</tr>
</table>
</div>
</div>
</div>
<div class='sheet-3colrow'>
<h4 class="section-head" data-i18n="investigatorskills-u">Investigator Skills</h4>
<div class="sheet-section">
<div class="sheet-col">
<table style="width: 100%">
<tr>
<td><input type="checkbox" name="attr_accounting_checkbox"></td>
<td class="skill-label" data-i18n="accounting-u">Accounting(05%)</td>
<td><input class="skill-input" type="text" name="attr_accounting" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Accounting Roll}} {{success=[[@{accounting}]]}} {{hard=[[floor(@{accounting}/2)]]}} {{extreme=[[floor(@{accounting}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_accounting_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_anthropology_checkbox"></td>
<td class="skill-label" data-i18n="anthropology-u">Anthropology(01%)</td>
<td><input class="skill-input" type="text" name="attr_anthropology" value="1"/></td>
<td><button type='roll' value='&{template:coc} {{name=Anthropology Roll}} {{success=[[@{anthropology}]]}} {{hard=[[floor(@{anthropology}/2)]]}} {{extreme=[[floor(@{anthropology}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_anthropology_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_appraise_checkbox"></td>
<td class="skill-label" data-i18n="appraise-u">Appraise(05%)</td>
<td><input class="skill-input" type="text" name="attr_appraise" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Appraise Roll}} {{success=[[@{appraise}]]}} {{hard=[[floor(@{appraise}/2)]]}} {{extreme=[[floor(@{appraise}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_appraise_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_archaeology_checkbox"></td>
<td class="skill-label" data-i18n="archaeology-u">Archaeology(01%)</td>
<td><input class="skill-input" type="text" name="attr_archaeology" value="1"/></td>
<td><button type='roll' value='&{template:coc} {{name=Archaeology Roll}} {{success=[[@{archaeology}]]}} {{hard=[[floor(@{archaeology}/2)]]}} {{extreme=[[floor(@{archaeology}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_archaeology_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_charm_checkbox"></td>
<td class="skill-label" data-i18n="charm-u">Charm(15%)</td>
<td><input class="skill-input" type="text" name="attr_charm" value="15"/></td>
<td><button type='roll' value='&{template:coc} {{name=Charm Roll}} {{success=[[@{charm}]]}} {{hard=[[floor(@{charm}/2)]]}} {{extreme=[[floor(@{charm}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_charm_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_climb_checkbox"></td>
<td class="skill-label" data-i18n="climb-u">Climb(20%)</td>
<td><input class="skill-input" type="text" name="attr_climb" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Climb Roll}} {{success=[[@{climb}]]}} {{hard=[[floor(@{climb}/2)]]}} {{extreme=[[floor(@{climb}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_climb_check' /></td>
</tr>
<tr>
<td></td>
<td class="skill-label" data-i18n="creditrating-u">Credit Rating(00%)</td>
<td><input class="skill-input" type="text" name="attr_credit_rating" /></td>
<td><button type='roll' value='&{template:coc} {{name=Credit Rating Roll}} {{success=[[@{credit_rating}]]}} {{hard=[[floor(@{credit_rating}/2)]]}} {{extreme=[[floor(@{credit_rating}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_credit_rating_check' /></td>
</tr>
<tr>
<td></td>
<td class="skill-label" data-i18n="cthulhumythos-u">Cthulhu Mythos(00%)</td>
<td><input class="skill-input" type="text" name="attr_cthulhu_mythos" value="0"/></td>
<td><button type='roll' value='&{template:coc} {{name=Cthulhu Mythos Roll}} {{success=[[@{cthulhu_mythos}]]}} {{hard=[[floor(@{cthulhu_mythos}/2)]]}} {{extreme=[[floor(@{cthulhu_mythos}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_cthulhu_mythos_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_disguise_checkbox"></td>
<td class="skill-label" data-i18n="disguise-u">Disguise(05%)</td>
<td><input class="skill-input" type="text" name="attr_disguise" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Disguise Roll}} {{success=[[@{disguise}]]}} {{hard=[[floor(@{disguise}/2)]]}} {{extreme=[[floor(@{disguise}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_disguise_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_dodge_checkbox"></td>
<td class="skill-label" data-i18n="dodge-u">Dodge(half DEX)</td>
<td><input class="skill-input" type="text" name="attr_dodge" /></td>
<td><button type='roll' value='&{template:coc} {{name=Dodge Roll}} {{success=[[@{dodge}]]}} {{hard=[[floor(@{dodge}/2)]]}} {{extreme=[[floor(@{dodge}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_dodge_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_drive_auto_checkbox"></td>
<td class="skill-label" data-i18n="driveauto-u">Drive Auto(20%)</td>
<td><input class="skill-input" type="text" name="attr_drive_auto" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Drive Auto Roll}} {{success=[[@{drive_auto}]]}} {{hard=[[floor(@{drive_auto}/2)]]}} {{extreme=[[floor(@{drive_auto}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_drive_auto_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_elec_repair_checkbox"></td>
<td class="skill-label" data-i18n="elecrepair-u">Elec Repair(10%)</td>
<td><input class="skill-input" type="text" name="attr_elec_repair" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Elec. Repair Roll}} {{success=[[@{elec_repair}]]}} {{hard=[[floor(@{elec_repair}/2)]]}} {{extreme=[[floor(@{elec_repair}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_elec_repair_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_fast_talk_checkbox"></td>
<td class="skill-label" data-i18n="fasttalk-u">Fast Talk(05%)</td>
<td><input class="skill-input" type="text" name="attr_fast_talk" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Fast Talk Roll}} {{success=[[@{fast_talk}]]}} {{hard=[[floor(@{fast_talk}/2)]]}} {{extreme=[[floor(@{fast_talk}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_fast_talk_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_fighting_brawl_checkbox"></td>
<td class="skill-label" data-i18n="fighting(brawl)-u">Fighting(Brawl)(25%)</td>
<td><input class="skill-input" type="text" name="attr_fighting_brawl" value="25"/></td>
<td><button type='roll' value='&{template:coc} {{name=Fightning(Brawl) Roll}} {{success=[[@{fighting_brawl}]]}} {{hard=[[floor(@{fighting_brawl}/2)]]}} {{extreme=[[floor(@{fighting_brawl}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_fighting_brawl_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_firearms_handgun_checkbox"></td>
<td class="skill-label" data-i18n="firearms(hg)-u">Firearms(HG)(20%)</td>
<td><input class="skill-input" type="text" name="attr_firearms_handgun" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Firearms(HG) Roll}} {{success=[[@{firearms_handgun}]]}} {{hard=[[floor(@{firearms_handgun}/2)]]}} {{extreme=[[floor(@{firearms_handgun}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_firearms_handgun_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_firearms_rifle_checkbox"></td>
<td class="skill-label" data-i18n="firearms(r/s)">Firearms(R/S)(25%)</td>
<td><input class="skill-input" type="text" name="attr_firearms_rifle" value="25"/></td>
<td><button type='roll' value='&{template:coc} {{name=Firearms(R/S) Roll}} {{success=[[@{firearms_rifle}]]}} {{hard=[[floor(@{firearms_rifle}/2)]]}} {{extreme=[[floor(@{firearms_rifle}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_firearms_rifle_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_first_aid_checkbox"></td>
<td class="skill-label" data-i18n="firstaid-u">First Aid(30%)</td>
<td><input class="skill-input" type="text" name="attr_first_aid" value="30"/></td>
<td><button type='roll' value='&{template:coc} {{name=First Aid Roll}} {{success=[[@{first_aid}]]}} {{hard=[[floor(@{first_aid}/2)]]}} {{extreme=[[floor(@{first_aid}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_first_aid_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_history_checkbox"></td>
<td class="skill-label" data-i18n="history-u">History(05%)</td>
<td><input class="skill-input" type="text" name="attr_history" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=History Roll}} {{success=[[@{history}]]}} {{hard=[[floor(@{history}/2)]]}} {{extreme=[[floor(@{history}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_history_check' /></td>
</tr>
</table>
</div>
<div class="sheet-col">
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_intimidate_checkbox"></td>
<td class="skill-label" data-i18n="intimidate-u">Intimidate(15%)</td>
<td><input class="skill-input" type="text" name="attr_intimidate" value="15"/></td>
<td><button type='roll' value='&{template:coc} {{name=Intimidate Roll}} {{success=[[@{intimidate}]]}} {{hard=[[floor(@{intimidate}/2)]]}} {{extreme=[[floor(@{intimidate}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_intimidate_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_jump_checkbox"></td>
<td class="skill-label" data-i18n="jump-u">Jump(20%)</td>
<td><input class="skill-input" type="text" name="attr_jump" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Jump Roll}} {{success=[[@{jump}]]}} {{hard=[[floor(@{jump}/2)]]}} {{extreme=[[floor(@{jump}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_jump_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_language_own_checkbox"></td>
<td class="skill-label" data-i18n="language(own)-u">Language(Own)(EDU)</td>
<td><input class="skill-input" type="text" name="attr_language_own" /></td>
<td><button type='roll' value='&{template:coc} {{name=Language(Own) Roll}} {{success=[[@{language_own}]]}} {{hard=[[floor(@{language_own}/2)]]}} {{extreme=[[floor(@{language_own}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_language_own_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_law_checkbox"></td>
<td class="skill-label" data-i18n="law-u">Law(05%)</td>
<td><input class="skill-input" type="text" name="attr_law" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Law Roll}} {{success=[[@{law}]]}} {{hard=[[floor(@{law}/2)]]}} {{extreme=[[floor(@{law}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_law_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_library_use_checkbox"></td>
<td class="skill-label" data-i18n="libraryuse-u">Library Use(20%)</td>
<td><input class="skill-input" type="text" name="attr_library_use" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Library Use Roll}} {{success=[[@{library_use}]]}} {{hard=[[floor(@{library_use}/2)]]}} {{extreme=[[floor(@{library_use}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_library_use_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_listen_checkbox"></td>
<td class="skill-label" data-i18n="listen-u">Listen(20%)</td>
<td><input class="skill-input" type="text" name="attr_listen" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Listen Roll}} {{success=[[@{listen}]]}} {{hard=[[floor(@{listen}/2)]]}} {{extreme=[[floor(@{listen}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_listen_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_locksmith_checkbox"></td>
<td class="skill-label" data-i18n="locksmith-u">Locksmith(01%)</td>
<td><input class="skill-input" type="text" name="attr_locksmith" value="1"/></td>
<td><button type='roll' value='&{template:coc} {{name=Locksmith Roll}} {{success=[[@{locksmith}]]}} {{hard=[[floor(@{locksmith}/2)]]}} {{extreme=[[floor(@{locksmith}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_locksmith_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_mech_repair_checkbox"></td>
<td class="skill-label" data-i18n="mechrepair-u">Mech Repair(10%)</td>
<td><input class="skill-input" type="text" name="attr_mech_repair" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Mech. Repair Roll}} {{success=[[@{mech_repair}]]}} {{hard=[[floor(@{mech_repair}/2)]]}} {{extreme=[[floor(@{mech_repair}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_mech_repair_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_medicine_checkbox"></td>
<td class="skill-label" data-i18n="medicine-u">Medicine(01%)</td>
<td><input class="skill-input" type="text" name="attr_medicine" value="1"/></td>
<td><button type='roll' value='&{template:coc} {{name=Medicine Roll}} {{success=[[@{medicine}]]}} {{hard=[[floor(@{medicine}/2)]]}} {{extreme=[[floor(@{medicine}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_medicine_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_natural_world_checkbox"></td>
<td class="skill-label" data-i18n="naturalworld-u">Natural World(10%)</td>
<td><input class="skill-input" type="text" name="attr_natural_world" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Natural World Roll}} {{success=[[@{natural_world}]]}} {{hard=[[floor(@{natural_world}/2)]]}} {{extreme=[[floor(@{natural_world}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_natural_world_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_navigate_checkbox"></td>
<td class="skill-label" data-i18n="navigate-u">Navigate(10%)</td>
<td><input class="skill-input" type="text" name="attr_navigate" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Navigate Roll}} {{success=[[@{navigate}]]}} {{hard=[[floor(@{navigate}/2)]]}} {{extreme=[[floor(@{navigate}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_navigate_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_occult_checkbox"></td>
<td class="skill-label" data-i18n="occult-u">Occult(05%)</td>
<td><input class="skill-input" type="text" name="attr_occult" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Occult Roll}} {{success=[[@{occult}]]}} {{hard=[[floor(@{occult}/2)]]}} {{extreme=[[floor(@{occult}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_occult_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_op_hv_machine_checkbox"></td>
<td class="skill-label" data-i18n="ophvmachine-u">Op Hv Machine(01%)</td>
<td><input class="skill-input" type="text" name="attr_op_hv_machine" value="1"/></td>
<td><button type='roll' value='&{template:coc} {{name=Op. Hv. Machine Roll}} {{success=[[@{op_hv_machine}]]}} {{hard=[[floor(@{op_hv_machine}/2)]]}} {{extreme=[[floor(@{op_hv_machine}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_op_hv_machine_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_persuade_checkbox"></td>
<td class="skill-label" data-i18n="persuade-u">Persuade(10%)</td>
<td><input class="skill-input" type="text" name="attr_persuade" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Persuade Roll}} {{success=[[@{persuade}]]}} {{hard=[[floor(@{persuade}/2)]]}} {{extreme=[[floor(@{persuade}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_persuade_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_psychology_checkbox"></td>
<td class="skill-label" data-i18n="psychology-u">Psychology(10%)</td>
<td><input class="skill-input" type="text" name="attr_psychology" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Psychology Roll}} {{success=[[@{psychology}]]}} {{hard=[[floor(@{psychology}/2)]]}} {{extreme=[[floor(@{psychology}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_psychology_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_psychoanalysis_checkbox"></td>
<td class="skill-label" data-i18n="psychoanalysis-u">Psychoanalysis(01%)</td>
<td><input class="skill-input" type="text" name="attr_psychoanalysis" value="1"/></td>
<td><button type='roll' value='&{template:coc} {{name=Psychoanalysis Roll}} {{success=[[@{psychoanalysis}]]}} {{hard=[[floor(@{psychoanalysis}/2)]]}} {{extreme=[[floor(@{psychoanalysis}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_psychoanalysis_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_ride_checkbox"></td>
<td class="skill-label" data-i18n="ride-u">Ride(05%)</td>
<td><input class="skill-input" type="text" name="attr_ride" value="5"/></td>
<td><button type='roll' value='&{template:coc} {{name=Ride Roll}} {{success=[[@{ride}]]}} {{hard=[[floor(@{ride}/2)]]}} {{extreme=[[floor(@{ride}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_ride_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_sleight_of_hand_checkbox"></td>
<td class="skill-label" data-i18n="sleightofhand-u">Sleight of Hand(10%)</td>
<td><input class="skill-input" type="text" name="attr_sleight_of_hand" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Sleight of Hand Roll}} {{success=[[@{sleight_of_hand}]]}} {{hard=[[floor(@{sleight_of_hand}/2)]]}} {{extreme=[[floor(@{sleight_of_hand}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_sleight_of_hand_check' /></td>
</tr>
</table>
</div>
<div class="sheet-col">
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_spot_hidden_checkbox"></td>
<td class="skill-label" data-i18n="spothidden-u">Spot Hidden(25%)</td>
<td><input class="skill-input" type="text" name="attr_spot_hidden" value="25"/></td>
<td><button type='roll' value='&{template:coc} {{name=Spot Hidden Roll}} {{success=[[@{spot_hidden}]]}} {{hard=[[floor(@{spot_hidden}/2)]]}} {{extreme=[[floor(@{spot_hidden}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_spot_hidden_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_stealth_checkbox"></td>
<td class="skill-label" data-i18n="stealth-u">Stealth(20%)</td>
<td><input class="skill-input" type="text" name="attr_stealth" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Stealth Roll}} {{success=[[@{stealth}]]}} {{hard=[[floor(@{stealth}/2)]]}} {{extreme=[[floor(@{stealth}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_stealth_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_swim_checkbox"></td>
<td class="skill-label" data-i18n="swim-u">Swim(20%)</td>
<td><input class="skill-input" type="text" name="attr_swim" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Swim Roll}} {{success=[[@{swim}]]}} {{hard=[[floor(@{swim}/2)]]}} {{extreme=[[floor(@{swim}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_swim_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_throw_checkbox"></td>
<td class="skill-label" data-i18n="throw-u">Throw(20%)</td>
<td><input class="skill-input" type="text" name="attr_throw" value="20"/></td>
<td><button type='roll' value='&{template:coc} {{name=Throw Roll}} {{success=[[@{throw}]]}} {{hard=[[floor(@{throw}/2)]]}} {{extreme=[[floor(@{throw}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_throw_check' /></td>
</tr>
<tr>
<td><input type="checkbox" name="attr_track_checkbox"></td>
<td class="skill-label" data-i18n="track-u">Track (10%)</td>
<td><input class="skill-input" type="text" name="attr_track" value="10"/></td>
<td><button type='roll' value='&{template:coc} {{name=Track Roll}} {{success=[[@{track}]]}} {{hard=[[floor(@{track}/2)]]}} {{extreme=[[floor(@{track}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_track_check' /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td colspan="3" data-i18n="otherskills-u">Other Skills:</td>
</tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="animalhandling-u">Animal Handling(05%)</td><td class="otherskill-reminder" data-i18n="firearms(varies)-u">Firearms(Varies)</td></tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="art/craft-u">Art/Craft(05%)</td><td class="otherskill-reminder" data-i18n="hypnosis-u">Hypnosis(01%)</td></tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="artillery-u">Artillery(01%)</td><td class="otherskill-reminder" data-i18n="language(other)-u">Language(Other)(01%)</td></tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="computeruse-u">Computer Use(05%)</td><td class="otherskill-reminder" data-i18n="pilot-u">Pilot(01%)</td></tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="demolitions-u">Demolitions(01%)</td><td class="otherskill-reminder" data-i18n="readlips-u">Read Lips(01%)</td></tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="electronics-u">Electronics(01%)</td><td class="otherskill-reminder" data-i18n="science-u">Science(01%)</td></tr>
<tr><td style="width:3%"></td><td class="otherskill-reminder" data-i18n="fighting(varies)-u">Fighting(Varies)</td><td class="otherskill-reminder" data-i18n="survival-u">Survival(10%)</td></tr>
</table>
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_otherskill1_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_otherskill1_name" /></td>
<td><input class="skill-input" type="text" name="attr_otherskill1" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{otherskill1_name} Roll}} {{success=[[@{otherskill1}]]}} {{hard=[[floor(@{otherskill1}/2)]]}} {{extreme=[[floor(@{otherskill1}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_otherskill1_check' /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_otherskill2_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_otherskill2_name" /></td>
<td><input class="skill-input" type="text" name="attr_otherskill2" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{otherskill2_name} Roll}} {{success=[[@{otherskill2}]]}} {{hard=[[floor(@{otherskill2}/2)]]}} {{extreme=[[floor(@{otherskill2}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_otherskill2_check' /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_otherskill3_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_otherskill3_name" /></td>
<td><input class="skill-input" type="text" name="attr_otherskill3" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{otherskill3_name} Roll}} {{success=[[@{otherskill3}]]}} {{hard=[[floor(@{otherskill3}/2)]]}} {{extreme=[[floor(@{otherskill3}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_otherskill3_check' /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_otherskill4_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_otherskill4_name" /></td>
<td><input class="skill-input" type="text" name="attr_otherskill4" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{otherskill4_name} Roll}} {{success=[[@{otherskill4}]]}} {{hard=[[floor(@{otherskill4}/2)]]}} {{extreme=[[floor(@{otherskill4}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_otherskill4_check' /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_otherskill5_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_otherskill5_name" /></td>
<td><input class="skill-input" type="text" name="attr_otherskill5" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{otherskill5_name} Roll}} {{success=[[@{otherskill5}]]}} {{hard=[[floor(@{otherskill5}/2)]]}} {{extreme=[[floor(@{otherskill5}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_otherskill5_check' /></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_otherskill6_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_otherskill6_name" /></td>
<td><input class="skill-input" type="text" name="attr_otherskill6" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{otherskill6_name} Roll}} {{success=[[@{otherskill6}]]}} {{hard=[[floor(@{otherskill6}/2)]]}} {{extreme=[[floor(@{otherskill6}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_otherskill6_check' /></td>
</tr>
</table>
<fieldset class="repeating_skills">
<table style="width:100%">
<tr>
<td><input type="checkbox" name="attr_checkbox"></td>
<td class="skill-label"><input style="width:100%" type="text" name="attr_skillname" /></td>
<td><input class="skill-input" type="text" name="attr_skill" /></td>
<td><button type='roll' value='&{template:coc} {{name=@{skillname} Roll}} {{success=[[@{skill}]]}} {{hard=[[floor(@{skill}/2)]]}} {{extreme=[[floor(@{skill}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}' name='roll_skill_check' /></td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
<div class='sheet-colrow'>
<h4 class="section-head" data-i18n="weapons-u">Weapons</h4>
<div class="section">
<table style="width:100%">
<thead>
<th style="width:20%" data-i18n="weaponname-u">Weapon</th>
<th style="width:4%"></th>
<th style="width:16%" data-i18n="skill-u">Skill</th>
<th style="width:16%" data-i18n="damage-u">Damage</th>
<th style="width:11%" data-i18n="range-u">Range</th>
<th style="width:11%" data-i18n="attacks-u">Attacks</th>
<th style="width:11%" data-i18n="ammo-u">Ammo</th>
<th style="width:11%" data-i18n="malf-u">Malf</th>
</thead>
</table>
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" value="Unarmed" disabled="true"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=Unarmed Attack}} {{success=[[@{fighting_brawl}]]}} {{hard=[[floor(@{fighting_brawl}/2)]]}} {{extreme=[[floor(@{fighting_brawl}/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[1d3+@{damage_bonus}]]}}' name='roll_unarmed_check' /></td>
<td style="width:16%"><input style="width:100%" type="text" value="Fighting(Brawl)" disabled="true"/></td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" value="1d3" disabled="true"/></td>
<td style="width:8%"><input style="width:100%;text-align:left;" type="text" value="+db" disabled="true"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" value="-" disabled="true"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" value="1" disabled="true"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" value="-" disabled="true"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" value="-" disabled="true"/></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" name="attr_weapon1_name"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=@{weapon1_name}}} {{success=[[@{weapon1_skill}]]}} {{hard=[[floor(@{weapon1_skill}/2)]]}} {{extreme=[[floor(@{weapon1_skill}/5)]]}} {{malf=@{weapon1_malf}}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[@{weapon1_damage}@{weapon1_db}]]}}' name='roll_weapon1_attack' /></td>
<td style="width:16%">
<select style="width:100%" name="attr_weapon1_skill">
<option value="@{fighting_brawl}">Fighting(Brawl)</option>
<option value="@{firearms_handgun}">Firarms(HG)</option>
<option value="@{firearms_rifle}">Firarms(R/S)</option>
<option value="@{throw}">Throw</option>
<option value="@{otherskill1}">Other Skill #1</option>
<option value="@{otherskill2}">Other Skill #2</option>
<option value="@{otherskill3}">Other Skill #3</option>
<option value="@{otherskill4}">Other Skill #4</option>
<option value="@{otherskill5}">Other Skill #5</option>
<option value="@{otherskill6}">Other Skill #6</option>
<option value="@{repeating_skills_$0_skill}">Other Skill #7</option>
<option value="@{repeating_skills_$1_skill}">Other Skill #8</option>
<option value="@{repeating_skills_$2_skill}">Other Skill #9</option>
<option value="@{repeating_skills_$3_skill}">Other Skill #10</option>
</select>
</td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" name="attr_weapon1_damage"/></td>
<td style="width:8%">
<select style="width:100%;text-align:left;" name="attr_weapon1_db">
<option value="+0">+0</option>
<option value="+round((@{damage_bonus})/2)">+&#189;db</option>
<option value="+@{damage_bonus}">+db</option>
</select>
</td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon1_range"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon1_attacks"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon1_ammo"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon1_malf"/></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" name="attr_weapon2_name"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=@{weapon2_name}}} {{success=[[@{weapon2_skill}]]}} {{hard=[[floor(@{weapon2_skill}/2)]]}} {{extreme=[[floor(@{weapon2_skill}/5)]]}} {{malf=@{weapon2_malf}}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[@{weapon2_damage}@{weapon2_db}]]}}' name='roll_weapon2_attack' /></td>
<td style="width:16%">
<select style="width:100%" name="attr_weapon2_skill">
<option value="@{fighting_brawl}">Fighting(Brawl)</option>
<option value="@{firearms_handgun}">Firarms(HG)</option>
<option value="@{firearms_rifle}">Firarms(R/S)</option>
<option value="@{throw}">Throw</option>
<option value="@{otherskill1}">Other Skill #1</option>
<option value="@{otherskill2}">Other Skill #2</option>
<option value="@{otherskill3}">Other Skill #3</option>
<option value="@{otherskill4}">Other Skill #4</option>
<option value="@{otherskill5}">Other Skill #5</option>
<option value="@{otherskill6}">Other Skill #6</option>
<option value="@{repeating_skills_$0_skill}">Other Skill #7</option>
<option value="@{repeating_skills_$1_skill}">Other Skill #8</option>
<option value="@{repeating_skills_$2_skill}">Other Skill #9</option>
<option value="@{repeating_skills_$3_skill}">Other Skill #10</option>
</select>
</td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" name="attr_weapon2_damage"/></td>
<td style="width:8%">
<select style="width:100%;text-align:left;" name="attr_weapon2_db">
<option value="+0">+0</option>
<option value="+round((@{damage_bonus})/2)">+&#189;db</option>
<option value="+@{damage_bonus}">+db</option>
</select>
</td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon2_range"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon2_attacks"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon2_ammo"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon2_malf"/></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" name="attr_weapon3_name"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=@{weapon3_name}}} {{success=[[@{weapon3_skill}]]}} {{hard=[[floor(@{weapon3_skill}/2)]]}} {{extreme=[[floor(@{weapon3_skill}/5)]]}} {{malf=@{weapon3_malf}}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[@{weapon3_damage}@{weapon3_db}]]}}' name='roll_weapon3_attack' /></td>
<td style="width:16%">
<select style="width:100%" name="attr_weapon3_skill">
<option value="@{fighting_brawl}">Fighting(Brawl)</option>
<option value="@{firearms_handgun}">Firarms(HG)</option>
<option value="@{firearms_rifle}">Firarms(R/S)</option>
<option value="@{throw}">Throw</option>
<option value="@{otherskill1}">Other Skill #1</option>
<option value="@{otherskill2}">Other Skill #2</option>
<option value="@{otherskill3}">Other Skill #3</option>
<option value="@{otherskill4}">Other Skill #4</option>
<option value="@{otherskill5}">Other Skill #5</option>
<option value="@{otherskill6}">Other Skill #6</option>
<option value="@{repeating_skills_$0_skill}">Other Skill #7</option>
<option value="@{repeating_skills_$1_skill}">Other Skill #8</option>
<option value="@{repeating_skills_$2_skill}">Other Skill #9</option>
<option value="@{repeating_skills_$3_skill}">Other Skill #10</option>
</select>
</td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" name="attr_weapon3_damage"/></td>
<td style="width:8%">
<select style="width:100%;text-align:left;" name="attr_weapon3_db">
<option value="+0">+0</option>
<option value="+round((@{damage_bonus})/2)">+&#189;db</option>
<option value="+@{damage_bonus}">+db</option>
</select>
</td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon3_range"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon3_attacks"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon3_ammo"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon3_malf"/></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" name="attr_weapon4_name"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=@{weapon4_name}}} {{success=[[@{weapon4_skill}]]}} {{hard=[[floor(@{weapon4_skill}/2)]]}} {{extreme=[[floor(@{weapon4_skill}/5)]]}} {{malf=@{weapon4_malf}}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[@{weapon4_damage}@{weapon4_db}]]}}' name='roll_weapon4_attack' /></td>
<td style="width:16%">
<select style="width:100%" name="attr_weapon4_skill">
<option value="@{fighting_brawl}">Fighting(Brawl)</option>
<option value="@{firearms_handgun}">Firarms(HG)</option>
<option value="@{firearms_rifle}">Firarms(R/S)</option>
<option value="@{throw}">Throw</option>
<option value="@{otherskill1}">Other Skill #1</option>
<option value="@{otherskill2}">Other Skill #2</option>
<option value="@{otherskill3}">Other Skill #3</option>
<option value="@{otherskill4}">Other Skill #4</option>
<option value="@{otherskill5}">Other Skill #5</option>
<option value="@{otherskill6}">Other Skill #6</option>
<option value="@{repeating_skills_$0_skill}">Other Skill #7</option>
<option value="@{repeating_skills_$1_skill}">Other Skill #8</option>
<option value="@{repeating_skills_$2_skill}">Other Skill #9</option>
<option value="@{repeating_skills_$3_skill}">Other Skill #10</option>
</select>
</td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" name="attr_weapon4_damage"/></td>
<td style="width:8%">
<select style="width:100%;text-align:left;" name="attr_weapon4_db">
<option value="+0">+0</option>
<option value="+round((@{damage_bonus})/2)">+&#189;db</option>
<option value="+@{damage_bonus}">+db</option>
</select>
</td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon4_range"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon4_attacks"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon4_ammo"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon4_malf"/></td>
</tr>
</table>
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" name="attr_weapon5_name"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=@{weapon5_name}}} {{success=[[@{weapon5_skill}]]}} {{hard=[[floor(@{weapon5_skill}/2)]]}} {{extreme=[[floor(@{weapon5_skill}/5)]]}} {{malf=@{weapon5_malf}}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[@{weapon5_damage}@{weapon5_db}]]}}' name='roll_weapon5_attack' /></td>
<td style="width:16%">
<select style="width:100%" name="attr_weapon5_skill">
<option value="@{fighting_brawl}">Fighting(Brawl)</option>
<option value="@{firearms_handgun}">Firarms(HG)</option>
<option value="@{firearms_rifle}">Firarms(R/S)</option>
<option value="@{throw}">Throw</option>
<option value="@{otherskill1}">Other Skill #1</option>
<option value="@{otherskill2}">Other Skill #2</option>
<option value="@{otherskill3}">Other Skill #3</option>
<option value="@{otherskill4}">Other Skill #4</option>
<option value="@{otherskill5}">Other Skill #5</option>
<option value="@{otherskill6}">Other Skill #6</option>
<option value="@{repeating_skills_0_skill}">Other Skill #7</option>
<option value="@{repeating_skills_1_skill}">Other Skill #8</option>
<option value="@{repeating_skills_2_skill}">Other Skill #9</option>
<option value="@{repeating_skills_3_skill}">Other Skill #10</option>
</select>
</td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" name="attr_weapon5_damage"/></td>
<td style="width:8%">
<select style="width:100%;text-align:left;" name="attr_weapon5_db">
<option value="+0">+0</option>
<option value="+round((@{damage_bonus})/2)">+&#189;db</option>
<option value="+@{damage_bonus}">+db</option>
</select>
</td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon5_range"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon5_attacks"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon5_ammo"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weapon5_malf"/></td>
</tr>
</table>
<fieldset class="repeating_weapons">
<table style="width:100%">
<tr>
<td style="width:20%"><input style="width:100%" type="text" name="attr_weaponname"/></td>
<td style="width:4%"><button type='roll' value='&{template:coc-attack} {{name=@{weaponname}}} {{success=[[@{weaponskill}]]}} {{hard=[[floor(@{weaponskill}/2)]]}} {{extreme=[[floor(@{weaponskill}/5)]]}} {{malf=@{weaponmalf}}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}} {{damage=[[@{weapondamage}@{weapondb}]]}}' name='roll_weaponskill_check' /></td>
<td style="width:16%">
<select style="width:100%" name="attr_weaponskill">
<option value="@{fighting_brawl}">Fighting(Brawl)</option>
<option value="@{firearms_handgun}">Firarms(HG)</option>
<option value="@{firearms_rifle}">Firarms(R/S)</option>
<option value="@{throw}">Throw</option>
<option value="@{otherskill1}">Other Skill #1</option>
<option value="@{otherskill2}">Other Skill #2</option>
<option value="@{otherskill3}">Other Skill #3</option>
<option value="@{otherskill4}">Other Skill #4</option>
<option value="@{otherskill5}">Other Skill #5</option>
<option value="@{otherskill6}">Other Skill #6</option>
<option value="@{repeating_skills_$0_skill}">Other Skill #7</option>
<option value="@{repeating_skills_$1_skill}">Other Skill #8</option>
<option value="@{repeating_skills_$2_skill}">Other Skill #9</option>
<option value="@{repeating_skills_$3_skill}">Other Skill #10</option>
</select>
</td>
<td style="width:8%"><input style="width:100%;text-align:right;" type="text" name="attr_weapondamage"/></td>
<td style="width:8%">
<select style="width:100%;text-align:left;" name="attr_weapondb">
<option value="+0">+0</option>
<option value="+round((@{damage_bonus})/2)">+&#189;db</option>
<option value="+@{damage_bonus}">+db</option>
</select>
</td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weaponrange"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weaponattacks"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weaponammo"/></td>
<td style="width:11%"><input style="width:100%;text-align:center;" type="text" name="attr_weaponmalf"/></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<h4 class="section-head" data-i18n="gearandposessions-u">Gear and Posessions</h4>
<div class="sheet-section">
<textarea name="attr_gear_and_posessions" style="width:97%;height:180px"></textarea>
</div>
</div>
<div class='sheet-col'>
<h4 class="section-head" data-i18n="cashandassets-u">Cash and Assests</h4>
<div class="sheet-section">
<table style="width:100%">
<tr>
<td data-i18n="spendinglevel-u">Spending Level </td>
<td><input type="text" name="attr_spending_level" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="cash-u">Cash </td>
<td><input type="text" name="attr_cash" style="width:100%"></td>
</tr>
<tr>
<td data-i18n="assets-u">Assets </td>
</tr>
<tr>
<td colspan="2"><textarea style="width:98%;height:100px" name="attr_assets"></textarea></td>
</tr>
</table>
</div>
</div>
</div>
<div class='sheet-2colrow'>
<h4 class="section-head" data-i18n="backstory-u">Backstory</h4>
<div class="sheet-section">
<div class='sheet-col'>
Personal Description
<textarea name="attr_personal_description" class="backstory-box"></textarea>
Ideaology/Beliefs
<textarea name="attr_ideaology_beliefs" class="backstory-box"></textarea>
Significant People
<textarea name="attr_significant_people" class="backstory-box"></textarea>
Meaningful Locations
<textarea name="attr_meaningful_locations" class="backstory-box"></textarea>
Treasured Possessions
<textarea name="attr_treasured_posessions" class="backstory-box"></textarea>
</div>
<div class='sheet-col'>
Traits
<textarea name="attr_traits" class="backstory-box"></textarea>
Injuries & Scars
<textarea name="attr_injuries_scars" class="backstory-box"></textarea>
Phobias/Manias
<textarea name="attr_phobias_manias" class="backstory-box"></textarea>
Tomes, Spells and Artifacts
<textarea name="attr_tomes_spells_artifacts" class="backstory-box"></textarea>
Encounters with Strange Entities
<textarea name="attr_encounters_with_strange_entities" class="backstory-box"></textarea>
</div>
</div>
</div>
<!--
&{template:coc} {{name=Test}} {{success=[[50]]}} {{hard=[[floor(50/2)]]}} {{extreme=[[floor(50/5)]]}} {{roll1=[[1d100]]}} {{roll2=[[1d100]]}} {{roll3=[[1d100]]}}
-->
<rolltemplate class="sheet-rolltemplate-coc">
<table>
<caption>{{name}}</caption>
<tr>
<td class="template_label">Value:</td>
<td class="template_value">{{success}}/{{hard}}/{{extreme}}</td>
</tr>
<tr>
<td class="template_label">Rolled:</td>
<td class="template_value">{{roll1}}, {{roll2}}, {{roll3}}</td>
</tr>
<tr style="background:#DFF0D8;">
<td class="template_label">+2:</td>
<!-- Is roll2 less than roll1 -->
{{#rollLess() roll2 roll1}}
<!-- Is roll3 less than roll2-->
{{#rollLess() roll3 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollLess() roll3 roll2}}
<!-- Is roll2 less than roll3 -->
{{#rollLess() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollLess() roll2 roll3}}
<!-- Are roll2 and roll3 equal-->
{{#rollTotal() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollTotal() roll2 roll3}}
{{/rollLess() roll2 roll1}}
<!-- Is roll1 less than roll2 -->
{{#rollLess() roll1 roll2}}
<!-- Is roll3 less than roll1-->
{{#rollLess() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollLess() roll3 roll1}}
<!-- Is roll1 less than roll3 -->
{{#rollLess() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollLess() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollLess() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- Is roll3 less than roll1-->
{{#rollLess() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollLess() roll3 roll1}}
<!-- Is roll1 less than roll3 -->
{{#rollLess() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollLess() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr style="background:#D9EDF7;">
<td class="template_label">+1:</td>
<!-- Is roll2 lower than roll1 -->
{{#rollLess() roll2 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollLess() roll2 roll1}}
<!-- Is roll1 lower than roll2 -->
{{#rollLess() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollLess() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr style="background:#D3D3D3;">
<td class="template_label">&nbsp;&nbsp;0:</td>
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
</tr>
<tr style="background:#FCF8E3;">
<td class="template_label">-1:</td>
<!-- Is roll2 greater than roll1 -->
{{#rollGreater() roll2 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollGreater() roll2 roll1}}
<!-- Is roll1 greater than roll2 -->
{{#rollGreater() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollGreater() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr style="background:#F2DEDE;">
<td class="template_label">-2:</td>
<!-- Is roll2 greater than roll1 -->
{{#rollGreater() roll2 roll1}}
<!-- Is roll3 greater than roll2-->
{{#rollGreater() roll3 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollGreater() roll3 roll2}}
<!-- Is roll2 greater than roll3 -->
{{#rollGreater() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollGreater() roll2 roll3}}
<!-- Are roll2 and roll3 equal-->
{{#rollTotal() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollTotal() roll2 roll3}}
{{/rollGreater() roll2 roll1}}
<!-- Is roll1 greater than roll2 -->
{{#rollGreater() roll1 roll2}}
<!-- Is roll3 greater than roll1-->
{{#rollGreater() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollGreater() roll3 roll1}}
<!-- Is roll1 greater than roll3 -->
{{#rollGreater() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollGreater() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollGreater() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- Is roll3 greater than roll1-->
{{#rollGreater() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollGreater() roll3 roll1}}
<!-- Is roll1 greater than roll3 -->
{{#rollGreater() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollGreater() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollTotal() roll1 roll2}}
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-coc-attack">
<table>
<caption>{{name}}</caption>
<tr><td class="template_label">Value:</td><td class="template_value">{{success}}/{{hard}}/{{extreme}}</td></tr>
{{#malf}}
<tr><td class="template_label">Malf:</td><td class="template_value">{{malf}}</td></tr>
{{/malf}}
<tr><td class="template_label">Rolled:</td><td class="template_value">{{roll1}}, {{roll2}}, {{roll3}}</td></tr>
<tr style="background:#DFF0D8;">
<td class="template_label">+2:</td>
<!-- Is roll2 less than roll1 -->
{{#rollLess() roll2 roll1}}
<!-- Is roll3 less than roll2-->
{{#rollLess() roll3 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollLess() roll3 roll2}}
<!-- Is roll2 less than roll3 -->
{{#rollLess() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollLess() roll2 roll3}}
<!-- Are roll2 and roll3 equal-->
{{#rollTotal() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollTotal() roll2 roll3}}
{{/rollLess() roll2 roll1}}
<!-- Is roll1 less than roll2 -->
{{#rollLess() roll1 roll2}}
<!-- Is roll3 less than roll1-->
{{#rollLess() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollLess() roll3 roll1}}
<!-- Is roll1 less than roll3 -->
{{#rollLess() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollLess() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollLess() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- Is roll3 less than roll1-->
{{#rollLess() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollLess() roll3 roll1}}
<!-- Is roll1 less than roll3 -->
{{#rollLess() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollLess() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr style="background:#D9EDF7;">
<td class="template_label">+1:</td>
<!-- Is roll2 lower than roll1 -->
{{#rollLess() roll2 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollLess() roll2 roll1}}
<!-- Is roll1 lower than roll2 -->
{{#rollLess() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollLess() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr style="background:#D3D3D3;">
<td class="template_label">&nbsp;&nbsp;0:</td>
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
</tr>
<tr style="background:#FCF8E3;">
<td class="template_label">-1:</td>
<!-- Is roll2 greater than roll1 -->
{{#rollGreater() roll2 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollGreater() roll2 roll1}}
<!-- Is roll1 greater than roll2 -->
{{#rollGreater() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollGreater() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr style="background:#F2DEDE;">
<td class="template_label">-2:</td>
<!-- Is roll2 greater than roll1 -->
{{#rollGreater() roll2 roll1}}
<!-- Is roll3 greater than roll2-->
{{#rollGreater() roll3 roll2}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollGreater() roll3 roll2}}
<!-- Is roll2 greater than roll3 -->
{{#rollGreater() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollGreater() roll2 roll3}}
<!-- Are roll2 and roll3 equal-->
{{#rollTotal() roll2 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll2 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll2 1}}
<!-- Is Success -->
{{#rollBetween() roll2 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll2 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll2 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll2 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll2 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll2 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll2 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll2 2 extreme}}
{{/rollBetween() roll2 2 hard}}
{{/rollBetween() roll2 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll2 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll2 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll2 100}}
<!-- Is Fail -->
{{#rollLess() roll2 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll2 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll2 95}}
<!-- Is Fail -->
{{#rollLess() roll2 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll2 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll2 success}}
{{/rollTotal() roll2 roll3}}
{{/rollGreater() roll2 roll1}}
<!-- Is roll1 greater than roll2 -->
{{#rollGreater() roll1 roll2}}
<!-- Is roll3 greater than roll1-->
{{#rollGreater() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollGreater() roll3 roll1}}
<!-- Is roll1 greater than roll3 -->
{{#rollGreater() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollGreater() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollGreater() roll1 roll2}}
<!-- Are roll1 and roll2 equal-->
{{#rollTotal() roll1 roll2}}
<!-- Is roll3 greater than roll1-->
{{#rollGreater() roll3 roll1}}
<!-- 01 is always Critical -->
{{#rollTotal() roll3 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll3 1}}
<!-- Is Success -->
{{#rollBetween() roll3 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll3 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll3 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll3 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll3 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll3 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll3 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll3 2 extreme}}
{{/rollBetween() roll3 2 hard}}
{{/rollBetween() roll3 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll3 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll3 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll3 100}}
<!-- Is Fail -->
{{#rollLess() roll3 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll3 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll3 95}}
<!-- Is Fail -->
{{#rollLess() roll3 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll3 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll3 success}}
{{/rollGreater() roll3 roll1}}
<!-- Is roll1 greater than roll3 -->
{{#rollGreater() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollGreater() roll1 roll3}}
<!-- Are roll1 and roll3 equal-->
{{#rollTotal() roll1 roll3}}
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
{{/rollTotal() roll1 roll3}}
{{/rollTotal() roll1 roll2}}
</tr>
<tr><td class="template_label">Dam:</td><td class="template_value">{{damage}}</td></tr>
</table>
</rolltemplate>
<!-- Smaller Template
&{template:coc-1} {{name=Test}} {{success=[[50]]}} {{hard=[[floor(50/2)]]}} {{extreme=[[floor(50/5)]]}} {{roll1=[[1d100]]}}
-->
<rolltemplate class="sheet-rolltemplate-coc-1">
<table>
<caption>{{name}}</caption>
<tr>
<td class="template_label">Value:</td>
<td class="template_value">{{success}}/{{hard}}/{{extreme}}</td>
</tr>
<tr>
<td class="template_label">Rolled:</td>
<td class="template_value">{{roll1}}</td>
</tr>
<tr style="background:#BEBEBE;">
<td class="template_label">Result:</td>
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td style="background:Lime;" class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td style="background:DarkGreen;" class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td style="background:Green;" class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td style="background:LightGreen;" class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td style="background:Red;" class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td style="background:Crimson;" class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td style="background:Red;" class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td style="background:Crimson;" class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
</td>
</tr>
</table>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-coc-attack-1">
<table>
<caption>{{name}}</caption>
<tr><td class="template_label">Value:</td><td class="template_value">{{success}}/{{hard}}/{{extreme}}</td></tr>
{{#malf}}
<tr><td class="template_label">Malf:</td><td class="template_value">{{malf}}</td></tr>
{{/malf}}
<tr><td class="template_label">Rolled:</td><td class="template_value">{{roll1}}</td></tr>
<tr style="background:#BEBEBE;">
<td class="template_label">Result:</td>
<!-- 01 is always Critical -->
{{#rollTotal() roll1 1}}
<td style="background:Lime;" class="template_value"><b>Critical</b></td>
{{/rollTotal() roll1 1}}
<!-- Is Success -->
{{#rollBetween() roll1 2 success}}
<!-- Is Standard -->
{{#rollGreater() roll1 hard}}
<td style="background:DarkGreen;" class="template_value">Success</td>
{{/rollGreater() roll1 hard}}
<!-- Is Hard or Extreme -->
{{#rollBetween() roll1 2 hard}}
<!-- Is Hard -->
{{#rollGreater() roll1 extreme}}
<td style="background:Green;" class="template_value">Hard</td>
{{/rollGreater() roll1 extreme}}
<!-- Is Extreme -->
{{#rollBetween() roll1 2 extreme}}
<td style="background:LightGreen;" class="template_value"><b>Extreme</b></td>
{{/rollBetween() roll1 2 extreme}}
{{/rollBetween() roll1 2 hard}}
{{/rollBetween() roll1 2 success}}
<!-- Is Not Success -->
{{#rollGreater() roll1 success}}
<!-- Is skill >= 50 -->
{{#rollGreater() success 49}}
<!-- Is Fumble -->
{{#rollTotal() roll1 100}}
<td style="background:Red;" class="template_value"><b>Fumble</b></td>
{{/rollTotal() roll1 100}}
<!-- Is Fail -->
{{#rollLess() roll1 100}}
<td style="background:Crimson;" class="template_value">Fail</td>
{{/rollLess() roll1 100}}
{{/rollGreater() success 49}}
<!-- Is skill < 50 -->
{{#rollLess() success 50}}
<!-- Is Fumble -->
{{#rollGreater() roll1 95}}
<td style="background:Red;" class="template_value"><b>Fumble</b></td>
{{/rollGreater() roll1 95}}
<!-- Is Fail -->
{{#rollLess() roll1 96}}
<td style="background:Crimson;" class="template_value">Fail</td>
{{/rollLess() roll1 96}}
{{/rollLess() success 50}}
{{/rollGreater() roll1 success}}
</tr>
<tr>
<td class="template_label">Dam:</td><td class="template_value">{{damage}}</td>
</tr>
</table>
</rolltemplate>
<!-- WORKERS -->
<script type="text/worker">
on("add:dex add:siz add:str change:dex change:siz change:str", function() {
getAttrs(["str", "siz", "dex", "age"], function(values) {
var istr = parseInt(values.str);
var isiz = parseInt(values.siz);
var idex = parseInt(values.dex);
var iage = parseInt(values.age);
var siz_str_tot = istr + isiz;
switch (true) {
case (siz_str_tot < 65):
setAttrs({
damage_bonus: "-2",
build: "-2"
});
break;
case (siz_str_tot > 64 && siz_str_tot < 85):
setAttrs({
damage_bonus: "-1",
build: "-1"
});
break;
case (siz_str_tot > 84 && siz_str_tot < 125):
setAttrs({
damage_bonus: "0",
build: "0"
});
break;
case (siz_str_tot > 124 && siz_str_tot < 165):
setAttrs({
damage_bonus: "1d4",
build: "+1"
});
break;
case (siz_str_tot > 164 && siz_str_tot < 205):
setAttrs({
damage_bonus: "1d6",
build: "+2"
});
break;
case (siz_str_tot > 204 && siz_str_tot < 285):
setAttrs({
damage_bonus: "2d6",
build: "+3"
});
break;
case (siz_str_tot > 284 && siz_str_tot < 365):
setAttrs({
damage_bonus: "3d6",
build: "+4"
});
break;
case (siz_str_tot > 364 && siz_str_tot < 445):
setAttrs({
damage_bonus: "4d6",
build: "+5"
});
break;
case (siz_str_tot > 444 && siz_str_tot < 525):
setAttrs({
damage_bonus: "5d6",
build: "+6"
});
break;
} //end switch (true)
if (idex < isiz && istr < isiz) {
var imov = 7;
} else if (idex > isiz && istr > isiz) {
var imov = 9;
} else {
var imov = 8;
}
if (iage < 40) {
imov = imov;
} else if (iage > 39 && iage < 50) {
imov = imov - 1;
} else if (iage > 49 && iage < 60) {
imov = imov - 2;
} else if (iage > 59 && iage < 70) {
imov = imov - 3;
} else if (iage > 69 && iage < 80) {
imov = imov - 4;
} else if (iage > 79 && iage < 90) {
imov = imov - 5;
} else if (iage > 89) {
imov = imov - 6;
}
setAttrs({mov: imov});
}); //end getAttrs
}); //end on("add:siz...
on("add:age change:age", function() {
getAttrs(["str", "siz", "dex", "age"], function(values) {
var iage = parseInt(values.age);
var istr = parseInt(values.str);
var isiz = parseInt(values.siz);
var idex = parseInt(values.dex);
if (idex < isiz && istr < isiz) {
var imov = 7;
} else if (idex > isiz && istr > isiz) {
var imov = 9;
} else {
var imov = 8;
}
if (iage < 40) {
imov = imov;
} else if (iage > 39 && iage < 50) {
imov = imov - 1;
} else if (iage > 49 && iage < 60) {
imov = imov - 2;
} else if (iage > 59 && iage < 70) {
imov = imov - 3;
} else if (iage > 69 && iage < 80) {
imov = imov - 4;
} else if (iage > 79 && iage < 90) {
imov = imov - 5;
} else if (iage > 89) {
imov = imov - 6;
}
setAttrs({mov: imov});
}); //end getAttrs
}); //end on("add:siz...
</script>