Files
Paul Venner f693dbce86 [Dreams and Machines] fixed NPC Weapon reroll
Fixed the reroll on the NPC Weapon
Also improved all the Weapon rolls to automatically use Might for melee type weapons and Quickness for Ranged.
2025-04-19 19:39:02 +01:00

1279 lines
77 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<datalist id="originlist">
<option>Everan</option>
<option>Dreamer</option>
<option>Archivist</option>
<option>Spear</option>
<option>River</option>
</datalist>
<datalist id="archtypelist">
<option>Fixer</option>
<option>Gatherer</option>
<option>Grabber</option>
<option>Guardian</option>
<option>Mediator</option>
<option>Tech</option>
<option>Weaver</option>
<option>Sentinel</option>
<option>Firebrand</option>
<option>Courier</option>
<option>Teller</option>
</datalist>
<datalist id="temperamentlist">
<option>Circumspect</option>
<option>Conspicuous</option>
<option>Demonstrative</option>
<option>Stubborn</option>
<option>Manipulative</option>
<option>Maverick</option>
</datalist>
<div class="sheet-main">
<input type='hidden' class='sheet-mtabstoggle' name='attr_sheetmTab' value='pc' />
<div class="sheet-mtabselector">
<button type="action" name="act_pc" class="sheet-mtabbutton" >PC</button>
<span> </span>
<button type="action" name="act_npc" class="sheet-mtabbutton" >NPC</button>
<span> </span>
<button type="action" name="act_majornpc" class="sheet-mtabbutton" >Major NPC</button>
</div>
<div class="charimage">
<img name="attr_character_avatar">
</div>
<div class="pc">
<div class="pcgrid">
<div class="pcheaderdice">
<button class="skill-character" type="roll" name="roll_skill" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~skill)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=?{Skill|Fight,@{fight}[fight]|Move,@{move}[move]|Operate,@{operate}[operate]|Sneak,@{sneak}[sneak]|Study,@{study}[study]|Survive,@{survive}[survive]|Talk,@{talk}[talk]}}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[?{Skill}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcheadertitle">
<label>Name</label>
</div>
<div class="pcheader">
<input name="attr_character_name" class="sheet-char-name" type="text" />
</div>
<input type='hidden' class='sheet-tabstoggle' name='attr_sheetTab' value='attributes' />
<div class="sheet-tabselector">
<button type="action" name="act_attributes" class="sheet-tabbutton" >Attributes</button>
<span> </span>
<button type="action" name="act_truths" class="sheet-tabbutton" >Truths</button>
<span> </span>
<button type="action" name="act_talents" class="sheet-tabbutton" >Talents</button>
<span> </span>
<button type="action" name="act_equipment" class="sheet-tabbutton" >Equipment</button>
<span> </span>
<button type="action" name="act_weapons" class="sheet-tabbutton" >Weapons</button>
</div>
<div class="attributes">
<div class="attributesgrid">
<div class="pcattributes-title">
<label>Attributes</label>
</div>
<div class="pcattributes-might">
<label title="represents a characters physical strength and endurance, and their knowledge of how best to use those qualities effectively. Mighty characters tend to be good at climbing, swimming, hand-to-hand combat, operating heavy equipment, lifting heavy loads, and breaking things." >Might</label>
<input name="attr_might" class="stat-inputs" type="number" value="6" />
<label>Weary</label>
<input name="attr_mightex" class="stat-inputs" type="checkbox" />
</div>
<div class="pcattributes-quickness">
<label title="represents a characters coordination, dexterity, reflexes, speed, and agility, as well as an understanding of how to apply those qualities in practice. Quick characters tend to be good at running, jumping, sneaking, feats of acrobatics, avoiding physical hazards, delicate or precise technical work, and responding rapidly to new circumstances." >Quickness</label>
<input name="attr_quickness" class="stat-inputs" type="number" value="6" />
<label>Breathless</label>
<input name="attr_quickness_exhaustion" class="stat-inputs" type="checkbox" />
</div>
<div class="pcattributes-insight">
<label title= "represents a characters ability to understand new information, piece together clues, notice unusual details, make intuitive leaps, and generally comprehend and apply knowledge. Insightful characters are clever, observant, and knowledgeable." >Insight</label>
<input name="attr_insight" class="stat-inputs" type="number" value="6" />
<label>Confused</label>
<input name="attr_insight_exhaustion" class="stat-inputs" type="checkbox" />
</div>
<div class="pcattributes-resolve">
<label title="represents a characters ability to resist coercion, to remain focused when scared, stressed, or debilitated by pain or doubt, or to command attention. Resolute characters tend to have a potent force of personality, and may come across as persuasive or compelling, but theyre also stalwart and determined, able to keep a calm head during stressful situations." >Resolve</label>
<input name="attr_resolve" class="stat-inputs" type="number" value="6" />
<label>Despairing</label>
<input name="attr_resolve_exhaustion" class="stat-inputs" type="checkbox" />
</div>
<div class="pcspiritpool">
<label>Spirit Pool</label>
<label>Curr</label> <input name="attr_currspirit" class="char-inputs-size3" type="number" value="0" />
<label>Max</label> <input name="attr_maxspirit" class="char-inputs-size3" type="number" value="0" />
</div>
<div class="pcspiritdrive">
<label>Drive</label><textarea name="attr_drive" class="textarea-size1" type="text" />
</div>
<div class="pcskills-title">
<label>Skills</label>
</div>
<div class="pcskills-fight">
<label title="covers attempting to inflict or avoid harm, as well as the tricks, tactics, and techniques of combat." >Fight</label>
<input name="attr_fight" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_fight" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~fight)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{fight}[fight]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{fight}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcskills-move">
<label title= "covers traversing an environment, by running, climbing, swimming, jumping, and other methods. It can also include identifying a route through difficult or dangerous terrain, and guiding others through it." >Move</label>
<input name="attr_move" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_move" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~move)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{move}[move]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{move}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcskills-operate">
<label title="overs using, maintaining, and fixing tools and machines. This skill is the one most affected by the characters Tech Level " >Operate</label>
<input name="attr_operate" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_operate" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~operate)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{operate}[operate]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{operate}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcskills-sneak">
<label title="covers actions taken in such a way as to avoid notice, such as moving quietly and hiding, as well as performing subtle or clandestine actions such as using camouflage, picking locks, bypassing security systems and traps, picking pockets, and creating effective distractions to mislead or confuse adversaries." >Sneak</label>
<input name="attr_sneak" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_sneak" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~sneak)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{sneak}[sneak]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{sneak}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcskills-study">
<label title="covers the ability to gain information through observation and investigation. This can include research of ancient books and data from old computers, as well as learning about creatures, machines, and situations by carefully watching them." >Study</label>
<input name="attr_study" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_study" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~study)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{study}[study]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{study}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcskills-survive">
<label title="covers how to effectively stay alive in the wilderness, helping when a character wishes to gather food and other resources in the wild, to avoid exposure to extreme weather and other environmental conditions, and to navigate using natural landmarks, stars, and other signs. It also covers more short-term survival, such as resisting poisons, diseases, and other debilitating effects, and how to treat Injuries." >Survive</label>
<input name="attr_survive" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_survive" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~survive)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{survive}[survive]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{survive}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pcskills-talk">
<label title="covers how to interact with other people, to convey complex ideas effectively, or to use emotive language to inspire or coerce. This also includes a knowledge of these techniques, and an ability to notice when theyre being used to manipulate or deceive." >Talk</label>
<input name="attr_talk" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_talk" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~talk)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{talk}[talk]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{talk}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="pctechlevel">
<label>Tech Level</label> <input name="attr_techlevel" class="char-inputs-size3" type="number" value="0" />
</div>
<div class="pcsupplypoints">
<label>Supply Points</label>
<label>Curr</label> <input name="attr_currsupply" class="char-inputs-size3" type="number" value="0" />
<label>Max</label> <input name="attr_maxsupply" class="char-inputs-size3" type="number" value="0" />
</div>
<div class="pcgrowth">
<label>Growth</label> <input name="attr_growth" class="char-inputs-size3" type="number" value="0" />
</div>
<div class="pcinjuries">
<label>Injuries Treated Days Bedrest</label>
<div class="injuriess">
<fieldset class="repeating_injuries">
<div class="injuries-row">
<input name="attr_injuryname" class="name-inputs" type="text" />
<input name="attr_injurytreated" class="name-inputs" type="checkbox" />
<input name="attr_injurydays" class="name-inputs" type="number" />
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="truths">
<div class="truths-grid">
<div class="truths-title">
<label>Character Truths</label>
</div>
<div class="truths-origin">
<label>Origin</label> <input name="attr_origin" class="char-inputs-size2" list="originlist" type="text" />
</div>
<div class="truths-archtype">
<label>Archetype</label> <input name="attr_archetype" class="char-inputs-size2" list="archtypelist" type="text" />
</div>
<div class="truths-temperament">
<label>Temperament</label> <input name="attr_temperament" class="char-inputs-size2" list="temperamentlist" type="text" />
</div>
<div class="truths-other">
<label>Other</label>
<fieldset class="repeating_truths">
<div class="truths-row">
<input name="attr_truthname" class="name-inputs-size5" type="text" />
</div>
</fieldset>
</div>
<div class="bonds">
<label>Bonds</label>
<fieldset class="repeating_bonds">
<div class="bonds-row">
<input name="attr_bondname" class="name-inputs" type="text" />
<select id="bondtype" name="attr_attr_bondtypeh">
<option value="" data-i18n="choose">Choose</option>
<option value="rivalry">Rivalry</option>
<option value="supportive">Supportive</option>
</select>
</div>
</fieldset>
</div>
</div>
</div>
<div class="talents">
<div class="talents-grid">
<div class="archtypegoal">
<label>Archtype Goal</label> <textarea name="attr_archetypegoal" class="textarea-size1" type="text" />
</div>
<div class="exhaustion">
<label>Exhaustion</label> <textarea name="attr_exhaustion" class="textarea-size1" type="text" />
</div>
<div class="attitude">
<label>Attitude</label> <textarea name="attr_attitude" class="textarea-size1" type="text" />
</div>
<div class="talents-title">
<h2 class="left-title">Talents</h2>
</div>
<div class="talents-list">
<fieldset class="repeating_talents">
<div class="talents-row">
<input name="attr_talentname" class="char-inputs-size3" type="text" />
<input type="checkbox" class="sheet-talentdesc-show" />
<div class="talent-desc"><textarea name="attr_talentdesciption" class="name-inputs" type="text" /></div>
</div>
</fieldset>
</div>
<div class="goals">
<label>Goals</label>
<label>Short Term</label>
<div class="shortgoals">
<fieldset class="repeating_shortgoals">
<div class="shortgoals-row">
<input name="attr_goalname" class="name-inputs" type="text" />
</div>
</fieldset>
</div>
<label>Long Term</label>
<div class="longgoals">
<fieldset class="repeating_longgoals">
<div class="longgoals-row">
<input name="attr_goalname" class="name-inputs" type="text" />
</div>
</fieldset>
</div>
</div>
</div>
</div>
<div class="equipment">
<div class="equipment-grid">
<div class="coin">
<label>Coin</label> <input name="attr_coin" class="char-inputs-small" type="number" value="0" />
</div>
<div class="equipment-title">
<h2 class="left-title">Equipment</h2>
</div>
<div class="equipment-title-name">
<label class="left-label-small">Name</label>
</div>
<div class="equipment-title-desc">
<label class="left-label-small">Description</label>
</div>
<div class="equipment-list">
<fieldset class="repeating_equipment">
<div class="equipment-row">
<input name="attr_equipname" class="char-inputs-size3" type="text" />
<input name="attr_equipdescription" class="char-inputs-size5" type="text" /> &nbsp;
</div>
</fieldset>
</div>
</div>
</div>
<div class="weapons">
<div class="weapons-grid">
<div class="armour-title">
<h2 class="left-title">Armour</h2>
</div>
<div class="armour-title-name">
<label class="left-label-small">Name</label><input name="attr_armourname" class="char-inputs-size3" type="text" />
</div>
<div class="armour-title-tech">
<label class="left-label-small">Tech</label><input name="attr_weapontech" class="char-inputs-size1" type="number" value="0" />
</div>
<div class="armour-title-protection">
<label class="left-label-small">Protection</label><input name="attr_weaponprotection" class="char-inputs-size1" type="number" value="0" />
</div>
<div class="armour-title-breaker">
<label class="left-label-small">Breaker</label> <input name="attr_weaponprotbreaker" class="char-inputs-size1" type="number" value="0" />
</div>
<div class="armour-title-qual">
<label class="left-label-small">Qualities</label> <input name="attr_weaponqualities" class="char-inputs-size4" type="text" />
</div>
<div class="weapons-title">
<h2 class="left-title">Weapons</h2>
</div>
<div class="weapons-title-name">
<label class="left-label-small">Name</label>
</div>
<div class="weapons-title-tech">
<label class="left-label-small">Tech</label>
</div>
<div class="weapons-title-type">
<label class="left-label-small">Type</label>
</div>
<div class="weapons-title-damage">
<label class="left-label-small">Damage</label>
</div>
<div class="weapons-title-qual">
<label class="left-label-small">Qualities</label>
</div>
<div class="weapons-list">
<fieldset class="repeating_weapons">
<div class="weapons-row">
<button class="weapon-roll" type="roll" name="roll_weapon" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foweapon} {{name=@{character_name}}} {{reroll=[Reroll](~repeating_weapons_weapon)}} {{attribute=@{weaponattributevalue}[@{weaponattributename}]}} {{skill=@{fight}[fight]}} {{attr_num=[[@{weaponattributevalue}]]}} {{skill_num=[[@{fight}]]}} {{weapon=@{weaponname}}} {{damage=@{weapondamage}}} {{qualities=@{weaponqualities}}} {{target=[[@{weaponattributevalue}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
<input name="attr_weaponname" class="char-inputs-size2" type="text" />
<input name="attr_weapontech" class="char-inputs-size1" type="number" value="0" />
<select name="attr_weapontype" class="char-select">
<option value="" data-i18n="choose">Choose</option>
<option value="ranged">Ranged</option>
<option value="melee">Melee</option>
<input name="attr_weapondamage" class="char-inputs-size1" type="text" />
<input name="attr_weaponqualities" class="char-inputs-size4" type="text" />
<input name="attr_weaponattributename" type="hidden" />
<input name="attr_weaponattributevalue" type="hidden" />
</div>
</fieldset>
</div>
</div>
</div>
</div>
</div>
<div class="npc">
<div class="npcgrid">
<div class="npcheadertitle">
<label>Name</label>
</div>
<div class="npcheader">
<input name="attr_character_name" class="sheet-char-name" type="text" />
</div>
<div class="npcattribute-maintitle">
<input name="attr_mnpctruth" class="stat-inputs" type="text" value="NPC Truth" />
</div>
<div class="npcattribute-main">
<input name="attr_main" class="stat-inputs" type="number" value="10" />
</div>
<div class="npcattribute-mainskill">
<input name="attr_mainskill" class="stat-inputs" type="number" value="2" />
</div>
<div class="npcattribute-mainroll">
<button class="skill-character" type="roll" name="roll_main" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~main)}} {{attribute=Main,@{main}[main]}}} {{skill=Main Skill,@{mainskill}[mainskill]}} {{attr_num=[[@{main}]]}} {{skill_num=[[@{mainskill}]]}} {{target=[[@{main}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="npcattribute-defaulttitle">
<label title="" >Default</label>
</div>
<div class="npcattribute-default">
<input name="attr_default" class="stat-inputs" type="number" value="7" />
</div>
<div class="npcattribute-defaultskill">
<input name="attr_defaultskill" class="stat-inputs" type="number" value="1" />
</div>
<div class="npcattribute-defaultroll">
<button class="skill-character" type="roll" name="roll_default" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~default)}} {{attribute=Default,@{default}[default]}}} {{skill=Default Skill,@{defaultskill}[defaultskill]}} {{attr_num=[[@{default}]]}} {{skill_num=[[@{defaultskill}]]}} {{target=[[@{default}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="npcweapons-title">
<h2 class="left-title">Weapons</h2>
</div>
<div class="npcweapons-title-name">
<label class="left-label-small">Name</label>
</div>
<div class="npcweapons-title-type">
<label class="left-label-small">Type</label>
</div>
<div class="npcweapons-title-damage">
<label class="left-label-small">Damage</label>
</div>
<div class="npcweapons-title-qual">
<label class="left-label-small">Qualities</label>
</div>
<div class="npcweapons-list">
<fieldset class="repeating_weapons">
<div class="weapons-row">
<button class="weapon-roll" type="roll" name="roll_nweapon" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foweapon} {{name=@{character_name}}} {{reroll=[Reroll](~repeating_weapons_nweapon)}} {{attribute=Main,@{main}[main]}}} {{skill=Main Skill,@{mainskill}[mainskill]}} {{attr_num=[[@{main}]]}} {{skill_num=[[@{mainskill}]]}} {{target=[[@{main}]]}} {{weapon=@{weaponname}}} {{damage=@{weapondamage}}} {{qualities=@{weaponqualities}}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
<input name="attr_weaponname" class="char-inputs-size2" type="text" />
<input name="attr_weapontech" class="char-inputs-size1" type="number" value="0" />
<select id="weapontype" name="attr_attr_weapontype" class="char-select">
<option value="" data-i18n="choose">Choose</option>
<option value="ranged">Ranged</option>
<option value="melee">Melee</option>
<input name="attr_weapondamage" class="char-inputs-size1" type="text" />
<input name="attr_weaponqualities" class="char-inputs-size4" type="text" />
<input name="attr_weaponattributename" type="hidden" />
<input name="attr_weaponattributevalue" type="hidden" />
</div>
</fieldset>
</div>
<div class="npcactions-title">
<h2 class="left-title">Actions</h2>
</div>
<div class="npcactions-list">
<fieldset class="repeating_actions">
<div class="actions-row">
<input name="attr_actionname" class="char-inputs-size3" type="text" />
<input type="checkbox" class="sheet-actiondesc-show" />
<div class="action-desc"><textarea name="attr_actiondesciption" class="name-inputs" type="text" /></div>
</div>
</fieldset>
</div>
<div class="npcspecialabilities-title">
<h2 class="left-title">Special Abilities</h2>
</div>
<div class="npcspecialabilities-list">
<fieldset class="repeating_specialabilities">
<div class="specialabilities-row">
<input name="attr_specialabilityname" class="char-inputs-size3" type="text" />
<input type="checkbox" class="sheet-specialabilitydesc-show" />
<div class="specialability-desc"><textarea name="attr_specialabilitydesciption" class="name-inputs" type="text" /></div>
</div>
</fieldset>
</div>
</div>
</div>
<div class="majornpc">
<div class="mpcgrid">
<div class="mpcheadertitle">
<label>Name</label>
</div>
<div class="mpcheader">
<input name="attr_character_name" class="sheet-char-name" type="text" />
</div>
<div class="mpcheaderdice">
<button class="skill-character" type="roll" name="roll_skill" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~skill)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=?{Skill|Fight,@{fight}[fight]|Move,@{move}[move]|Operate,@{operate}[operate]|Sneak,@{sneak}[sneak]|Study,@{study}[study]|Survive,@{survive}[survive]|Talk,@{talk}[talk]}}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[?{Skill}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcpersonalthreat">
<label>Personal Threat</label> <input name="attr_personalthreat" class="char-inputs-size3" type="number" value="0" />
</div>
<div class="mpcdefeat">
<label>Defeat</label> <input name="attr_defeat" class="char-inputs-size3" type="text"/>
</div>
<div class="mpcmajornpctruth">
<label>Truth</label><input name="attr_majornpctruth" class="char-inputs-size3" type="text"/>
</div>
<div class="mpcattributes-title">
<label>Attributes</label>
</div>
<div class="mpcattributes-might">
<label title="represents a characters physical strength and endurance, and their knowledge of how best to use those qualities effectively. Mighty characters tend to be good at climbing, swimming, hand-to-hand combat, operating heavy equipment, lifting heavy loads, and breaking things." >Might</label>
<input name="attr_might" class="stat-inputs" type="number" value="6" />
</div>
<div class="mpcattributes-quickness">
<label title="represents a characters coordination, dexterity, reflexes, speed, and agility, as well as an understanding of how to apply those qualities in practice. Quick characters tend to be good at running, jumping, sneaking, feats of acrobatics, avoiding physical hazards, delicate or precise technical work, and responding rapidly to new circumstances." >Quickness</label>
<input name="attr_quickness" class="stat-inputs" type="number" value="6" />
</div>
<div class="mpcattributes-insight">
<label title= "represents a characters ability to understand new information, piece together clues, notice unusual details, make intuitive leaps, and generally comprehend and apply knowledge. Insightful characters are clever, observant, and knowledgeable." >Insight</label>
<input name="attr_insight" class="stat-inputs" type="number" value="6" />
</div>
<div class="mpcattributes-resolve">
<label title="represents a characters ability to resist coercion, to remain focused when scared, stressed, or debilitated by pain or doubt, or to command attention. Resolute characters tend to have a potent force of personality, and may come across as persuasive or compelling, but theyre also stalwart and determined, able to keep a calm head during stressful situations." >Resolve</label>
<input name="attr_resolve" class="stat-inputs" type="number" value="6" />
</div>
<div class="mpcskills-title">
<label>Skills</label>
</div>
<div class="mpcskills-fight">
<label title="covers attempting to inflict or avoid harm, as well as the tricks, tactics, and techniques of combat." >Fight</label>
<input name="attr_fight" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_fight" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~fight)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{fight}[fight]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{fight}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcskills-move">
<label title= "covers traversing an environment, by running, climbing, swimming, jumping, and other methods. It can also include identifying a route through difficult or dangerous terrain, and guiding others through it." >Move</label>
<input name="attr_move" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_move" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~move)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{move}[move]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{move}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcskills-operate">
<label title="overs using, maintaining, and fixing tools and machines. This skill is the one most affected by the characters Tech Level " >Operate</label>
<input name="attr_operate" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_operate" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~operate)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{operate}[operate]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{operate}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcskills-sneak">
<label title="covers actions taken in such a way as to avoid notice, such as moving quietly and hiding, as well as performing subtle or clandestine actions such as using camouflage, picking locks, bypassing security systems and traps, picking pockets, and creating effective distractions to mislead or confuse adversaries." >Sneak</label>
<input name="attr_sneak" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_sneak" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~sneak)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{sneak}[sneak]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{sneak}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcskills-study">
<label title="covers the ability to gain information through observation and investigation. This can include research of ancient books and data from old computers, as well as learning about creatures, machines, and situations by carefully watching them." >Study</label>
<input name="attr_study" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_study" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~study)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{study}[study]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{study}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcskills-survive">
<label title="covers how to effectively stay alive in the wilderness, helping when a character wishes to gather food and other resources in the wild, to avoid exposure to extreme weather and other environmental conditions, and to navigate using natural landmarks, stars, and other signs. It also covers more short-term survival, such as resisting poisons, diseases, and other debilitating effects, and how to treat Injuries." >Survive</label>
<input name="attr_survive" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_survive" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~survive)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{survive}[survive]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{survive}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcskills-talk">
<label title="covers how to interact with other people, to convey complex ideas effectively, or to use emotive language to inspire or coerce. This also includes a knowledge of these techniques, and an ability to notice when theyre being used to manipulate or deceive." >Talk</label>
<input name="attr_talk" class="stat-inputs" type="number" value="1" />
<button class="skill-character" type="roll" name="roll_talk" title="Roll 2d20" data-i18n-title="roll-2d20"
value="&{template:foskill} {{name=@{character_name}}} {{reroll=[Reroll](~talk)}} {{attribute=?{Attribute|Might,@{might}[might]|Quickness,@{quickness}[quickness]|Insight,@{insight}[insight]|Resolve,@{resolve}[resolve]}}} {{skill=@{talk}[talk]}} {{attr_num=[[?{Attribute}]]}} {{skill_num=[[@{talk}]]}} {{target=[[?{Attribute}]]}} {{dice_num=[[?{Number of dice|2|1|2|3|4|5|6}]]}} {{tag=[[1]]}} {{result_1=[[1d20]]}} {{result_2=[[1d20]]}} {{result_3=[[1d20]]}} {{result_4=[[1d20]]}} {{result_5=[[1d20]]}} {{result_6=[[1d20]]}}" />
</div>
<div class="mpcspecialabilities-title">
<h2 class="left-title">Special Abilities</h2>
</div>
<div class="mpcspecialabilities-list">
<fieldset class="repeating_specialabilities">
<div class="specialabilities-row">
<input name="attr_specialabilityname" class="char-inputs-size3" type="text" />
<input type="checkbox" class="sheet-specialabilitydesc-show" />
<div class="specialability-desc"><textarea name="attr_specialabilitydesciption" class="name-inputs" type="text" /></div>
</div>
</fieldset>
</div>
<div class="mpcactions-title">
<h2 class="left-title">Actions</h2>
</div>
<div class="mpcactions-list">
<fieldset class="repeating_actions">
<div class="actions-row">
<input name="attr_actionname" class="char-inputs-size2" type="text" />
<input name="attr_actionroll" class="char-inputs-size1" type="text" />
<input type="checkbox" class="sheet-actiondesc-show" />
<div class="action-desc"><textarea name="attr_actiondesciption" class="name-inputs" type="text" /></div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<!-- Roll Templates -->
<script type="text/worker">
//Buttons for Tabs
const mbuttonlist = ["pc","npc","majornpc"];
mbuttonlist.forEach(button => {
on(`clicked:${button}`, function() {
setAttrs({
sheetmTab: button,
});
});
});
//Buttons for Tabs
const buttonlist = ["attributes","truths","talents","equipment","weapons"];
buttonlist.forEach(button => {
on(`clicked:${button}`, function() {
setAttrs({
sheetTab: button,
});
});
});
on("change:repeating_weapons:weapontype", function() {
getAttrs(["repeating_weapons_weapontype","might","quickness"], function(values) {
var weapontype = values["repeating_weapons_weapontype"]||"";
var migt = values["might"]||"";
var quik = values["quickness"]||"";
var attributename = "unset";
var attributevalue = quik;
if (weapontype == "ranged") { attributename= "quickness" ; attributevalue = quik};
if (weapontype == "melee") { attributename= "might" ; attributevalue = migt};
setAttrs({
"repeating_class_weaponattributename": attributename,
"repeating_class_weaponattributevalue": attributevalue,
});
});
});
on("change:repeating_weapons:weapontype", function() {
getAttrs(["repeating_weapons_weapontype","might","quickness"], function(values) {
var weapontype = values["repeating_weapons_weapontype"]||"";
var migt = values["might"]||"";
var quik = values["quickness"]||"";
var attributename = "unset";
var attributevalue = quik;
if (weapontype == "ranged") { attributename= "quickness" ; attributevalue = quik};
if (weapontype == "melee") { attributename= "might" ; attributevalue = migt};
setAttrs({
"repeating_class_weaponattributename": attributename,
"repeating_class_weaponattributevalue": attributevalue,
});
});
});
</script>
<rolltemplate class="sheet-rolltemplate-foskill">
<span class="hidden-attribute" data-i18n-placeholder="{{attribute}}"></span>
<span class="hidden-skill" data-i18n-placeholder="{{skill}}"></span>
<div class="container">
<h1>{{name}}</h1>
<p><strong>{{dice_num}}d20 vs. {{target}}</strong><br />
{{#attribute}}
<span class="hidden might">Might</span>
<span class="hidden quickness">Quickness</span>
<span class="hidden insight">Insight</span>
<span class="hidden resolve">Resolve</span>
<span class="hidden main">Main</span>
<span class="hidden default">Default</span>
({{attr_num}})
{{/attribute}}
{{#skill}}
<span class="hidden fight">Fight</span>
<span class="hidden move">Move</span>
<span class="hidden operate">Operate</span>
<span class="hidden sneak">Sneak</span>
<span class="hidden study">Study</span>
<span class="hidden survive">Survive</span>
<span class="hidden talk">Talk</span>
<span class="hidden mainskill">Main Skill</span>
<span class="hidden defaultskill">Default Skill</span>
({{skill_num}}{{#rollTotal() tag 1}} {{/rollTotal() tag 1}})
{{/skill}}
</p>
</div>
<div class="results">
<!-- result 1 -->
{{#rollGreater() dice_num 0}}
{{#rollBetween() result_1 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_1 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollBetween() result_1 1 skill_num}}
{{#rollGreater() result_1 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollGreater() result_1 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_1 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollTotal() result_1 1}}
{{#rollGreater() result_1 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollGreater() result_1 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_1 1 target}}
{{#rollGreater() result_1 target}}
{{#rollLess() result_1 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollLess() result_1 20}}
{{#rollBetween() result_1 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollBetween() result_1 20 20}}
{{/rollGreater() result_1 target}}
{{/rollGreater() dice_num 0}}
<!-- result 2 -->
{{#rollGreater() dice_num 1}}
{{#rollBetween() result_2 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_2 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollBetween() result_2 1 skill_num}}
{{#rollGreater() result_2 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollGreater() result_2 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_2 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollTotal() result_2 1}}
{{#rollGreater() result_2 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollGreater() result_2 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_2 1 target}}
{{#rollGreater() result_2 target}}
{{#rollLess() result_2 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollLess() result_2 20}}
{{#rollBetween() result_2 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollBetween() result_2 20 20}}
{{/rollGreater() result_2 target}}
{{/rollGreater() dice_num 1}}
<!-- result 3 -->
{{#rollGreater() dice_num 2}}
{{#rollBetween() result_3 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_3 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollBetween() result_3 1 skill_num}}
{{#rollGreater() result_3 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollGreater() result_3 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_3 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollTotal() result_3 1}}
{{#rollGreater() result_3 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollGreater() result_3 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_3 1 target}}
{{#rollGreater() result_3 target}}
{{#rollLess() result_3 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollLess() result_3 20}}
{{#rollBetween() result_3 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollBetween() result_3 20 20}}
{{/rollGreater() result_3 target}}
{{/rollGreater() dice_num 2}}
<!-- result 4 -->
{{#rollGreater() dice_num 3}}
{{#rollBetween() result_4 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_4 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollBetween() result_4 1 skill_num}}
{{#rollGreater() result_4 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollGreater() result_4 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_4 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollTotal() result_4 1}}
{{#rollGreater() result_4 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollGreater() result_4 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_4 1 target}}
{{#rollGreater() result_4 target}}
{{#rollLess() result_4 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollLess() result_4 20}}
{{#rollBetween() result_4 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollBetween() result_4 20 20}}
{{/rollGreater() result_4 target}}
{{/rollGreater() dice_num 3}}
<!-- result 5 -->
{{#rollGreater() dice_num 4}}
{{#rollBetween() result_5 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_5 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollBetween() result_5 1 skill_num}}
{{#rollGreater() result_5 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollGreater() result_5 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_5 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollTotal() result_5 1}}
{{#rollGreater() result_5 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollGreater() result_5 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_5 1 target}}
{{#rollGreater() result_5 target}}
{{#rollLess() result_5 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollLess() result_5 20}}
{{#rollBetween() result_5 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollBetween() result_5 20 20}}
{{/rollGreater() result_5 target}}
{{/rollGreater() dice_num 4}}
<!-- result 6 -->
{{#rollGreater() dice_num 5}}
{{#rollBetween() result_6 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_6 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollBetween() result_6 1 skill_num}}
{{#rollGreater() result_6 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollGreater() result_6 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_6 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollTotal() result_6 1}}
{{#rollGreater() result_6 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollGreater() result_6 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_6 1 target}}
{{#rollGreater() result_6 target}}
{{#rollLess() result_6 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollLess() result_6 20}}
{{#rollBetween() result_6 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollBetween() result_6 20 20}}
{{/rollGreater() result_6 target}}
{{/rollGreater() dice_num 5}}
</div>
<div class="options">
{{locroll}}
{{dmgroll}}
{{reroll}}
</div>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-foweapon">
<span class="hidden-attribute" data-i18n-placeholder="{{attribute}}"></span>
<span class="hidden-skill" data-i18n-placeholder="{{skill}}"></span>
<div class="container">
<h1>{{name}}</h1>
<p><strong>{{dice_num}}d20 vs. {{target}}</strong><br />
{{#attribute}}
<span class="hidden might">Might</span>
<span class="hidden quickness">Quickness</span>
<span class="hidden main">Main</span>
<span class="hidden default">Default</span>
({{attr_num}})
{{/attribute}}
{{#skill}}
<span class="hidden fight">Fight</span>
<span class="hidden mainskill">Main Skill</span>
<span class="hidden defaultskill">Default Skill</span>
({{skill_num}}{{#rollTotal() tag 1}} {{/rollTotal() tag 1}})
{{/skill}}
<br />
<br /> <strong>Weapon:</strong> {{weapon}}
<br /> <strong>Damage:</strong> {{damage}}
<br /> <strong>Qualities:</strong> {{qualities}}
</p>
</div>
<div class="results">
<!-- result 1 -->
{{#rollGreater() dice_num 0}}
{{#rollBetween() result_1 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_1 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollBetween() result_1 1 skill_num}}
{{#rollGreater() result_1 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollGreater() result_1 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_1 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollTotal() result_1 1}}
{{#rollGreater() result_1 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollGreater() result_1 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_1 1 target}}
{{#rollGreater() result_1 target}}
{{#rollLess() result_1 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollLess() result_1 20}}
{{#rollBetween() result_1 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_1}})</div>
</div>
{{/rollBetween() result_1 20 20}}
{{/rollGreater() result_1 target}}
{{/rollGreater() dice_num 0}}
<!-- result 2 -->
{{#rollGreater() dice_num 1}}
{{#rollBetween() result_2 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_2 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollBetween() result_2 1 skill_num}}
{{#rollGreater() result_2 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollGreater() result_2 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_2 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollTotal() result_2 1}}
{{#rollGreater() result_2 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollGreater() result_2 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_2 1 target}}
{{#rollGreater() result_2 target}}
{{#rollLess() result_2 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollLess() result_2 20}}
{{#rollBetween() result_2 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_2}})</div>
</div>
{{/rollBetween() result_2 20 20}}
{{/rollGreater() result_2 target}}
{{/rollGreater() dice_num 1}}
<!-- result 3 -->
{{#rollGreater() dice_num 2}}
{{#rollBetween() result_3 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_3 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollBetween() result_3 1 skill_num}}
{{#rollGreater() result_3 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollGreater() result_3 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_3 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollTotal() result_3 1}}
{{#rollGreater() result_3 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollGreater() result_3 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_3 1 target}}
{{#rollGreater() result_3 target}}
{{#rollLess() result_3 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollLess() result_3 20}}
{{#rollBetween() result_3 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_3}})</div>
</div>
{{/rollBetween() result_3 20 20}}
{{/rollGreater() result_3 target}}
{{/rollGreater() dice_num 2}}
<!-- result 4 -->
{{#rollGreater() dice_num 3}}
{{#rollBetween() result_4 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_4 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollBetween() result_4 1 skill_num}}
{{#rollGreater() result_4 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollGreater() result_4 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_4 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollTotal() result_4 1}}
{{#rollGreater() result_4 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollGreater() result_4 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_4 1 target}}
{{#rollGreater() result_4 target}}
{{#rollLess() result_4 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollLess() result_4 20}}
{{#rollBetween() result_4 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_4}})</div>
</div>
{{/rollBetween() result_4 20 20}}
{{/rollGreater() result_4 target}}
{{/rollGreater() dice_num 3}}
<!-- result 5 -->
{{#rollGreater() dice_num 4}}
{{#rollBetween() result_5 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_5 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollBetween() result_5 1 skill_num}}
{{#rollGreater() result_5 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollGreater() result_5 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_5 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollTotal() result_5 1}}
{{#rollGreater() result_5 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollGreater() result_5 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_5 1 target}}
{{#rollGreater() result_5 target}}
{{#rollLess() result_5 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollLess() result_5 20}}
{{#rollBetween() result_5 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_5}})</div>
</div>
{{/rollBetween() result_5 20 20}}
{{/rollGreater() result_5 target}}
{{/rollGreater() dice_num 4}}
<!-- result 6 -->
{{#rollGreater() dice_num 5}}
{{#rollBetween() result_6 1 target}}
{{#rollTotal() tag 1}}
{{#rollBetween() result_6 1 skill_num}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollBetween() result_6 1 skill_num}}
{{#rollGreater() result_6 skill_num}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollGreater() result_6 skill_num}}
{{/rollTotal() tag 1}}
{{#rollTotal() tag 0}}
{{#rollTotal() result_6 1}}
<div class="result critical">
<div class="total">2</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollTotal() result_6 1}}
{{#rollGreater() result_6 1}}
<div class="result success">
<div class="total">1</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollGreater() result_6 1}}
{{/rollTotal() tag 0}}
{{/rollBetween() result_6 1 target}}
{{#rollGreater() result_6 target}}
{{#rollLess() result_6 20}}
<div class="result failure">
<div class="total">0</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollLess() result_6 20}}
{{#rollBetween() result_6 20 20}}
<div class="result complication">
<div class="total">X</div>
<div class="dice">({{result_6}})</div>
</div>
{{/rollBetween() result_6 20 20}}
{{/rollGreater() result_6 target}}
{{/rollGreater() dice_num 5}}
</div>
<div class="options">
{{locroll}}
{{dmgroll}}
{{reroll}}
</div>
</rolltemplate>