Files
roll20-character-sheets/Mythras/Mythras.html
T

9055 lines
800 KiB
HTML

<input type="radio" class="mythras-variant-toggle hidden" name="attr_sheet_varient" value="mythras" checked>
<input type="radio" class="mspace-variant-toggle hidden" name="attr_sheet_varient" value="m-space">
<div class="wrapper">
<!-- Header -->
<div class="logo float-right">
<span class="float-right"><span class="bold" data-i18n="sheet-version-u">Sheet Version</span>: <input type="text" class="disabled number-width text-align-center" name="attr_version" value="1.8.0"></span>
<img class="mythras-variant" src="http://i.imgur.com/Sm3ilMW.png">
<img class="mspace-variant" src="https://i.imgur.com/5uPy3QU.jpg">
</div>
<h3><span data-i18n="settings-u">Settings</span></h3>
<!-- These settings are set indirectly and are hidden from view -->
<input type="radio" class="classic-fantasy-style-toggle hidden" name="attr_sheet_style" value="classic_fantasy">
<input type="radio" class="default-style-toggle hidden" name="attr_sheet_style" value="default" checked>
<input type="radio" class="luther-arkwright-style-toggle hidden" name="attr_sheet_style" value="luther_arkwright">
<input type="radio" class="m-space-style-toggle hidden" name="attr_sheet_style" value="m-space">
<input type="radio" class="thennla-style-toggle hidden" name="attr_sheet_style" value="thennla">
<input type="checkbox" class="hidden" name="attr_luck_points_rank" value="1">
<input type="checkbox" class="tenacity-enabled-toggle hidden" name="attr_tenacity_enabled" value="1">
<input type="checkbox" class="affiliations-enabled-toggle hidden" name="attr_affiliations_enabled" value="1">
<input type="checkbox" class="extended-conflict-toggle hidden" name="attr_extended_conflict_enabled" value="1">
<input type="checkbox" class="simplified-combat-toggle hidden" name="attr_simplified_combat_enabled" value="1">
<input type="checkbox" class="firearms-enabled-toggle hidden" name="attr_firearms_enabled" value="1" checked>
<input type="checkbox" class="boating-standard-toggle hidden" name="attr_boating_standard" value="1">
<input type="checkbox" class="status-standard-toggle hidden" name="attr_status_standard" value="1">
<input type="checkbox" class="dependencies-enabled-toggle hidden" name="attr_dependencies_enabled" value="1">
<input type="checkbox" class="superstition-standard-toggle hidden" name="attr_superstition_standard" value="1">
<input type="checkbox" class="ms-psionics-enabled-toggle hidden" name="attr_ms_psionics_enabled" value="1">
<input type="checkbox" class="roman-magic-enabled-toggle hidden" name="attr_roman_magic_enabled" value="1">
<input type="checkbox" class="arcane-magic-enabled-toggle hidden" name="attr_arcane_magic_enabled" value="1">
<input type="checkbox" class="divine-magic-enabled-toggle hidden" name="attr_divine_magic_enabled" value="1">
<input type="checkbox" class="folk-magic-enabled-toggle hidden" name="attr_folk_magic_enabled" value="1" checked>
<input type="checkbox" class="animism-enabled-toggle hidden" name="attr_animism_enabled" value="1" checked>
<input type="checkbox" class="spirit-tenacity-toggle hidden" name="attr_spirit_tenacity" value="1">
<input type="checkbox" class="mysticism-enabled-toggle hidden" name="attr_mysticism_enabled" value="1" checked>
<input type="checkbox" class="mythras-psionics-enabled-toggle hidden" name="attr_mythras_psionics_enabled" value="1">
<input type="checkbox" class="sorcery-enabled-toggle hidden" name="attr_sorcery_enabled" value="1" checked>
<input type="checkbox" class="theism-enabled-toggle hidden" name="attr_theism_enabled" value="1" checked>
<select class="hidden" name="attr_max_devotional_pool_based_on">
<option value="@{rank_devotion_pool_limit}" selected><span data-i18n="cult-rank-u">Cult Rank</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
</select>
<input type="radio" class="sns-vehicles-toggle hidden" name="attr_vehicle_type" value="ships" checked>
<input type="radio" class="mythras-vehicles-toggle hidden" name="attr_vehicle_type" value="mythras">
<input type="radio" class="mspace-vehicles-toggle hidden" name="attr_vehicle_type" value="mspace">
<div style="float:left;">
<span class="bold" data-i18n="sheet-type-u">Sheet Type</span>: <br>
</div>
<!-- Supported Sheet Types -->
<input type="radio" class="type-toggle-pc" name="attr_type" value="pc" checked><span data-i18n="pc-u">PC</span></input>
<input type="radio" class="type-toggle-npc" name="attr_type" value="npc"><span data-i18n="npc-u">NPC</span></input>
<input type="radio" class="mythras-variant type-toggle-battle-unit" name="attr_type" value="battle_unit"><span class="mythras-variant" data-i18n="battle-unit-u">Battle Unit</span></input>
<input type="radio" class="sns-vehicles type-toggle-ship" name="attr_type" value="ship"><span class="sns-vehicles" data-i18n="ship-u">Ship</span></input>
<input type="radio" class="mythras-vehicles mspace-vehicles type-toggle-vehicle" name="attr_type" value="vehicle"><span class="mythras-vehicles mspace-vehicles" data-i18n="vehicle-u">Vehicle</span></input>
<input type="radio" class="m-space-style type-toggle-solar-system" name="attr_type" value="solar_system"><span class="m-space-style" data-i18n="solar-system-u">Solar System</span></input>
<br>
<!-- These options can be in a div -->
<div>
<!-- Show name in roll templates -->
<span class="bold" data-i18n="show-name-in-roll-templates-u">Show Name in Roll Templates</span>:
<select class="number-width" name="attr_name_display">
<option value="{{character=@{character_name}}}"><span data-i18n="yes-u">Yes</span></option>
<option value="character=@{character_name}"><span data-i18n="no-u">No</span></option>
</select>
&nbsp;
<!-- Whisper to GM -->
<span class="bold" data-i18n="whisper-rolls-to-gm-u">Whisper Rolls to GM</span>:
<select class="number-width" name="attr_roll_display">
<option value=""><span data-i18n="no-u">No</span></option>
<option value="/w gm "><span data-i18n="yes-u">Yes</span></option>
</select>
<!-- Show 101+ reduced -->
<span class="bold" data-i18n="rolls-show-101-reduced-u">Rolls Show 101+ Reduced</span>:
<select class="number-width" name="attr_show_reduced">
<option value="1" selected><span data-i18n="yes-u">Yes</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
</select>
</div>
<span class="bold" data-i18n="display-campaign-settings-u">Display Campaign Settings?</span>&nbsp;
<input type="checkbox" class="campaign-settings-toggle" name="attr_campaign_settings_toggle" value="1">
<!-- Options that can be in a div and are hidden -->
<div class="campaign-settings">
<h3>Campaign Settings</h3>
<div class="mythras-variant">
<span class="bold" i18n-data="setting-u">Setting</span>:
<select name="attr_setting_option">
<option value="default" selected><span data-i18n="default-u">Default</span></option>
<option value="after_the_vampire_wars" selected><span data-i18n="after-the-vampire-wars-u">After the Vampire Wars</span></option>
<option value="classic_fantasy"><span data-i18n="classic-fantasy-u">Classic Fantasy</span></option>
<option value="luther_arkwright"><span data-i18n="luther-arkwright-u">Luther Arkwright</span></option>
<option value="m-space"><span data-i18n="m-space-u">M-Space</span></option>
<option value="monster_island"><span data-i18n="monster-island-u">Monster Island</span></option>
<option value="mythic_britain"><span data-i18n="mythic-britain-u">Mythic Britain</span></option>
<option value="mythic_constantinople"><span data-i18n="mythic-constantinople-u">Mythic Constantinople</span></option>
<option value="mythic_rome"><span data-i18n="mythic-rome-u">Mythic Rome</span></option>
<option value="thennla"><span data-i18n="thennla-u">Thennla</span></option>
</select>
<br>
<br>
<h4><span data-i18n="system-u">System</span></h4>
<hr>
<span i18n-data="affiliations-enabled-u">Affiliations Enabled</span>:
<select name="attr_affiliations_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="vehicles-u">Vehicles</span>:
<select name="attr_vehicle_type_option">
<option value="default" data-i18n="use-setting-default-u" selected>Use Setting Default</option>
<option value="mythras" data-i18n="mythras-u">Mythras</option>
<option value="mspace" data-i18n="m-space-u">M-Space</option>
<option value="ships" data-i18n="ships-and-shield-walls-u">Ships & Shield Walls</option>
</select>
<br>
<span i18n-data="extended-conflict-resolution-enabled-u">Extended Conflict Resolution Enabled</span>:
<select name="attr_extended_conflict_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
</div>
<span i18n-data="simplified-combat-enabled-u">Simplified Combat Enabled</span>:
<select name="attr_simplified_combat_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<div class="mythras-variant">
<br>
<h4><span data-i18n="attributes-u">Attributes</span></h4>
<hr>
<span i18n-data="add-rank-to-luck-u">Add Rank to Luck</span>:
<select name="attr_luck_points_rank_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="tenacity-enabled-u">Tenacity Enabled</span>:
<select name="attr_tenacity_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<br>
<h4><span data-i18n="weapons-u">Weapons</span></h4>
<hr>
<span i18n-data="firearms-enabled-u">Firearms Enabled</span>:
<select name="attr_firearms_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<br>
<h4><span data-18n="skills">Skills</span></h4>
<hr>
<span i18n-data="boating-is-a-standard-skill-u">Boating is a Standard Skill</span>:
<select name="attr_boating_standard_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="status-is-a-standard-skill-u">Status is a Standard Skill</span>:
<select name="attr_status_standard_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="superstition-is-a-standard-skill-u">Superstition is a Standard Skill</span>:
<select name="attr_superstition_standard_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="dependencies-enabled-u">Dependencies Enabled</span>:
<select name="attr_dependencies_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<br>
<h4><span data-i18n="magic-u">Magic</span></h4>
<hr>
<span i18n-data="ms-psionics-enabled-u">M-Space Psionics Enabled</span>:
<select name="attr_ms_psionics_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="roman-magic-enabled-u">Roman Magic Enabled</span>:
<select name="attr_roman_magic_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="arcane-magic-enabled-u">Arcane Magic Enabled</span>:
<select name="attr_arcane_magic_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="divine-magic-enabled-u">Divine Magic Enabled</span>:
<select name="attr_divine_magic_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="folk-magic-enabled-u">Folk Magic Enabled</span>:
<select name="attr_folk_magic_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="animism-enabled-u">Animism Enabled</span>:
<select name="attr_animism_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="spirits-have-tenacity-u">Spirits Have Tenacity</span>:
<select name="attr_spirit_tenacity_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="mysticism-enabled-u">Mysticism Enabled</span>:
<select name="attr_mysticism_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="mythras-psionics-enabled-u">Mythras Psionics Enabled</span>:
<select name="attr_mythras_psionics_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="sorcery-enabled-u">Sorcery Enabled</span>:
<select name="attr_sorcery_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="theism-enabled-u">Theism Enabled</span>:
<select name="attr_theism_enabled_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
<option value="1"><span data-i18n="yes-u">Yes</span></option>
</select>
<br>
<span i18n-data="max-devotional-pool-based-on-u">Max Devotional Pool Based On</span>:
<select name="attr_max_devotional_pool_based_on_option">
<option value="default" selected><span data-i18n="use-setting-default-u">Use Setting Default</span></option>
<option value="@{rank_devotion_pool_limit}"><span data-i18n="cult-rank-u">Cult Rank</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
</select>
<br>
</div>
</div>
<hr>
<!-- M-Space Solar System -->
<div class="type-solar-system">
<div style="width: 288px; margin-right: 5px; float: left;" class="section">
<h3><span data-i18n="stats-u">Stats</span></h3>
<div>
<div class="system-label"><span data-i18n="name-u" class="bold">Name</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_character_name"></div>
</div>
<div>
<div class="system-label"><span data-i18n="sub-sector-u" class="bold">Sub Sector</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_subsector"></div>
</div>
<div>
<div class="system-label"><span data-i18n="hex-u" class="bold">Hex</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_hex"></div>
</div>
<div>
<div class="system-label"><span data-i18n="star-type-u" class="bold">Star Type</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_star"></div>
</div>
<div>
<div class="system-label"><span data-i18n="planets-u" class="bold">Planets</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_planets"></div>
</div>
<div>
<div class="system-label"><span data-i18n="habitable-u" class="bold">Habitable</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_habitable"></div>
</div>
<div>
<div class="system-label"><span data-i18n="starports-u" class="bold">Starports</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_starports"></div>
</div>
<div>
<div class="system-label"><span data-i18n="astroid-belt-u" class="bold">Astroid Belt</span>:</div>
<div class="system-field"><input type="text" class="full-width" name="attr_system_astroid_belt"></div>
</div>
<div><span data-i18n="notes-u" class="bold">Notes</span>:</div>
<div><textarea name="attr_notes"></textarea></div>
</div>
<div style="width: 545px; float: left;">
<div style="margin-bottom: 5px;" class="section">
<h3><span data-i18n="species-u" class="bold">Species</span></h3>
<fieldset class="repeating_systemspecies">
<div><span data-i18n="name-u" class="bold">Name</span>: <input type="text" name="attr_name"></div>
<div><span data-i18n="description-u" class="bold">Description</span>:</div>
<div><textarea style="height: 5em" name="attr_description"></textarea></div>
</fieldset>
</div>
<div style="margin-bottom: 5px;" class="section">
<h3><span data-i18n="worlds-u" class="bold">Worlds</span></h3>
<fieldset class="repeating_systemworld">
<div><span data-i18n="name-u" class="bold">Name</span>: <input type="text" name="attr_name"></div>
<div><span data-i18n="description-u" class="bold">Description</span>:</div>
<div><textarea name="attr_description"></textarea></div>
</fieldset>
</div>
</div>
</div>
<div class="clear-float"></div>
<!-- Mythras Vehicles -->
<div class="type-vehicle mythras-vehicles">
<div style="width: 545px; float: left;">
<div style="width: 530px; margin-bottom: 5px; margin-right: 5px; float: left;" class="section">
<h3><span data-i18n="stats-u">Stats</span></h3>
<div>
<div class="mythras-vehicle-label"><span data-i18n="name-u" class="bold">Name</span>:</div>
<div class="mythras-vehicle-field"><input type="text" class="full-width" name="attr_character_name"></div>
<div class="mythras-vehicle-label"><span data-i18n="type-u" class="bold">Type</span>:</div>
<div class="mythras-vehicle-field"><input type="radio" name="attr_mythras_vehicle_type" value="terrestrial"><span data-i18n="terrestrial-u">Terrestrial</span>&nbsp;<input type="radio" name="attr_mythras_vehicle_type" value="spaceship"><span data-i18n="spaceship-u">Spaceship</span></div>
</div>
<div>
<div class="mythras-vehicle-label"><span data-i18n="size-u" class="bold">Size</span>:</div>
<div class="mythras-vehicle-field">
<select class="full-width" name="attr_vehicle_size">
<option value="1" selected><span data-i18n="small-u">Small</span></option>
<option value="2"><span data-i18n="medium-u">Medium</span></option>
<option value="3"><span data-i18n="large-u">Large</span></option>
<option value="4"><span data-i18n="huge-u">Huge</span></option>
<option value="5"><span data-i18n="enormous-u">Enormous</span></option>
<option value="6"><span data-i18n="colossal-u">Colossal</span></option>
</select>
</div>
<div class="mythras-vehicle-label"><span data-i18n="speed-u" class="bold">Speed</span>:</div>
<div class="mythras-vehicle-field">
<select class="full-width" name="attr_vehicle_speed">
<option value="ponderous" selected><span data-i18n="ponderous-u">Ponderous</span></option>
<option value="sluggish"><span data-i18n="sluggish-u">Sluggish</span></option>
<option value="slow"><span data-i18n="slow-u">Slow</span></option>
<option value="mediocre"><span data-i18n="mediocre-u">Mediocre</span></option>
<option value="gentle"><span data-i18n="gentle-u">Gentle</span></option>
<option value="moderate"><span data-i18n="moderate-u">Moderate</span></option>
<option value="rapid"><span data-i18n="rapid-u">Rapid</span></option>
<option value="fast"><span data-i18n="fast-u">Fast</span></option>
<option value="fleet"><span data-i18n="fleet-u">Fleet</span></option>
</select>
</div>
</div>
<div>
<div class="mythras-vehicle-label"><span data-i18n="hull-u" class="bold">Hull</span>:</div>
<input type="number" name="attr_vehicle_hull" value="0">
<div class="mythras-vehicle-label"><span data-i18n="structure-u" class="bold">Structure</span>:</div>
<input type="number" name="attr_vehicle_structure" value="0">/<input type="number" name="attr_vehicle_structure_max" value="0">
<div class="mythras-vehicle-label"><span data-i18n="shields-u" class="bold">Shields</span>:</div>
<input type="number" name="attr_vehicle_shields" value="0">/<input type="number" name="attr_vehicle_shields_max" value="0">
</div>
<div>
<div class="mythras-vehicle-label"><span data-i18n="traits-u" class="bold">Traits</span>:</div>
<div class="mythras-vehicle-field-long"><input type="text" class="full-width" name="attr_vehicle_traits"></div>
</div>
</div>
<!-- Mythras Vehicle Weapons -->
<div class="mythras-vehicle-weapons section">
<h3><span data-i18n="weapons-u" class="bold">Weapons</span></h3>
<div>
<div class="npc-weapon-name header"><span data-i18n="weapon-u">Weapon</span></div>
<div class="npc-weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="npc-weapon-button header"></div>
<div class="npc-weapon-reach header"><span data-i18n="range-u">Range</span></div>
<div class="npc-weapon-fire-rate header"><span data-i18n="rate-u">Rate</span></div>
<div class="npc-weapon-ammo header"><span data-i18n="ammo-u">Ammo</span></div>
<div class="npc-weapon-load header"><span data-i18n="load-u">Load</span></div>
<div class="vehicle-weapon-traits header"><span data-i18n="traits-u">Traits</span></div>
</div>
<fieldset class="repeating_vehicleweapon">
<div>
<div class="npc-weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-weapon-damage"><input type="text" class="full-width text-align-center" name="attr_damage"></div>
<div class="npc-weapon-button"><button type="roll" class="reduced-size" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}]]}} {{notes=@{notes}}}"></button></div>
<div class="npc-weapon-reach"><input type="text" class="full-width text-align-center" name="attr_range"></div>
<div class="npc-weapon-fire-rate"><input type="text" class="full-width text-align-center" name="attr_rate"></div>
<div class="npc-weapon-ammo"><input type="number" class="full-width" name="attr_ammo"></div>
<div class="npc-weapon-load"><input type="number" class="full-width" name="attr_load"></div>
<div class="vehicle-weapon-traits"><input type="text" class="full-width text-align-center" name="attr_traits"></div>
</div>
</fieldset>
</div>
</div>
<div style="width: 288px; margin-bottom: 5px; float: left;" class="section">
<h3><span data-i18n="systems-u">Systems</span></h3>
<div>
<div class="mythras-vehicle-system-roll header"><span data-i18n="roll-u">Roll</span></div>
<div class="mythras-vehicle-system-name header"><span data-i18n="system-u">System</span></div>
<div class="mythras-vehicle-system-hits header"><span data-i18n="hits-u">Hits</span></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system1_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system1_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system1_hits" value="0">/<input type="number" name="attr_vehicle_system1_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system2_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system2_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system2_hits" value="0">/<input type="number" name="attr_vehicle_system2_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system3_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system3_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system3_hits" value="0">/<input type="number" name="attr_vehicle_system3_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system4_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system4_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system4_hits" value="0">/<input type="number" name="attr_vehicle_system4_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system5_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system5_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system5_hits" value="0">/<input type="number" name="attr_vehicle_system5_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system6_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system6_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system6_hits" value="0">/<input type="number" name="attr_vehicle_system6_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system7_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system7_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system7_hits" value="0">/<input type="number" name="attr_vehicle_system7_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system8_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system8_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system8_hits" value="0">/<input type="number" name="attr_vehicle_system8_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system9_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system9_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system9_hits" value="0">/<input type="number" name="attr_vehicle_system9_hits_max" value="@{vehicle_size}" disabled></div>
</div>
<div>
<div class="mythras-vehicle-system-roll"><input type="number" class="full-width" name="attr_vehicle_system10_roll" value="0"></div>
<div class="mythras-vehicle-system-name"><input type="text" class="full-width text-align-center" name="attr_vehicle_system10_name"></div>
<div class="mythras-vehicle-system-hits"><input type="number" name="attr_vehicle_system10_hits" value="0">/<input type="number" name="attr_vehicle_system10_hits_max" value="@{vehicle_size}" disabled></div>
</div>
</div>
</div>
<div class="clear-float"></div>
<!-- M-Space Vehicles -->
<div class="type-vehicle mspace-vehicles">
<div style="width: 545px; float: left;">
<div>
<div style="margin-right: 5px;" class="msvehicle-half-column section">
<h3><span data-i18n="name-u" class="bold">Name</span></h3>
<div><input type="text" class="full-width" name="attr_character_name"></div>
</div>
<div class="msvehicle-half-column section">
<h3><span data-i18n="type-u" class="bold">Type</span></h3>
<div>
<select class="full-width" name="attr_msvehicle_type">
<optgroup data-i18n-label="ground-u" label="Ground">
<option value="regular" data-i18n="regular-u" selected>Regular</option>
<option value="terrain" data-i18n="terrain-u">Terrain</option>
<option value="walker" data-i18n="walker-u">Walker</option>
<option value="burrower" data-i18n="burrower-u">Burrower</option>
</optgroup>
<optgroup data-i18n-label="liquid-u" label="Liquid">
<option value="motor" data-i18n="surface-motor-u">Surface, Motor</option>
<option value="sail" data-i18n="surface-sail-u">Surface, Sail</option>
<option value="sub" data-i18n="sub-u">Sub</option>
</optgroup>
<optgroup data-i18n-label="flight-u" label="Flight">
<option value="wings" data-i18n="wings-u">Wings</option>
<option value="anti-grav" data-i18n="anti-grav-u">Anti-grav</option>
<option value="rotor_blades" data-i18n="rotor-blades-u">Rotor Blades</option>
<option value="hover_craft" data-i18n="hover-craft-u">Hover Craft</option>
<option value="gas_bag" data-i18n="gas-bag-u">Gas Bag</option>
</optgroup>
<optgroup data-i18n-label="space-u" label="Space">
<option value="spaceship" data-i18n="spaceship-u">Spaceship</option>
</optgroup>
</select>
</div>
</div>
</div>
<div class="clear-float"></div>
<div class="msvehicle-single-column section">
<h3><span data-i18n="stats-u">Stats</span></h3>
<div>
<input type="checkbox" class="hidden msvehicle-spaceship-toggle" name="attr_msvehicle_spaceship_toggle" value="1" checked>
<div class="msvehicle-label"><span data-i18n="speed-u">Speed</span>:</div>
<div class="msvehicle-field"><input type="number" class="disabled" name="attr_msvehicle_speed" value="0"></div>
<div class="msvehicle-label"><span data-i18n="armor-u">Armor</span>:</div>
<div class="msvehicle-field"><input type="number" name="attr_msvehicle_armor" value="0"></div>
<div class="msvehicle-label"><span data-i18n="hit-points-u">Hit Points</span>:</div>
<div class="msvehicle-field"><input type="number" name="attr_msvehicle_hp" value="0">/<input type="number" name="attr_msvehicle_hp_max" value="0"></div>
<div class="msvehicle-label"><span data-i18n="handling-u">Handling</span>:</div>
<div class="msvehicle-field"><input type="number" class="disabled" name="attr_msvehicle_handling" value="0"></div>
<div class="msvehicle-label"><span data-i18n="shields-u">Shields</span>:</div>
<div class="msvehicle-field"><input type="number" name="attr_msvehicle_shields" value="0">/<input type="number" name="attr_msvehicle_shields_max" value="0"></div>
<div class="msvehicle-label"><span data-i18n="recovery-u">Recovery</span>:</div>
<div class="msvehicle-field"><input type="number" name="attr_msvehicle_recovery" value="0"></div>
<div class="msvehicle-label"><span data-i18n="size-u">Size</span>:</div>
<div class="msvehicle-field"><input type="number" class="disabled" name="attr_msvehicle_size" value="0"></div>
<div class="msvehicle-label"><span data-i18n="size-rating-u">Size Rating</span>:</div>
<div class="msvehicle-field"><input type="number" class="disabled" name="attr_msvehicle_size_rating" value="0"></div>
<div class="msvehicle-label spaceship"><span data-i18n="hyperspace-u">Hyperspace</span>:</div>
<div class="msvehicle-field spaceship"><input type="number" class="disabled" name="attr_msvehicle_hyperspace" value="1"></div>
</div>
</div>
<!-- M-Space Vehicle Weapons -->
<div class="msvehicle-single-column section">
<h3><span data-i18n="weapons-u" class="bold">Weapons</span></h3>
<div>
<div class="npc-weapon-name header"><span data-i18n="weapon-u">Weapon</span></div>
<div class="npc-weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="npc-weapon-button header"></div>
<div class="npc-weapon-reach header"><span data-i18n="range-u">Range</span></div>
<div class="npc-weapon-fire-rate header"><span data-i18n="rate-u">Rate</span></div>
<div class="npc-weapon-ammo header"><span data-i18n="ammo-u">Ammo</span></div>
<div class="npc-weapon-load header"><span data-i18n="load-u">Load</span></div>
<div class="vehicle-weapon-traits header"><span data-i18n="traits-u">Traits</span></div>
</div>
<fieldset class="repeating_msvehicleweapon">
<div>
<div class="npc-weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-weapon-damage"><input type="text" class="full-width text-align-center" name="attr_damage"></div>
<div class="npc-weapon-button"><button type="roll" class="reduced-size" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}]]}} {{notes=@{notes}}}"></button></div>
<div class="npc-weapon-reach"><input type="text" class="full-width text-align-center" name="attr_range"></div>
<div class="npc-weapon-fire-rate"><input type="text" class="full-width text-align-center" name="attr_rate"></div>
<div class="npc-weapon-ammo"><input type="number" class="full-width" name="attr_ammo"></div>
<div class="npc-weapon-load"><input type="number" class="full-width" name="attr_load"></div>
<div class="vehicle-weapon-traits"><input type="text" class="full-width text-align-center" name="attr_traits"></div>
</div>
</fieldset>
</div>
<!-- M-Space Vehicle Apps & Notes -->
<div>
<div style="margin-right: 5px;" class="msvehicle-half-column section">
<h3><span data-i18n="apps-u" class="bold">Apps</span></h3>
<div>
<div class="vehicle-app-name header"><span data-i18n="app-u">App</span></div>
<div class="vehicle-number header"></div>
</div>
<fieldset class="repeating_msvehicleapp">
<div>
<div class="vehicle-app-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="vehicle-number"><input type="text" class="full-width text-align-center" name="attr_points" value="+0%"></div>
</div>
</fieldset>
</div>
<div class="msvehicle-half-column section">
<h3><span data-i18n="notes-u" class="bold">Notes</span></h3>
<textarea name="attr_msvehicle_notes"></textarea>
</div>
</div>
</div>
<!-- M-Space Vehicle Modules -->
<div style="width: 288px; margin-bottom: 5px; float: left;" class="section">
<h3><span data-i18n="attributes-and-modules-u">Attributes & Modules</span></h3>
<input type="checkbox" class="hidden msvehicle-sails-toggle" name="attr_msvehicle_sails_toggle" value="1">
<input type="checkbox" class="hidden msvehicle-gas-bag-toggle" name="attr_msvehicle_gas_bag_toggle" value="1">
<input type="radio" class="hidden msvehicle-terrestrial-toggle" name="attr_msvehicle_spaceship_toggle" value="0">
<input type="radio" class="hidden msvehicle-spaceship-toggle" name="attr_msvehicle_spaceship_toggle" value="1" checked>
<div>
<div class="vehicle-attribute-name header"><span data-i18n="attribute-u">Attribute</span></div>
<div class="vehicle-number header"></div>
</div>
<div class="spaceship">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="streamlined-u">Streamlined</span></div>
<div class="vehicle-number"><input type="checkbox" name="attr_msvehicle_streamlining" value="1"></div>
</div>
<div>
<div class="vehicle-attribute-name bottom-border"><span data-i18n="stealth-u">Stealth</span></div>
<div class="vehicle-number"><input type="text" class="full-width text-align-center" name="attr_msvehicle_stealth" value="-0%"></div>
</div>
<div>
<div class="vehicle-attribute-name bottom-border"><span data-i18n="condition-u">Condition</span></div>
<div class="vehicle-number"><input type="text" class="full-width text-align-center" name="attr_msvehicle_condition" value="-0"></div>
</div>
<div class="sails">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="visual-size-sails-up-u">Visual Size (Sails Up)</span></div>
<div class="vehicle-number"><input type="text" class="full-width text-align-center" name="attr_msvehicle_visual_size_sails_up" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name header"><span data-i18n="module-u">Module</span></div>
<div class="vehicle-number header">#</div>
</div>
<div class="spaceship">
<div class="msvehicle-table header">d100</div>
<div class="vehicle-module-name header"><span data-i18n="module-u">Module</span></div>
<div class="vehicle-number header"><span data-i18n="hp-u">HP</span></div>
<div class="vehicle-number header">#</div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="airlock-u">Airlock</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_airlock" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="cargo-hold-u">Cargo Hold</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_cargo" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_cargo_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_cargo_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="cargo-hold-u">Cargo Hold</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_cargo_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_cargo" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="cockpit-u">Cockpit</span>/<span data-i18n="bridge-u">Bridge</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_cockpit" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_cockpit_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_cockpit_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="cockpit-u">Cockpit</span>/<span data-i18n="bridge-u">Bridge</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_cockpit_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_cockpit" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="crew-quarters-u">Crew Quarters</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_crew" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_crew_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_crew_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="crew-quarters-u">Crew Quarters</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_crew_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_crew" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="engines-u">Engines</span> (<input type="number" style="width:25px" name="attr_msvehicle_engines_tr" value="20">)</div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_engines" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_engines_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_engines_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="engines-u">Engines</span> (<input type="number" style="width:25px" name="attr_msvehicle_engines_tr" value="20">)</div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_engines_hphp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_engines" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_escape_pod_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_escape_pod_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="escape-pod-u">Escape Pod</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_escape_pod_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_escape_pod" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_extra_sensors_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_extra_sensors_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="extra-sensors-u">Extra Sensors</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_extra_sensors_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_extra_sensors" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="environment-u">Environment</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_environment" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="hanger-bay-u">Hanger Bay</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_hanger" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_hanger_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_hanger_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="hanger-bay-u">Hanger Bay</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_hanger_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_hanger" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_hyperdrive_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_hyperdrive_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="hyperdrive-u">Hyperdrive</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_hyperspace_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_hyperspace" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="lab-u">Lab</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_lab" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_lab_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_lab_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="lab-u">Lab</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_lab_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_lab" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="maneuvering-u">Maneuvering</span> (<input type="number" style="width:25px" name="attr_msvehicle_maneuvering_tr" value="20">)</div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_maneuvering" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_maneuvering_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_maneuvering_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="maneuvering-u">Maneuvering</span> (<input type="number" style="width:25px" name="attr_msvehicle_maneuvering_tr" value="20">)</div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_maneuvering_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_maneuvering" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="open-space-u">Open Space</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_open_space" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_open_space_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_open_space_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="open-space-u">Open Space</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_open_space_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_open_space" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="passenger-quarters-u">Passenger Quarters</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_passengers" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_passengers_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_passengers_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="passenger-quarters-u">Passenger Quarters</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_passengers_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_passengers" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="rescue-utilities-u">Rescue Utilities</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_rescue_utilities" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="robot-arm-u">Robot Arm</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_robot_arm" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_robot_arm_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_robot_arm_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="robot-arm-u">Robot Arm</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_robot_arm_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_robot_arm" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="self-repair-u">Self Repair</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_self_repair" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_self_repair_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_self_repair_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="self-repair-u">Self Repair</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_self_repair_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_self_repair" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="sensors-u">Sensors</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_sensors" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="sickbay-u">Sickbay</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_sickbay" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_sickbay_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_sickbay_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="sickbay-u">Sickbay</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_sickbay_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_sickbay" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="storage-u">Storage</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_storage" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_tractor_beam_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_tractor_beam_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="tractor-beam-u">Tractor Beam</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_tractor_beam_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_tractor_beam" value="0"></div>
</div>
<div class="terrestrial">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="weapons-u">Weapons</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_weapons" value="0"></div>
</div>
<div class="spaceship">
<div class="msvehicle-table"><input type="number" class="msvehicle-table-number" name="attr_msvehicle_weapons_table_start" value="0"/>-<input type="number" class="msvehicle-table-number" name="attr_msvehicle_weapons_table_end" value="0"/></div>
<div class="vehicle-module-name bottom-border"><span data-i18n="weapons-u">Weapons</span></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_weapons_hp" value="0"></div>
<div class="vehicle-number"><input type="number" class="full-width" name="attr_msvehicle_weapons" value="0"></div>
</div>
<div class="gas-bag">
<div class="vehicle-attribute-name bottom-border"><span data-i18n="lift-gas-u">Lift Gas</span></div>
<div class="vehicle-number"><input type="number" class="full-width disabled" name="attr_msvehicle_lift_gas" value="0"></div>
</div>
<div>
<div class="vehicle-attribute-name bold"><span data-i18n="total-modules-u">Total Modules</span>:</div>
<div class="vehicle-number"><input type="number" class="full-width disabled" name="attr_msvehicle_total_modules" value="0"></div>
</div>
</div>
</div>
<div class="clear-float"></div>
<!-- Ship Sheet -->
<div class="type-ship">
<div style="width: 520px; margin-bottom: 5px; float: left;" class="section">
<div>
<div class="ship-label"><span data-i18n="ship-name-u" class="bold">Ship Name</span>:</div>
<div class="ship-field"><input type="text" class="full-width" name="attr_character_name"></div>
<div class="ship-label"><span data-i18n="condition-u" class="bold">Condition</span>:</div>
<div class="ship-field">
<select class="full-width" name="attr_ship_condition">
<option value="ship_shape" selected><span data-i18n="ship-shape-u" class="bold">Ship Shape</span></option>
<option value="seaworthy"><span data-i18n="seaworthy-u" class="bold">Seaworthy</span></option>
<option value="battered"><span data-i18n="battered-u" class="bold">Battered</span></option>
<option value="swamped"><span data-i18n="swamped-u" class="bold">Swamped</span></option>
<option value="sinking"><span data-i18n="sinking-u" class="bold">Sinking</span></option>
</select>
</div>
</div>
<div>
<div class="ship-label"><span data-i18n="size-u" class="bold">Size</span>:</div>
<div class="ship-field">
<select class="full-width" name="attr_ship_size">
<option value="personal" selected><span data-i18n="personal-u" class="bold">Personal</span></option>
<option value="small"><span data-i18n="small-u" class="bold">Small</span></option>
<option value="medium"><span data-i18n="medium-u" class="bold">Medium</span></option>
<option value="large"><span data-i18n="large-u" class="bold">Large</span></option>
<option value="huge"><span data-i18n="huge-u" class="bold">Huge</span></option>
<option value="enormous"><span data-i18n="enormous-u" class="bold">Enormous</span></option>
<option value="colossal"><span data-i18n="colossal-u" class="bold">Colossal</span></option>
<option value="beyond_colossal"><span data-i18n="beyond-colossal-u" class="bold">Beyond Colossal</span></option>
</select>
</div>
<div class="ship-label"><span data-i18n="hull-type-u" class="bold">Hull Type</span>:</div>
<div class="ship-field">
<select class="full-width" name="attr_ship_hull">
<option value="utility" selected><span data-i18n="utility-u" class="bold">Utility</span></option>
<option value="galley"><span data-i18n="galley-u" class="bold">Galley</span></option>
<option value="transport"><span data-i18n="transport-u" class="bold">Transport</span></option>
</select>
</div>
</div>
<div>
<div class="ship-label"><span data-i18n="dimensions-u" class="bold">Dimensions</span>:</div>
<div class="ship-field"><input type="text" class="full-width" name="attr_ship_dimensions"></div>
<div class="ship-label"><span data-i18n="capacity-u" class="bold">Capacity</span>:</div>
<div class="ship-field"><input type="text" class="full-width" name="attr_ship_capacity"></div>
</div>
<div>
<div class="ship-label"><span data-i18n="crew-u" class="bold">Crew</span>:</div>
<div class="ship-field-long"><input type="text" class="full-width" name="attr_ship_crew"></div>
</div>
<div>
<div class="ship-label"><span data-i18n="seaworthiness-u" class="bold">Seaworthiness</span>:</div>
<div class="ship-field"><span data-i18n="penalty-short-u">Pen</span>:<input type="number" name="attr_ship_seaworthiness_penalty" max="0" value="0">&nbsp;%:<input type="number" name="attr_ship_seaworthiness" value="0">&nbsp;<button type="roll" class="reduced-size" name="roll_seaworthiness" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{seaworthiness-u}}} @{name_display} {{very_easy=[[(@{ship_seaworthiness}*2+@{ship_seaworthiness_penalty})]]}} {{very_easy_crit=[[ceil(((@{ship_seaworthiness}*2)+@{ship_seaworthiness_penalty})*.1)]]}} {{easy=[[ceil((@{ship_seaworthiness}*1.5)+@{ship_seaworthiness_penalty})]]}} {{easy_crit=[[ceil(((@{ship_seaworthiness}*1.5)+@{ship_seaworthiness_penalty})*.1)]]}} {{standard=[[(@{ship_seaworthiness}+@{ship_seaworthiness_penalty})]]}} {{standard_crit=[[ceil((@{ship_seaworthiness}+@{ship_seaworthiness_penalty})*.1)]]}} {{hard=[[ceil((@{ship_seaworthiness}*.67)+@{ship_seaworthiness_penalty})]]}} {{hard_crit=[[ceil(((@{ship_seaworthiness}*.67)+@{ship_seaworthiness_penalty})*.1)]]}} {{formidable=[[ceil((@{ship_seaworthiness}*.5)+@{ship_seaworthiness_penalty})]]}} {{formidable_crit=[[ceil(((@{ship_seaworthiness}*.5)+@{ship_seaworthiness_penalty})*.1)]]}} {{herculean=[[ceil((@{ship_seaworthiness}*.1)+@{ship_seaworthiness_penalty})]]}} {{herculean_crit=[[ceil(((@{ship_seaworthiness}*.1)+@{ship_seaworthiness_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}} {{ship_condition_skills=[[@{ship_condition_skills}]]}}"></div>
<div class="ship-label"><span data-i18n="skill-modifier-u" class="bold">Skill Modifier</span>:</div>
<div class="ship-field">
<select class="full-width disabled" name="attr_ship_condition_skills">
<option value="1" selected><span data-i18n="standard-u" class="bold">Standard</span></option>
<option value="2"><span data-i18n="hard-u" class="bold">Hard</span></option>
<option value="3"><span data-i18n="formidable-u" class="bold">Formidable</span></option>
<option value="4"><span data-i18n="herculean-u" class="bold">Herculean</span></option>
</select>
</div>
</div>
<div class="hidden">
<input type="number" name="attr_ship_condition_skills" value="1">
<input type="number" name="attr_ship_condition_range" value="0">
</div>
<div>
<div class="ship-label"><span data-i18n="movement-u" class="bold">Movement</span>:</div>
<div class="ship-field"><input type="text" class="full-width" name="attr_ship_movement"></div>
<div class="ship-label"><span data-i18n="speed-u" class="bold">Speed</span>:</div>
<div class="ship-field"><input type="text" class="number-width text-align-center disabled" name="attr_ship_speed" value="-"></div>
</div>
<div>
<div class="ship-label"><span data-i18n="hit-points-u" class="bold">Hit Points</span>:</div>
<div class="ship-field"><input type="number" name="attr_ship_hp">/<input type="number" name="attr_ship_hp_max"></div>
<div class="ship-label"><span data-i18n="armor-points-u" class="bold">Armor Points</span>:</div>
<div class="ship-field"><input type="number" name="attr_ship_ap"></div>
</div>
<div>
<div class="ship-label"><span data-i18n="repair-mod-u" class="bold">Repair Mod</span>:</div>
<div class="ship-field"><input type="text" class="number-width text-align-center disabled" name="attr_ship_repair_mod" value="-"></div>
<div class="ship-label"><span data-i18n="range-u" class="bold">Range</span>:</div>
<div class="ship-field"><input type="number" name="attr_ship_range" value="ceil((@{ship_seaworthiness}/10)-@{ship_condition_range})" disabled></div>
</div>
</div>
<!-- Ship Weapons -->
<div class="ship-weapons section">
<div>
<div class="npc-weapon-name header"><span data-i18n="armament-u">Armament</span></div>
<div class="npc-weapon-reach header"><span data-i18n="range-u">Range</span></div>
<div class="npc-weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="npc-weapon-button header"></div>
<div class="npc-weapon-load header"><span data-i18n="load-u">Load</span></div>
<div class="npc-weapon-size header"><span data-i18n="crew-u">Crew</span></div>
<div class="npc-weapon-number header"><span data-i18n="ap-u">AP</span></div>
<div class="npc-weapon-number header"><span data-i18n="hp-u">HP</span></div>
<div class="npc-weapon-notes header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_shiparmament">
<div>
<div class="npc-weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-weapon-reach"><input type="text" class="full-width text-align-center" name="attr_range"></div>
<div class="npc-weapon-damage"><input type="text" class="full-width text-align-center" name="attr_damage"></div>
<div class="npc-weapon-button"><button type="roll" class="reduced-size" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}]]}} {{size=^{beyond-enormous-u}}} {{notes=@{notes}}}"></button></div>
<div class="npc-weapon-load"><input type="number" class="full-width" name="attr_load"></div>
<div class="npc-weapon-size"><input type="text" class="full-width text-align-center" name="attr_crew"></div>
<div class="npc-weapon-number"><input type="number" class="full-width" name="attr_ap"></div>
<div class="npc-weapon-number"><input type="number" class="full-width" name="attr_hp"></div>
<div class="npc-weapon-notes"><input type="text" class="full-width" name="attr_notes"></div>
</div>
</fieldset>
</div>
<div class="ship-weapons section">
<div><span data-i18n="notes-u">Notes</span>:</div>
<div><textarea class="full-width" name="attr_ship_notes"></textarea></div>
</div>
</div>
<div class="clear-float"></div>
<!-- Battle Unit Sheet -->
<div class="type-battle-unit">
<div style="width: 520px; margin-bottom: 5px; float: left;" class="section">
<div>
<div class="unit-label"><span data-i18n="unit-name-u" class="bold">Unit Name</span>:</div>
<div class="unit-field"><input type="text" class="full-width" name="attr_character_name"></div>
<div class="unit-label"><span data-i18n="unit-traits-u" class="bold">Unit Traits</span>:</div>
<div class="unit-field"><input type="text" class="full-width" name="attr_unit_traits"></div>
</div>
<div>
<div class="unit-label"><span data-i18n="unit-type-u" class="bold">Unit Type</span>:</div>
<div class="unit-field"><input type="text" class="full-width" name="attr_unit_type"></div>
<div class="unit-label"><span data-i18n="multiplier-u" class="bold">Multiplier</span>:</div>
<div class="unit-field"><input type="number" class="full-width text-align-center" name="attr_unit_type_multiplier" value="1"></div>
</div>
<div>
<div class="unit-label"><span data-i18n="commander-u" class="bold">Commander</span>:</div>
<div class="unit-field"><input type="text" class="full-width" name="attr_unit_commander"></div>
<div class="unit-label"><span data-i18n="formation-u" class="bold">Formation</span>:</div>
<div class="unit-field">
<select class="full-width" name="attr_unit_formation">
<option value="broken"><span data-i18n="broken-u">Broken</span></option>
<option value="skirmish"><span data-i18n="skirmish-u">Skirmish</span></option>
<option value="line"><span data-i18n="line-u">Line</span></option>
<option value="phalanx"><span data-i18n="phalanx-u">Phalanx</span></option>
<option value="circle"><span data-i18n="circle-square-u">Circle/Square</span></option>
<option value="wedge"><span data-i18n="wedge-u">Wedge</span></option>
<option value="tortoise"><span data-i18n="tortoise-u">Tortoise</span></option>
</select>
</div>
</div>
<div class="unit-skill-column">
<div>
<div class="unit-skill header"><span data-i18n="skill-u">Skill</span></div>
<div class="number-width header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="number-width header">%</div>
</div>
<div><div class="unit-skill bottom-border"><span data-i18n="command-u">Command</span></div>: <input type="number" class="number-width" name="attr_unit_command_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_unit_command" value="0"> <button type="roll" class="reduced-size button-width" name="roll_unit_command" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{command-u}}} @{name_display} {{very_easy=[[(@{unit_command}*2+@{unit_command_penalty})]]}} {{very_easy_crit=[[ceil(((@{unit_command}*2)+@{unit_command_penalty})*.1)]]}} {{easy=[[ceil((@{unit_command}*1.5)+@{unit_command_penalty})]]}} {{easy_crit=[[ceil(((@{unit_command}*1.5)+@{unit_command_penalty})*.1)]]}} {{standard=[[(@{unit_command}+@{unit_command_penalty})]]}} {{standard_crit=[[ceil((@{unit_command}+@{unit_command_penalty})*.1)]]}} {{hard=[[ceil((@{unit_command}*.67)+@{unit_command_penalty})]]}} {{hard_crit=[[ceil(((@{unit_command}*.67)+@{unit_command_penalty})*.1)]]}} {{formidable=[[ceil((@{unit_command}*.5)+@{unit_command_penalty})]]}} {{formidable_crit=[[ceil(((@{unit_command}*.5)+@{unit_command_penalty})*.1)]]}} {{herculean=[[ceil((@{unit_command}*.1)+@{unit_command_penalty})]]}} {{herculean_crit=[[ceil(((@{unit_command}*.1)+@{unit_command_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="unit-skill bottom-border"><span data-i18n="competency-u">Competency</span></div>: <input type="number" class="number-width" name="attr_unit_competency_penalty" value="0" max="0"> <input type="number" class="number-width" name="attr_unit_competency" value="0"> <button type="roll" class="reduced-size button-width" name="roll_unit_competency" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{competency-u}}} @{name_display} {{very_easy=[[(@{unit_competency}*2+@{unit_competency_penalty})]]}} {{very_easy_crit=[[ceil(((@{unit_competency}*2)+@{unit_competency_penalty})*.1)]]}} {{easy=[[ceil((@{unit_competency}*1.5)+@{unit_competency_penalty})]]}} {{easy_crit=[[ceil(((@{unit_competency}*1.5)+@{unit_competency_penalty})*.1)]]}} {{standard=[[(@{unit_competency}+@{unit_competency_penalty})]]}} {{standard_crit=[[ceil((@{unit_competency}*.1)+@{unit_competency_penalty})]]}} {{hard=[[ceil((@{unit_competency}*.67)+@{unit_competency_penalty})]]}} {{hard_crit=[[ceil(((@{unit_competency}*.67)+@{unit_competency_penalty})*.1)]]}} {{formidable=[[ceil((@{unit_competency}*.5)+@{unit_competency_penalty})]]}} {{formidable_crit=[[ceil(((@{unit_competency}*.5)+@{unit_competency_penalty})*.1)]]}} {{herculean=[[ceil((@{unit_competency}+@{unit_competency_penalty})*.1)]]}} {{herculean_crit=[[ceil(((@{unit_competency}*.1)+@{unit_competency_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="unit-skill bottom-border"><span data-i18n="morale-u">Morale</span></div>: <input type="number" class="number-width" name="attr_unit_morale_penalty" value="0" max="0"> <input type="number" class="number-width" name="attr_unit_morale" value="0"> <button type="roll" class="reduced-size button-width" name="roll_unit_morale" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{morale-u}}} @{name_display} {{very_easy=[[(@{unit_morale}*2+@{unit_morale_penalty})]]}} {{very_easy_crit=[[ceil(((@{unit_morale}*2)+@{unit_morale_penalty})*.1)]]}} {{easy=[[ceil((@{unit_morale}*1.5)+@{unit_morale_penalty})]]}} {{easy_crit=[[ceil(((@{unit_morale}*1.5)+@{unit_morale_penalty})*.1)]]}} {{standard=[[(@{unit_morale}+@{unit_morale_penalty})]]}} {{standard_crit=[[ceil((@{unit_morale}*.1)+@{unit_morale_penalty})]]}} {{hard=[[ceil((@{unit_morale}*.67)+@{unit_morale_penalty})]]}} {{hard_crit=[[ceil(((@{unit_morale}*.67)+@{unit_morale_penalty})*.1)]]}} {{formidable=[[ceil((@{unit_morale}*.5)+@{unit_morale_penalty})]]}} {{formidable_crit=[[ceil(((@{unit_morale}*.5)+@{unit_morale_penalty})*.1)]]}} {{herculean=[[ceil((@{unit_morale}+@{unit_morale_penalty})*.1)]]}} {{herculean_crit=[[ceil(((@{unit_morale}*.1)+@{unit_morale_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
</div>
<div class="unit-skill-column">
<div>
<div class="unit-label"><span data-i18n="strength-u" class="bold">Strength</span>:</div>
<div class="unit-field"><input type="number" name="attr_unit_strength" value="0">/<input type="number" name="attr_unit_strength_max" value="0"></div>
</div>
<div>
<div class="unit-label"><span data-i18n="frontage-u" class="bold">Frontage</span>:</div>
<div class="unit-field"><input type="number" name="attr_unit_frontage" value="0"></div>
</div>
<div>
<div class="unit-label"><span data-i18n="depth-u" class="bold">Depth</span>:</div>
<div class="unit-field"><input type="number" name="attr_unit_depth" value="0"></div>
</div>
<div>
<div class="unit-label"><span data-i18n="damage-u" class="bold">Damage</span>:</div>
<div class="unit-damage"><input type="text" class="full-width text-align-center disabled" name="attr_unit_damage" value="0"></div><button type="roll" class="reduced-size button-width" name="roll_unit_damage_roll" value="@{roll_display}&{template:weapon} {{name=^{damage-u}}} @{name_display} {{damage=[[@{unit_damage}*@{unit_type_multiplier}]]}}"></button>
</div>
</div>
<div>
<span data-i18n="notes-u" class="bold">Notes</span>:
</div>
<div>
<textarea name="attr_unit_notes"></textarea>
</div>
</div>
</div>
<div class="clear-float"></div>
<!-- NPC Sheet -->
<div class="type-npc">
<input type="radio" class="page-toggle page-toggle-npc-sheet" name="attr_npc_page" value="sheet" checked><span class="page-toggle page-toggle-npc-sheet"><span data-i18n="sheet-u">Sheet</span></span>
<input type="radio" class="page-toggle page-toggle-npc-json" name="attr_npc_page" value="json"><span class="page-toggle page-toggle-npc-json"><span data-i18n="json-importer-u">JSON Importer</span></span>
<div class="spacer"></div>
<div class="page page-npc-sheet">
<div style="width: 520px; margin-bottom: 5px; float: left;">
<!-- NPC Info -->
<div class="npc-characteristics section">
<div>
<div class="npc-info header"><span data-i18n="name-u">Name</span></div>
<div class="npc-info header"><span data-i18n="hit-locations-u">Hit Locations</span></div>
<div class="npc-info header"><span class="default-style classic-fantasy-style luther-arkwright-style thennla-style" data-i18n="cult-u">Cult</span><span class="m-space-style" data-i18n="circle-u">Circle</span></div>
<div class="npc-info header"><span data-i18n="rank-u">Rank</span></div>
</div>
<div>
<div class="npc-info"><input type="text" class="full-width text-align-center" name="attr_character_name"></div>
<div class="npc-info complex-combat">
<select class="full-width" name="attr_npc_hit_locations">
<option value="custom" selected><span data-i18n="custom-u">Custom</span></option>
<option value="rabble"><span data-i18n="rabble-underling-u">Rabble/Underling</span></option>
<span class="hidden"><option class="hidden" value="simplified"><span data-i18n="simplified-combat-u">Simplified Combat</span></option></span>
<option disabled>──────────</option>
<option value="humanoid"><span data-i18n="humanoid-u">Humanoid</span></option>
</select>
</div>
<div class="npc-info text-align-center simplified-combat"><span i18n-data="simplified-combat-u">Simplified Combat</span></div>
<div class="npc-info"><input type="text" class="full-width text-align-center" name="attr_npc_cult"></div>
<div class="npc-info"><input type="text" class="full-width text-align-center" name="attr_npc_rank"></div>
</div>
</div>
<!-- NPC Characteristics -->
<div class="npc-characteristics section">
<div class="clear-float"></div>
<div class="npc-char">
<div class="header"><span data-i18n="str-u">STR</span></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_str" value="11"></div>
</div>
<div class="npc-char">
<div class="header"><span data-i18n="con-u">CON</span></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_con" value="11"></div>
</div>
<div class="npc-char">
<div class="header"><span data-i18n="siz-u">SIZ</span></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_siz" value="13"></div>
</div>
<div class="npc-char">
<div class="header"><span data-i18n="dex-u">DEX</span></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_dex" value="11"></div>
</div>
<div class="npc-char">
<div class="header"><select class="number-width bold" name="attr_npc_int_type"><option value="INT"><span data-i18n="int-u">INT</span></option><option value="INS"><span data-i18n="ins-u">INS</span></option></select></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_int" value="13"></div>
</div>
<div class="npc-char">
<div class="header"><span data-i18n="pow-u">POW</span></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_pow" value="11"></div>
</div>
<div class="npc-char">
<div class="header"><span data-i18n="cha-u">CHA</span></div>
<div class="npc-char-number"><input type="number" class="full-width total" name="attr_npc_cha" value="11"></div>
</div>
</div>
<!-- NPC Traits -->
<div class="npc-characteristics section">
<div><span class="bold" data-i18n="traits-abilities-gifts-u">Traits / Abilities / Gifts</span>:</div>
<fieldset class="repeating_npctrait">
<input type="text" class="full-width" name="attr_trait"></textarea>
</fieldset>
</div>
<div style="width: 700px; float: left;">
<!-- NPC Attributes -->
<div class="npc-attributes section">
<input type="checkbox" class="spirit-attr-toggle" name="attr_npc_spirit" value="1">&nbsp;<span data-i18n="spirit-values-u">Spirit Values</span><br>
<div class="nonspirit-attr">
<div class="npc-attribute-label-short"><span class="nonspirit-attr bold" data-i18n="action-points-u">Action Points</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_action_points" value="2">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_action_points_max" value="ceil((@{npc_int}+@{npc_dex})/12)@{npc_action_points_fatigue}" disabled>
</div>
<div class="spirit-attr">
<div class="npc-attribute-label-short"><span class="nonspirit-attr bold" data-i18n="spirit-ap-u">Spirit AP</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_spirit_ap" value="2">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_spirit_ap_max" value="ceil((@{npc_int}+@{npc_pow})/12)" disabled>
</div>
<div class="extended-conflict">
<div class="npc-attribute-label-short"><span class="bold" data-i18n="conflict-pool-u">Conflict Pool</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_conflict_pool" value="0">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_conflict_pool_max" value="11">
</div>
<div class="nonspirit-attr">
<div class="npc-attribute-label-long"><span class="bold" data-i18n="damage-modifier-u">Damage Mod</span>:</div>
<input type="text" class="number-width total disabled" name="attr_npc_damage_mod" value="+0">
</div>
<div class="spirit-attr">
<div class="npc-attribute-label-long"><button type="roll" class="reduced-size" name="roll_npc_spirit_damage_roll" value="@{roll_display}&{template:weapon} {{name=^{spirit-damage-u}}} @{name_display} {{damage=[[@{npc_spirit_damage}]]}}"><span class="bold" data-i18n="spirit-damage-u">Spirit Damage</span></button>:</div>
<input type="text" class="number-width total" name="attr_npc_spirit_damage" value="0">
</div>
<div class="nonspirit-attr">
<div class="npc-attribute-label-short"><button type="roll" class="reduced-size" name="roll_npc_initiative" value="@{roll_display}&{template:default} {{name=^{initiative-u}}} @{name_display} {{^{rolled-u}=[[@{npc_init_dice} + @{npc_initiative_bonus} &{tracker}]]}}"><span class="bold" data-i18n="initiative-u">Initative</span></button>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_init_dice" value="1d10">
<div class="npc-attribute-symbol">+</div>
<input type="text" class="hidden" name="attr_npc_initiative_bonus_base" value="ceil((@{npc_int}+@{npc_dex})/2)" disabled>
<input type="number" class="number-width total" name="attr_npc_initiative_bonus" value="@{npc_initiative_bonus_base}+@{npc_initiative_bonus_fatigue}" disabled>
</div>
<div class="spirit-attr">
<div class="npc-attribute-label-short"><button type="roll" class="reduced-size" name="roll_npc_spirit_init" value="@{roll_display}&{template:default} {{name=^{spirit-init-u}}} @{name_display} {{^{rolled-u}=[[@{npc_spirit_init_dice} + @{npc_spirit_ib} &{tracker}]]}}"><span class="bold" data-i18n="spirit-init-u">Spirit Init</span></button>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_spirit_init_dice" value="1d10">
<div class="npc-attribute-symbol">+</div>
<input type="number" class="number-width total" name="attr_npc_spirit_init" value="ceil((@{npc_int}+@{npc_cha})/2)" disabled>
</div>
<div class="spirit-attr">
<div class="npc-attribute-label-long"><span class="bold" data-i18n="intensity-u">Intensity</span>:</div>
<input type="number" class="number-width total" name="attr_npc_spirit_intensity" value="0">
</div>
<div class="default-style thennla-style classic-fantasy-style">
<div class="npc-attribute-label-short"><span class="bold" data-i18n="magic-points-u">Magic Points</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_magic_points" value="11">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_magic_points_max" value="@{npc_pow}-@{npc_theism_devotional_pool}" disabled>
</div>
<div>
<div class="npc-attribute-label-short"><span class="bold" data-i18n="move-rate-u">Move Rate</span>:</div>
<input type="text" class="text-align-center number-width bold" name="attr_npc_movement_rate" value="6">
<div class="npc-attribute-symbol"></div>
<input type="text" class="number-width total disabled" name="attr_npc_movement_rate_fatigue" value="+0">
</div>
<div class="m-space-style">
<div class="npc-attribute-label-short"><span class="bold" data-i18n="power-points-u">Power Points</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_power_points" value="11">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_power_points_max" value="@{npc_pow}" disabled>
</div>
<div class="luther-arkwright-style">
<div class="npc-attribute-label-short"><span class="bold" data-i18n="prana-points-u">Prana Points</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_prana_points" value="11">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_prana_points_max" value="@{npc_pow}" disabled>
</div>
<div class="tenacity-enabled">
<div class="npc-attribute-label-short"><span class="bold" data-i18n="tenacity-u">Tenacity</span>:</div>
<input type="text" class="text-align-center number-width" name="attr_npc_tenacity" value="11">
<div class="npc-attribute-symbol">/</div>
<input type="number" class="number-width total" name="attr_npc_tenacity_max" value="@{npc_pow}" disabled>
</div>
<div class="nonspirit-attr">
<div class="npc-attribute-label-short"><span class="bold" data-i18n="fatigue-u">Fatigue</span>:</div>
<select style="width: 105px" name="attr_npc_fatigue">
<option value="Fresh" selected><span data-i18n="fresh-u">Fresh</span></option>
<option value="Winded"><span data-i18n="winded-u">Winded</span></option>
<option value="Tired"><span data-i18n="tired-u">Tired</span></option>
<option value="Wearied"><span data-i18n="wearied-u">Wearied</span></option>
<option value="Exhausted"><span data-i18n="exausted-u">Exhausted</span></option>
<option value="Debilitated"><span data-i18n="debilitated-u">Debilitated</span></option>
<option value="Incapacitated"><span data-i18n="incapacitated-u">Incapacitated</span></option>
<option value="Semi-Conscious"><span data-i18n="semi-conscious-u">Semi-Conscious</span></option>
<option value="Comatose"><span data-i18n="comatose-u">Comatose</span></option>
<option value="Dead"><span data-i18n="dead-u">Dead</span></option>
</select>
<select class="hidden" name="attr_npc_fatigue_skills">
<option value="0" selected><span data-i18n="standard-u">Standard</span></option>
<option value="1"><span data-i18n="hard-u">Hard</span></option>
<option value="2"><span data-i18n="formidable-u">Formidable</span></option>
<option value="3"><span data-i18n="herculean-u">Herculean</span></option>
<option value="4"><span data-i18n="hopeless-u">Hopeless</span></option>
<option value="5"><span data-i18n="no-action-allowed-u">No Action Allowed</span></option>
</select>
<input type="text" class="hidden" name="attr_npc_action_points_fatigue" value="+0">
<input type="number" class="hidden" name="attr_npc_initiative_bonus_fatigue" value="0">
<input type="text" class="hidden" name="attr_npc_movement_rate_fatigue" value="+0">
</div>
<div><span class="bold" data-i18n="notes-u">Notes</span>:</div>
<div><textarea class="npc-notes" name="attr_npc_notes"></textarea></div>
</div>
<!-- NPC Health and Armor -->
<div class="npc-hit-locations section">
<div>
<div class="npc-hit-locations-number header">1d20</div>
<div class="npc-hit-locations-label header"><span data-i18n="location-u">Location</span></div>
<div class="npc-hit-locations-block header">&#9960;</div>
<div class="npc-hit-locations-number header"><span data-i18n="ap-u">AP</span></div>
<div class="npc-hit-locations-number header"><span data-i18n="hp-u">HP</span></div>
</div>
<div>
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location1_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location1_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location1_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location1_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location1_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location1_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location2_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location2_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location2_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location2_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location2_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location2_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location3_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location3_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location3_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location3_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location3_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location3_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location4_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location4_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location4_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location4_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location4_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location4_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location5_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location5_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location5_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location5_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location5_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location5_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location6_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location6_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location6_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location6_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location6_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location6_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location7_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location7_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location7_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location7_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location7_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location7_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location8_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location8_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location8_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location8_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location8_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location8_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location9_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location9_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location9_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location9_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location9_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location9_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location10_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location10_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location10_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location10_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location10_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location10_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location11_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location11_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location11_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location11_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location11_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location11_hp" value="0"/></div>
</div>
<div class="complex-combat">
<div class="npc-hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_npc_location12_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_npc_location12_table_end" value="0"/></div>
<div class="npc-hit-locations-label"><input type="text" class="full-width" name="attr_npc_location12_name" value=""/></div>
<div class="npc-hit-locations-block"><input type="checkbox" name="attr_npc_location12_block" value="1"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location12_ap" value="0"/></div>
<div class="npc-hit-locations-number"><input type="number" class="full-width" name="attr_npc_location12_hp" value="0"/></div>
</div>
<div class="simplified-combat">
<span data-i18n="wounds-u">Wounds</span>
<textarea class="hit-locations-note" name="attr_npc_wounds"></textarea>
<span data-i18n="notes-u">Notes</span>
<textarea class="hit-locations-note" name="attr_npc_health_notes"></textarea>
</div>
</div>
<!-- NPC Combat Styles -->
<div class="npc-skill section">
<div>
<div class="npc-skill-name header"><span data-i18n="combat-style-u">Combat Style</span></div>
<div class="npc-skill-number header">Penalty</div>
<div class="npc-skill-number header">%</div>
<div class="npc-skill-button header"></div>
</div>
<fieldset class="repeating_npccombatstyle">
<div>
<div class="npc-skill-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_penalty" max="0" value="0"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_total" value="0"></div>
<div class="npc-skill-button"><button type="roll" class="reduced-size full-width" name="roll_combatstyle" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[ceil(((@{total}*2)+@{penalty}))]]}} {{very_easy_crit=[[ceil(((@{total}*2)+@{penalty})*.1)]]}} {{easy=[[ceil(((@{total}*1.5)+@{penalty}))]]}} {{easy_crit=[[ceil(((@{total}*1.5)+@{penalty})*.1)]]}} {{standard=[[(@{total}+@{penalty})]]}} {{standard_crit=[[ceil((@{total}+@{penalty})*.1)]]}} {{hard=[[(ceil(@{total}*.67)+@{penalty})]]}} {{hard_crit=[[ceil((ceil(@{total}*.67)+@{penalty})*.1)]]}} {{formidable=[[(ceil(@{total}*.5)+@{penalty})]]}} {{formidable_crit=[[ceil((ceil(@{total}*.5)+@{penalty})*.1)]]}} {{herculean=[[(ceil(@{total}*.1)+@{penalty})]]}} {{herculean_crit=[[ceil((ceil(@{total}*.1)+@{penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[0]]}} {{encumbrance_skills=[[0]]}} {{fatigue_skills=[[@{npc_fatigue_skills}]]}}"></div>
</div>
</fieldset>
</div>
<!-- NPC Passions -->
<div class="npc-skill2 section">
<div>
<div class="npc-skill-name header"><span data-i18n="passion-u">Passion</span></div>
<div class="npc-skill-number header">Penalty</div>
<div class="npc-skill-number header">%</div>
<div class="npc-skill-button header"></div>
</div>
<fieldset class="repeating_npcpassion">
<div>
<div class="npc-skill-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_penalty" max="0" value="0"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_total" value="0"></div>
<div class="npc-skill-button"><button type="roll" class="reduced-size full-width" name="roll_passion" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[ceil(((@{total}*2)+@{penalty}))]]}} {{very_easy_crit=[[ceil(((@{total}*2)+@{penalty})*.1)]]}} {{easy=[[ceil(((@{total}*1.5)+@{penalty}))]]}} {{easy_crit=[[ceil(((@{total}*1.5)+@{penalty})*.1)]]}} {{standard=[[(@{total}+@{penalty})]]}} {{standard_crit=[[ceil((@{total}+@{penalty})*.1)]]}} {{hard=[[(ceil(@{total}*.67)+@{penalty})]]}} {{hard_crit=[[ceil((ceil(@{total}*.67)+@{penalty})*.1)]]}} {{formidable=[[(ceil(@{total}*.5)+@{penalty})]]}} {{formidable_crit=[[ceil((ceil(@{total}*.5)+@{penalty})*.1)]]}} {{herculean=[[(ceil(@{total}*.1)+@{penalty})]]}} {{herculean_crit=[[ceil((ceil(@{total}*.1)+@{penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[0]]}} {{encumbrance_skills=[[0]]}} {{fatigue_skills=[[@{npc_fatigue_skills}]]}}"></div>
</div>
</fieldset>
</div>
<!-- NPC Weapons -->
<div class="npc-weapons section">
<div>
<div class="npc-weapon-name header"><span data-i18n="weapon-u">Weapon</span></div>
<div class="npc-weapon-size header"><span data-i18n="size-u">Size</span>*</div>
<div class="npc-weapon-reach header"><span data-i18n="reach-u">Reach</span></div>
<div class="npc-weapon-damage-mod header"><span data-i18n="damage-mod-short-u">DM</span></div>
<div class="npc-weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="npc-weapon-button header"></div>
<div class="npc-weapon-number header"><span data-i18n="ap-u">AP</span></div>
<div class="npc-weapon-number header"><span data-i18n="hp-u">HP</span></div>
<div class="npc-weapon-notes header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_npcweapon">
<div>
<div class="npc-weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-weapon-size"><input type="text" class="full-width text-align-center" name="attr_size"></div>
<div class="npc-weapon-reach"><input type="text" class="full-width text-align-center" name="attr_reach"></div>
<div class="npc-weapon-damage-mod header"><input type="checkbox" class="text-align-center full-width" name="attr_npc_damage_mod_toggle" value="1" checked=true></div>
<div class="npc-weapon-damage"><input type="text" class="full-width text-align-center" name="attr_damage"></div>
<div class="npc-weapon-button"><button type="roll" class="reduced-size" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}+(@{npc_damage_mod_toggle}*@{npc_damage_mod})]]}} {{size=@{size}}} {{notes=@{notes}}}"></button></div>
<div class="npc-weapon-number"><input type="number" class="full-width" name="attr_ap"></div>
<div class="npc-weapon-number"><input type="number" class="full-width" name="attr_hp"></div>
<div class="npc-weapon-notes"><input type="text" class="full-width" name="attr_notes"></div>
</div>
</fieldset>
</div>
<!-- NPC Skills -->
<div class="npc-skill section">
<div>
<div class="npc-skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="npc-skill-number header">Penalty</div>
<div class="npc-skill-number header">%</div>
<div class="npc-skill-button header"></div>
</div>
<fieldset class="repeating_npcskill">
<div>
<div class="npc-skill-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_penalty" max="0" value="0"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_total" value="0"></div>
<div class="npc-skill-button"><button type="roll" class="reduced-size full-width" name="roll_skill" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[ceil((@{total}*2)+@{penalty}))]]}} {{very_easy_crit=[[ceil(((@{total}*2)+@{penalty})*.1)]]}} {{easy=[[ceil(((@{total}*1.5)+@{penalty}))]]}} {{easy_crit=[[ceil(((@{total}*1.5)+@{penalty})*.1)]]}} {{standard=[[(@{total}+@{penalty})]]}} {{standard_crit=[[ceil((@{total}+@{penalty})*.1)]]}} {{hard=[[(ceil(@{total}*.67)+@{penalty})]]}} {{hard_crit=[[ceil((ceil(@{total}*.67)+@{penalty})*.1)]]}} {{formidable=[[(ceil(@{total}*.5)+@{penalty})]]}} {{formidable_crit=[[ceil((ceil(@{total}*.5)+@{penalty})*.1)]]}} {{herculean=[[(ceil(@{total}*.1)+@{penalty})]]}} {{herculean_crit=[[ceil((ceil(@{total}*.1)+@{penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[0]]}} {{encumbrance_skills=[[0]]}} {{fatigue_skills=[[@{npc_fatigue_skills}]]}}"></div>
</div>
</fieldset>
</div>
<!-- NPC Magic -->
<div class="npc-skill2 section">
<div class="ms-psionics-enabled">
<div class="npc-skill-name header"><span data-i18n="power-u">Power</span></div>
<div class="npc-skill-number header">Penalty</div>
<div class="npc-skill-number header">%</div>
<div class="npc-skill-button header"></div>
</div>
<fieldset class="ms-psionics-enabled repeating_npcmspsionics">
<div>
<div class="npc-skill-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_penalty" max="0" value="0"></div>
<div class="npc-skill-number"><input type="number" class="full-width" name="attr_total" value="0"></div>
<div class="npc-skill-button"><button type="roll" class="reduced-size full-width" name="roll_power" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[((@{total}*2)+@{penalty})]]}} {{very_easy_crit=[[ceil(((@{total}*2)+@{penalty})*.1)]]}} {{easy=[[((@{total}*1.5)+@{penalty})]]}} {{easy_crit=[[ceil(((@{total}*1.5)+@{penalty})*.1)]]}} {{standard=[[(@{total}+@{penalty})]]}} {{standard_crit=[[ceil((@{total}+@{penalty})*.1)]]}} {{hard=[[(ceil(@{total}*.67)+@{penalty})]]}} {{hard_crit=[[ceil((ceil(@{total}*.67)+@{penalty})*.1)]]}} {{formidable=[[(ceil(@{total}*.5)+@{penalty})]]}} {{formidable_crit=[[ceil((ceil(@{total}*.5)+@{penalty})*.1)]]}} {{herculean=[[(ceil(@{total}*.1)+@{penalty})]]}} {{herculean_crit=[[ceil((ceil(@{total}*.1)+@{penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[0]]}} {{encumbrance_skills=[[0]]}} {{fatigue_skills=[[@{npc_fatigue_skills}]]}}"></div>
</div>
</fieldset>
<div class="arcane-magic-enabled"><span class="header" data-i18n="arcane-magic-u">Arcane Magic</span>:</div>
<div class="arcane-magic-enabled"><textarea name="attr_npc_arcane_magic"></textarea></div>
<div class="divine-magic-enabled"><span class="header" data-i18n="divine-magic-u">Divine Magic</span>:</div>
<div class="divine-magic-enabled"><textarea name="attr_npc_divine_magic"></textarea></div>
<div class="folk-magic-enabled"><span class="header" data-i18n="folk-magic-u">Folk Magic</span>:</div>
<div class="folk-magic-enabled"><textarea class="magic-note" name="attr_npc_folk_magic"></textarea></div>
<div class="mysticism-enabled"><span class="header" data-i18n="mysticism-u">Mysticism</span>:</div>
<div class="mysticism-enabled"><textarea class="magic-note" name="attr_npc_mysticism"></textarea></div>
<div class="mythras-psionics-enabled"><span class="header" data-i18n="psionics-u">Psionics</span>:</div>
<div class="mythras-psionics-enabled"><textarea class="magic-note" name="attr_npc_mythras_psionics"></textarea></div>
<div class="sorcery-enabled"><span class="header" data-i18n="sorcery-u">Sorcery</span>:</div>
<div class="sorcery-enabled"><textarea class="magic-note" name="attr_npc_sorcery"></textarea></div>
<div class="theism-enabled"><span class="header" data-i18n="theism-u">Theism</span>:</div>
<div class="theism-enabled"><span data-i18n="devotional-pool-u">Devotional Pool</span><input type="number" class="number-width" name="attr_npc_theism_devotional_pool" value="0">/<input type="number" class="number-width" name="attr_npc_theism_devotional_pool_max" value="0"></div>
<div class="theism-enabled"><textarea class="magic-note" name="attr_npc_theism"></textarea></div>
</div>
</div>
<div class="clear-float"></div>
<div class="animism-enabled section">
<div class="npc-fetish-row">
<div class="npc-fetish-name header"><span data-i18n="fetish-spirit-u">Fetish / Spirit</span></div>
<div class="npc-fetish-type header"><span data-i18n="type-u">Type</span></div>
<div class="npc-fetish-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_npcfetish">
<div>
<div class="npc-fetish-row">
<div class="npc-fetish-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="npc-fetish-type"><input type="text" class="text-align-center full-width" name="attr_type"></div>
<div class="npc-fetish-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<select class="number-width bold" name="attr_int_type"><option value="INT"><span data-i18n="int-u">INT</span></option><option value="INS"><span data-i18n="ins-u">INS</span></option></select>: <input type="number" class="number-width" name="attr_fetish_int" value="13">
<span data-i18n="pow-u" class="bold">POW</span>: <input type="number" class="number-width" name="attr_fetish_pow" value="11">
<span data-i18n="cha-u" class="bold">CHA</span>: <input type="number" class="number-width" name="attr_fetish_cha" value="11">
<span data-i18n="intensity-u" class="bold">Intensity</span>: <input type="number" class="number-width" name="attr_fetish_intensity" value="1">
</div>
<div>
<span data-i18n="action-points-u" class="bold">Action Points</span>: <input type="number" class="number-width" name="attr_fetish_action_points" value="ceil((@{fetish_int}+@{fetish_pow})/12)" disabled>
<span data-i18n="initiative-bonus-u" class="bold">Init. Bonus</span>: <input type="number" class="number-width" name="attr_fetish_initiative_bonus" value="ceil((@{fetish_int}+@{fetish_cha})/2)" disabled>
<span data-i18n="magic-points-u" class="bold">Magic Points</span>: <input type="number" class="number-width" name="attr_fetish_magic_points" value="11"> / <input type="number" class="number-width" name="attr_fetish_magic_points_max" value="@{fetish_pow}" disabled>
</div>
<div>
<div class="spirit-tenacity"><span data-i18n="tenacity-u" class="bold">Tenacity</span>: <input type="number" class="number-width" name="attr_fetish_tenacity" value="11"> / <input type="number" class="number-width" name="attr_fetish_tenacity_max" value="@{fetish_pow}" disabled></div>
<span data-i18n="spirit-damage-u" class="bold">Spirit Damage</span>: <input type="text" class="damage-width text-align-center disabled" name="attr_fetish_spirit_damage" value="1d8"> <button type="roll" class="reduced-size button-width" name="roll_fetish_spirit_damage" value="@{roll_display}&{template:weapon} {{name=^{spirit-damage-u}}} {{character=@{name}}} {{damage=[[@{fetish_spirit_damage}]]}}"></button>
</div>
<div class="npc-fetish-skill-column">
<div>
<div class="npc-fetish-skill header"><span data-i18n="skill-u">Skill</span></div>
<div class="number-width header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="number-width header">%</div>
</div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="spectral-combat-u">Spectral Combat</span></div>: <input type="number" class="number-width" name="attr_fetish_spectral_combat_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_spectral_combat" value="72"> <button type="roll" class="reduced-size button-width" name="roll_fetish_spectral_combat" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{spectral-combat-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_spectral_combat}*2+@{fetish_spectral_combat_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_spectral_combat}*2)+@{fetish_spectral_combat_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_spectral_combat}*1.5)+@{fetish_spectral_combat_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_spectral_combat}*1.5)+@{fetish_spectral_combat_penalty})*.1)]]}} {{standard=[[(@{fetish_spectral_combat}+@{fetish_spectral_combat_penalty})]]}} {{standard_crit=[[ceil((@{fetish_spectral_combat}+@{fetish_spectral_combat_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_spectral_combat}*.67)+@{fetish_spectral_combat_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_spectral_combat}*.67)+@{fetish_spectral_combat_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_spectral_combat}*.5)+@{fetish_spectral_combat_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_spectral_combat}*.5)+@{fetish_spectral_combat_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_spectral_combat}*.1)+@{fetish_spectral_combat_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_spectral_combat}*.1)+@{fetish_spectral_combat_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="willpower-u">Willpower</span></div>: <input type="number" class="number-width" name="attr_fetish_willpower_penalty" value="0" max="0"> <input type="number" class="number-width" name="attr_fetish_willpower" value="72"> <button type="roll" class="reduced-size button-width" name="roll_fetish_willpower" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{willpower-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_willpower}*2+@{fetish_willpower_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_willpower}*2)+@{fetish_willpower_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_willpower}*1.5)+@{fetish_willpower_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_willpower}*1.5)+@{fetish_willpower_penalty})*.1)]]}} {{standard=[[(@{fetish_willpower}+@{fetish_willpower_penalty})]]}} {{standard_crit=[[ceil((@{fetish_willpower}*.1)+@{fetish_willpower_penalty})]]}} {{hard=[[ceil((@{fetish_willpower}*.67)+@{fetish_willpower_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_willpower}*.67)+@{fetish_willpower_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_willpower}*.5)+@{fetish_willpower_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_willpower}*.5)+@{fetish_willpower_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_willpower}+@{fetish_willpower_penalty})*.1)]]}} {{herculean_crit=[[ceil(((@{fetish_willpower}*.1)+@{fetish_willpower_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div>
<div class="npc-fetish-skill header"><span data-i18n="skill-u">Skill</span></div>
<div class="number-width header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="number-width header">%</div>
</div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="folk-magic-u">Folk Magic</span></div>: <input type="number" class="number-width" name="attr_fetish_folk_magic_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_folk_magic" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_folk_magic" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{folk-magic-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_folk_magic}*2+@{fetish_folk_magic_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_folk_magic}*2)+@{fetish_folk_magic_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_folk_magic}*1.5)+@{fetish_folk_magic_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_folk_magic}*1.5)+@{fetish_folk_magic_penalty})*.1)]]}} {{standard=[[(@{fetish_folk_magic}+@{fetish_folk_magic_penalty})]]}} {{standard_crit=[[ceil((@{fetish_folk_magic}+@{fetish_folk_magic_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_folk_magic}*.67)+@{fetish_folk_magic_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_folk_magic}*.67)+@{fetish_folk_magic_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_folk_magic}*.5)+@{fetish_folk_magic_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_folk_magic}*.5)+@{fetish_folk_magic_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_folk_magic}*.1)+@{fetish_folk_magic_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_folk_magic}*.1)+@{fetish_folk_magic_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="shaping-u">Shaping</span></div>: <input type="number" class="number-width" name="attr_fetish_shaping_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_shaping" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_shaping" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{shaping-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_shaping}*2+@{fetish_shaping_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_shaping}*2)+@{fetish_shaping_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_shaping}*1.5)+@{fetish_shaping_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_shaping}*1.5)+@{fetish_shaping_penalty})*.1)]]}} {{standard=[[(@{fetish_shaping}+@{fetish_shaping_penalty})]]}} {{standard_crit=[[ceil((@{fetish_shaping}*.1)+@{fetish_shaping_penalty})]]}} {{hard=[[ceil((@{fetish_shaping}*.67)+@{fetish_shaping_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_shaping}*.67)+@{fetish_shaping_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_shaping}*.5)+@{fetish_shaping_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_shaping}*.5)+@{fetish_shaping_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_shaping}*.1)+@{fetish_shaping_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_shaping}*.1)+@{fetish_shaping_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="invocation-u">Invocation</span></div>: <input type="number" class="number-width" name="attr_fetish_invocation_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_invocation" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_invocation" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{invocation-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_invocation}*2+@{fetish_invocation_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_invocation}*2)+@{fetish_invocation_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_invocation}*1.5)+@{fetish_invocation_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_invocation}*1.5)+@{fetish_invocation_penalty})*.1)]]}} {{standard=[[(@{fetish_invocation}+@{fetish_invocation_penalty})]]}} {{standard_crit=[[ceil((@{fetish_invocation}+@{fetish_invocation_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_invocation}*.67)+@{fetish_invocation_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_invocation}*.67)+@{fetish_invocation_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_invocation}*.5)+@{fetish_invocation_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_invocation}*.5)+@{fetish_invocation_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_invocation}*.1)+@{fetish_invocation_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_invocation}*.1)+@{fetish_invocation_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="exhort-u">Exhort</span></div>: <input type="number" class="number-width" name="attr_fetish_exhort_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_exhort" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_exhort" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{exhort-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_exhort}*2+@{fetish_exhort_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_exhort}*2)+@{fetish_exhort_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_exhort}*1.5)+@{fetish_exhort_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_exhort}*1.5)+@{fetish_exhort_penalty})*.1)]]}} {{standard=[[(@{fetish_exhort}+@{fetish_exhort_penalty})]]}} {{standard_crit=[[ceil((@{fetish_exhort}+@{fetish_exhort_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_exhort}*.67)+@{fetish_exhort_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_exhort}*.67)+@{fetish_exhort_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_exhort}*.5)+@{fetish_exhort_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_exhort}*.5)+@{fetish_exhort_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_exhort}*.1)+@{fetish_exhort_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_exhort}*.1)+@{fetish_exhort_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="npc-fetish-skill bottom-border"><span data-i18n="devotion-u">Devotion</span></div>: <input type="number" class="number-width" name="attr_fetish_devotion_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_devotion" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_devotion" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{devotion-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_devotion}*2+@{fetish_devotion_penalty})*.1)]]}} {{very_easy_crit=[[ceil(((@{fetish_devotion}*2)+@{fetish_devotion_penalty})*.1)]]}} {{easy=[[(ceil(@{fetish_devotion}*1.5)+@{fetish_devotion_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_devotion}*1.5)+@{fetish_devotion_penalty})*.1)]]}} {{standard=[[@{fetish_devotion}+@{fetish_devotion_penalty}]]}} {{standard_crit=[[ceil((@{fetish_devotion}+@{fetish_devotion_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_devotion}+@{fetish_devotion_penalty})*.67)]]}} {{hard_crit=[[ceil(((@{fetish_devotion}*.67)+@{fetish_devotion_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_devotion}*.5)+@{fetish_devotion_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_devotion}*.5)+@{fetish_devotion_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_devotion}+@{fetish_devotion_penalty})*.1)]]}} {{herculean_crit=[[ceil(((@{fetish_devotion}*.1)+@{fetish_devotion_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><span data-i18n="other-skills-u" class="bold">Other Skills</span>:</div>
<div><textarea class="magic-note" name="attr_fetish_other_skills"></textarea></div>
</div>
<div class="npc-fetish-powers-column">
<div><span data-i18n="spirit-abilities-u" class="bold">Spirit Abilities</span>:</div>
<div><textarea name="attr_fetish_spirit_abilities"></textarea></div>
<div><span data-i18n="spells-u" class="bold">Spells</span> / <span data-i18n="miracles-u" class="bold">Miracles</span>:</div>
<div><textarea class="magic-note" name="attr_fetish_powers"></textarea></div>
</div>
</div>
</div>
</fieldset>
</div>
<div>* <span data-i18n="npc-weapon-size-note-u">Force for ranged weapons</span>&nbsp;&nbsp;&#9960;&nbsp;<span data-i18n="block-description-u">Location passively blocked</span></div>
</div>
</div>
<div class="page page-npc-json">
<div style="width: 520px; margin-bottom: 5px; float: left;">
<div class="section">
<div><span class="bold" data-i18n="encounter-generator-json-u">Encounter Generator JSON</span>:</div>
<div><textarea name="attr_encounter_generator_json"></textarea></div>
<div><span class="bold" data-i18n="instructions-u">Instructions</span>:</div>
<ol>
<li><span data-i18n="json-step-one-u">Visit the Enouncter Generator at http://skoll.xyz/mythras_eg/</span></li>
<li><span data-i18n="json-step-two-u">Find your desired enemy and click to visit the template page.</span></li>
<li><span data-i18n="json-step-three-u">Note the number at the end of the URL.</span></li>
<li><span data-i18n="json-step-four-u">Go to this url but replace #### with the number noted in step three: http://skoll.xyz/mythras_eg/generate_enemies_json/?id=####</span></li>
<li><span data-i18n="json-step-five-u">Paste the contents of the page into the textarea above.</span></li>
<li><span data-i18n="json-step-six-u">Go back to the Sheet tab to enjoy your imported character.</span></li>
</ol>
<div><span class="bold" data-i18n="notes-u">Notes</span>:</div>
<ul>
<li><span data-i18n="json-note-one-u">Once you have generated JSON for one enemy you simply refresh the page to generate a new one.</span></li>
<li><span data-i18n="json-note-two-u">Due to a known bug in Roll20 the importer will not change the character name. This will start working once the bug is fixed.</span></li>
</ul>
</div>
</div>
</div>
</div>
<!-- PC Sheet -->
<div class="type-pc">
<input type="radio" class="page-toggle page-toggle-core" name="attr_pc_page" value="core" checked><span class="page-toggle page-toggle-core"><span data-i18n="core-u">Core</span></span>
<input type="radio" class="page-toggle page-toggle-magic" name="attr_pc_page" value="magic"><span class="page-toggle page-toggle-magic"><span class="mythras-variant" data-i18n="magic-u">Magic</span><span class="mspace-variant" data-i18n="psionics-u">Psionics</span></span>
<input type="radio" class="page-toggle page-toggle-equipment" name="attr_pc_page" value="equipment"><span class="page-toggle page-toggle-equipment"><span data-i18n="equipment-u">Equipment</span></span>
<input type="radio" class="page-toggle page-toggle-background" name="attr_pc_page" value="background"><span class="page-toggle page-toggle-background"><span data-i18n="background-u">Background</span></span>
<input type="radio" class="page-toggle page-toggle-notes" name="attr_pc_page" value="notes"><span class="page-toggle page-toggle-notes"><span data-i18n="notes-u">Notes</span></span>
<input type="radio" class="page-toggle page-toggle-all" name="attr_pc_page" value="all"><span class="page-toggle page-toggle-all"><span data-i18n="all-u">All</span></span>
|
<input type="radio" class="page-toggle page-toggle-stats" name="attr_pc_page" value="stats"><span class="page-toggle page-toggle-stats"><span data-i18n="quick-stats-u">Quick Stats</span></span>
<!--<input type="radio" class="page-toggle page-toggle-npc" name="attr_pc_page" value="npc"><span class="page-toggle page-toggle-json"><span data-i18n="npc-view-u">NPC View</span></span>
<input type="radio" class="page-toggle page-toggle-help" name="attr_pc_page" value="help"><span class="page-toggle page-toggle-json"><span data-i18n="help-macros-u">Help/Macros</span></span>
-->
<div class="spacer"></div>
<div class="page page-core">
<!-- Character Info -->
<div class="info section">
<div>
<div class="info-firstrow">
<div class="info-name header"><span data-i18n="name-u">Name</span></div>
<div class="info-species header"><span class="default-style luther-arkwright-style thennla-style m-space-style" data-i18n="species-u">Species</span><span class="classic-fantasy-style" data-i18n="race-u">Race</span></div>
<div class="info-hit-locations header"><span data-i18n="hit-locations-u">Hit Locations</span></div>
<div class="info-career header"><span class="default-style luther-arkwright-style thennla-style m-space-style" data-i18n="career-u">Career</span><span class="classic-fantasy-style" data-i18n="class-u">Class</span></div>
<div class="info-rank header"><span data-i18n="rank-u">Rank</span></div>
<div class="info-exp-rolls header"><span data-i18n="experience-rolls-u">Exp Rolls</span></div>
</div>
<div class="info-firstrow">
<div class="info-name"><input type="text" class="full-width" name="attr_character_name"></div>
<div class="info-species"><input type="text" class="full-width" name="attr_species"></div>
<div class="info-hit-locations complex-combat">
<select class="full-width" name="attr_hit_locations">
<option value="custom" selected><span data-i18n="custom-u">Custom</span></option>
<span class="hidden"><option class="hidden" value="simplified"><span data-i18n="simplified-combat-u">Simplified Combat</span></option></span>
<option disabled>──────────</option>
<option value="humanoid"><span data-i18n="humanoid-u">Humanoid</span></option>
</select>
</div>
<div class="info-hit-locations text-align-center simplified-combat"><span i18n-data="simplified-combat-u">Simplified Combat</span></div>
<div class="info-career"><input type="text" class="full-width" name="attr_career"></div>
<div class="info-rank"><input type="number" class="full-width" name="attr_rank" value="0"></div>
<div class="info-exp-rolls"><input type="number" class="full-width" name="attr_experience_rolls" value="0"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_info_details"><span class="details-toggle"></span>
<div class="details">
<div class="info-row">
<div class="info-age header"><span data-i18n="age-u">Age</span></div>
<div class="info-gender header"><span data-i18n="gender-u">Gender</span></div>
<div class="info-frame header"><span data-i18n="frame-u">Frame</span></div>
<div class="info-weight header"><span data-i18n="weight-u">Weight</span></div>
<div class="info-height header"><span data-i18n="height-u">Height</span></div>
<div class="info-handedness header"><span data-i18n="handedness-u">Handedness</span></div>
</div>
<div class="info-row">
<div class="info-age"><input type="number" class="full-width" name="attr_age"></div>
<div class="info-gender"><input type="text" class="full-width" name="attr_gender"></div>
<div class="info-frame"><input type="text" class="full-width" name="attr_frame"></div>
<div class="info-weight"><input type="number" step="any" style="width:85%" name="attr_weight" value="88"> <span style="width:10%" data-i18n="kilograms-short-u">kg</span></div>
<div class="info-height"><input type="number" step="any" style="width:84%" name="attr_height" value="178"> <span style="width:30%" data-i18n="centimetres-short-u">cm</span></div>
<div class="info-handedness"><input type="text" class="full-width" name="attr_handedness"></div>
</div>
<div class="info-row">
<div class="info-homeland header"><span class="default-style thennla-style classic-fantasy-style" data-i18n="homeland-u">Homeland</span><span class="luther-arkwright-style" data-i18n="paralell-designator-u">Paralell Designator</span><span class="m-space-style" data-i18n="home-world-u">Home World</span></div>
<div class="info-culture header"><span class="default-style thennla-style classic-fantasy-style m-space-style" data-i18n="culture-u">Culture</span><span class="luther-arkwright-style" data-i18n="paralell-type-development-u">Paralell Type/Development</span></div>
<div class="info-social-class header"><span data-i18n="social-class-u">Social Class</span></div>
</div>
<div class="info-row">
<div class="info-homeland"><input type="text" class="full-width" name="attr_homeland"></div>
<div class="info-culture"><input type="text" class="full-width" name="attr_culture"></div>
<div class="info-social-class"><input type="text" class="full-width" name="attr_social_class"></div>
</div>
<div>
<div class="info-traits header"><span data-i18n="traits-abilities-gifts-u">Traits / Abilities / Gifts</span></div>
</div>
<fieldset class="repeating_trait">
<div class="info-traits"><input type="text" class="full-width" name="attr_trait"></div>
</fieldset>
</div>
</div>
</div>
<div>
<div style="width: 20%; float: left; margin-right: 5px;">
<!-- Characteristics -->
<div class="characteristics section">
<h3><span data-i18n="characteristics-u">Characteristics</span></h3>
<div>
<div class="char-row">
<div class="char-label header"></div>
<div class="char-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="char-number-header header"><span data-i18n="total-u">Total</span></div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span data-i18n="str-u">STR</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_str_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_str" value="(@{str_base}+@{str_training}+@{str_ageing}+@{str_other}+@{str_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_str_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_str_base" value="11"></div>
<div><span data-i18n="training-u">Training</span>: <input type="number" name="attr_str_training" value="0"></div>
<div><span data-i18n="ageing-u">Ageing</span>: <input type="number" name="attr_str_ageing" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_str_other" value="0"></div>
</div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span data-i18n="con-u">CON</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_con_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_con" value="(@{con_base}+@{con_training}+@{con_ageing}+@{con_other}+@{con_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_con_base" value="11"></div>
<div><span data-i18n="training-u">Training</span>: <input type="number" name="attr_con_training" value="0"></div>
<div><span data-i18n="ageing-u">Ageing</span>: <input type="number" name="attr_con_ageing" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_con_other" value="0"></div>
</div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span data-i18n="siz-u">SIZ</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_siz_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_siz" value="(@{siz_base}+@{siz_other}+@{siz_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_siz_base" value="13"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_siz_other" value="0"></div>
</div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span data-i18n="dex-u">DEX</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_dex_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_dex" value="(@{dex_base}+@{dex_training}+@{dex_ageing}+@{dex_other}+@{dex_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_dex_base" value="11"></div>
<div><span data-i18n="training-u">Training</span>: <input type="number" name="attr_dex_training" value="0"></div>
<div><span data-i18n="ageing-u">Ageing</span>: <input type="number" name="attr_dex_ageing" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_dex_other" value="0"></div>
</div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span name="attr_int_type" data-i18n-dynamic>INT</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_int_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_int" value="(@{int_base}+@{int_training}+@{int_ageing}+@{int_other}+@{int_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle"><span class="details-toggle"></span>
<div class="details">
<div><input type="radio" name="attr_int_type" value="int-u" checked><span data-i18n="int-u">INT</span><input type="radio" name="attr_int_type" value="ins-u"><span data-i18n="ins-u">INS</span></div>
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_int_base" value="13"></div>
<div><span data-i18n="training-u">Training</span>: <input type="number" name="attr_int_training" value="0"></div>
<div><span data-i18n="ageing-u">Ageing</span>: <input type="number" name="attr_int_ageing" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_int_other" value="0"></div>
</div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span data-i18n="pow-u">POW</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_pow_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_pow" value="(@{pow_base}+@{pow_training}+@{pow_ageing}+@{pow_other}+@{pow_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_pow_base" value="11"></div>
<div><span data-i18n="training-u">Training</span>: <input type="number" name="attr_pow_training" value="0"></div>
<div><span data-i18n="ageing-u">Ageing</span>: <input type="number" name="attr_pow_ageing" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_pow_other" value="0"></div>
</div>
</div>
<div>
<div class="char-row">
<div class="char-label"><span data-i18n="cha-u">CHA</span>:</div>
<div class="char-number"><input type="number" class="full-width" name="attr_cha_temp" value="0"></div>
<div class="char-number"><input type="number" class="full-width total" name="attr_cha" value="(@{cha_base}+@{cha_training}+@{cha_ageing}+@{cha_other}+@{cha_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_cha_base" value="11"></div>
<div><span data-i18n="training-u">Training</span>: <input type="number" name="attr_cha_training" value="0"></div>
<div><span data-i18n="ageing-u">Ageing</span>: <input type="number" name="attr_cha_ageing" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_cha_other" value="0"></div>
</div>
</div>
</div>
</div>
<!-- Conditions -->
<div class="conditions section">
<h3><span data-i18n="conditions-u">Conditions</span></h3>
<textarea class="conditions" name="attr_conditions"></textarea>
</div>
</div>
<!-- Attributes -->
<div class="attributes section">
<div>
<h3 class="float-left"><span data-i18n="attributes-u">Attributes</span></h3><span style="float: right; margin-top: 4px;" data-i18n="spirit-values-u">Spirit Values</span><input type="checkbox" style="float: right; margin-top: 6px;" class="spirit-attr-toggle" name="attr_spirit" value="1"/>
<div class="clear-float"></div>
<div class="attribute-row">
<div class="attribute-label header"><span data-i18n="attribute-u">Attribute</span></div>
<div class="attribute-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="attribute-total header"><span data-i18n="total-u">Total</span></div>
</div>
<div>
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="action-points-u">Action Points</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_action_points_temp" value="0"></div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_action_points" value="0"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_action_points_max" value="((@{action_points_base}+@{action_points_other}+@{action_points_temp})@{action_points_fatigue})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_action_points_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="swiftness-gift-u">Swiftness Gift</span>: <input type="checkbox" name="attr_action_points_swiftness" value="1"> (<span data-i18n="plus-one-ap-u">+1 AP</span>)</div>
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_action_points_base" value="(ceil(@{action_points_chars}/12)+@{action_points_swiftness})" disabled></div>
<div><span data-i18n="fatigue-u">Fatigue</span>: <input type="text" class="disabled" name="attr_action_points_fatigue" value="+0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_action_points_other" value="0"></div>
<div class="hidden">
<select name="attr_action_points_chars">
<option value="(@{int}+@{dex})" selected>Standard</option>
<option value="(@{int}+@{pow})">Spirit</option>
</select>
</div>
</div>
</div>
<div class="extended-conflict">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="conflict-pool-u">Conflict Pool</span>:</div>
<div class="attribute-number"></div>
<div class="attribute-number"><input type="number" class="number-width" name="attr_conflict_pool" value="11"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="bold number-width" name="attr_conflict_pool_max" value="11"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_conflict_pool_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="str-u">STR</span>: <input type="number" name="attr_str_pool" value=""></div>
<div><span data-i18n="dex-u">DEX</span>: <input type="number" name="attr_dex_pool" value=""></div>
<div><span data-i18n="con-u">CON</span>: <input type="number" name="attr_con_pool" value=""></div>
<div><span data-i18n="siz-u">SIZ</span>: <input type="number" name="attr_siz_pool" value=""></div>
<div><span data-i18n="int-u">INT</span>: <input type="number" name="attr_int_pool" value=""></div>
<div><span data-i18n="pow-u">POW</span>: <input type="number" name="attr_pow_pool" value=""></div>
<div><span data-i18n="cha-u">CHA</span>: <input type="number" name="attr_cha_pool" value=""></div>
</div>
</div>
<div class="spirit-attr">
<div class="attribute-row">
<div class="attribute-label"><button type="roll" class="reduced-size" name="roll_spirit_damage" value="@{roll_display}&{template:weapon} {{name=^{spirit-damage-u}}} @{name_display} {{damage=[[@{spirit_damage}]]}}"> <span data-i18n="damage-u">Damage</span></button>:</div>
<div class="attribute-number"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="text" class="full-width total disabled" name="attr_spirit_damage" value="0"></div>
</div>
</div>
<div class="nonspirit-attr">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="damage-modifier-u">Damage Mod</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_damage_mod_temp" value="0"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="text" class="disabled total full-width" name="attr_damage_mod" value="0"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_damage_mod_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="mighty-gift-u">Mighty Gift</span>: <input type="checkbox" name="attr_damage_mod_mighty" value="1"> (<span data-i18n="use-str-siz-pow-u">Use STR+SIZ+POW</span>)</div>
<div><span data-i18n="base-u">Base</span>: <input type="text" class="disabled total" name="attr_damage_mod_base" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_damage_mod_other" value="0"> <span data-i18n="steps-u">steps</span></div>
</div>
</div>
<div>
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="experience-modifier-u">Exp Modifier</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_experience_mod_temp" value="0"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_experience_mod" value="(@{experience_mod_base}+@{experience_mod_other}+@{experience_mod_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_experience_mod_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_experience_mod_base" value="(ceil((@{cha})/6)-2)" disabled></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_experience_mod_other" value="0"></div>
</div>
</div>
<div class="nonspirit-attr">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="healing-rate-u">Healing Rate</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_healing_rate_temp" value="0"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_healing_rate" value="(@{healing_rate_base}+@{healing_rate_other}+@{healing_rate_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_healing_rate_details"><span class="details-toggle"></span>
<div class="details">
<div><input type="checkbox" name="attr_healing_rate_healthy" value="1"><span data-i18n="healthy-gift-u">Healthy Gift (Double Healing Rate)</span></div>
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_healing_rate_base" value="ceil((@{con})/6)+(ceil((@{con})/6)*@{healing_rate_healthy})" disabled></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_healing_rate_other" value="0"></div>
</div>
</div>
<div>
<div class="attribute-row">
<div class="attribute-label"><button type="roll" class="reduced-size" name="roll_initiative" value="@{roll_display}&{template:default} {{name=^{initiative-u}}} @{name_display} {{^{rolled-u}=[[@{init_dice} + @{initiative_bonus} &{tracker}]]}}"> <span data-i18n="initiative-u">Initiative</span></button>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_initiative_bonus_temp" value="0"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_initiative_bonus" value="(@{initiative_bonus_base}+@{initiative_bonus_other}+@{initiative_bonus_fatigue}+@{initiative_bonus_temp}-@{armor_penalty})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_initiative_bonus_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_initiative_bonus_base" value="ceil(@{initiative_bonus_chars}/2)" disabled></div>
<div><span data-i18n="armor-penalty-u">Armor Penalty</span>: <input type="number" name="attr_initiative_bonus_armor" value="-@{armor_penalty}" disabled></div>
<div><span data-i18n="fatigue-u">Fatigue</span>: <input type="number" name="attr_initiative_bonus_fatigue" class="disabled" value="0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_initiative_bonus_other" value="0"></div>
<div><span data-i18n="initiative-roll-u">Initiative Roll</span>: <input type="text" class="init-dice text-align-center" name="attr_init_dice" value="1d10"></div>
<div class="hidden">
<select name="attr_initiative_bonus_chars">
<option value="(@{int}+@{dex})" selected>Standard</option>
<option value="(@{int}+@{cha})">Spirit</option>
</select>
</div>
</div>
</div>
<div class="spirit-attr">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="intensity-u">Intensity</span>:</div>
<div class="attribute-number"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_spirit_intensity" value="ceil(@{pow}/6)" disabled></div>
</div>
</div>
<div>
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="luck-points-u">Luck Points</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_luck_points_temp" value="0"></div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_luck_points" value="0"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_luck_points_max" value="(@{luck_points_base}+@{luck_points_other}+@{luck_points_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_luck_points_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_luck_points_base" value="(ceil((@{pow})/6)+(@{luck_points_rank}*@{rank}))" disabled></div>
<div><span cdata-i18n="other-u">Other</span>: <input type="number" name="attr_luck_points_other" value="0"></div>
</div>
</div>
<div class="default-style thennla-style classic-fantasy-style">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="magic-points-u">Magic Points</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_magic_points_temp" value="0"></div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_magic_points" value="0"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_magic_points_max" value="(@{magic_points_base}+@{magic_points_other}+@{magic_points_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_magic_points_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_magic_points_base" value="(@{pow})" disabled></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_magic_points_other" value="0"></div>
</div>
</div>
<div>
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="move-rate-u">Move Rate</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_movement_rate_temp" value="0"></div>
<div class="attribute-number"></div>
<div class="attribute-symbol invisible">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_movement_rate" value="ceil(((@{movement_rate_species}+@{movement_rate_other}+@{movement_rate_temp})@{movement_rate_fatigue})@{movement_rate_enc})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_movement_rate_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="species-u">Species</span>: <input type="number" name="attr_movement_rate_species" value="6"></div>
<div><span data-i18n="encumbrance-u">Encumbrance</span>: <input type="text" class="disabled" name="attr_movement_rate_enc" value="+0"></div>
<div><span data-i18n="fatigue-u">Fatigue</span>: <input type="text" class="disabled" name="attr_movement_rate_fatigue" value="+0"></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_movement_rate_other" value="0"></div>
</div>
</div>
<div class="m-space-style">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="power-points-u">Power Points</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_power_points_temp" value="0"></div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_power_points" value="0"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_power_points_max" value="(@{power_points_base}+@{power_points_other}+@{power_points_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_power_points_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_power_points_base" value="(@{pow})" disabled></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_power_points_other" value="0"></div>
</div>
</div>
<div class="luther-arkwright-style">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="prana-points-u">Prana Points</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_prana_points_temp" value="0"></div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_prana_points" value="0"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_prana_points_max" value="(@{prana_points_base}+@{prana_points_other}+@{prana_points_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_prana_points_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_prana_points_base" value="(@{pow})" disabled></div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_prana_points_other" value="0"></div>
</div>
</div>
<div class="tenacity-enabled">
<div class="attribute-row">
<div class="attribute-label"><span data-i18n="tenacity-u">Tenacity</span>:</div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_tenacity_temp" value="0"></div>
<div class="attribute-number"><input type="number" class="full-width" name="attr_tenacity" value="0"></div>
<div class="attribute-symbol">/</div>
<div class="attribute-number"><input type="number" class="full-width total" name="attr_tenacity_max" value="(@{tenacity_base}-(@{tenacity_dependencies}*@{apply_dependencies_penalty})+@{tenacity_other}+@{tenacity_temp})" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_tenacity_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-u">Base</span>: <input type="number" name="attr_tenacity_base" value="(@{pow})" disabled></div>
<div class="dependencies-enabled">
<div><span data-i18n="apply-dependencies-penalty-u">Apply Dependencies Penalty</span>: <input type="checkbox" name="attr_apply_dependencies_penalty" value="1" checked></input></div>
<div><span data-i18n="dependencies-u">Dependencies</span>: <input type="number" class="disabled" name="attr_tenacity_dependencies" value="0"></div>
</div>
<div><span data-i18n="other-u">Other</span>: <input type="number" name="attr_tenacity_other" value="0"></div>
</div>
</div>
<p style="margin: 0px">* <span data-i18n="temp-damage-modifier-clarification-u">Temp Damage Mod represents the steps up or down the damage modifier table</span></p>
</div>
</div>
<div style="width: 45.6%; float: left;">
<!-- Health & Armor -->
<div class="hit-locations section">
<div class="hit-locations-row">
<h3><span data-i18n="health-and-armor-u">Health & Armor</span></h3>
</div> <input type="checkbox" class="details-toggle" name="attr_health_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="temp-armor-all-u">Temp Armor (All)</span>: <input type="number" name="attr_all_armor_temp" value="0"> <span data-i18n="temp-hp-all-u">Temp HP (All)</span>: <input type="number" name="attr_all_hp_temp" value="0"></div>
<div><input type="checkbox" name="attr_hit_locations_robust" value="1"> <span data-i18n="robust-gift-u">Robust Gift (CON+SIZ+POW for HP)</span></div>
</div>
<div>
<div class="hit-locations-row">
<div class="hit-locations-number header">1d20</div>
<div class="hit-locations-label header"><span data-i18n="location-u">Location</span></div>
<div class="hit-locations-block header">&#9960;</div>
<div class="hit-locations-number header"><span data-i18n="ap-u">AP</span></div>
<div class="hit-locations-hp header"><span data-i18n="hp-u">HP</span></div>
</div>
<div>
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location1_table_start" value="1"/>-<input type="number" class="hit-locations-table-number" name="attr_location1_table_end" value="3"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location1_name" value="Right Leg"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location1_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location1_ap" value="(@{location1_armor_ap}*@{location1_armor_equipped})+@{location1_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number complex-combat"><input type="number" class="full-width" name="attr_location1_hp" value="0"></div>
<div class="hit-locations-number simplified-combat"><input type="number" class="full-width" name="attr_simplified_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number complex-combat"><input type="number" class="full-width" name="attr_location1_hp_max" value="@{location1_hp_max_base}+@{location1_hp_max_other}+@{location1_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
<div class="hit-locations-number simplified-combat"><input type="number" class="full-width" name="attr_simplified_hp_max" value="@{simplified_hp_max_base}+@{simplified_hp_max_other}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location1_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location1_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location1_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location1_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location1_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location1_other_ap" value="0"></div>
<div class="complex-combat"><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location1_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location1_hp_max_base_mod" value="0"></div>
<div class="complex-combat"><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location1_hp_max_other" value="0"></div>
<div class="simplified-combat"><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_simplified_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/2)" disabled></div>
<div class="simplified-combat"><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_simplified_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location2_table_start" value="4"/>-<input type="number" class="hit-locations-table-number" name="attr_location2_table_end" value="6"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location2_name" value="Left Leg"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location2_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location2_ap" value="(@{location2_armor_ap}*@{location2_armor_equipped})+@{location2_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location2_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location2_hp_max" value="@{location2_hp_max_base}+@{location2_hp_max_other}+@{location2_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location2_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location2_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location2_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location2_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location2_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location2_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location2_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location2_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location2_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location3_table_start" value="7"/>-<input type="number" class="hit-locations-table-number" name="attr_location3_table_end" value="9"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location3_name" value="Abdomen"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location3_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location3_ap" value="(@{location3_armor_ap}*@{location3_armor_equipped})+@{location3_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location3_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location3_hp_max" value="@{location3_hp_max_base}+@{location3_hp_max_other}+@{location3_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location3_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location3_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location3_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location3_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location3_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location3_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location3_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location3_hp_max_base_mod" value="1"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location3_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location4_table_start" value="10"/>-<input type="number" class="hit-locations-table-number" name="attr_location4_table_end" value="12"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location4_name" value="Chest"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location4_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location4_ap" value="(@{location4_armor_ap}*@{location4_armor_equipped})+@{location4_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location4_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location4_hp_max" value="@{location4_hp_max_base}+@{location4_hp_max_other}+@{location4_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location4_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location4_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location4_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location4_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location4_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location4_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location4_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location4_hp_max_base_mod" value="2"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location4_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location5_table_start" value="13"/>-<input type="number" class="hit-locations-table-number" name="attr_location5_table_end" value="15"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location5_name" value="Right Arm"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location5_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location5_ap" value="(@{location5_armor_ap}*@{location5_armor_equipped})+@{location5_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location5_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location5_hp_max" value="@{location5_hp_max_base}+@{location5_hp_max_other}+@{location5_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location5_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location5_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location5_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" name="attr_location5_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location5_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location5_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location5_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location5_hp_max_base_mod" value="-1"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location5_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location6_table_start" value="16"/>-<input type="number" class="hit-locations-table-number" name="attr_location6_table_end" value="18"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location6_name" value="Left Arm"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location6_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location6_ap" value="(@{location6_armor_ap}*@{location6_armor_equipped})+@{location6_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location6_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location6_hp_max" value="@{location6_hp_max_base}+@{location6_hp_max_other}+@{location6_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location6_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location6_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location6_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location6_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location6_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location6_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location6_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location6_hp_max_base_mod" value="-1"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location6_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location7_table_start" value="19"/>-<input type="number" class="hit-locations-table-number" name="attr_location7_table_end" value="20"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location7_name" value="Head"/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location7_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location7_ap" value="(@{location7_armor_ap}*@{location7_armor_equipped})+@{location7_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location7_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location7_hp_max" value="@{location7_hp_max_base}+@{location7_hp_max_other}+@{location7_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location7_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location7_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location7_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location7_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location7_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location7_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location7_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location7_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location7_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location8_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_location8_table_end" value="0"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location8_name" value=""/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location8_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location8_ap" value="(@{location8_armor_ap}*@{location8_armor_equipped})+@{location8_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location8_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location8_hp_max" value="@{location8_hp_max_base}+@{location8_hp_max_other}+@{location8_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location8_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location8_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location8_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location8_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location8_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location8_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location8_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location8_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location8_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location9_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_location9_table_end" value="0"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location9_name" value=""/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location9_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location9_ap" value="(@{location9_armor_ap}*@{location9_armor_equipped})+@{location9_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location9_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location9_hp_max" value="@{location9_hp_max_base}+@{location9_hp_max_other}+@{location9_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location9_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location9_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location9_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location9_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location9_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location9_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location9_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location9_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location9_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location10_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_location10_table_end" value="0"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location10_name" value=""/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location10_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location10_ap" value="(@{location10_armor_ap}*@{location10_armor_equipped})+@{location10_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location10_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location10_hp_max" value="@{location10_hp_max_base}+@{location10_hp_max_other}+@{location10_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location10_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location10_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location10_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location10_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location10_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location10_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location10_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location10_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location10_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location11_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_location11_table_end" value="0"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location11_name" value=""/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location11_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location11_ap" value="(@{location11_armor_ap}*@{location11_armor_equipped})+@{location11_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location11_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location11_hp_max" value="@{location11_hp_max_base}+@{location11_hp_max_other}+@{location11_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location11_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location11_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location11_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location11_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location11_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location11_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location11_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location11_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location11_hp_max_other" value="0"></div>
</div>
</div>
<div class="complex-combat">
<div class="hit-locations-row">
<div class="hit-locations-number"><input type="number" class="hit-locations-table-number" name="attr_location12_table_start" value="0"/>-<input type="number" class="hit-locations-table-number" name="attr_location12_table_end" value="0"/></div>
<div class="hit-locations-label"><input type="text" class="full-width text-align-center" name="attr_location12_name" value=""/></div>
<div class="hit-locations-block"><input type="checkbox" name="attr_location12_block"></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location12_ap" value="(@{location12_armor_ap}*@{location12_armor_equipped})+@{location12_other_ap}+@{all_armor_temp}" disabled></div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location12_hp" value="0"></div>
<div class="hit-locations-symbol">/</div>
<div class="hit-locations-number"><input type="number" class="full-width" name="attr_location12_hp_max" value="@{location12_hp_max_base}+@{location12_hp_max_other}+@{location12_hp_max_base_mod}+@{all_hp_temp}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_location12_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="armor-equipped-u">Armor Equipped:</span> <input type="checkbox" name="attr_location12_armor_equipped" value="1" checked></div>
<div><span data-i18n="armor-type-u">Armor Type</span>: <input type="text" name="attr_location12_armor_type"></div>
<div><span data-i18n="armor-enc-u">Armor ENC</span>: <input type="number" step="any" name="attr_location12_armor_enc" value="0"></div>
<div><span data-i18n="armor-ap-u">Armor AP</span>: <input type="number" name="attr_location12_armor_ap" value="0"></div>
<div><span data-i18n="other-ap-u">Other AP</span>: <input type="number" name="attr_location12_other_ap" value="0"></div>
<div><span data-i18n="base-hp-u">Base HP</span>: <input type="number" name="attr_location12_hp_max_base" value="ceil((@{con}+@{siz}+(@{pow}*@{hit_locations_robust}))/5)" disabled>+<input type="number" name="attr_location12_hp_max_base_mod" value="0"></div>
<div><span data-i18n="other-hp-u">Other HP</span>: <input type="number" name="attr_location12_hp_max_other" value="0"></div>
</div>
</div>
<div class="simplified-combat">
<span data-i18n="wounds-u">Wounds</span>
<textarea class="hit-locations-note" name="attr_wounds"></textarea>
<span data-i18n="notes-u">Notes</span>
<textarea class="hit-locations-note" name="attr_health_notes"></textarea>
</div>
</div>
</div>
</div>
<div class="clear-float"></div>
<div>
<!-- Encumbrance -->
<div class="encumbrance section">
<div>
<h3 class="float-left"><span data-i18n="encumbrance-u">Encumbrance</span></h3><span class="section-title-partner"><span class="bold" data-i18n="avg-species-siz-u">Average Species SIZ</span>: <input type="number" name="attr_avg_species_siz" value="13"/> <input type="checkbox" name="attr_pack_equipped" value="1" checked> <span data-i18n="equip-pack-u">Equip Pack</span></span>
</div>
<div class="clear-float"></div>
<div>
<div class="encumbrance-row">
<div class="encumbrance-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="encumbrance-number header"><span data-i18n="current-u">Current</span></div>
<div class="encumbrance-load header"><span data-i18n="carrying-load-u">Carrying Load</span></div>
<div class="encumbrance-skills header"><span data-i18n="dex-and-str-skills-u">DEX & STR Skills</span></div>
<div class="encumbrance-move header"><span data-i18n="base-move-u">Base Move</span></div>
</div>
<div class="encumbrance-row">
<div class="encumbrance-number"><input type="number" step="any" class="text-align-center number-width" name="attr_encumbrance_temp" value="0"></div>
<div class="encumbrance-number"><input type="number" step="any" class="disabled text-align-center number-width" name="attr_encumbrance_current" value="((@{effective_armor_enc}+@{shields_enc}+@{melee_weapons_enc}+@{missile_weapons_enc}+@{firearms_enc}+@{loadout_enc}+(@{pack_enc}*@{pack_equipped})+@{currency_enc}+@{encumbrance_temp})*(@{avg_species_siz}/13))" disabled></div>
<div class="encumbrance-load"><input type="text" class="disabled text-align-center full-width" name="attr_encumbrance_load" value="Normal"></div>
<div class="encumbrance-skills">
<select class="disabled text-align-center full-width" name="attr_encumbrance_skills">
<option value="0" selected><span data-i18n="standard-u">Standard</span></option>
<option value="1"><span data-i18n="one-grade-harder-u">1 grade harder</span></option>
<option value="2"><span data-i18n="two-grades-harder-u">2 grades harder</span></option>
<option value="3"><span data-i18n="impossible-u">Impossible</span></option>
</select>
</div>
<div class="encumbrance-move"><input type="text" class="disabled text-align-center full-width" name="attr_encumbrance_move" value="Normal"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_encumbrance_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="encumbrance-from-armor-u">Encumbrance from Armor</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_armor_enc" value="0"></div>
<div><span data-i18n="effective-encumbrance-from-armor-u">Effective Encumbrance from Armor</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_effective_armor_enc" value="0"></div>
<div><span data-i18n="armor-penalty-u">Armor Penalty</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_armor_penalty" value="0"></div>
<div><span data-i18n="encumbrance-from-shields-u">Encumbrance from Shields</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_shields_enc" value="0"></div>
<div><span data-i18n="encumbrance-from-melee-weapons-u">Encumbrance from Melee Weapons</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_melee_weapons_enc" value="0"></div>
<div><span data-i18n="encumbrance-from-missile-weapons-u">Encumbrance from Missile Weapons</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_missile_weapons_enc" value="0"></div>
<div><span data-i18n="encumbrance-from-firearms-u">Encumbrance from Firearms</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_firearms_enc" value="0"></div>
<div><span data-i18n="encumbrance-from-loadout-u">Encumbrance from Loadout</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_loadout_enc" value="0"></div>
<div><span data-i18n="encumbrance-from-pack-u">Encumbrance from Pack</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_pack_enc" value="0"></div>
<div><span data-i18n="encumbrance-from-currency-u">Encumbrance from Currency</span>: <input type="number" step="any" class="disabled text-align-center number-width" name="attr_currency_enc" value="0"></div>
<div><span data-i18n="burdened-u">Burdened</span>: <span data-i18n="greater-than-u">greater than</span> <input type="number" class="disabled text-align-center number-width" name="attr_burdened_enc" value="22"></div>
<div><span data-i18n="overloaded-u">Overloaded</span>: <span data-i18n="greater-than-u">greater than</span> <input type="number" class="disabled text-align-center number-width" name="attr_overloaded_enc" value="33"></div>
<div><span data-i18n="max-u">Max</span>: <input type="number" class="disabled text-align-center number-width" name="attr_encumbrance_current_max" value="44"></div>
</div>
</div>
</div>
<!-- Fatigue -->
<div class="fatigue section">
<h3><span data-i18n="fatigue-u">Fatigue</span></h3>
<div>
<div class="fatigue-row">
<div class="fatigue-label header"><span data-i18n="current-level-u">Current Level</span></div>
<div class="fatigue-label header"><span data-i18n="skill-grade-u">Skill Grade</span></div>
<div class="fatigue-recovery header"><span data-i18n="recovery-in-u">Recovery In</span></div>
</div>
<div class="fatigue-row">
<div class="fatigue-label">
<select class="full-width" name="attr_fatigue">
<option value="Fresh" selected><span data-i18n="fresh-u">Fresh</span></option>
<option value="Winded"><span data-i18n="winded-u">Winded</span></option>
<option value="Tired"><span data-i18n="tired-u">Tired</span></option>
<option value="Wearied"><span data-i18n="wearied-u">Wearied</span></option>
<option value="Exhausted"><span data-i18n="exausted-u">Exhausted</span></option>
<option value="Debilitated"><span data-i18n="debilitated-u">Debilitated</span></option>
<option value="Incapacitated"><span data-i18n="incapacitated-u">Incapacitated</span></option>
<option value="Semi-Conscious"><span data-i18n="semi-conscious-u">Semi-Conscious</span></option>
<option value="Comatose"><span data-i18n="comatose-u">Comatose</span></option>
<option value="Dead"><span data-i18n="dead-u">Dead</span></option>
</select>
</div>
<div class="fatigue-label">
<select class="full-width text-align-center disabled" name="attr_fatigue_skills">
<option value="0" selected><span data-i18n="standard-u">Standard</span></option>
<option value="1"><span data-i18n="hard-u">Hard</span></option>
<option value="2"><span data-i18n="formidable-u">Formidable</span></option>
<option value="3"><span data-i18n="herculean-u">Herculean</span></option>
<option value="4"><span data-i18n="hopeless-u">Hopeless</span></option>
<option value="5"><span data-i18n="no-action-allowed-u">No Action Allowed</span></option>
</select>
</div>
<div class="fatigue-recovery"><input type="text" class="disabled text-align-center number-width" name="attr_fatigue_recovery" value="0"> <span data-i18n="hours-u">hours</span></div>
</div>
</div>
</div>
</div>
<div class="clear-float"></div>
<!-- Movement -->
<div class="movement section">
<div>
<h3 class="float-left"><span data-i18n="movement-u">Movement</span></h3><span class="section-title-partner"><span class="bold" data-i18n="walk-u">Walk</span> <input type="number" name="attr_walk_movement" value="@{movement_rate}" disabled>&nbsp;&nbsp;&nbsp;<span class="bold" data-i18n="run-u">Run</span>&sup1; <input type="number" name="attr_run_movement" value="(((@{movement_rate}+ceil(floor((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})/25)/2)))*3)-@{armor_penalty}" disabled>&nbsp;&nbsp;&nbsp;<span class="bold" data-i18n="sprint-u">Sprint</span>&sup1; <input type="number" name="attr_sprint_movement" value="((@{movement_rate}+floor((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})/25))*5)-@{armor_penalty}" disabled>&nbsp;&nbsp;&nbsp;<span class="bold" data-i18n="climb-u">Climb</span>&nbsp;&nbsp;<span data-i18n="rough-u">Rough</span> <input type="number" name="attr_climb_rough_movement" value="@{movement_rate}-ceil(@{armor_penalty}/2)" disabled>&nbsp;<span data-i18n="steep-u">Steep</span> <input type="number" name="attr_climb_steep_movement" value="@{movement_rate}-@{armor_penalty}" disabled>&nbsp;<span data-i18n="sheer-u">Sheer</span> <input type="number" name="attr_climb_sheer_movement" value="@{movement_rate}-(@{armor_penalty}*2)" disabled></span>
</div>
<div class="clear-float"></div>
<div class="movement-row">
<span class="bold" data-i18n="running-jump-u">Running Jump</span>&sup2;&nbsp;&nbsp;<span data-i18n="horizontal-u">Horizontal</span>&sup1; <input type="number" name="attr_jump_horizontal_movement" value="(((@{height}/100)*2)+floor((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})/20))-(@{armor_penalty}/2)" disabled>&nbsp;<span data-i18n="vertical-u">Vertical</span>&sup1; <input type="number" name="attr_jump_vertical_movement" value="(((@{height}/100)*.5)+(floor((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})/20)*.2))-(@{armor_penalty}/2)" disabled>&nbsp;&nbsp;&nbsp;<span class="bold" data-i18n="standing-jump-u">Standing Jump</span>&nbsp;&nbsp;<span data-i18n="horizontal-u">Horizontal</span> <input type="number" name="attr_jump_horizontal_no_runup_movement" value="((((@{height}/100)*2)+floor((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})/20))/2)-(@{armor_penalty}/4)" disabled>&nbsp;<span data-i18n="vertical-u">Vertical</span> <input type="number" name="attr_jump_vertical_without_runup_movement" value="((((@{height}/100)*.5)+(floor((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})/20)*.2))/2)-(@{armor_penalty}/4)" disabled>&nbsp;&nbsp;&nbsp;<span class="bold" data-i18n="swim-u">Swim</span>&sup3;&nbsp;&nbsp;<input type="number" name="attr_swim_movement" value="(@{movement_rate}+floor((@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment})/20))" disabled>/<input type="number" name="attr_swim_sink" value="ceil((@{swim_movement}/2)-@{armor_penalty})" disabled>
</div> <input type="checkbox" class="details-toggle" name="attr_movement_details"><span class="details-toggle"></span>
<div class="details">
<div>
&sup1; <span data-i18n="movement-one-clarification-u">Critical success on Athletics roll grants +1 movement</span>
</div>
<div>
&sup2; <span data-i18n="movement-two-clarification-u">These jump values assume a 5m run-up.</span>
</div>
<div>
&sup3; <span data-i18n="movement-three-clarification-u">Critical success on Swim roll grants +1 movement. The 2nd field resolves armor penalty and if positive the character swims, if 0 floats and if negative sinks.</span>
</div>
</div>
</div>
<div class="clear-float"></div>
<!-- Combat Styles -->
<div class="combatstyle section">
<h3><span data-i18n="combat-styles-u">Combat Styles</span></h3>
<div class="combatstyle-row">
<div class="combatstyle-name header"><span data-i18n="combat-style-u">Combat Style</span></div>
<div class="combatstyle-checkbox header">&#9875;</div>
<div class="combatstyle-checkbox header">!</div>
<div class="combatstyle-checkbox header">&#10004;</div>
<div class="combatstyle-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="combatstyle-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="combatstyle-number header">%</div>
<div class="combatstyle-button"></div>
<div class="combatstyle-traits header"><span data-i18n="traits-u">Traits</span></div>
<div class="combatstyle-weapons header"><span data-i18n="weapons-u">Weapons</span></div>
</div>
<!-- Unarmed (Combat Style)-->
<div class="rep-row">
<div class="combatstyle-row">
<div class="combatstyle-name bottom-border"><span data-i18n="unarmed-u">Unarmed</span></div>
<div class="combatstyle-checkbox"><input type="checkbox" name="attr_unarmed_encumbered" value="1" checked disabled></div>
<div class="combatstyle-checkbox"><input type="checkbox" name="attr_unarmed_fumbled" value="1"></div>
<div class="combatstyle-checkbox"><input type="checkbox" name="attr_unarmed_trained" value="1"></div>
<div class="combatstyle-number"><input type="number" class="text-align-center full-width" name="attr_unarmed_augment" value="0"></div>
<div class="combatstyle-number"><input type="number" max="0" class="text-align-center full-width" name="attr_unarmed_penalty" value="0"></div>
<div class="combatstyle-number"><input type="number" class="text-align-center full-width bold" name="attr_unarmed" value="(@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment}+@{unarmed_penalty})" disabled></div>
<div class="combatstyle-button"><button type="roll" class="reduced-size full-width" name="roll_unarmed" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{unarmed-u}}} @{name_display} {{very_easy=[[@{unarmed_very_easy}]]}} {{very_easy_crit=[[ceil(@{unarmed_very_easy}*.1)]]}} {{easy=[[@{unarmed_easy}]]}} {{easy_crit=[[ceil(@{unarmed_easy}*.1)]]}} {{standard=[[@{unarmed} ]]}} {{standard_crit=[[ceil(@{unarmed}*.1)]]}} {{hard=[[@{unarmed_hard}]]}} {{hard_crit=[[ceil(@{unarmed_hard}*.1)]]}} {{formidable=[[@{unarmed_formidable}]]}} {{formidable_crit=[[ceil(@{unarmed_formidable}*.1)]]}} {{herculean=[[@{unarmed_herculean}]]}} {{herculean_crit=[[ceil(@{unarmed_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{unarmed_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="combatstyle-traits"><input type="text" class="full-width" value="" disabled></div>
<div class="combatstyle-weapons"><input type="text" class="full-width" value="" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_unarmed_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="str-u">STR</span>+<span data-i18n="dex-u">DEX</span>) <input type="number" class="text-align-center number-width" name="attr_unarmed_base" value="(@{str}+@{dex})" disabled><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_unarmed_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_unarmed_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_unarmed_very_easy" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*2)+@{unarmed_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_unarmed_easy" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*1.5)+@{unarmed_penalty})" disabled><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_unarmed_hard" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*.67)+@{unarmed_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_unarmed_formidable" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*.5)+@{unarmed_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_unarmed_herculean" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*.1)+@{unarmed_penalty})" disabled></div>
</div>
</div>
<fieldset class="repeating_combatstyle">
<div class="rep-row">
<div class="combatstyle-row">
<div class="combatstyle-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="combatstyle-checkbox"><input type="checkbox" name="attr_encumbered" value="1" checked></div>
<div class="combatstyle-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="combatstyle-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="combatstyle-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="combatstyle-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="combatstyle-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="combatstyle-button"><button type="roll" class="reduced-size full-width" name="roll_combatstyle" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="combatstyle-traits"><input type="text" class="full-width" name="attr_traits"></div>
<div class="combatstyle-weapons"><input type="text" class="full-width" name="attr_weapons"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="characteristic-short-u">Char</span> 1:
<select class="combatstyle-char" name="attr_char1">
<option value="@{str}" selected><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}"><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="characteristic-short-u">Char</span> 2:
<select class="combatstyle-char" name="attr_char2">
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}" selected><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}"><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="base-value-u">Base Value</span>: <input type="number" class="text-align-center number-width" name="attr_base" value="(@{char1}+@{char2})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0">
</div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty}" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
</div>
<div class="clear-float"></div>
<!-- Weapons -->
<div class="weapons section">
<h3 class="float-left"><span data-i18n="shields-and-weapons-u">Shields & Weapons</span></h3>
<span class="firearms-enabled float-right in-header-toggle" data-i18n="firearms-u">Firearms</span><input type="checkbox" class="display-firearms firearms-enabled float-right in-header-toggle" value="1" name="attr_display_firearms" checked="true"/><span class="float-right in-header-toggle" data-i18n="missile-weapons-u">Missile Weapons</span><input type="checkbox" class="display-missile-weapons float-right in-header-toggle" value="1" name="attr_display_missile_weapons" checked="true"/><span class="float-right in-header-toggle" data-i18n="melee-weapons-u">Melee Weapons</span><input type="checkbox" class="display-melee-weapons float-right in-header-toggle" value="1" name="attr_display_melee_weapons" checked="true"/><span class="float-right in-header-toggle" data-i18n="shields-u">Shields</span><input type="checkbox" class="display-shields float-right in-header-toggle" value="1" name="attr_display_shields" checked="true"/><span class="bold float-right in-header-toggle" data-i18n="display-u">Display:</span>
<hr style="visibility: hidden; margin: 0px; padding: 0px">
<div class="display-shields">
<div class="weapons-row">
<div class="weapon-name header"><span data-i18n="shield-u">Shield</span></div>
<div class="weapon-damage-mod header"><span data-i18n="damage-mod-short-u">DM</span></div>
<div class="weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="weapon-button header"></div>
<div class="weapon-size header"><span data-i18n="size-u">Size</span></div>
<div class="weapon-reach header"><span data-i18n="reach-u">Reach</span></div>
<div class="weapon-number header"><span data-i18n="ap-u">AP</span></div>
<div class="weapon-number header"><span data-i18n="hp-u">HP</span></div>
<div class="weapon-effects header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_shield">
<div class="rep-row">
<div class="weapons-row">
<div class="weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="weapon-damage-mod"><input type="checkbox" class="text-align-center full-width" name="attr_damage_mod_toggle" value="@{damage_mod}" checked=true></div>
<div class="weapon-damage"><input type="text" class="text-align-center full-width" name="attr_damage"></div>
<div class="weapon-button header"><button type="roll" class="reduced-size full-width" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}+@{damage_mod_toggle}]]}} {{size=@{size}}} {{notes=@{notes}}}"></div>
<div class="weapon-size"><input type="text" class="text-align-center full-width" name="attr_size"></div>
<div class="weapon-reach"><input type="text" class="text-align-center full-width" name="attr_reach"></div>
<div class="weapon-number"><input type="number" class="text-align-center full-width" name="attr_ap"></div>
<div class="weapon-number"><input type="number" class="text-align-center full-width" name="attr_hp"></div>
<div class="weapon-effects"><input type="text" class="text-align-center full-width" name="attr_notes"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<span data-i18n="enc-u">ENC</span>: <input type="number" step="any" class="text-align-center number-width" name="attr_enc" value="0"> <span data-i18n="max-hp-u">Max HP</span>: <input type="number" class="text-align-center number-width" name="attr_hp_max" value="0">
</div>
</div>
</fieldset>
</div>
<hr style="visibility: hidden;">
<div class="display-melee-weapons">
<div class="weapons-row">
<div class="weapon-name header"><span data-i18n="melee-weapon-u">Melee Weapon</span></div>
<div class="weapon-damage-mod header"><span data-i18n="damage-mod-short-u">DM</span></div>
<div class="weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="weapon-button header"></div>
<div class="weapon-size header"><span data-i18n="size-u">Size</span></div>
<div class="weapon-reach header"><span data-i18n="reach-u">Reach</span></div>
<div class="weapon-number header"><span data-i18n="ap-u">AP</span></div>
<div class="weapon-number header"><span data-i18n="hp-u">HP</span></div>
<div class="weapon-effects header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_meleeweapon">
<div class="rep-row">
<div class="weapons-row">
<div class="weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="weapon-damage-mod"><input type="checkbox" class="text-align-center full-width" name="attr_damage_mod_toggle" value="@{damage_mod}" checked=true></div>
<div class="weapon-damage"><input type="text" class="text-align-center full-width" name="attr_damage"></div>
<div class="weapon-button header"><button type="roll" class="reduced-size full-width" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}+@{damage_mod_toggle}]]}} {{size=@{size}}} {{notes=@{notes}}}"></div>
<div class="weapon-size"><input type="text" class="text-align-center full-width" name="attr_size"></div>
<div class="weapon-reach"><input type="text" class="text-align-center full-width" name="attr_reach"></div>
<div class="weapon-number"><input type="number" class="text-align-center full-width" name="attr_ap"></div>
<div class="weapon-number"><input type="number" class="text-align-center full-width" name="attr_hp"></div>
<div class="weapon-effects"><input type="text" class="text-align-center full-width" name="attr_notes"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<span data-i18n="enc-u">ENC</span>: <input type="number" step="any" class="text-align-center number-width" name="attr_enc" value="0"> <span data-i18n="max-hp-u">Max HP</span>: <input type="number" class="text-align-center number-width" name="attr_hp_max" value="0">
</div>
</div>
</fieldset>
</div>
<hr style="visibility: hidden;">
<div class="display-missile-weapons">
<div class="weapons-row">
<div class="weapon-name header"><span data-i18n="missile-weapon-u">Missile Weapon</span></div>
<div class="weapon-damage-mod header"><span data-i18n="damage-mod-short-u">DM</span></div>
<div class="weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="weapon-button header"></div>
<div class="weapon-force header"><span data-i18n="force-u">Force</span></div>
<div class="weapon-range header"><span data-i18n="range-u">Range</span></div>
<div class="weapon-load header"><span data-i18n="load-u">Load</span></div>
<div class="weapon-number header"><span data-i18n="impale-size-short-u">IS</span></div>
<div class="weapon-number header"><span data-i18n="ap-u">AP</span></div>
<div class="weapon-number header"><span data-i18n="hp-u">HP</span></div>
<div class="weapon-missile-effects header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_missileweapon">
<div class="rep-row">
<div class="weapons-row">
<div class="weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="weapon-damage-mod"><input type="checkbox" class="text-align-center full-width" name="attr_damage_mod_toggle" value="@{damage_mod}"></div>
<div class="weapon-damage"><input type="text" class="text-align-center full-width" name="attr_damage"></div>
<div class="weapon-button header"><button type="roll" class="reduced-size full-width" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}+@{damage_mod_toggle}]]}} {{force=@{force}}} {{impale_size=@{impale_size}}} {{notes=@{notes}}}"></div>
<div class="weapon-force"><input type="text" class="text-align-center full-width" name="attr_force"></div>
<div class="weapon-range"><input type="text" class="text-align-center full-width" name="attr_range"></div>
<div class="weapon-load"><input type="number" class="text-align-center full-width" name="attr_load"></div>
<div class="weapon-number"><input type="text" class="text-align-center full-width" name="attr_impale_size"></div>
<div class="weapon-number"><input type="number" class="text-align-center full-width" name="attr_ap"></div>
<div class="weapon-number"><input type="number" class="text-align-center full-width" name="attr_hp"></div>
<div class="weapon-missile-effects"><input type="text" class="text-align-center full-width" name="attr_notes"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<span data-i18n="enc-u">ENC</span>: <input type="number" step="any" class="text-align-center number-width" name="attr_enc" value="0"> <span data-i18n="max-hp-u">Max HP</span>: <input type="number" class="text-align-center number-width" name="attr_hp_max" value="0">
</div>
</div>
</fieldset>
</div>
<hr style="visibility: hidden;">
<div class="display-firearms firearms-enabled">
<div class="weapons-row">
<div class="weapon-name header"><span data-i18n="firearm-u">Firearm</span></div>
<div class="weapon-damage header"><span data-i18n="damage-u">Damage</span></div>
<div class="weapon-button header"></div>
<div class="weapon-range header"><span data-i18n="range-u">Range</span></div>
<div class="weapon-fire-rate header"><span data-i18n="fire-rate-u">Fire Rate</span></div>
<div class="weapon-ammo header"><span data-i18n="ammo-u">Ammo</span></div>
<div class="weapon-firearm-load header"><span data-i18n="load-u">Load</span></div>
<div class="weapon-firearm-traits header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_firearm">
<div class="rep-row">
<div class="weapons-row">
<div class="weapon-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="weapon-damage"><input type="text" class="text-align-center full-width" name="attr_damage"></div>
<div class="weapon-button header"><button type="roll" class="reduced-size full-width" name="roll_damage" value="@{roll_display}&{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[@{damage}]]}} {{notes=@{notes}}}"></div>
<div class="weapon-range"><input type="text" class="text-align-center full-width" name="attr_range"></div>
<div class="weapon-fire-rate"><input type="text" class="text-align-center full-width" name="attr_fire-rate"></div>
<div class="weapon-ammo"><input type="number" class="number-width" name="attr_ammo" value="0">/<input type="number" class="number-width" name="attr_ammo_max" value="0"></div>
<div class="weapon-firearm-load"><input type="text" class="text-align-center full-width" name="attr_load"></div>
<div class="weapon-firearm-traits"><input type="text" class="text-align-center full-width" name="attr_notes"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<span data-i18n="enc-u">ENC</span>: <input type="number" step="any" class="text-align-center number-width" name="attr_enc" value="0">
</div>
</div>
</fieldset>
</div>
</div>
<div class="clear-float"></div>
<!-- Skills -->
<div>
<!-- Standard SKills / Column 1 -->
<div class="skill section">
<h3><span data-i18n="standard-skills-u">Standard Skills</span></h3>
<!-- Skills -->
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<!-- Athletics -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="athletics-u">Athletics</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_athletics_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_athletics_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_athletics_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_athletics_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_athletics_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_athletics" value="(@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment}+@{athletics_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_athletics" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{athletics-u}}} @{name_display} {{very_easy=[[@{athletics_very_easy}]]}} {{very_easy_crit=[[ceil(@{athletics_very_easy}*.1)]]}} {{easy=[[@{athletics_easy}]]}} {{easy_crit=[[ceil(@{athletics_easy}*.1)]]}} {{standard=[[@{athletics} ]]}} {{standard_crit=[[ceil(@{athletics}*.1)]]}} {{hard=[[@{athletics_hard}]]}} {{hard_crit=[[ceil(@{athletics_hard}*.1)]]}} {{formidable=[[@{athletics_formidable}]]}} {{formidable_crit=[[ceil(@{athletics_formidable}*.1)]]}} {{herculean=[[@{athletics_herculean}]]}} {{herculean_crit=[[ceil(@{athletics_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{athletics_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_athletics_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="str-u">STR</span>+<span data-i18n="dex-u">DEX</span>) <input type="number" class="text-align-center number-width" name="attr_athletics_base" value="(@{str}+@{dex})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_athletics_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_athletics_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_athletics_very_easy" value="ceil(((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})*2)+@{athletics_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_athletics_easy" value="ceil(((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})*1.5)+@{athletics_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_athletics_hard" value="ceil(((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})*.67)+@{athletics_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_athletics_formidable" value="ceil(((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})*.5)+@{athletics_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_athletics_herculean" value="ceil(((@{athletics_base}+@{athletics_experience}+@{athletics_other}+@{athletics_augment})*.1)+@{athletics_penalty})" disabled></div>
</div>
</div>
<!-- Boating -->
<div class="default boating-standard">
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="boating-u">Boating</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_boating_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_boating_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_boating_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_boating_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_boating_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_boating" value="(@{boating_base}+@{boating_experience}+@{boating_other}+@{boating_augment}+@{boating_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_boating" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{boating-u}}} @{name_display} {{very_easy=[[@{boating_very_easy}]]}} {{very_easy_crit=[[ceil(@{boating_very_easy}*.1)]]}} {{easy=[[@{boating_easy}]]}} {{easy_crit=[[ceil(@{boating_easy}*.1)]]}} {{standard=[[@{boating} ]]}} {{standard_crit=[[ceil(@{boating}*.1)]]}} {{hard=[[@{boating_hard}]]}} {{hard_crit=[[ceil(@{boating_hard}*.1)]]}} {{formidable=[[@{boating_formidable}]]}} {{formidable_crit=[[ceil(@{boating_formidable}*.1)]]}} {{herculean=[[@{boating_herculean}]]}} {{herculean_crit=[[ceil(@{boating_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{boating_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_boating_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="str-u">STR</span>+<span data-i18n="con-u">CON</span>) <input type="number" class="text-align-center number-width" name="attr_boating_base" value="(@{str}+@{con})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_boating_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_boating_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_boating_very_easy" value="ceil(((@{boating_base}+@{boating_experience}+@{boating_other}+@{boating_augment})*2)+@{boating_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_boating_easy" value="ceil(((@{boating_base}+@{boating_experience}+@{boating_other}+@{boating_augment})*1.5)+@{boating_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_boating_hard" value="ceil(((@{boating_base}+@{boating_experience}+@{boating_other}+@{boating_augment})*.67)+@{boating_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_boating_formidable" value="ceil(((@{boating_base}+@{boating_experience}+@{boating_other}+@{boating_augment})*.5)+@{boating_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_boating_herculean" value="ceil(((@{boating_base}+@{boating_experience}+@{boating_other}+@{boating_augment})*.1)+@{boating_penalty})" disabled></div>
</div>
</div>
<!-- Brawn -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="brawn-u">Brawn</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_brawn_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_brawn_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_brawn_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_brawn_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_brawn_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_brawn" value="(@{brawn_base}+@{brawn_experience}+@{brawn_other}+@{brawn_augment}+@{brawn_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_brawn" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{brawn-u}}} @{name_display} {{very_easy=[[@{brawn_very_easy}]]}} {{very_easy_crit=[[ceil(@{brawn_very_easy}*.1)]]}} {{easy=[[@{brawn_easy}]]}} {{easy_crit=[[ceil(@{brawn_easy}*.1)]]}} {{standard=[[@{brawn} ]]}} {{standard_crit=[[ceil(@{brawn}*.1)]]}} {{hard=[[@{brawn_hard}]]}} {{hard_crit=[[ceil(@{brawn_hard}*.1)]]}} {{formidable=[[@{brawn_formidable}]]}} {{formidable_crit=[[ceil(@{brawn_formidable}*.1)]]}} {{herculean=[[@{brawn_herculean}]]}} {{herculean_crit=[[ceil(@{brawn_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{brawn_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_brawn_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="str-u">STR</span>+<span data-i18n="siz-u">SIZ</span>) <input type="number" class="text-align-center number-width" name="attr_brawn_base" value="(@{str}+@{siz})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_brawn_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_brawn_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_brawn_very_easy" value="ceil(((@{brawn_base}+@{brawn_experience}+@{brawn_other}+@{brawn_augment})*2)+@{brawn_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_brawn_easy" value="ceil(((@{brawn_base}+@{brawn_experience}+@{brawn_other}+@{brawn_augment})*1.5)+@{brawn_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_brawn_hard" value="ceil(((@{brawn_base}+@{brawn_experience}+@{brawn_other}+@{brawn_augment})*.67)+@{brawn_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_brawn_formidable" value="ceil(((@{brawn_base}+@{brawn_experience}+@{brawn_other}+@{brawn_augment})*.5)+@{brawn_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_brawn_herculean" value="ceil(((@{brawn_base}+@{brawn_experience}+@{brawn_other}+@{brawn_augment})*.1)+@{brawn_penalty})" disabled></div>
</div>
</div>
<!-- Conceal -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="conceal-u">Conceal</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_conceal_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_conceal_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_conceal_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_conceal_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_conceal_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_conceal" value="(@{conceal_base}+@{conceal_experience}+@{conceal_other}+@{conceal_augment}+@{conceal_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_conceal" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{conceal-u}}} @{name_display} {{very_easy=[[@{conceal_very_easy}]]}} {{very_easy_crit=[[ceil(@{conceal_very_easy}*.1)]]}} {{easy=[[@{conceal_easy}]]}} {{easy_crit=[[ceil(@{conceal_easy}*.1)]]}} {{standard=[[@{conceal} ]]}} {{standard_crit=[[ceil(@{conceal}*.1)]]}} {{hard=[[@{conceal_hard}]]}} {{hard_crit=[[ceil(@{conceal_hard}*.1)]]}} {{formidable=[[@{conceal_formidable}]]}} {{formidable_crit=[[ceil(@{conceal_formidable}*.1)]]}} {{herculean=[[@{conceal_herculean}]]}} {{herculean_crit=[[ceil(@{conceal_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{conceal_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_conceal_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="dex-u">DEX</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_conceal_base" value="(@{dex}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_conceal_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_conceal_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_conceal_very_easy" value="ceil(((@{conceal_base}+@{conceal_experience}+@{conceal_other}+@{conceal_augment})*2)+@{conceal_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_conceal_easy" value="ceil(((@{conceal_base}+@{conceal_experience}+@{conceal_other}+@{conceal_augment})*1.5)+@{conceal_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_conceal_hard" value="ceil(((@{conceal_base}+@{conceal_experience}+@{conceal_other}+@{conceal_augment})*.67)+@{conceal_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_conceal_formidable" value="ceil(((@{conceal_base}+@{conceal_experience}+@{conceal_other}+@{conceal_augment})*.5)+@{conceal_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_conceal_herculean" value="ceil(((@{conceal_base}+@{conceal_experience}+@{conceal_other}+@{conceal_augment})*.1)+@{conceal_penalty})" disabled></div>
</div>
</div>
<!-- Customs -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="customs-u">Customs</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_customs_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_customs_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_customs_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_customs_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_customs_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_customs" value="(@{customs_base}+@{customs_experience}+@{customs_other}+@{customs_augment}+@{customs_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_customs" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{customs-u}}} @{name_display} {{very_easy=[[@{customs_very_easy}]]}} {{very_easy_crit=[[ceil(@{customs_very_easy}*.1)]]}} {{easy=[[@{customs_easy}]]}} {{easy_crit=[[ceil(@{customs_easy}*.1)]]}} {{standard=[[@{customs} ]]}} {{standard_crit=[[ceil(@{customs}*.1)]]}} {{hard=[[@{customs_hard}]]}} {{hard_crit=[[ceil(@{customs_hard}*.1)]]}} {{formidable=[[@{customs_formidable}]]}} {{formidable_crit=[[ceil(@{customs_formidable}*.1)]]}} {{herculean=[[@{customs_herculean}]]}} {{herculean_crit=[[ceil(@{customs_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{customs_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_customs_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_customs_base" value="(@{int}+@{int})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_customs_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_customs_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_customs_very_easy" value="ceil(((@{customs_base}+@{customs_experience}+@{customs_other}+@{customs_augment})*2)+@{customs_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_customs_easy" value="ceil(((@{customs_base}+@{customs_experience}+@{customs_other}+@{customs_augment})*1.5)+@{customs_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_customs_hard" value="ceil(((@{customs_base}+@{customs_experience}+@{customs_other}+@{customs_augment})*.67)+@{customs_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_customs_formidable" value="ceil(((@{customs_base}+@{customs_experience}+@{customs_other}+@{customs_augment})*.5)+@{customs_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_customs_herculean" value="ceil(((@{customs_base}+@{customs_experience}+@{customs_other}+@{customs_augment})*.1)+@{customs_penalty})" disabled></div>
</div>
</div>
<!-- Dance -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="dance-u">Dance</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_dance_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_dance_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_dance_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_dance_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_dance_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_dance" value="(@{dance_base}+@{dance_experience}+@{dance_other}+@{dance_augment}+@{dance_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_dance" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{dance-u}}} @{name_display} {{very_easy=[[@{dance_very_easy}]]}} {{very_easy_crit=[[ceil(@{dance_very_easy}*.1)]]}} {{easy=[[@{dance_easy}]]}} {{easy_crit=[[ceil(@{dance_easy}*.1)]]}} {{standard=[[@{dance} ]]}} {{standard_crit=[[ceil(@{dance}*.1)]]}} {{hard=[[@{dance_hard}]]}} {{hard_crit=[[ceil(@{dance_hard}*.1)]]}} {{formidable=[[@{dance_formidable}]]}} {{formidable_crit=[[ceil(@{dance_formidable}*.1)]]}} {{herculean=[[@{dance_herculean}]]}} {{herculean_crit=[[ceil(@{dance_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{dance_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_dance_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="dex-u">DEX</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_dance_base" value="(@{dex}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_dance_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_dance_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_dance_very_easy" value="ceil(((@{dance_base}+@{dance_experience}+@{dance_other}+@{dance_augment})*2)+@{dance_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_dance_easy" value="ceil(((@{dance_base}+@{dance_experience}+@{dance_other}+@{dance_augment})*1.5)+@{dance_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_dance_hard" value="ceil(((@{dance_base}+@{dance_experience}+@{dance_other}+@{dance_augment})*.67)+@{dance_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_dance_formidable" value="ceil(((@{dance_base}+@{dance_experience}+@{dance_other}+@{dance_augment})*.5)+@{dance_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_dance_herculean" value="ceil(((@{dance_base}+@{dance_experience}+@{dance_other}+@{dance_augment})*.1)+@{dance_penalty})" disabled></div>
</div>
</div>
<!-- Deceit -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="deceit-u">Deceit</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_deceit_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_deceit_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_deceit_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_deceit_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_deceit_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_deceit" value="(@{deceit_base}+@{deceit_experience}+@{deceit_other}+@{deceit_augment}+@{deceit_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_deceit" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{deceit-u}}} @{name_display} {{very_easy=[[@{deceit_very_easy}]]}} {{very_easy_crit=[[ceil(@{deceit_very_easy}*.1)]]}} {{easy=[[@{deceit_easy}]]}} {{easy_crit=[[ceil(@{deceit_easy}*.1)]]}} {{standard=[[@{deceit} ]]}} {{standard_crit=[[ceil(@{deceit}*.1)]]}} {{hard=[[@{deceit_hard}]]}} {{hard_crit=[[ceil(@{deceit_hard}*.1)]]}} {{formidable=[[@{deceit_formidable}]]}} {{formidable_crit=[[ceil(@{deceit_formidable}*.1)]]}} {{herculean=[[@{deceit_herculean}]]}} {{herculean_crit=[[ceil(@{deceit_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{deceit_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_deceit_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_deceit_base" value="(@{int}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_deceit_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_deceit_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_deceit_very_easy" value="ceil(((@{deceit_base}+@{deceit_experience}+@{deceit_other}+@{deceit_augment})*2)+@{deceit_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_deceit_easy" value="ceil(((@{deceit_base}+@{deceit_experience}+@{deceit_other}+@{deceit_augment})*1.5)+@{deceit_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_deceit_hard" value="ceil(((@{deceit_base}+@{deceit_experience}+@{deceit_other}+@{deceit_augment})*.67)+@{deceit_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_deceit_formidable" value="ceil(((@{deceit_base}+@{deceit_experience}+@{deceit_other}+@{deceit_augment})*.5)+@{deceit_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_deceit_herculean" value="ceil(((@{deceit_base}+@{deceit_experience}+@{deceit_other}+@{deceit_augment})*.1)+@{deceit_penalty})" disabled></div>
</div>
</div>
<!-- Drive -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="drive-u">Drive</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_drive_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_drive_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_drive_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_drive_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_drive_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_drive" value="(@{drive_base}+@{drive_experience}+@{drive_other}+@{drive_augment}+@{drive_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_drive" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{drive-u}}} @{name_display} {{very_easy=[[@{drive_very_easy}]]}} {{very_easy_crit=[[ceil(@{drive_very_easy}*.1)]]}} {{easy=[[@{drive_easy}]]}} {{easy_crit=[[ceil(@{drive_easy}*.1)]]}} {{standard=[[@{drive} ]]}} {{standard_crit=[[ceil(@{drive}*.1)]]}} {{hard=[[@{drive_hard}]]}} {{hard_crit=[[ceil(@{drive_hard}*.1)]]}} {{formidable=[[@{drive_formidable}]]}} {{formidable_crit=[[ceil(@{drive_formidable}*.1)]]}} {{herculean=[[@{drive_herculean}]]}} {{herculean_crit=[[ceil(@{drive_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{drive_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_drive_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="dex-u">DEX</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_drive_base" value="(@{dex}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_drive_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_drive_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_drive_very_easy" value="ceil(((@{drive_base}+@{drive_experience}+@{drive_other}+@{drive_augment})*2)+@{drive_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_drive_easy" value="ceil(((@{drive_base}+@{drive_experience}+@{drive_other}+@{drive_augment})*1.5)+@{drive_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_drive_hard" value="ceil(((@{drive_base}+@{drive_experience}+@{drive_other}+@{drive_augment})*.67)+@{drive_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_drive_formidable" value="ceil(((@{drive_base}+@{drive_experience}+@{drive_other}+@{drive_augment})*.5)+@{drive_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_drive_herculean" value="ceil(((@{drive_base}+@{drive_experience}+@{drive_other}+@{drive_augment})*.1)+@{drive_penalty})" disabled></div>
</div>
</div>
<!-- Endurance -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="endurance-u">Endurance</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_endurance_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_endurance_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_endurance_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_endurance_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_endurance_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_endurance" value="(@{endurance_base}+@{endurance_experience}+@{endurance_other}+@{endurance_augment}+@{endurance_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_endurance" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{endurance-u}}} @{name_display} {{very_easy=[[@{endurance_very_easy}]]}} {{very_easy_crit=[[ceil(@{endurance_very_easy}*.1)]]}} {{easy=[[@{endurance_easy}]]}} {{easy_crit=[[ceil(@{endurance_easy}*.1)]]}} {{standard=[[@{endurance} ]]}} {{standard_crit=[[ceil(@{endurance}*.1)]]}} {{hard=[[@{endurance_hard}]]}} {{hard_crit=[[ceil(@{endurance_hard}*.1)]]}} {{formidable=[[@{endurance_formidable}]]}} {{formidable_crit=[[ceil(@{endurance_formidable}*.1)]]}} {{herculean=[[@{endurance_herculean}]]}} {{herculean_crit=[[ceil(@{endurance_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{endurance_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_endurance_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="con-u">CON</span>+<span data-i18n="con-u">CON</span>) <input type="number" class="text-align-center number-width" name="attr_endurance_base" value="(@{con}+@{con})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_endurance_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_endurance_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_endurance_very_easy" value="ceil(((@{endurance_base}+@{endurance_experience}+@{endurance_other}+@{endurance_augment})*2)+@{endurance_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_endurance_easy" value="ceil(((@{endurance_base}+@{endurance_experience}+@{endurance_other}+@{endurance_augment})*1.5)+@{endurance_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_endurance_hard" value="ceil(((@{endurance_base}+@{endurance_experience}+@{endurance_other}+@{endurance_augment})*.67)+@{endurance_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_endurance_formidable" value="ceil(((@{endurance_base}+@{endurance_experience}+@{endurance_other}+@{endurance_augment})*.5)+@{endurance_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_endurance_herculean" value="ceil(((@{endurance_base}+@{endurance_experience}+@{endurance_other}+@{endurance_augment})*.1)+@{endurance_penalty})" disabled></div>
</div>
</div>
<!-- Evade -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="evade-u">Evade</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_evade_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_evade_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_evade_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_evade_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_evade_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_evade" value="(@{evade_base}+@{evade_experience}+@{evade_other}+@{evade_augment}+@{evade_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_evade" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{evade-u}}} @{name_display} {{very_easy=[[@{evade_very_easy}]]}} {{very_easy_crit=[[ceil(@{evade_very_easy}*.1)]]}} {{easy=[[@{evade_easy}]]}} {{easy_crit=[[ceil(@{evade_easy}*.1)]]}} {{standard=[[@{evade} ]]}} {{standard_crit=[[ceil(@{evade}*.1)]]}} {{hard=[[@{evade_hard}]]}} {{hard_crit=[[ceil(@{evade_hard}*.1)]]}} {{formidable=[[@{evade_formidable}]]}} {{formidable_crit=[[ceil(@{evade_formidable}*.1)]]}} {{herculean=[[@{evade_herculean}]]}} {{herculean_crit=[[ceil(@{evade_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{evade_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_evade_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="dex-u">DEX</span>+<span data-i18n="dex-u">DEX</span>) <input type="number" class="text-align-center number-width" name="attr_evade_base" value="(@{dex}+@{dex})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_evade_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_evade_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_evade_very_easy" value="ceil(((@{evade_base}+@{evade_experience}+@{evade_other}+@{evade_augment})*2)+@{evade_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_evade_easy" value="ceil(((@{evade_base}+@{evade_experience}+@{evade_other}+@{evade_augment})*1.5)+@{evade_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_evade_hard" value="ceil(((@{evade_base}+@{evade_experience}+@{evade_other}+@{evade_augment})*.67)+@{evade_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_evade_formidable" value="ceil(((@{evade_base}+@{evade_experience}+@{evade_other}+@{evade_augment})*.5)+@{evade_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_evade_herculean" value="ceil(((@{evade_base}+@{evade_experience}+@{evade_other}+@{evade_augment})*.1)+@{evade_penalty})" disabled></div>
</div>
</div>
<!-- First Aid -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="first-aid-u">First Aid</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_first_aid_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_first_aid_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_first_aid_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_first_aid_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_first_aid_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_first_aid" value="(@{first_aid_base}+@{first_aid_experience}+@{first_aid_other}+@{first_aid_augment}+@{first_aid_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_first_aid" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{first-aid-u}}} @{name_display} {{very_easy=[[@{first_aid_very_easy}]]}} {{very_easy_crit=[[ceil(@{first_aid_very_easy}*.1)]]}} {{easy=[[@{first_aid_easy}]]}} {{easy_crit=[[ceil(@{first_aid_easy}*.1)]]}} {{standard=[[@{first_aid} ]]}} {{standard_crit=[[ceil(@{first_aid}*.1)]]}} {{hard=[[@{first_aid_hard}]]}} {{hard_crit=[[ceil(@{first_aid_hard}*.1)]]}} {{formidable=[[@{first_aid_formidable}]]}} {{formidable_crit=[[ceil(@{first_aid_formidable}*.1)]]}} {{herculean=[[@{first_aid_herculean}]]}} {{herculean_crit=[[ceil(@{first_aid_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{first_aid_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_first_aid_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="dex-u">DEX</span>) <input type="number" class="text-align-center number-width" name="attr_first_aid_base" value="(@{int}+@{dex})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_first_aid_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_first_aid_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_first_aid_very_easy" value="ceil(((@{first_aid_base}+@{first_aid_experience}+@{first_aid_other}+@{first_aid_augment})*2)+@{first_aid_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_first_aid_easy" value="ceil(((@{first_aid_base}+@{first_aid_experience}+@{first_aid_other}+@{first_aid_augment})*1.5)+@{first_aid_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_first_aid_hard" value="ceil(((@{first_aid_base}+@{first_aid_experience}+@{first_aid_other}+@{first_aid_augment})*.67)+@{first_aid_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_first_aid_formidable" value="ceil(((@{first_aid_base}+@{first_aid_experience}+@{first_aid_other}+@{first_aid_augment})*.5)+@{first_aid_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_first_aid_herculean" value="ceil(((@{first_aid_base}+@{first_aid_experience}+@{first_aid_other}+@{first_aid_augment})*.1)+@{first_aid_penalty})" disabled></div>
</div>
</div>
<!-- Home Parallel -->
<div class="luther-arkwright-style">
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="home-parallel-u">Home Parallel</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_home_parallel_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_home_parallel_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_home_parallel_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_home_parallel_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_home_parallel_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_home_parallel" value="(@{home_parallel_base}+@{home_parallel_experience}+@{home_parallel_other}+@{home_parallel_augment}+@{home_parallel_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_home_parallel" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{home-parallel-u}}} @{name_display} {{very_easy=[[@{home_parallel_very_easy}]]}} {{very_easy_crit=[[ceil(@{home_parallel_very_easy}*.1)]]}} {{easy=[[@{home_parallel_easy}]]}} {{easy_crit=[[ceil(@{home_parallel_easy}*.1)]]}} {{standard=[[@{home_parallel} ]]}} {{standard_crit=[[ceil(@{home_parallel}*.1)]]}} {{hard=[[@{home_parallel_hard}]]}} {{hard_crit=[[ceil(@{home_parallel_hard}*.1)]]}} {{formidable=[[@{home_parallel_formidable}]]}} {{formidable_crit=[[ceil(@{home_parallel_formidable}*.1)]]}} {{herculean=[[@{home_parallel_herculean}]]}} {{herculean_crit=[[ceil(@{home_parallel_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{home_parallel_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_home_parallel_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_home_parallel_base" value="(@{int}+@{int})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_home_parallel_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_home_parallel_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_home_parallel_very_easy" value="ceil(((@{home_parallel_base}+@{home_parallel_experience}+@{home_parallel_other}+@{home_parallel_augment})*2)+@{home_parallel_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_home_parallel_easy" value="ceil(((@{home_parallel_base}+@{home_parallel_experience}+@{home_parallel_other}+@{home_parallel_augment})*1.5)+@{home_parallel_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_home_parallel_hard" value="ceil(((@{home_parallel_base}+@{home_parallel_experience}+@{home_parallel_other}+@{home_parallel_augment})*.67)+@{home_parallel_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_home_parallel_formidable" value="ceil(((@{home_parallel_base}+@{home_parallel_experience}+@{home_parallel_other}+@{home_parallel_augment})*.5)+@{home_parallel_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_home_parallel_herculean" value="ceil(((@{home_parallel_base}+@{home_parallel_experience}+@{home_parallel_other}+@{home_parallel_augment})*.1)+@{home_parallel_penalty})" disabled></div>
</div>
</div>
<!-- Influence -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="influence-u">Influence</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_influence_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_influence_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_influence_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_influence_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_influence_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_influence" value="(@{influence_base}+@{influence_experience}+@{influence_other}+@{influence_augment}+@{influence_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_influence" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{influence-u}}} @{name_display} {{very_easy=[[@{influence_very_easy}]]}} {{very_easy_crit=[[ceil(@{influence_very_easy}*.1)]]}} {{easy=[[@{influence_easy}]]}} {{easy_crit=[[ceil(@{influence_easy}*.1)]]}} {{standard=[[@{influence} ]]}} {{standard_crit=[[ceil(@{influence}*.1)]]}} {{hard=[[@{influence_hard}]]}} {{hard_crit=[[ceil(@{influence_hard}*.1)]]}} {{formidable=[[@{influence_formidable}]]}} {{formidable_crit=[[ceil(@{influence_formidable}*.1)]]}} {{herculean=[[@{influence_herculean}]]}} {{herculean_crit=[[ceil(@{influence_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{influence_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_influence_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="cha-u">CHA</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_influence_base" value="(@{cha}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_influence_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_influence_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_influence_very_easy" value="ceil(((@{influence_base}+@{influence_experience}+@{influence_other}+@{influence_augment})*2)+@{influence_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_influence_easy" value="ceil(((@{influence_base}+@{influence_experience}+@{influence_other}+@{influence_augment})*1.5)+@{influence_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_influence_hard" value="ceil(((@{influence_base}+@{influence_experience}+@{influence_other}+@{influence_augment})*.67)+@{influence_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_influence_formidable" value="ceil(((@{influence_base}+@{influence_experience}+@{influence_other}+@{influence_augment})*.5)+@{influence_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_influence_herculean" value="ceil(((@{influence_base}+@{influence_experience}+@{influence_other}+@{influence_augment})*.1)+@{influence_penalty})" disabled></div>
</div>
</div>
<!-- Insight -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="insight-u">Insight</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_insight_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_insight_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_insight_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_insight_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_insight_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_insight" value="(@{insight_base}+@{insight_experience}+@{insight_other}+@{insight_augment}+@{insight_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_insight" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{insight-u}}} @{name_display} {{very_easy=[[@{insight_very_easy}]]}} {{very_easy_crit=[[ceil(@{insight_very_easy}*.1)]]}} {{easy=[[@{insight_easy}]]}} {{easy_crit=[[ceil(@{insight_easy}*.1)]]}} {{standard=[[@{insight} ]]}} {{standard_crit=[[ceil(@{insight}*.1)]]}} {{hard=[[@{insight_hard}]]}} {{hard_crit=[[ceil(@{insight_hard}*.1)]]}} {{formidable=[[@{insight_formidable}]]}} {{formidable_crit=[[ceil(@{insight_formidable}*.1)]]}} {{herculean=[[@{insight_herculean}]]}} {{herculean_crit=[[ceil(@{insight_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{insight_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_insight_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_insight_base" value="(@{int}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_insight_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_insight_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_insight_very_easy" value="ceil(((@{insight_base}+@{insight_experience}+@{insight_other}+@{insight_augment})*2)+@{insight_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_insight_easy" value="ceil(((@{insight_base}+@{insight_experience}+@{insight_other}+@{insight_augment})*1.5)+@{insight_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_insight_hard" value="ceil(((@{insight_base}+@{insight_experience}+@{insight_other}+@{insight_augment})*.67)+@{insight_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_insight_formidable" value="ceil(((@{insight_base}+@{insight_experience}+@{insight_other}+@{insight_augment})*.5)+@{insight_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_insight_herculean" value="ceil(((@{insight_base}+@{insight_experience}+@{insight_other}+@{insight_augment})*.1)+@{insight_penalty})" disabled></div>
</div>
</div>
<!-- Locale -->
<div class="default-style thennla-style classic-fantasy-style m-space-style">
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="locale-u">Locale</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_locale_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_locale_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_locale_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_locale_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_locale_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_locale" value="(@{locale_base}+@{locale_experience}+@{locale_other}+@{locale_augment}+@{locale_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_locale" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{locale-u}}} @{name_display} {{very_easy=[[@{locale_very_easy}]]}} {{very_easy_crit=[[ceil(@{locale_very_easy}*.1)]]}} {{easy=[[@{locale_easy}]]}} {{easy_crit=[[ceil(@{locale_easy}*.1)]]}} {{standard=[[@{locale} ]]}} {{standard_crit=[[ceil(@{locale}*.1)]]}} {{hard=[[@{locale_hard}]]}} {{hard_crit=[[ceil(@{locale_hard}*.1)]]}} {{formidable=[[@{locale_formidable}]]}} {{formidable_crit=[[ceil(@{locale_formidable}*.1)]]}} {{herculean=[[@{locale_herculean}]]}} {{herculean_crit=[[ceil(@{locale_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{locale_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_locale_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_locale_base" value="(@{int}+@{int})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_locale_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_locale_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_locale_very_easy" value="ceil(((@{locale_base}+@{locale_experience}+@{locale_other}+@{locale_augment})*2)+@{locale_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_locale_easy" value="ceil(((@{locale_base}+@{locale_experience}+@{locale_other}+@{locale_augment})*1.5)+@{locale_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_locale_hard" value="ceil(((@{locale_base}+@{locale_experience}+@{locale_other}+@{locale_augment})*.67)+@{locale_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_locale_formidable" value="ceil(((@{locale_base}+@{locale_experience}+@{locale_other}+@{locale_augment})*.5)+@{locale_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_locale_herculean" value="ceil(((@{locale_base}+@{locale_experience}+@{locale_other}+@{locale_augment})*.1)+@{locale_penalty})" disabled></div>
</div>
</div>
<!-- Perception -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="perception-u">Perception</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_perception_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_perception_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_perception_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_perception_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_perception_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_perception" value="(@{perception_base}+@{perception_experience}+@{perception_other}+@{perception_augment}+@{perception_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_perception" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{perception-u}}} @{name_display} {{very_easy=[[@{perception_very_easy}]]}} {{very_easy_crit=[[ceil(@{perception_very_easy}*.1)]]}} {{easy=[[@{perception_easy}]]}} {{easy_crit=[[ceil(@{perception_easy}*.1)]]}} {{standard=[[@{perception} ]]}} {{standard_crit=[[ceil(@{perception}*.1)]]}} {{hard=[[@{perception_hard}]]}} {{hard_crit=[[ceil(@{perception_hard}*.1)]]}} {{formidable=[[@{perception_formidable}]]}} {{formidable_crit=[[ceil(@{perception_formidable}*.1)]]}} {{herculean=[[@{perception_herculean}]]}} {{herculean_crit=[[ceil(@{perception_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{perception_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_perception_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_perception_base" value="(@{int}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_perception_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_perception_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_perception_very_easy" value="ceil(((@{perception_base}+@{perception_experience}+@{perception_other}+@{perception_augment})*2)+@{perception_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_perception_easy" value="ceil(((@{perception_base}+@{perception_experience}+@{perception_other}+@{perception_augment})*1.5)+@{perception_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_perception_hard" value="ceil(((@{perception_base}+@{perception_experience}+@{perception_other}+@{perception_augment})*.67)+@{perception_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_perception_formidable" value="ceil(((@{perception_base}+@{perception_experience}+@{perception_other}+@{perception_augment})*.5)+@{perception_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_perception_herculean" value="ceil(((@{perception_base}+@{perception_experience}+@{perception_other}+@{perception_augment})*.1)+@{perception_penalty})" disabled></div>
</div>
</div>
<!-- Ride -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="ride-u">Ride</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_ride_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_ride_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_ride_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_ride_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_ride_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_ride" value="(@{ride_base}+@{ride_experience}+@{ride_other}+@{ride_augment}+@{ride_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_ride" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{ride-u}}} @{name_display} {{very_easy=[[@{ride_very_easy}]]}} {{very_easy_crit=[[ceil(@{ride_very_easy}*.1)]]}} {{easy=[[@{ride_easy}]]}} {{easy_crit=[[ceil(@{ride_easy}*.1)]]}} {{standard=[[@{ride} ]]}} {{standard_crit=[[ceil(@{ride}*.1)]]}} {{hard=[[@{ride_hard}]]}} {{hard_crit=[[ceil(@{ride_hard}*.1)]]}} {{formidable=[[@{ride_formidable}]]}} {{formidable_crit=[[ceil(@{ride_formidable}*.1)]]}} {{herculean=[[@{ride_herculean}]]}} {{herculean_crit=[[ceil(@{ride_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{ride_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_ride_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="dex-u">DEX</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_ride_base" value="(@{dex}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_ride_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_ride_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_ride_very_easy" value="ceil(((@{ride_base}+@{ride_experience}+@{ride_other}+@{ride_augment})*2)+@{ride_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_ride_easy" value="ceil(((@{ride_base}+@{ride_experience}+@{ride_other}+@{ride_augment})*1.5)+@{ride_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_ride_hard" value="ceil(((@{ride_base}+@{ride_experience}+@{ride_other}+@{ride_augment})*.67)+@{ride_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_ride_formidable" value="ceil(((@{ride_base}+@{ride_experience}+@{ride_other}+@{ride_augment})*.5)+@{ride_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_ride_herculean" value="ceil(((@{ride_base}+@{ride_experience}+@{ride_other}+@{ride_augment})*.1)+@{ride_penalty})" disabled></div>
</div>
</div>
<!-- Sing -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="sing-u">Sing</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_sing_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_sing_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_sing_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_sing_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_sing_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_sing" value="(@{sing_base}+@{sing_experience}+@{sing_other}+@{sing_augment}+@{sing_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_sing" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{sing-u}}} @{name_display} {{very_easy=[[@{sing_very_easy}]]}} {{very_easy_crit=[[ceil(@{sing_very_easy}*.1)]]}} {{easy=[[@{sing_easy}]]}} {{easy_crit=[[ceil(@{sing_easy}*.1)]]}} {{standard=[[@{sing} ]]}} {{standard_crit=[[ceil(@{sing}*.1)]]}} {{hard=[[@{sing_hard}]]}} {{hard_crit=[[ceil(@{sing_hard}*.1)]]}} {{formidable=[[@{sing_formidable}]]}} {{formidable_crit=[[ceil(@{sing_formidable}*.1)]]}} {{herculean=[[@{sing_herculean}]]}} {{herculean_crit=[[ceil(@{sing_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{sing_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_sing_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="cha-u">CHA</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_sing_base" value="(@{cha}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_sing_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_sing_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_sing_very_easy" value="ceil(((@{sing_base}+@{sing_experience}+@{sing_other}+@{sing_augment})*2)+@{sing_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_sing_easy" value="ceil(((@{sing_base}+@{sing_experience}+@{sing_other}+@{sing_augment})*1.5)+@{sing_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_sing_hard" value="ceil(((@{sing_base}+@{sing_experience}+@{sing_other}+@{sing_augment})*.67)+@{sing_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_sing_formidable" value="ceil(((@{sing_base}+@{sing_experience}+@{sing_other}+@{sing_augment})*.5)+@{sing_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_sing_herculean" value="ceil(((@{sing_base}+@{sing_experience}+@{sing_other}+@{sing_augment})*.1)+@{sing_penalty})" disabled></div>
</div>
</div>
<!-- Status -->
<div class="status-standard">
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="status-u">Status</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_status_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_status_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_status_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_status_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_status_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_status" value="(@{status_base}+@{status_experience}+@{status_other}+@{status_augment}+@{status_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_status" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{status-u}}} @{name_display} {{very_easy=[[@{status_very_easy}]]}} {{very_easy_crit=[[ceil(@{status_very_easy}*.1)]]}} {{easy=[[@{status_easy}]]}} {{easy_crit=[[ceil(@{status_easy}*.1)]]}} {{standard=[[@{status} ]]}} {{standard_crit=[[ceil(@{status}*.1)]]}} {{hard=[[@{status_hard}]]}} {{hard_crit=[[ceil(@{status_hard}*.1)]]}} {{formidable=[[@{status_formidable}]]}} {{formidable_crit=[[ceil(@{status_formidable}*.1)]]}} {{herculean=[[@{status_herculean}]]}} {{herculean_crit=[[ceil(@{status_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{status_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_status_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: <input type="number" class="text-align-center number-width" name="attr_status_base" value="0"></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_status_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_status_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_status_very_easy" value="ceil(((@{status_base}+@{status_experience}+@{status_other}+@{status_augment})*2)+@{status_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_status_easy" value="ceil(((@{status_base}+@{status_experience}+@{status_other}+@{status_augment})*1.5)+@{status_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_status_hard" value="ceil(((@{status_base}+@{status_experience}+@{status_other}+@{status_augment})*.67)+@{status_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_status_formidable" value="ceil(((@{status_base}+@{status_experience}+@{status_other}+@{status_augment})*.5)+@{status_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_status_herculean" value="ceil(((@{status_base}+@{status_experience}+@{status_other}+@{status_augment})*.1)+@{status_penalty})" disabled></div>
</div>
</div>
<!-- Stealth -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="stealth-u">Stealth</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_stealth_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_stealth_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_stealth_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_stealth_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_stealth_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_stealth" value="(@{stealth_base}+@{stealth_experience}+@{stealth_other}+@{stealth_augment}+@{stealth_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_stealth" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{stealth-u}}} @{name_display} {{very_easy=[[@{stealth_very_easy}]]}} {{very_easy_crit=[[ceil(@{stealth_very_easy}*.1)]]}} {{easy=[[@{stealth_easy}]]}} {{easy_crit=[[ceil(@{stealth_easy}*.1)]]}} {{standard=[[@{stealth} ]]}} {{standard_crit=[[ceil(@{stealth}*.1)]]}} {{hard=[[@{stealth_hard}]]}} {{hard_crit=[[ceil(@{stealth_hard}*.1)]]}} {{formidable=[[@{stealth_formidable}]]}} {{formidable_crit=[[ceil(@{stealth_formidable}*.1)]]}} {{herculean=[[@{stealth_herculean}]]}} {{herculean_crit=[[ceil(@{stealth_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{stealth_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_stealth_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="dex-u">DEX</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_stealth_base" value="(@{dex}+@{int})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_stealth_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_stealth_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_stealth_very_easy" value="ceil(((@{stealth_base}+@{stealth_experience}+@{stealth_other}+@{stealth_augment})*2)+@{stealth_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_stealth_easy" value="ceil(((@{stealth_base}+@{stealth_experience}+@{stealth_other}+@{stealth_augment})*1.5)+@{stealth_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_stealth_hard" value="ceil(((@{stealth_base}+@{stealth_experience}+@{stealth_other}+@{stealth_augment})*.67)+@{stealth_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_stealth_formidable" value="ceil(((@{stealth_base}+@{stealth_experience}+@{stealth_other}+@{stealth_augment})*.5)+@{stealth_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_stealth_herculean" value="ceil(((@{stealth_base}+@{stealth_experience}+@{stealth_other}+@{stealth_augment})*.1)+@{stealth_penalty})" disabled></div>
</div>
</div>
<!-- Superstition -->
<div class="superstition-standard">
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="superstition-u">Superstition</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_superstition_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_superstition_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_superstition_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_superstition_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_superstition_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_superstition" value="(@{superstition_base}+@{superstition_experience}+@{superstition_other}+@{superstition_augment}+@{superstition_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_superstition" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{superstition-u}}} @{name_display} {{very_easy=[[@{superstition_very_easy}]]}} {{very_easy_crit=[[ceil(@{superstition_very_easy}*.1)]]}} {{easy=[[@{superstition_easy}]]}} {{easy_crit=[[ceil(@{superstition_easy}*.1)]]}} {{standard=[[@{superstition} ]]}} {{standard_crit=[[ceil(@{superstition}*.1)]]}} {{hard=[[@{superstition_hard}]]}} {{hard_crit=[[ceil(@{superstition_hard}*.1)]]}} {{formidable=[[@{superstition_formidable}]]}} {{formidable_crit=[[ceil(@{superstition_formidable}*.1)]]}} {{herculean=[[@{superstition_herculean}]]}} {{herculean_crit=[[ceil(@{superstition_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{superstition_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_superstition_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: ((21-<span data-i18n="int-u">INT</span>)+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_superstition_base" value="((21-@{int})+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_superstition_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_superstition_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_superstition_very_easy" value="ceil(((@{superstition_base}+@{superstition_experience}+@{superstition_other}+@{superstition_augment})*2)+@{superstition_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_superstition_easy" value="ceil(((@{superstition_base}+@{superstition_experience}+@{superstition_other}+@{superstition_augment})*1.5)+@{superstition_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_superstition_hard" value="ceil(((@{superstition_base}+@{superstition_experience}+@{superstition_other}+@{superstition_augment})*.67)+@{superstition_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_superstition_formidable" value="ceil(((@{superstition_base}+@{superstition_experience}+@{superstition_other}+@{superstition_augment})*.5)+@{superstition_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_superstition_herculean" value="ceil(((@{superstition_base}+@{superstition_experience}+@{superstition_other}+@{superstition_augment})*.1)+@{superstition_penalty})" disabled></div>
</div>
</div>
<!-- Swim -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="swim-u">Swim</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_swim_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_swim_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_swim_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_swim_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_swim_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_swim" value="(@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment}+@{swim_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_swim" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{swim-u}}} @{name_display} {{very_easy=[[@{swim_very_easy}]]}} {{very_easy_crit=[[ceil(@{swim_very_easy}*.1)]]}} {{easy=[[@{swim_easy}]]}} {{easy_crit=[[ceil(@{swim_easy}*.1)]]}} {{standard=[[@{swim} ]]}} {{standard_crit=[[ceil(@{swim}*.1)]]}} {{hard=[[@{swim_hard}]]}} {{hard_crit=[[ceil(@{swim_hard}*.1)]]}} {{formidable=[[@{swim_formidable}]]}} {{formidable_crit=[[ceil(@{swim_formidable}*.1)]]}} {{herculean=[[@{swim_herculean}]]}} {{herculean_crit=[[ceil(@{swim_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{swim_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_swim_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="str-u">STR</span>+<span data-i18n="con-u">CON</span>) <input type="number" class="text-align-center number-width" name="attr_swim_base" value="(@{str}+@{con})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_swim_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_swim_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_swim_very_easy" value="ceil(((@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment})*2)+@{swim_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_swim_easy" value="ceil(((@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment})*1.5)+@{swim_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_swim_hard" value="ceil(((@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment})*.67)+@{swim_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_swim_formidable" value="ceil(((@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment})*.5)+@{swim_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_swim_herculean" value="ceil(((@{swim_base}+@{swim_experience}+@{swim_other}+@{swim_augment})*.1)+@{swim_penalty})" disabled></div>
</div>
</div>
<!-- Unarmed (Skill)-->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="unarmed-u">Unarmed</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_unarmed_encumbered" value="1" checked disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_unarmed_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_unarmed_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_unarmed_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_unarmed_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_unarmed" value="(@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment}+@{unarmed_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_unarmed" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{unarmed-u}}} @{name_display} {{very_easy=[[@{unarmed_very_easy}]]}} {{very_easy_crit=[[ceil(@{unarmed_very_easy}*.1)]]}} {{easy=[[@{unarmed_easy}]]}} {{easy_crit=[[ceil(@{unarmed_easy}*.1)]]}} {{standard=[[@{unarmed} ]]}} {{standard_crit=[[ceil(@{unarmed}*.1)]]}} {{hard=[[@{unarmed_hard}]]}} {{hard_crit=[[ceil(@{unarmed_hard}*.1)]]}} {{formidable=[[@{unarmed_formidable}]]}} {{formidable_crit=[[ceil(@{unarmed_formidable}*.1)]]}} {{herculean=[[@{unarmed_herculean}]]}} {{herculean_crit=[[ceil(@{unarmed_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{unarmed_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_unarmed_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="str-u">STR</span>+<span data-i18n="dex-u">DEX</span>) <input type="number" class="text-align-center number-width" name="attr_unarmed_base" value="(@{str}+@{dex})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_unarmed_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_unarmed_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_unarmed_very_easy" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*2)+@{unarmed_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_unarmed_easy" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*1.5)+@{unarmed_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_unarmed_hard" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*.67)+@{unarmed_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_unarmed_formidable" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*.5)+@{unarmed_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_unarmed_herculean" value="ceil(((@{unarmed_base}+@{unarmed_experience}+@{unarmed_other}+@{unarmed_augment})*.1)+@{unarmed_penalty})" disabled></div>
</div>
</div>
<!-- Willpower -->
<div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="willpower-u">Willpower</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_willpower_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_willpower_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_willpower_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_willpower_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_willpower_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_willpower" value="(@{willpower_base}+@{willpower_experience}+@{willpower_other}+@{willpower_augment}+@{willpower_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_willpower" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{willpower-u}}} @{name_display} {{very_easy=[[@{willpower_very_easy}]]}} {{very_easy_crit=[[ceil(@{willpower_very_easy}*.1)]]}} {{easy=[[@{willpower_easy}]]}} {{easy_crit=[[ceil(@{willpower_easy}*.1)]]}} {{standard=[[@{willpower} ]]}} {{standard_crit=[[ceil(@{willpower}*.1)]]}} {{hard=[[@{willpower_hard}]]}} {{hard_crit=[[ceil(@{willpower_hard}*.1)]]}} {{formidable=[[@{willpower_formidable}]]}} {{formidable_crit=[[ceil(@{willpower_formidable}*.1)]]}} {{herculean=[[@{willpower_herculean}]]}} {{herculean_crit=[[ceil(@{willpower_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{willpower_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_willpower_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_willpower_base" value="(@{pow}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_willpower_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_willpower_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_willpower_very_easy" value="ceil(((@{willpower_base}+@{willpower_experience}+@{willpower_other}+@{willpower_augment})*2)+@{willpower_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_willpower_easy" value="ceil(((@{willpower_base}+@{willpower_experience}+@{willpower_other}+@{willpower_augment})*1.5)+@{willpower_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_willpower_hard" value="ceil(((@{willpower_base}+@{willpower_experience}+@{willpower_other}+@{willpower_augment})*.67)+@{willpower_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_willpower_formidable" value="ceil(((@{willpower_base}+@{willpower_experience}+@{willpower_other}+@{willpower_augment})*.5)+@{willpower_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_willpower_herculean" value="ceil(((@{willpower_base}+@{willpower_experience}+@{willpower_other}+@{willpower_augment})*.1)+@{willpower_penalty})" disabled></div>
</div>
</div>
<!-- Custom Standard SKills -->
<fieldset class="repeating_standardskill">
<div class="rep-row">
<div class="skill-row">
<div class="skill-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_encumbered" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_skill" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{skill_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="characteristic-short-u">Char</span> 1:
<select class="skill-char" name="attr_char1">
<option value="0" selected>-</option>
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}"><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="characteristic-short-u">Char</span> 2:
<select class="skill-char" name="attr_char2">
<option value="0" selected>-</option>
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}"><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="base-value-u">Base Value</span>: <input type="number" class="text-align-center number-width" name="attr_base" value="(@{char1}+@{char2})" disabled>
</div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty}" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
<div>&#9875; = <span data-i18n="encumbered-u">Encumbered</span>, ! = <span data-i18n="fumbled-u">Fumbled</span>, &#10004; = <span data-i18n="trained-u">Trained</span></div>
</div>
<!-- Skill Column 2 -->
<div style="width: 48.5%; float: left; margin-bottom; 5px">
<!-- Professional Skills -->
<div class="skill2 section">
<h3><span data-i18n="professional-skills-u">Professional Skills</span></h3>
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<fieldset class="repeating_professionalskill">
<div class="rep-row">
<div class="skill-row">
<div class="skill-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_encumbered" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_skill" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{skill_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="characteristic-short-u">Char</span> 1:
<select class="skill-char" name="attr_char1">
<option value="0" selected>-</option>
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}"><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="characteristic-short-u">Char</span> 2:
<select class="skill-char" name="attr_char2">
<option value="0" selected>-</option>
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}"><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="base-value-u">Base Value</span>: <input type="number" class="text-align-center number-width" name="attr_base" value="(@{char1}+@{char2})" disabled>
</div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty}" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<div class="skill-row">
<div class="language-name header"><span data-i18n="language-u">Language</span></div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="rep-row">
<div class="skill-row">
<div class="language-name bottom-border"><span data-i18n="native-tongue-u">Native Tongue</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_native_tongue_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_native_tongue_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_native_tongue_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_native_tongue_penalty" max="0" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_native_tongue" value="(@{native_tongue_base}+@{native_tongue_experience}+@{native_tongue_other}+@{native_tongue_augment}+@{native_tongue_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_native_tongue" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{native-tongue-u}}} @{name_display} {{very_easy=[[@{native_tongue_very_easy}]]}} {{very_easy_crit=[[ceil(@{native_tongue_very_easy}*.1)]]}} {{easy=[[@{native_tongue_easy}]]}} {{easy_crit=[[ceil(@{native_tongue_easy}*.1)]]}} {{standard=[[@{native_tongue} ]]}} {{standard_crit=[[ceil(@{native_tongue}*.1)]]}} {{hard=[[@{native_tongue_hard}]]}} {{hard_crit=[[ceil(@{native_tongue_hard}*.1)]]}} {{formidable=[[@{native_tongue_formidable}]]}} {{formidable_crit=[[ceil(@{native_tongue_formidable}*.1)]]}} {{herculean=[[@{native_tongue_herculean}]]}} {{herculean_crit=[[ceil(@{native_tongue_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_native_tongue_base" value="(@{int}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_native_tongue_experience" value="40"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_native_tongue_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_native_tongue_very_easy" value="((@{native_tongue_base}+@{native_tongue_experience}+@{native_tongue_other}+@{native_tongue_augment})*2)+@{native_tongue_penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_native_tongue_easy" value="ceil((@{native_tongue_base}+@{native_tongue_experience}+@{native_tongue_other}+@{native_tongue_augment})*1.5)+@{native_tongue_penalty}" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_native_tongue_hard" value="(ceil((@{native_tongue_base}+@{native_tongue_experience}+@{native_tongue_other}+@{native_tongue_augment})*.67)+@{native_tongue_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_native_tongue_formidable" value="(ceil((@{native_tongue_base}+@{native_tongue_experience}+@{native_tongue_other}+@{native_tongue_augment})*.5)+@{native_tongue_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_native_tongue_herculean" value="(ceil((@{native_tongue_base}+@{native_tongue_experience}+@{native_tongue_other}+@{native_tongue_augment})*.1)+@{native_tongue_penalty})" disabled></div>
</div>
</div>
<fieldset class="repeating_language">
<div class="rep-row">
<div class="skill-row">
<div class="language-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_skill_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_skill" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_base" value="(@{int}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty}" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
</div>
<!-- Passions & Dependencies -->
<div class="skill2 section">
<h3><span data-i18n="passions-u">Passions</span> <span class="dependencies-enabled" data-i18n="and-dependencies-u">& Dependencies</span></h3>
<div class="skill-row">
<div class="passion-name header"><span data-i18n="passion-u">Passion</span></div>
<div class="skill-number header"><span data-i18n="score-u">Score</span></div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<fieldset class="repeating_passion">
<div class="rep-row">
<div class="skill-row">
<div class="passion-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_score" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_temp" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{score}+@{temp}+@{penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_passion" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+0]]}} {{encumbrance_skills=[[0]]}} {{fatigue_skills=[[0]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{score}+@{temp})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{score}+@{temp})*1.5)+@{penalty}" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{score}+@{temp})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{score}+@{temp})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{score}+@{temp})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
<div class="dependencies-enabled">
<hr style="visibility: hidden;">
<div class="skill-row">
<div class="dependency-name header"><span data-i18n="dependency-u">Dependency</span></div>
<div class="skill-checkbox header">&#9826;</div>
<div class="skill-number header"><span data-i18n="score-u">Score</span></div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<fieldset class="repeating_dependency">
<div class="rep-row">
<div class="skill-row">
<div class="dependency-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_score" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_temp" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{score}+@{temp}+@{penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_dependency" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+0]]}} {{encumbrance_skills=[[0]]}} {{fatigue_skills=[[0]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{score}+@{temp})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{score}+@{temp})*1.5)+@{penalty}" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{score}+@{temp})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{score}+@{temp})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{score}+@{temp})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
<div>&#9826; = <span data-i18n="increased-for-xp-u">Increased for XP</span></div>
</div>
</div>
</div>
</div>
<div class="clear-float"></div>
</div>
</div>
<!-- Magic -->
<div class="page page-magic">
<h3 class="mythras-variant float-left"><span data-i18n="magic-u">Magic</span></h3>
<span class="mythras-variant theism-enabled float-right in-header-toggle" data-i18n="theism-u">Theism</span><input type="checkbox" class="mythras-variant theism-enabled display-theism float-right in-header-toggle" value="1" name="attr_display_theism" checked="true"/><span class="mythras-variant sorcery-enabled float-right in-header-toggle" data-i18n="sorcery-u">Sorcery</span><input type="checkbox" class="mythras-variant sorcery-enabled display-sorcery float-right in-header-toggle" value="1" name="attr_display_sorcery" checked="true"/><span class="mythras-variant mythras-psionics-enabled float-right in-header-toggle" data-i18n="psionics-u">Psionics</span><input type="checkbox" class="mythras-variant mythras-psionics-enabled display-mythras-psionics float-right in-header-toggle" value="1" name="attr_display_mythras_psionics" checked="true"/><span class="mythras-variant mysticism-enabled float-right in-header-toggle" data-i18n="mysticism-u">Mysticism</span><input type="checkbox" class="mythras-variant mysticism-enabled display-mysticism float-right in-header-toggle" value="1" name="attr_display_mysticism" checked="true"/><span class="mythras-variant animism-enabled float-right in-header-toggle" data-i18n="animism-u">Animism</span><input type="checkbox" class="mythras-variant animism-enabled display-animism float-right in-header-toggle" value="1" name="attr_display_animism" checked="true"/><span class="mythras-variant folk-magic-enabled float-right in-header-toggle" data-i18n="folk-magic-u">Folk Magic</span><input type="checkbox" class="mythras-variant folk-magic-enabled display-folk-magic float-right in-header-toggle" value="1" name="attr_display_folk_magic" checked="true"/><span class="mythras-variant divine-magic-enabled float-right in-header-toggle" data-i18n="divine-magic-u">Divine Magic</span><input type="checkbox" class="mythras-variant divine-magic-enabled display-divine-magic float-right in-header-toggle" value="1" name="attr_display_divine_magic" checked="true"/><span class="mythras-variant arcane-magic-enabled float-right in-header-toggle" data-i18n="arcane-magic-u">Arcane Magic</span><input type="checkbox" class="mythras-variant arcane-magic-enabled display-arcane-magic float-right in-header-toggle" value="1" name="attr_display_arcane_magic" checked="true"/><span class="mythras-variant roman-magic-enabled float-right in-header-toggle" data-i18n="roman-magic-u">Roman Magic</span><input type="checkbox" class="mythras-variant roman-magic-enabled display-roman-magic float-right in-header-toggle" value="1" name="attr_display_roman_magic" checked="true"/><span class="mythras-variant ms-psionics-enabled float-right in-header-toggle" data-i18n="psionics-u">Psionics</span><input type="checkbox" class="mythras-variant ms-psionics-enabled display-ms-psionics float-right in-header-toggle" value="1" name="attr_display_ms_psionics" checked="true"/><span class="mythras-variant bold float-right in-header-toggle" data-i18n="display-u">Display:</span>
<div class="mythras-variant"><hr></div>
<!-- M-Space Psionics -->
<div class="ms-psionics-enabled display-ms-psionics magic section">
<h3><span data-i18n="psionics-u">Psionics</span></h3>
<!-- Power -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="power-u">Power</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="ms-power-select header"><span data-i18n="sphere-u">Sphere</span></div>
<div class="ms-power-select header"><span data-i18n="arc-u">Arc</span></div>
</div>
<fieldset class="repeating_mspower">
<div>
<div class="magic-row">
<div class="magic-name"><input type="text" name="attr_name" class="full-width"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_power" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}} {{^{range-u}=[[20]] ^{metres-u}}} {{^{cost-u}=@{cost}}} {{description=@{description}}}"></div>
<div class="ms-power-select">
<select class="full-width" name="attr_sphere">
<option value="sense"><span data-i18n="sense-u">Sense</span></option>
<option value="mind"><span data-i18n="mind-u">Mind</span></option>
<option value="matter"><span data-i18n="matter-u">Matter</span></option>
</select>
</div>
<div class="ms-power-select">
<select class="full-width" name="attr_arc">
<option value="1"><span data-i18n="first-u">First</span></option>
<option value="2"><span data-i18n="second-u">Second</span></option>
<option value="3"><span data-i18n="third-u">Third</span></option>
</select>
</div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_base" value="(@{pow}+@{pow})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"> <span data-i18n="cost-u">Cost</span>: <input type="text" class="text-align-center" name="attr_cost" value=""></div>
<div><span data-i18n="description-u">Description</span>:</div>
<div><textarea name="attr_description" class="magic-note"></textarea></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
</div>
<!-- Roman Magic -->
<div class="roman-magic-enabled display-roman-magic magic section">
<h3><span data-i18n="roman-magic-u">Roman Magic</span></h3>
<!-- Roman Magic Skills -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="cursing-u">Cursing</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_cursing_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_cursing_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_cursing_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_cursing_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_cursing_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_cursing" value="((@{cursing_learned}*@{cursing_base})+@{cursing_experience}+@{cursing_other}+@{cursing_augment}+@{cursing_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_cursing" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{cursing-u}}} @{name_display} {{very_easy=[[@{cursing_very_easy}]]}} {{very_easy_crit=[[ceil(@{cursing_very_easy}*.1)]]}} {{easy=[[@{cursing_easy}]]}} {{easy_crit=[[ceil(@{cursing_easy}*.1)]]}} {{standard=[[@{cursing} ]]}} {{standard_crit=[[ceil(@{cursing}*.1)]]}} {{hard=[[@{cursing_hard}]]}} {{hard_crit=[[ceil(@{cursing_hard}*.1)]]}} {{formidable=[[@{cursing_formidable}]]}} {{formidable_crit=[[ceil(@{cursing_formidable}*.1)]]}} {{herculean=[[@{cursing_herculean}]]}} {{herculean_crit=[[ceil(@{cursing_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{cursing_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="cursing-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_curse" value="@{roll_display}&{template:magic} {{name=^{curse-u}}} @{name_display} {{^{cost-u}=[[1d6]]}}"><span data-i18n="curse-u">Curse</span></button></div>
</div> <input type="checkbox" class="details-toggle" name="attr_cursing_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_cursing_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="cha-u">cha</span>) <input type="number" class="text-align-center number-width" name="attr_cursing_base" value="(@{pow}+@{cha})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_cursing_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_cursing_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_cursing_very_easy" value="ceil((((@{cursing_learned}*@{cursing_base})+@{cursing_experience}+@{cursing_other}+@{cursing_augment})*2)+@{cursing_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_cursing_easy" value="ceil((((@{cursing_learned}*@{cursing_base})+@{cursing_experience}+@{cursing_other}+@{cursing_augment})*1.5)+@{cursing_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_cursing_hard" value="ceil((((@{cursing_learned}*@{cursing_base})+@{cursing_experience}+@{cursing_other}+@{cursing_augment})*.67)+@{cursing_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_cursing_formidable" value="ceil((((@{cursing_learned}*@{cursing_base})+@{cursing_experience}+@{cursing_other}+@{cursing_augment})*.5)+@{cursing_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_cursing_herculean" value="ceil((((@{cursing_learned}*@{cursing_base})+@{cursing_experience}+@{cursing_other}+@{cursing_augment})*.1)+@{cursing_penalty})" disabled></div>
</div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="divination-u">Divination</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_divination_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_divination_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_divination_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_divination_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_divination_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_divination" value="((@{divination_learned}*@{divination_base})+@{divination_experience}+@{divination_other}+@{divination_augment}+@{divination_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_divination" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{divination-u}}} @{name_display} {{very_easy=[[@{divination_very_easy}]]}} {{very_easy_crit=[[ceil(@{divination_very_easy}*.1)]]}} {{easy=[[@{divination_easy}]]}} {{easy_crit=[[ceil(@{divination_easy}*.1)]]}} {{standard=[[@{divination} ]]}} {{standard_crit=[[ceil(@{divination}*.1)]]}} {{hard=[[@{divination_hard}]]}} {{hard_crit=[[ceil(@{divination_hard}*.1)]]}} {{formidable=[[@{divination_formidable}]]}} {{formidable_crit=[[ceil(@{divination_formidable}*.1)]]}} {{herculean=[[@{divination_herculean}]]}} {{herculean_crit=[[ceil(@{divination_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{divination_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="divination-label"><span data-i18n="affects-u">Affects</span>:</div>
<div class="divination-select">
<select class="full-width" name="attr_prediction_affects">
<option value="1d6"><span data-i18n="individual-u">Individual</span></option>
<option value="2d6"><span data-i18n="group-u">Group</span></option>
<option value="3d6"><span data-i18n="city-u">City</span></option>
</select>
</div>
<div class="divination-label"><span data-i18n="impact-u">Impact</span>:</div>
<div class="divination-select">
<select class="full-width" name="attr_prediction_impact">
<option value="+0"><span data-i18n="minor-u">Minor</span></option>
<option value="+1d6"><span data-i18n="life-altering-u">Life Altering</span></option>
<option value="+2d6"><span data-i18n="death-u">Death</span></option>
</select>
</div>
<div class="divination-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_prediction" value="@{roll_display}&{template:magic} {{name=^{prediction-u}}} @{name_display} {{^{cost-u}=[[@{prediction_affects}@{prediction_impact}]]}}"><span data-i18n="prediction-u">Prediction</span></button></div>
</div> <input type="checkbox" class="details-toggle" name="attr_divination_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_divination_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_divination_base" value="(@{pow}+@{int})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_divination_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_divination_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_divination_very_easy" value="ceil((((@{divination_learned}*@{divination_base})+@{divination_experience}+@{divination_other}+@{divination_augment})*2)+@{divination_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_divination_easy" value="ceil((((@{divination_learned}*@{divination_base})+@{divination_experience}+@{divination_other}+@{divination_augment})*1.5)+@{divination_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_divination_hard" value="ceil((((@{divination_learned}*@{divination_base})+@{divination_experience}+@{divination_other}+@{divination_augment})*.67)+@{divination_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_divination_formidable" value="ceil((((@{divination_learned}*@{divination_base})+@{divination_experience}+@{divination_other}+@{divination_augment})*.5)+@{divination_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_divination_herculean" value="ceil((((@{divination_learned}*@{divination_base})+@{divination_experience}+@{divination_other}+@{divination_augment})*.1)+@{divination_penalty})" disabled></div>
</div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="necromancy-u">Necromancy</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_necromancy_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_necromancy_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_necromancy_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_necromancy_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_necromancy_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_necromancy" value="((@{necromancy_learned}*@{necromancy_base})+@{necromancy_experience}+@{necromancy_other}+@{necromancy_augment}+@{necromancy_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_necromancy" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{necromancy-u}}} @{name_display} {{very_easy=[[@{necromancy_very_easy}]]}} {{very_easy_crit=[[ceil(@{necromancy_very_easy}*.1)]]}} {{easy=[[@{necromancy_easy}]]}} {{easy_crit=[[ceil(@{necromancy_easy}*.1)]]}} {{standard=[[@{necromancy} ]]}} {{standard_crit=[[ceil(@{necromancy}*.1)]]}} {{hard=[[@{necromancy_hard}]]}} {{hard_crit=[[ceil(@{necromancy_hard}*.1)]]}} {{formidable=[[@{necromancy_formidable}]]}} {{formidable_crit=[[ceil(@{necromancy_formidable}*.1)]]}} {{herculean=[[@{necromancy_herculean}]]}} {{herculean_crit=[[ceil(@{necromancy_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{necromancy_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="necromancy-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_question_dead" value="@{roll_display}&{template:magic} {{name=^{question-dead-u}}} @{name_display} {{^{cost-u}=[[1d6]]}}"><span data-i18n="question-dead-u">Question Dead</span></button></div>
<div class="necromancy-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_summon_lemur" value="@{roll_display}&{template:magic} {{name=^{summon-lemur-u}}} @{name_display} {{^{cost-u}=[[3d6]]}}"><span data-i18n="summon-lemur-u">Summon Lemur</span></button></div>
</div> <input type="checkbox" class="details-toggle" name="attr_necromancy_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_necromancy_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_necromancy_base" value="(@{cha}+@{int})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_necromancy_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_necromancy_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_necromancy_very_easy" value="ceil((((@{necromancy_learned}*@{necromancy_base})+@{necromancy_experience}+@{necromancy_other}+@{necromancy_augment})*2)+@{necromancy_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_necromancy_easy" value="ceil((((@{necromancy_learned}*@{necromancy_base})+@{necromancy_experience}+@{necromancy_other}+@{necromancy_augment})*1.5)+@{necromancy_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_necromancy_hard" value="ceil((((@{necromancy_learned}*@{necromancy_base})+@{necromancy_experience}+@{necromancy_other}+@{necromancy_augment})*.67)+@{necromancy_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_necromancy_formidable" value="ceil((((@{necromancy_learned}*@{necromancy_base})+@{necromancy_experience}+@{necromancy_other}+@{necromancy_augment})*.5)+@{necromancy_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_necromancy_herculean" value="ceil((((@{necromancy_learned}*@{necromancy_base})+@{necromancy_experience}+@{necromancy_other}+@{necromancy_augment})*.1)+@{necromancy_penalty})" disabled></div>
</div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="pharmacy-u">Pharmacy</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_pharmacy_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_pharmacy_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_pharmacy_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_pharmacy_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_pharmacy_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_pharmacy" value="((@{pharmacy_learned}*@{pharmacy_base})+@{pharmacy_experience}+@{pharmacy_other}+@{pharmacy_augment}+@{pharmacy_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_pharmacy" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{pharmacy-u}}} @{name_display} {{very_easy=[[@{pharmacy_very_easy}]]}} {{very_easy_crit=[[ceil(@{pharmacy_very_easy}*.1)]]}} {{easy=[[@{pharmacy_easy}]]}} {{easy_crit=[[ceil(@{pharmacy_easy}*.1)]]}} {{standard=[[@{pharmacy} ]]}} {{standard_crit=[[ceil(@{pharmacy}*.1)]]}} {{hard=[[@{pharmacy_hard}]]}} {{hard_crit=[[ceil(@{pharmacy_hard}*.1)]]}} {{formidable=[[@{pharmacy_formidable}]]}} {{formidable_crit=[[ceil(@{pharmacy_formidable}*.1)]]}} {{herculean=[[@{pharmacy_herculean}]]}} {{herculean_crit=[[ceil(@{pharmacy_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{pharmacy_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="pharmacy-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_concocte_potion" value="@{roll_display}&{template:magic} {{name=^{concocte-potion-u}}} @{name_display} {{^{cost-u}=[[1d6]]}}"><span data-i18n="concocte-potion-u">Concocte Potion</span></button></div>
</div> <input type="checkbox" class="details-toggle" name="attr_pharmacy_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_pharmacy_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_pharmacy_base" value="(@{int}+@{int})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_pharmacy_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_pharmacy_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_pharmacy_very_easy" value="ceil((((@{pharmacy_learned}*@{pharmacy_base})+@{pharmacy_experience}+@{pharmacy_other}+@{pharmacy_augment})*2)+@{pharmacy_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_pharmacy_easy" value="ceil((((@{pharmacy_learned}*@{pharmacy_base})+@{pharmacy_experience}+@{pharmacy_other}+@{pharmacy_augment})*1.5)+@{pharmacy_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_pharmacy_hard" value="ceil((((@{pharmacy_learned}*@{pharmacy_base})+@{pharmacy_experience}+@{pharmacy_other}+@{pharmacy_augment})*.67)+@{pharmacy_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_pharmacy_formidable" value="ceil((((@{pharmacy_learned}*@{pharmacy_base})+@{pharmacy_experience}+@{pharmacy_other}+@{pharmacy_augment})*.5)+@{pharmacy_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_pharmacy_herculean" value="ceil((((@{pharmacy_learned}*@{pharmacy_base})+@{pharmacy_experience}+@{pharmacy_other}+@{pharmacy_augment})*.1)+@{pharmacy_penalty})" disabled></div>
</div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="shape-shifting-u">Shape Shifting</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_shape_shifting_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_shape_shifting_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_shape_shifting_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_shape_shifting_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_shape_shifting_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_shape_shifting" value="((@{shape_shifting_learned}*@{shape_shifting_base})+@{shape_shifting_experience}+@{shape_shifting_other}+@{shape_shifting_augment}+@{shape_shifting_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_shape_shifting" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{shape-shifting-u}}} @{name_display} {{very_easy=[[@{shape_shifting_very_easy}]]}} {{very_easy_crit=[[ceil(@{shape_shifting_very_easy}*.1)]]}} {{easy=[[@{shape_shifting_easy}]]}} {{easy_crit=[[ceil(@{shape_shifting_easy}*.1)]]}} {{standard=[[@{pharmacy} ]]}} {{standard_crit=[[ceil(@{pharmacy}*.1)]]}} {{hard=[[@{shape_shifting_hard}]]}} {{hard_crit=[[ceil(@{shape_shifting_hard}*.1)]]}} {{formidable=[[@{shape_shifting_formidable}]]}} {{formidable_crit=[[ceil(@{shape_shifting_formidable}*.1)]]}} {{herculean=[[@{shape_shifting_herculean}]]}} {{herculean_crit=[[ceil(@{shape_shifting_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{shape_shifting_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="shape-shifting-roll">
<select name="attr_shape_shifting_animal_cost" class="full-width">
<option value="1d6"><span data-i18n="small-animal-u">Small Animal</span></option>
<option value="2d6"><span data-i18n="medium-animal-u">Medium Animal</span></option>
<option value="3d6"><span data-i18n="large-animal-u">Large Animal</span></option>
</select>
</div>
<div class="shape-shifting-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_create_salve_skins" value="@{roll_display}&{template:magic} {{name=^{create-salve-skins-u}}} @{name_display} {{^{cost-u}=[[@{shape_shifting_animal_cost}]]}}"><span data-i18n="create-salve-skins-u">Create Salve/Skins</span></button></div>
<div class="shape-shifting-roll"><button type="roll" class="reduced-size full-width text-align-center" name="roll_shape_shifting_time" value="@{roll_display}&{template:magic} {{name=^{change-time-u}}} @{name_display} {{^{time-u}=[[1d3]]}}"><span data-i18n="change-time-u">Change Time</span></button></div>
</div> <input type="checkbox" class="details-toggle" name="attr_shape_shifting_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_shape_shifting_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="con-u">CON</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_shape_shifting_base" value="(@{con}+@{pow})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_shape_shifting_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_shape_shifting_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_shape_shifting_very_easy" value="ceil((((@{shape_shifting_learned}*@{shape_shifting_base})+@{shape_shifting_experience}+@{shape_shifting_other}+@{shape_shifting_augment})*2)+@{shape_shifting_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_shape_shifting_easy" value="ceil((((@{shape_shifting_learned}*@{shape_shifting_base})+@{shape_shifting_experience}+@{shape_shifting_other}+@{shape_shifting_augment})*1.5)+@{shape_shifting_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_shape_shifting_hard" value="ceil((((@{shape_shifting_learned}*@{shape_shifting_base})+@{shape_shifting_experience}+@{shape_shifting_other}+@{shape_shifting_augment})*.67)+@{shape_shifting_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_shape_shifting_formidable" value="ceil((((@{shape_shifting_learned}*@{shape_shifting_base})+@{shape_shifting_experience}+@{shape_shifting_other}+@{shape_shifting_augment})*.5)+@{shape_shifting_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_shape_shifting_herculean" value="ceil((((@{shape_shifting_learned}*@{shape_shifting_base})+@{shape_shifting_experience}+@{shape_shifting_other}+@{shape_shifting_augment})*.1)+@{shape_shifting_penalty})" disabled></div>
</div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="theology-u">Theology</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_theology_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_theology_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_theology_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_theology_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_theology_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_theology" value="((@{theology_learned}*@{theology_base})+@{theology_experience}+@{theology_other}+@{theology_augment}+@{theology_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_theology" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{theology-u}}} @{name_display} {{very_easy=[[@{theology_very_easy}]]}} {{very_easy_crit=[[ceil(@{theology_very_easy}*.1)]]}} {{easy=[[@{theology_easy}]]}} {{easy_crit=[[ceil(@{theology_easy}*.1)]]}} {{standard=[[@{pharmacy} ]]}} {{standard_crit=[[ceil(@{pharmacy}*.1)]]}} {{hard=[[@{theology_hard}]]}} {{hard_crit=[[ceil(@{theology_hard}*.1)]]}} {{formidable=[[@{theology_formidable}]]}} {{formidable_crit=[[ceil(@{theology_formidable}*.1)]]}} {{herculean=[[@{theology_herculean}]]}} {{herculean_crit=[[ceil(@{theology_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{theology_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_theology_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_theology_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_theology_base" value="(@{pow}+@{pow})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_theology_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_theology_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_theology_very_easy" value="ceil((((@{theology_learned}*@{theology_base})+@{theology_experience}+@{theology_other}+@{theology_augment})*2)+@{theology_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_theology_easy" value="ceil((((@{theology_learned}*@{theology_base})+@{theology_experience}+@{theology_other}+@{theology_augment})*1.5)+@{theology_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_theology_hard" value="ceil((((@{theology_learned}*@{theology_base})+@{theology_experience}+@{theology_other}+@{theology_augment})*.67)+@{theology_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_theology_formidable" value="ceil((((@{theology_learned}*@{theology_base})+@{theology_experience}+@{theology_other}+@{theology_augment})*.5)+@{theology_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_theology_herculean" value="ceil((((@{theology_learned}*@{theology_base})+@{theology_experience}+@{theology_other}+@{theology_augment})*.1)+@{theology_penalty})" disabled></div>
</div>
</div>
</div>
<!-- Arcane Magic -->
<div class="arcane-magic-enabled display-arcane-magic magic section">
<h3><span data-i18n="arcane-magic-u">Arcane Magic</span></h3>
<div style="display: inline-block;">
<!-- Arcane Casting Skill -->
<div style="float: left; width: 48.5%; margin-left: 5px; margin-bottom: 5px;">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="arcane-casting-u">Arcane Casting</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_arcane_casting_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_arcane_casting_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_arcane_casting_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_arcane_casting_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_arcane_casting_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_arcane_casting" value="(@{arcane_casting_learned}+@{arcane_casting_experience}+@{arcane_casting_other}+@{arcane_casting_augment}+@{arcane_casting_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_arcane_casting" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{arcane-casting-u}}} @{name_display} {{very_easy=[[@{arcane_casting_very_easy}]]}} {{very_easy_crit=[[ceil(@{arcane_casting_very_easy}*.1)]]}} {{easy=[[@{arcane_casting_easy}]]}} {{easy_crit=[[ceil(@{arcane_casting_easy}*.1)]]}} {{standard=[[@{arcane_casting} ]]}} {{standard_crit=[[ceil(@{arcane_casting}*.1)]]}} {{hard=[[@{arcane_casting_hard}]]}} {{hard_crit=[[ceil(@{arcane_casting_hard}*.1)]]}} {{formidable=[[@{arcane_casting_formidable}]]}} {{formidable_crit=[[ceil(@{arcane_casting_formidable}*.1)]]}} {{herculean=[[@{arcane_casting_herculean}]]}} {{herculean_crit=[[ceil(@{arcane_casting_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{arcane_casting_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_arcane_casting_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_arcane_casting_learned" value="@{arcane_casting_base}"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_arcane_casting_base" value="(@{int}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_arcane_casting_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_arcane_casting_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_arcane_casting_very_easy" value="ceil(((@{arcane_casting_learned}+@{arcane_casting_experience}+@{arcane_casting_other}+@{arcane_casting_augment})*2)+@{arcane_casting_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_arcane_casting_easy" value="ceil(((@{arcane_casting_learned}+@{arcane_casting_experience}+@{arcane_casting_other}+@{arcane_casting_augment})*1.5)+@{arcane_casting_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_arcane_casting_hard" value="ceil(((@{arcane_casting_learned}+@{arcane_casting_experience}+@{arcane_casting_other}+@{arcane_casting_augment})*.67)+@{arcane_casting_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_arcane_casting_formidable" value="ceil(((@{arcane_casting_learned}+@{arcane_casting_experience}+@{arcane_casting_other}+@{arcane_casting_augment})*.5)+@{arcane_casting_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_arcane_casting_herculean" value="ceil(((@{arcane_casting_learned}+@{arcane_casting_experience}+@{arcane_casting_other}+@{arcane_casting_augment})*.1)+@{arcane_casting_penalty})" disabled></div>
</div>
</div>
<!--Arcane Knowledge Skill -->
<div style="float: left; width: 48.5%; margin-left: 18px; margin-bottom: 5px;">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="arcane-knowledge-u">Arcane Knowledge</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_arcane_knowledge_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_arcane_knowledge_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_arcane_knowledge_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_arcane_knowledge_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_arcane_knowledge_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_arcane_knowledge" value="((@{arcane_knowledge_learned}*@{arcane_knowledge_base})+@{arcane_knowledge_experience}+@{arcane_knowledge_other}+@{arcane_knowledge_augment}+@{arcane_knowledge_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_arcane_knowledge" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{arcane-knowledge-u}}} @{name_display} {{very_easy=[[@{arcane_knowledge_very_easy}]]}} {{very_easy_crit=[[ceil(@{arcane_knowledge_very_easy}*.1)]]}} {{easy=[[@{arcane_knowledge_easy}]]}} {{easy_crit=[[ceil(@{arcane_knowledge_easy}*.1)]]}} {{standard=[[@{arcane_knowledge} ]]}} {{standard_crit=[[ceil(@{arcane_knowledge}*.1)]]}} {{hard=[[@{arcane_knowledge_hard}]]}} {{hard_crit=[[ceil(@{arcane_knowledge_hard}*.1)]]}} {{formidable=[[@{arcane_knowledge_formidable}]]}} {{formidable_crit=[[ceil(@{arcane_knowledge_formidable}*.1)]]}} {{herculean=[[@{arcane_knowledge_herculean}]]}} {{herculean_crit=[[ceil(@{arcane_knowledge_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{arcane_knowledge_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_arcane_knowledge_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_arcane_knowledge_learned" value="1"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="int-u">INT</span>) <input type="number" class="text-align-center number-width" name="attr_arcane_knowledge_base" value="(@{int}+@{int})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_arcane_knowledge_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_arcane_knowledge_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_arcane_knowledge_very_easy" value="ceil((((@{arcane_knowledge_learned}*@{arcane_knowledge_base})+@{arcane_knowledge_experience}+@{arcane_knowledge_other}+@{arcane_knowledge_augment})*2)+@{arcane_knowledge_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_arcane_knowledge_easy" value="ceil((((@{arcane_knowledge_learned}*@{arcane_knowledge_base})+@{arcane_knowledge_experience}+@{arcane_knowledge_other}+@{arcane_knowledge_augment})*1.5)+@{arcane_knowledge_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_arcane_knowledge_hard" value="ceil((((@{arcane_knowledge_learned}*@{arcane_knowledge_base})+@{arcane_knowledge_experience}+@{arcane_knowledge_other}+@{arcane_knowledge_augment})*.67)+@{arcane_knowledge_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_arcane_knowledge_formidable" value="ceil((((@{arcane_knowledge_learned}*@{arcane_knowledge_base})+@{arcane_knowledge_experience}+@{arcane_knowledge_other}+@{arcane_knowledge_augment})*.5)+@{arcane_knowledge_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_arcane_knowledge_herculean" value="ceil((((@{arcane_knowledge_learned}*@{arcane_knowledge_base})+@{arcane_knowledge_experience}+@{arcane_knowledge_other}+@{arcane_knowledge_augment})*.1)+@{arcane_knowledge_penalty})" disabled></div>
</div>
</div>
<div>
<div class="arcane-magic-field header"><span data-i18n="max-intensity-u">Max Intensity</span></div>
<div class="arcane-magic-field header"><span data-i18n="magnitude-u">Magnitude</span></div>
<div class="arcane-magic-field header"><span data-i18n="casting-class-u">Casting Class</span></div>
<div class="arcane-magic-field header"><span data-i18n="rank-u">Rank</span></div>
<div class="arcane-magic-field header"><span data-i18n="armor-penalty-u">Armor Penalty</span></div>
<div class="arcane-magic-field header"><span data-i18n="apply-penalty-u">Apply Penalty</span></div>
</div>
<div>
<div class="arcane-magic-field"><input type="number" class="full-width" name="attr_arcane_intensity_max" value="ceil(@{arcane_casting}/10)" disabled></div>
<div class="arcane-magic-field"><input type="number" class="full-width" name="attr_arcane_magnitude" value="ceil(@{arcane_casting}/10)" disabled></div>
<div class="arcane-magic-field">
<select class="full-width" name="attr_arcane_caster_class">
<option value="bard"><span data-i18n="bard-u">Bard</span></option>
<option value="magic-user"><span data-i18n="magic-user-u">Magic-User</span></option>
</select>
</div>
<div class="arcane-magic-field"><input type="number" class="full-width" name="attr_arcane_magic_rank" value="0"></div>
<div class="arcane-magic-field"><input type="number" class="full-width" name="attr_arcane_armor_penalty" value="ceil(@{armor_penalty}/3)" disabled></div>
<div class="arcane-magic-field">
<select class="full-width" name="attr_apply_arcane_armor_penalty" disabled>
<option value="@{arcane_armor_penalty}" selected><span data-i18n="yes-u">Yes</span></option>
<option value="0"><span data-i18n="no-u">No</span></option>
</select>
</div>
</div>
<hr style="visibility: hidden;">
<!-- Arcane Magic Cantrips -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 0 <span data-i18n="spells-u">Spells</span> (<span data-i18n="cantrips-u">Cantrips</span>)</h4> <span class="float-right"><span data-i18n="known-u">Known</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_0_known" value="0">/<input type="number" class="number-width" name="attr_arcane_rank_0_known_max" value="ceil(@{arcane_knowledge}/5)" disabled></span>
<hr>
<div class="spell-row">
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="spell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_arcanemagicrank0spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_arcane_spell" value="@{macro}"></div>
<div class="spell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="reversible-u">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u">Cost</span>: <input type="text" name="attr_cost" value="1">
<span data-i18n="area-u">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u">Time</span>: <input type="text" name="attr_time" value="1">
</div>
<div>
<span data-i18n="duration-u">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u">Range</span>: <select name="attr_range">
<option value="^{touch-u}">Touch</option>
<option value="[[@{pow}*1.5]] ^{metres-u}" selected><span data-i18n="ranged-u">Ranged</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="resist-u">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u">Macro</span>
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=1}} {{^{magnitude-u}=1}} {{^{cost-u}=@{cost}}} {{^{area-u}=@{area}}} {{^{time-u}=@{time}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Arcane Magic Rank 1 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 1 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_1_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_1_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_arcane_rank_1_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_arcanemagicrank1spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{arcane_rank_1_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{arcane_rank_1_cost_reduction}]]">1/+1</option>
<option value="[[3-@{arcane_rank_1_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{arcane_rank_1_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{arcane_rank_1_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{arcane_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_arcane_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Arcane Magic Rank 2 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 2 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_2_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_2_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_arcane_rank_2_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_arcanemagicrank2spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{arcane_rank_2_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{arcane_rank_2_cost_reduction}]]">1/+1</option>
<option value="[[3-@{arcane_rank_2_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{arcane_rank_2_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{arcane_rank_2_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{arcane_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_arcane_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Arcane Magic Rank 3 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 3 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_3_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_3_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_arcane_rank_3_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_arcanemagicrank3spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{arcane_rank_3_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{arcane_rank_3_cost_reduction}]]">1/+1</option>
<option value="[[3-@{arcane_rank_3_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{arcane_rank_3_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{arcane_rank_3_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{arcane_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_arcane_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Arcane Magic Rank 4 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 4 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_4_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_4_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_arcane_rank_4_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_arcanemagicrank4spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{arcane_rank_4_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{arcane_rank_4_cost_reduction}]]">1/+1</option>
<option value="[[3-@{arcane_rank_4_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{arcane_rank_4_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{arcane_rank_4_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{arcane_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_arcane_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Arcane Magic Rank 5 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 5 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_5_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_arcane_rank_5_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_arcane_rank_5_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_arcanemagicrank5spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{arcane_rank_5_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{arcane_rank_5_cost_reduction}]]">1/+1</option>
<option value="[[3-@{arcane_rank_5_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{arcane_rank_5_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{arcane_rank_5_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{arcane_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_arcane_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
</div>
</div>
<!-- Divine Magic -->
<div class="divine-magic-enabled display-divine-magic magic section">
<h3><span data-i18n="divine-magic-u">Divine Magic</span></h3>
<div style="display: inline-block;">
<!-- Channel Skill -->
<div style="float: left; width: 48.5%; margin-left: 5px; margin-bottom: 5px;">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="channel-u">Channel</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_channel_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_channel_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_channel_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_channel_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_channel_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_channel" value="(@{channel_learned}+@{channel_experience}+@{channel_other}+@{channel_augment}+@{channel_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_channel" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{channel-u}}} @{name_display} {{very_easy=[[@{channel_very_easy}]]}} {{very_easy_crit=[[ceil(@{channel_very_easy}*.1)]]}} {{easy=[[@{channel_easy}]]}} {{easy_crit=[[ceil(@{channel_easy}*.1)]]}} {{standard=[[@{channel} ]]}} {{standard_crit=[[ceil(@{channel}*.1)]]}} {{hard=[[@{channel_hard}]]}} {{hard_crit=[[ceil(@{channel_hard}*.1)]]}} {{formidable=[[@{channel_formidable}]]}} {{formidable_crit=[[ceil(@{channel_formidable}*.1)]]}} {{herculean=[[@{channel_herculean}]]}} {{herculean_crit=[[ceil(@{channel_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{channel_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_channel_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_channel_learned" value="@{channel_base}"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_channel_base" value="(@{int}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_channel_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_channel_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_channel_very_easy" value="ceil(((@{channel_learned}+@{channel_experience}+@{channel_other}+@{channel_augment})*2)+@{channel_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_channel_easy" value="ceil(((@{channel_learned}+@{channel_experience}+@{channel_other}+@{channel_augment})*1.5)+@{channel_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_channel_hard" value="ceil(((@{channel_learned}+@{channel_experience}+@{channel_other}+@{channel_augment})*.67)+@{channel_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_channel_formidable" value="ceil(((@{channel_learned}+@{channel_experience}+@{channel_other}+@{channel_augment})*.5)+@{channel_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_channel_herculean" value="ceil(((@{channel_learned}+@{channel_experience}+@{channel_other}+@{channel_augment})*.1)+@{channel_penalty})" disabled></div>
</div>
</div>
<!--Piety Skill -->
<div style="float: left; width: 48.5%; margin-left: 18px; margin-bottom: 5px;">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="piety-u">Piety</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_piety_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_piety_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_piety_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_piety_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_piety_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_piety" value="((@{piety_learned}*@{piety_base})+@{piety_experience}+@{piety_other}+@{piety_augment}+@{piety_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_piety" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{piety-u}}} @{name_display} {{very_easy=[[@{piety_very_easy}]]}} {{very_easy_crit=[[ceil(@{piety_very_easy}*.1)]]}} {{easy=[[@{piety_easy}]]}} {{easy_crit=[[ceil(@{piety_easy}*.1)]]}} {{standard=[[@{piety} ]]}} {{standard_crit=[[ceil(@{piety}*.1)]]}} {{hard=[[@{piety_hard}]]}} {{hard_crit=[[ceil(@{piety_hard}*.1)]]}} {{formidable=[[@{piety_formidable}]]}} {{formidable_crit=[[ceil(@{piety_formidable}*.1)]]}} {{herculean=[[@{piety_herculean}]]}} {{herculean_crit=[[ceil(@{piety_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{piety_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_piety_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_piety_learned" value="1"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="cha-u">CHA</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_piety_base" value="(@{cha}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_piety_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_piety_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_piety_very_easy" value="ceil((((@{piety_learned}*@{piety_base})+@{piety_experience}+@{piety_other}+@{piety_augment})*2)+@{piety_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_piety_easy" value="ceil((((@{piety_learned}*@{piety_base})+@{piety_experience}+@{piety_other}+@{piety_augment})*1.5)+@{piety_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_piety_hard" value="ceil((((@{piety_learned}*@{piety_base})+@{piety_experience}+@{piety_other}+@{piety_augment})*.67)+@{piety_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_piety_formidable" value="ceil((((@{piety_learned}*@{piety_base})+@{piety_experience}+@{piety_other}+@{piety_augment})*.5)+@{piety_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_piety_herculean" value="ceil((((@{piety_learned}*@{piety_base})+@{piety_experience}+@{piety_other}+@{piety_augment})*.1)+@{piety_penalty})" disabled></div>
</div>
</div>
<div>
<div class="divine-magic-field header"><span data-i18n="max-intensity-u">Max Intensity</span></div>
<div class="divine-magic-field header"><span data-i18n="magnitude-u">Magnitude</span></div>
<div class="divine-magic-field header"><span data-i18n="casting-class-u">Casting Class</span></div>
<div class="divine-magic-field header"><span data-i18n="rank-u">Rank</span></div>
<div class="divine-magic-field header"><span data-i18n="armor-penalty-u">Armor Penalty</span></div>
<div class="divine-magic-field header"><span data-i18n="apply-penalty-u">Apply Penalty</span></div>
</div>
<div>
<div class="divine-magic-field"><input type="number" class="full-width" name="attr_divine_intensity_max" value="ceil(@{channel}/10)" disabled></div>
<div class="divine-magic-field"><input type="number" class="full-width" name="attr_divine_magnitude" value="ceil(@{channel}/10)" disabled></div>
<div class="divine-magic-field">
<select class="full-width" name="attr_divine_caster_class">
<option value="bard"><span data-i18n="bard-u">Bard</span></option>
<option value="cleric"><span data-i18n="cleric-u">Cleric</span></option>
<option value="druid"><span data-i18n="druid-u">Druid</span></option>
<option value="paladin"><span data-i18n="paladin-u">Paladin</span></option>
<option value="ranger"><span data-i18n="ranger-u">Ranger</span></option>
</select>
</div>
<div class="divine-magic-field"><input type="number" class="full-width" name="attr_divine_magic_rank" value="0"></div>
<div class="divine-magic-field"><input type="number" class="full-width" name="attr_divine_armor_penalty" value="ceil(@{armor_penalty}/3)" disabled></div>
<div class="divine-magic-field">
<select class="full-width" name="attr_apply_divine_armor_penalty">
<option value="@{divine_armor_penalty}"><span data-i18n="yes-u">Yes</span></option>
<option value="0" selected><span data-i18n="no-u">No</span></option>
</select>
</div>
</div>
<hr style="visibility: hidden;">
<!-- Divine Magic Rank 1 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 1 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_1_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_1_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_divine_rank_1_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_divinemagicrank1spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{divine_rank_1_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{divine_rank_1_cost_reduction}]]">1/+1</option>
<option value="[[3-@{divine_rank_1_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{divine_rank_1_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{divine_rank_1_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{divine_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_divine_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Divine Magic Rank 2 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 2 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_2_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_2_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_divine_rank_2_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_divinemagicrank2spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{divine_rank_2_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{divine_rank_2_cost_reduction}]]">1/+1</option>
<option value="[[3-@{divine_rank_2_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{divine_rank_2_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{divine_rank_2_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{divine_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_divine_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Divine Magic Rank 3 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 3 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_3_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_3_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_divine_rank_3_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_divinemagicrank3spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{divine_rank_3_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{divine_rank_3_cost_reduction}]]">1/+1</option>
<option value="[[3-@{divine_rank_3_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{divine_rank_3_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{divine_rank_3_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{divine_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_divine_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Divine Magic Rank 4 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 4 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_4_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_4_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_divine_rank_4_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_divinemagicrank4spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{divine_rank_4_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{divine_rank_4_cost_reduction}]]">1/+1</option>
<option value="[[3-@{divine_rank_4_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{divine_rank_4_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{divine_rank_4_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{divine_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_divine_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Divine Magic Rank 5 Spells -->
<h4 class="float-left"><span data-i18n="rank-u">Rank</span> 5 <span data-i18n="spells-u">Spells</span></h4> <span class="float-right"><span data-i18n="cost-reduction-u">Cost Reduction</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_5_cost_reduction" value="0"> <span data-i18n="memorized-u">Memorized</span>: <input type="number" class="number-width disabled" name="attr_divine_rank_5_memorized" value="0">/<input type="number" class="number-width disabled" name="attr_divine_rank_5_memorized_max" value="0"></span>
<hr>
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_divinemagicrank5spell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="school-u" class="bold">School</span>: <input type="text" name="attr_school">
<span data-i18n="reversible-u" class="bold">Reversible</span>: <input type="checkbox" name="attr_reversible" value="1">
</div>
<div>
<span data-i18n="cost-u" class="bold">Cost</span>: <select type="number" class="number-width" name="attr_mp_cost">
<option value="[[1-@{divine_rank_5_cost_reduction}]]">1</option>
<option value="[[(1*?{Intensity|1})-@{divine_rank_5_cost_reduction}]]">1/+1</option>
<option value="[[3-@{divine_rank_5_cost_reduction}]]">3</option>
<option value="[[(3+(?{Intensity|1}-1))-@{divine_rank_5_cost_reduction}]]">3/+1</option>
<option value="[[(3*?{Intensity|1})-@{divine_rank_5_cost_reduction}]]">3/+3</option>
</select> <span data-i18n="mp-u">MP</span> + <input type="number" class="number-width" name="attr_xp_cost" value="0"> <span data-i18n="xp-u">XP</span>
<span data-i18n="area-u" class="bold">Area</span>: <input type="text" name="attr_area">
<span data-i18n="time-u" class="bold">Time</span>: <input type="number" class="number-width" name="attr_time" value="1"> <input type="text" name="attr_time_unit">
</div>
<div>
<span data-i18n="duration-u" class="bold">Duration</span>: <input type="text" name="attr_duration">
<span data-i18n="range-u" class="bold">Range</span>: <input type="text" name="attr_range">
<span data-i18n="resist-u" class="bold">Resist</span>: <input type="text" name="attr_resist">
</div>
<span data-i18n="macro-u" class="bold">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=?{Intensity|1}}} {{^{magnitude-u}=[[@{divine_magnitude}]]}} {{mp_cost=@{mp_cost}}} {{xp_cost=[[@{xp_cost}]]}} {{^{area-u}=@{area}}} {{^{time-u}=[[@{time}+@{apply_divine_armor_penalty}]] @{time_unit}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{^{resist-u}=@{resist}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
</div>
</div>
<div class="folk-magic-enabled display-folk-magic magic section">
<h3><span data-i18n="folk-magic-u">Folk Magic</span></h3>
<!-- Folk Magic Skill -->
<div style="width: 48.5%">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span class="default-style luther-arkwright-style classic-fantasy-style m-space-style" data-i18n="folk-magic-u">Folk Magic</span><span class="thennla-style" data-i18n="rites-u">Rites</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_folk_magic_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_folk_magic_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_folk_magic_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_folk_magic_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_folk_magic_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_folk_magic" value="(@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment}+@{folk_magic_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_folk_magic" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{folk-magic-u}}} @{name_display} {{very_easy=[[@{folk_magic_very_easy}]]}} {{very_easy_crit=[[ceil(@{folk_magic_very_easy}*.1)]]}} {{easy=[[@{folk_magic_easy}]]}} {{easy_crit=[[ceil(@{folk_magic_easy}*.1)]]}} {{standard=[[@{folk_magic} ]]}} {{standard_crit=[[ceil(@{folk_magic}*.1)]]}} {{hard=[[@{folk_magic_hard}]]}} {{hard_crit=[[ceil(@{folk_magic_hard}*.1)]]}} {{formidable=[[@{folk_magic_formidable}]]}} {{formidable_crit=[[ceil(@{folk_magic_formidable}*.1)]]}} {{herculean=[[@{folk_magic_herculean}]]}} {{herculean_crit=[[ceil(@{folk_magic_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{folk_magic_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_folk_magic_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_folk_magic_learned" value="@{folk_magic_base}"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_folk_magic_base" value="(@{pow}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_folk_magic_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_folk_magic_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_folk_magic_very_easy" value="ceil(((@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment})*2)+@{folk_magic_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_folk_magic_easy" value="ceil(((@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment})*1.5)+@{folk_magic_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_folk_magic_hard" value="ceil(((@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment})*.67)+@{folk_magic_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_folk_magic_formidable" value="ceil(((@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment})*.5)+@{folk_magic_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_folk_magic_herculean" value="ceil(((@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment})*.1)+@{folk_magic_penalty})" disabled></div>
</div>
</div>
<hr style="visibility: hidden;">
<div class="spell-row">
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="spell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<!-- Folk Magic Spells -->
<fieldset class="repeating_folkspell">
<div>
<div class="spell-row">
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_folk_spell" value="@{macro}"></div>
<div class="spell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="concentration-u">Concentration</span>: <input type="checkbox" name="attr_concentration" value="1">
</div>
<div>
<span data-i18n="resist-u">Resist</span>:
<select name="attr_resist">
<option value="-" selected>-</option>
<option value="^{endurance-u}"><span data-i18n="endurance-u">Endurance</span></option>
<option value="^{evade-u}"><span data-i18n="evade-u">Evade</span></option>
<option value="^{willpower-u}"><span data-i18n="willpower-u">Willpower</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="duration-u">Duration</span>:
<select name="attr_duration">
<option value="^{instant-u}"><span data-i18n="instant-u">Instant</span></option>
<option value="^{standard-u}" selected><span data-i18n="standard-u">Standard</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="range-u">Range</span>:
<select name="attr_range">
<option value="^{touch-u}" selected>Touch</option>
<option value="[[(@{folk_magic_learned}+@{folk_magic_experience}+@{folk_magic_other}+@{folk_magic_augment})]] ^{metres-u}"><span data-i18n="ranged-u">Ranged</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
</div>
<span data-i18n="macro-u">Macro</span>
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{concentration=[[0+@{concentration}]]}} {{^{resist-u}=@{resist}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
</div>
<!-- Animism -->
<div class="animism-enabled display-animism magic section">
<h3><span data-i18n="animism-u">Animism</span></h3>
<div style="display: inline-block;">
<!-- Trance Skill -->
<div style="float: left; width: 48.5%; margin-left: 5px; margin-bottom: 5px;">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="trance-u">Trance</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_trance_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_trance_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_trance_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_trance_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_trance_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_trance" value="(@{trance_learned}+@{trance_experience}+@{trance_other}+@{trance_augment}+@{trance_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_trance" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{trance-u}}} @{name_display} {{very_easy=[[@{trance_very_easy}]]}} {{very_easy_crit=[[ceil(@{trance_very_easy}*.1)]]}} {{easy=[[@{trance_easy}]]}} {{easy_crit=[[ceil(@{trance_easy}*.1)]]}} {{standard=[[@{trance} ]]}} {{standard_crit=[[ceil(@{trance}*.1)]]}} {{hard=[[@{trance_hard}]]}} {{hard_crit=[[ceil(@{trance_hard}*.1)]]}} {{formidable=[[@{trance_formidable}]]}} {{formidable_crit=[[ceil(@{trance_formidable}*.1)]]}} {{herculean=[[@{trance_herculean}]]}} {{herculean_crit=[[ceil(@{trance_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{trance_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_trance_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_trance_learned" value="@{trance_base}"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="con-u">CON</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_trance_base" value="(@{con}+@{pow})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_trance_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_trance_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_trance_very_easy" value="ceil(((@{trance_learned}+@{trance_experience}+@{trance_other}+@{trance_augment})*2)+@{trance_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_trance_easy" value="ceil(((@{trance_learned}+@{trance_experience}+@{trance_other}+@{trance_augment})*1.5)+@{trance_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_trance_hard" value="ceil(((@{trance_learned}+@{trance_experience}+@{trance_other}+@{trance_augment})*.67)+@{trance_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_trance_formidable" value="ceil(((@{trance_learned}+@{trance_experience}+@{trance_other}+@{trance_augment})*.5)+@{trance_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_trance_herculean" value="ceil(((@{trance_learned}+@{trance_experience}+@{trance_other}+@{trance_augment})*.1)+@{trance_penalty})" disabled></div>
</div>
</div>
<!--Binding Skill -->
<div style="float: left; width: 48.5%; margin-left: 18px; margin-bottom: 5px;">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="binding-u">Binding</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_binding_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_binding_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_binding_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_binding_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_binding_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_binding" value="((@{binding_learned}*@{binding_base})+@{binding_experience}+@{binding_other}+@{binding_augment}+@{binding_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_binding" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{binding-u}}} @{name_display} {{very_easy=[[@{binding_very_easy}]]}} {{very_easy_crit=[[ceil(@{binding_very_easy}*.1)]]}} {{easy=[[@{binding_easy}]]}} {{easy_crit=[[ceil(@{binding_easy}*.1)]]}} {{standard=[[@{binding} ]]}} {{standard_crit=[[ceil(@{binding}*.1)]]}} {{hard=[[@{binding_hard}]]}} {{hard_crit=[[ceil(@{binding_hard}*.1)]]}} {{formidable=[[@{binding_formidable}]]}} {{formidable_crit=[[ceil(@{binding_formidable}*.1)]]}} {{herculean=[[@{binding_herculean}]]}} {{herculean_crit=[[ceil(@{binding_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{binding_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_binding_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_binding_learned" value="1"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_binding_base" value="(@{pow}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_binding_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_binding_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_binding_very_easy" value="ceil((((@{binding_learned}*@{binding_base})+@{binding_experience}+@{binding_other}+@{binding_augment})*2)+@{binding_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_binding_easy" value="ceil((((@{binding_learned}*@{binding_base})+@{binding_experience}+@{binding_other}+@{binding_augment})*1.5)+@{binding_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_binding_hard" value="ceil((((@{binding_learned}*@{binding_base})+@{binding_experience}+@{binding_other}+@{binding_augment})*.67)+@{binding_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_binding_formidable" value="ceil((((@{binding_learned}*@{binding_base})+@{binding_experience}+@{binding_other}+@{binding_augment})*.5)+@{binding_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_binding_herculean" value="ceil((((@{binding_learned}*@{binding_base})+@{binding_experience}+@{binding_other}+@{binding_augment})*.1)+@{binding_penalty})" disabled></div>
</div>
</div>
</div>
<div>
<div>
<div class="animism-number header"><span data-i18n="rank-u">Rank</span></div>
<div class="animism-number header"><span data-i18n="max-number-of-spirits-u">Max # of Spirits</span></div>
<div class="animism-number header"><span data-i18n="max-pow-of-spirits-u">Max POW of Spirits</span></div>
<div class="animism-spirit-ap header"><span data-i18n="spirit-ap-u">Spirit AP</span></div>
<div class="animism-number header"><span data-i18n="spirit-initiative-bonus-short-u">Spirit IB</span></div>
<div class="animism-button header"></div>
<div class="animism-number header"><span data-i18n="spirit-damage-u">Spirit Damage</span></div>
<div class="animism-button header"></div>
</div>
<div>
<div class="animism-number">
<select class="full-width" name="attr_cult_spirit_limit">
<option value="ceil(@{cha}*.25)"><span data-i18n="follower-u">Follower</span></option>
<option value="ceil(@{cha}*.5)"><span data-i18n="spirit-worshipper-u">Spirit Worshipper</span></option>
<option value="ceil(@{cha}*.75)"><span data-i18n="shaman-u">Shaman</span></option>
<option value="@{cha}"><span data-i18n="high-shaman-u">High Shaman</span></option>
<option value="@{cha}+0"><span data-i18n="spirit-lord-u">Spirit Lord</span></option>
</select>
</div>
<div class="animism-number"><input type="number" class="text-align-center full-width" name="attr_spirits_max" value="@{cult_spirit_limit}" disabled></div>
<div class="animism-number"><input type="number" class="text-align-center full-width" name="attr_spirit_pow_max" value="ceil(@{binding}/10)*3" disabled></div>
<div class="animism-spirit-ap"><input type="number" class="text-align-center number-width" name="attr_spirit_ap">/<input type="number" class="text-align-center number-width" name="attr_spirit_ap_max" value="ceil((@{int}+@{pow})/12)+@{action_points_temp}" disabled></div>
<div class="animism-number"><input type="number" class="text-align-center full-width" name="attr_spirit_sr" value="ceil((@{int}+@{cha})/2)+@{initiative_bonus_temp}" disabled></div>
<div class="animism-button"><button type="roll" class="reduced-size full-width" name="roll_spirit_initiative" value="[[@{init_dice} + @{spirit_sr} &{tracker}]]"></div>
<div class="animism-number"><input type="text" class="disabled text-align-center full-width" name="attr_spirit_damage" value="0"></div>
<div class="animism-button"><button type="roll" class="reduced-size full-width" name="roll_spirit_damage" value="@{roll_display}&{template:weapon} {{name=^{spirit-damage-u}}} @{name_display} {{damage=[[@{spirit_damage}]]}}"></button></div>
</div>
</div>
<hr style="visibility: hidden;">
<div class="fetish-row">
<div class="fetish-name header"><span data-i18n="fetish-spirit-u">Fetish / Spirit</span></div>
<div class="fetish-type header"><span data-i18n="type-u">Type</span></div>
<div class="fetish-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_fetish">
<div>
<div class="spell-row">
<div class="fetish-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="fetish-type"><input type="text" class="text-align-center full-width" name="attr_type"></div>
<div class="fetish-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<select class="number-width bold" name="attr_int_type"><option value="INT"><span data-i18n="int-u">INT</span></option><option value="INS"><span data-i18n="ins-u">INS</span></option></select>: <input type="number" class="number-width" name="attr_fetish_int" value="13">
<span data-i18n="pow-u" class="bold">POW</span>: <input type="number" class="number-width" name="attr_fetish_pow" value="11">
<span data-i18n="cha-u" class="bold">CHA</span>: <input type="number" class="number-width" name="attr_fetish_cha" value="11">
<span data-i18n="intensity-u" class="bold">Intensity</span>: <input type="number" class="number-width" name="attr_fetish_intensity" value="1">
</div>
<div>
<span data-i18n="action-points-u" class="bold">Action Points</span>: <input type="number" class="number-width" name="attr_fetish_action_points" value="ceil((@{fetish_int}+@{fetish_pow})/12)" disabled>
<span data-i18n="initiative-bonus-u" class="bold">Init. Bonus</span>: <input type="number" class="number-width" name="attr_fetish_initiative_bonus" value="ceil((@{fetish_int}+@{fetish_cha})/2)" disabled>
<span data-i18n="magic-points-u" class="bold">Magic Points</span>: <input type="number" class="number-width" name="attr_fetish_magic_points" value="11"> / <input type="number" class="number-width" name="attr_fetish_magic_points_max" value="@{fetish_pow}" disabled>
<div class="spirit-tenacity"><span data-i18n="tenacity-u" class="bold">Tenacity</span>: <input type="number" class="number-width" name="attr_fetish_tenacity" value="11"> / <input type="number" class="number-width" name="attr_fetish_tenacity_max" value="@{fetish_pow}" disabled></div>
<span data-i18n="spirit-damage-u" class="bold">Spirit Damage</span>: <input type="text" class="damage-width text-align-center disabled" name="attr_fetish_spirit_damage" value="1d8"> <button type="roll" class="reduced-size button-width" name="roll_fetish_spirit_damage" value="@{roll_display}&{template:weapon} {{name=^{spirit-damage-u}}} {{character=@{name}}} {{damage=[[@{fetish_spirit_damage}]]}}"></button>
</div>
<div class="fetish-skill-column">
<div>
<div class="fetish-skill header"><span data-i18n="skill-u">Skill</span></div>
<div class="number-width header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="number-width header">%</div>
</div>
<div><div class="fetish-skill bottom-border"><span data-i18n="spectral-combat-u">Spectral Combat</span></div>: <input type="number" class="number-width" name="attr_fetish_spectral_combat_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_spectral_combat" value="72"> <button type="roll" class="reduced-size button-width" name="roll_fetish_spectral_combat" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{spectral-combat-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_spectral_combat}*2+@{fetish_spectral_combat_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_spectral_combat}*2)+@{fetish_spectral_combat_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_spectral_combat}*1.5)+@{fetish_spectral_combat_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_spectral_combat}*1.5)+@{fetish_spectral_combat_penalty})*.1)]]}} {{standard=[[(@{fetish_spectral_combat}+@{fetish_spectral_combat_penalty})]]}} {{standard_crit=[[ceil((@{fetish_spectral_combat}+@{fetish_spectral_combat_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_spectral_combat}*.67)+@{fetish_spectral_combat_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_spectral_combat}*.67)+@{fetish_spectral_combat_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_spectral_combat}*.5)+@{fetish_spectral_combat_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_spectral_combat}*.5)+@{fetish_spectral_combat_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_spectral_combat}*.1)+@{fetish_spectral_combat_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_spectral_combat}*.1)+@{fetish_spectral_combat_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="fetish-skill bottom-border"><span data-i18n="willpower-u">Willpower</span></div>: <input type="number" class="number-width" name="attr_fetish_willpower_penalty" value="0" max="0"> <input type="number" class="number-width" name="attr_fetish_willpower" value="72"> <button type="roll" class="reduced-size button-width" name="roll_fetish_willpower" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{willpower-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_willpower}*2+@{fetish_willpower_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_willpower}*2)+@{fetish_willpower_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_willpower}*1.5)+@{fetish_willpower_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_willpower}*1.5)+@{fetish_willpower_penalty})*.1)]]}} {{standard=[[(@{fetish_willpower}+@{fetish_willpower_penalty})]]}} {{standard_crit=[[ceil((@{fetish_willpower}*.1)+@{fetish_willpower_penalty})]]}} {{hard=[[ceil((@{fetish_willpower}*.67)+@{fetish_willpower_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_willpower}*.67)+@{fetish_willpower_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_willpower}*.5)+@{fetish_willpower_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_willpower}*.5)+@{fetish_willpower_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_willpower}+@{fetish_willpower_penalty})*.1)]]}} {{herculean_crit=[[ceil(((@{fetish_willpower}*.1)+@{fetish_willpower_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div>
<div class="fetish-skill header"><span data-i18n="skill-u">Skill</span></div>
<div class="number-width header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="number-width header">%</div>
</div>
<div><div class="fetish-skill bottom-border"><span data-i18n="folk-magic-u">Folk Magic</span></div>: <input type="number" class="number-width" name="attr_fetish_folk_magic_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_folk_magic" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_folk_magic" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{folk-magic-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_folk_magic}*2+@{fetish_folk_magic_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_folk_magic}*2)+@{fetish_folk_magic_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_folk_magic}*1.5)+@{fetish_folk_magic_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_folk_magic}*1.5)+@{fetish_folk_magic_penalty})*.1)]]}} {{standard=[[(@{fetish_folk_magic}+@{fetish_folk_magic_penalty})]]}} {{standard_crit=[[ceil((@{fetish_folk_magic}+@{fetish_folk_magic_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_folk_magic}*.67)+@{fetish_folk_magic_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_folk_magic}*.67)+@{fetish_folk_magic_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_folk_magic}*.5)+@{fetish_folk_magic_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_folk_magic}*.5)+@{fetish_folk_magic_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_folk_magic}*.1)+@{fetish_folk_magic_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_folk_magic}*.1)+@{fetish_folk_magic_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="fetish-skill bottom-border"><span data-i18n="shaping-u">Shaping</span></div>: <input type="number" class="number-width" name="attr_fetish_shaping_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_shaping" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_shaping" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{shaping-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_shaping}*2+@{fetish_shaping_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_shaping}*2)+@{fetish_shaping_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_shaping}*1.5)+@{fetish_shaping_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_shaping}*1.5)+@{fetish_shaping_penalty})*.1)]]}} {{standard=[[(@{fetish_shaping}+@{fetish_shaping_penalty})]]}} {{standard_crit=[[ceil((@{fetish_shaping}*.1)+@{fetish_shaping_penalty})]]}} {{hard=[[ceil((@{fetish_shaping}*.67)+@{fetish_shaping_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_shaping}*.67)+@{fetish_shaping_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_shaping}*.5)+@{fetish_shaping_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_shaping}*.5)+@{fetish_shaping_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_shaping}*.1)+@{fetish_shaping_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_shaping}*.1)+@{fetish_shaping_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="fetish-skill bottom-border"><span data-i18n="invocation-u">Invocation</span></div>: <input type="number" class="number-width" name="attr_fetish_invocation_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_invocation" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_invocation" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{invocation-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_invocation}*2+@{fetish_invocation_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_invocation}*2)+@{fetish_invocation_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_invocation}*1.5)+@{fetish_invocation_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_invocation}*1.5)+@{fetish_invocation_penalty})*.1)]]}} {{standard=[[(@{fetish_invocation}+@{fetish_invocation_penalty})]]}} {{standard_crit=[[ceil((@{fetish_invocation}+@{fetish_invocation_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_invocation}*.67)+@{fetish_invocation_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_invocation}*.67)+@{fetish_invocation_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_invocation}*.5)+@{fetish_invocation_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_invocation}*.5)+@{fetish_invocation_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_invocation}*.1)+@{fetish_invocation_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_invocation}*.1)+@{fetish_invocation_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="fetish-skill bottom-border"><span data-i18n="exhort-u">Exhort</span></div>: <input type="number" class="number-width" name="attr_fetish_exhort_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_exhort" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_exhort" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{exhort-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_exhort}*2+@{fetish_exhort_penalty})]]}} {{very_easy_crit=[[ceil(((@{fetish_exhort}*2)+@{fetish_exhort_penalty})*.1)]]}} {{easy=[[ceil((@{fetish_exhort}*1.5)+@{fetish_exhort_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_exhort}*1.5)+@{fetish_exhort_penalty})*.1)]]}} {{standard=[[(@{fetish_exhort}+@{fetish_exhort_penalty})]]}} {{standard_crit=[[ceil((@{fetish_exhort}+@{fetish_exhort_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_exhort}*.67)+@{fetish_exhort_penalty})]]}} {{hard_crit=[[ceil(((@{fetish_exhort}*.67)+@{fetish_exhort_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_exhort}*.5)+@{fetish_exhort_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_exhort}*.5)+@{fetish_exhort_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_exhort}*.1)+@{fetish_exhort_penalty})]]}} {{herculean_crit=[[ceil(((@{fetish_exhort}*.1)+@{fetish_exhort_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><div class="fetish-skill bottom-border"><span data-i18n="devotion-u">Devotion</span></div>: <input type="number" class="number-width" name="attr_fetish_devotion_penalty" max="0" value="0"> <input type="number" class="number-width" name="attr_fetish_devotion" value="0"> <button type="roll" class="reduced-size button-width" name="roll_fetish_devotion" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{devotion-u}}} {{character=@{name}}} {{very_easy=[[(@{fetish_devotion}*2+@{fetish_devotion_penalty})*.1)]]}} {{very_easy_crit=[[ceil(((@{fetish_devotion}*2)+@{fetish_devotion_penalty})*.1)]]}} {{easy=[[(ceil(@{fetish_devotion}*1.5)+@{fetish_devotion_penalty})]]}} {{easy_crit=[[ceil(((@{fetish_devotion}*1.5)+@{fetish_devotion_penalty})*.1)]]}} {{standard=[[@{fetish_devotion}+@{fetish_devotion_penalty}]]}} {{standard_crit=[[ceil((@{fetish_devotion}+@{fetish_devotion_penalty})*.1)]]}} {{hard=[[ceil((@{fetish_devotion}+@{fetish_devotion_penalty})*.67)]]}} {{hard_crit=[[ceil(((@{fetish_devotion}*.67)+@{fetish_devotion_penalty})*.1)]]}} {{formidable=[[ceil((@{fetish_devotion}*.5)+@{fetish_devotion_penalty})]]}} {{formidable_crit=[[ceil(((@{fetish_devotion}*.5)+@{fetish_devotion_penalty})*.1)]]}} {{herculean=[[ceil((@{fetish_devotion}+@{fetish_devotion_penalty})*.1)]]}} {{herculean_crit=[[ceil(((@{fetish_devotion}*.1)+@{fetish_devotion_penalty})*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[0]]}}"></button></div>
<div><span data-i18n="other-skills-u" class="bold">Other Skills</span>:</div>
<div><textarea class="magic-note" name="attr_fetish_other_skills"></textarea></div>
</div>
<div class="fetish-powers-column">
<div><span data-i18n="spirit-abilities-u" class="bold">Spirit Abilities</span>:</div>
<div><textarea name="attr_fetish_spirit_abilities"></textarea></div>
<div><span data-i18n="spells-u" class="bold">Spells</span> / <span data-i18n="miracles-u" class="bold">Miracles</span>:</div>
<div><textarea class="magic-note" name="attr_fetish_powers"></textarea></div>
</div>
</div>
</div>
</fieldset>
</div>
<!-- Mysticism -->
<div class="mysticism-enabled display-mysticism magic section">
<h3><span data-i18n="mysticism-u">Mysticism</span></h3>
<!-- Meditation -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="mediation-number header"><span data-i18n="max-cumulative-intensity-u">Max Cumulative Intensity</span></div>
<div class="mediation-number header"><span data-i18n="max-practiced-talents-u">Max Practiced Talents</span></div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="meditation-u">Meditation</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_meditation_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_meditation_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_meditation_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_meditation_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_meditation_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_meditation" value="((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment}+@{meditation_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_meditation" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{meditation-u}}} @{name_display} {{very_easy=[[@{meditation_very_easy}]]}} {{very_easy_crit=[[ceil(@{meditation_very_easy}*.1)]]}} {{easy=[[@{meditation_easy}]]}} {{easy_crit=[[ceil(@{meditation_easy}*.1)]]}} {{standard=[[@{meditation} ]]}} {{standard_crit=[[ceil(@{meditation}*.1)]]}} {{hard=[[@{meditation_hard}]]}} {{hard_crit=[[ceil(@{meditation_hard}*.1)]]}} {{formidable=[[@{meditation_formidable}]]}} {{formidable_crit=[[ceil(@{meditation_formidable}*.1)]]}} {{herculean=[[@{meditation_herculean}]]}} {{herculean_crit=[[ceil(@{meditation_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{meditation_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="mediation-number header"><input type="number" class="text-align-center full-width" name="attr_mysticism_cumulative_intensity_max" value="ceil(((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment})/10)" disabled></div>
<div class="mediation-number header"><input type="number" class="text-align-center full-width" name="attr_practiced_talents_max" value="ceil(@{pow}/2)" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_meditation_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_meditation_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="con-u">CON</span>) <input type="number" class="text-align-center number-width" name="attr_meditation_base" value="(@{int}+@{con})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_meditation_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_meditation_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_meditation_very_easy" value="ceil((((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment})*2)+@{meditation_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_meditation_easy" value="ceil((((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment})*1.5)+@{meditation_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_meditation_hard" value="ceil((((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment})*.67)+@{meditation_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_meditation_formidable" value="ceil((((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment})*.5)+@{meditation_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_meditation_herculean" value="ceil((((@{meditation_learned}*@{meditation_base})+@{meditation_experience}+@{meditation_other}+@{meditation_augment})*.1)+@{meditation_penalty})" disabled></div>
</div>
</div>
<hr style="visibility: hidden">
<!-- Paths -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="path-u">Path</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="path-number header"><span data-i18n="max-intensity-u">Max Intensity</span></div>
</div>
<fieldset class="repeating_path">
<div>
<div class="magic-row">
<div class="magic-name"><input type="text" name="attr_name" class="full-width"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_path" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_meditation" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{path} ]]}} {{standard_crit=[[ceil(@{path}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="path-number"><input type="number" class="text-align-center full-width" name="attr_intensity_max" value="ceil((@{base}+@{experience}+@{other}+@{augment})/20)" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="con-u">CON</span>) <input type="number" class="text-align-center number-width" name="attr_base" value="(@{int}+@{con})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
<div><span data-i18n="path-talents-u">Path Talents</span>:</div>
<div><textarea name="attr_path_talents" class="magic-note"></textarea></div>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Practiced Talents -->
<div class="spell-row">
<div class="spell-name header"><span data-i18n="practiced-talent-u">Practiced Talent</span></div>
<div class="spell-button"></div>
<div class="talent-type header"><span data-i18n="type-u">Type</span></div>
<div class="talent-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_practicedtalent">
<div>
<div class="spell-row">
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="talent-type">
<select class="full-width" name="attr_cost">
<option value="?{Intensity|1}"><span data-i18n="augment-skill-u">Augment Skill</span></option>
<option value="2"><span data-i18n="invoke-trait-u">Invoke Trait</span></option>
<option value="(?{Intensity|1}*3)"><span data-i18n="enhance-attribute-u">Enhance Attribute</span></option>
</select>
</div>
<div class="talent-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<span data-i18n="macro-u">Macro</span>
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=[[?{Intensity|1}]]}} {{^{magnitude-u}=[[@{cost}]]}} {{^{cost-u}=[[@{cost}]]}} {{^{time-u}=[[?{Intensity|1}]]}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
</div>
<!-- Mythras Psionics -->
<div class="mythras-psionics-enabled display-mythras-psionics magic section">
<h3><span data-i18n="psionics-u">Psionics</span></h3>
<!-- Disciplines -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="discipline-u">Discipline</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="la-discipline-number header"><span data-i18n="max-intensity-u">Max Intensity</span></div>
<div class="la-discipline-number header"><span data-i18n="max-active-talents-u">Max Active Talents</span></div>
</div>
<fieldset class="repeating_ladiscipline">
<div>
<div class="magic-row">
<div class="magic-name"><input type="text" name="attr_name" class="full-width"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_discipline" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="la-discipline-number"><input type="number" class="text-align-center full-width" name="attr_intensity_max" value="ceil((@{base}+@{experience}+@{other}+@{augment})/20)" disabled></div>
<div class="la-discipline-number"><input type="number" class="text-align-center full-width" name="attr_active_talents_max" value="ceil(((@{base}+@{experience}+@{other}+@{augment})/20)/2)" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_base" value="(@{pow}+@{pow})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
<div><span data-i18n="discipline-talents-u">Discipline Talents</span>:</div>
<div><textarea name="attr_discipline_talents" class="magic-note"></textarea></div>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Talents -->
<div class="spell-row">
<div class="spell-name header"><span data-i18n="talent-u">Talent</span></div>
<div class="spell-button"></div>
<div class="spell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_latalent">
<div class="rep-row">
<div class="spell-row">
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_talent" value="@{macro}"></div>
<div class="spell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="discipline-u">Discipline</span>:
<select class="number-width" name="attr_intensity">
<option value="@{repeating_ladiscipline_$0_intensity_max}" selected>#1</option>
<option value="@{repeating_ladiscipline_$1_intensity_max}">#2</option>
<option value="@{repeating_ladiscipline_$2_intensity_max}">#3</option>
<option value="@{repeating_ladiscipline_$3_intensity_max}">#4</option>
<option value="@{repeating_ladiscipline_$4_intensity_max}">#5</option>
<option value="@{repeating_ladiscipline_$5_intensity_max}">#6</option>
<option value="@{repeating_ladiscipline_$6_intensity_max}">#7</option>
<option value="@{repeating_ladiscipline_$7_intensity_max}">#8</option>
<option value="@{repeating_ladiscipline_$8_intensity_max}">#9</option>
<option value="@{repeating_ladiscipline_$9_intensity_max}">#10</option>
</select>
</div>
<div>
<span data-i18n="range-u">Range</span>:
<select name="attr_range">
<option value="^{self-u}" selected>Personal</option>
<option value="[[@{pow}]] ^{metres-u}"><span data-i18n="short-u">Short</span></option>
<option value="^{line-of-sight-u}">Medium</option>
<option value="^{same-paralell-u}">Long</option>
<option value="^{any-paralell-u}">Mutiversal</option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="duration-u">Duration</span>:
<select name="attr_duration">
<option value="^{instant-u}" selected><span data-i18n="instantaneous-u">Instantaneous</span></option>
<option value="^{focus-u}"><span data-i18n="focus-u">Focus</span></option>
<option value="^{lasting-u}"><span data-i18n="lasting-u">Lasting</span></option>
</select>
<span data-i18n="area-u">Area</span>: <input type="text" name="attr_area" value="">
</div>
<div>
<span data-i18n="cost-u">Cost</span>: <input type="text" name="attr_cost" value="">
<span data-i18n="resist-u">Resist</span>:
<select name="attr_resist">
<option value="-" selected>-</option>
<option value="^{endurance-u}"><span data-i18n="endurance-u">Endurance</span></option>
<option value="^{evade-u}"><span data-i18n="evade-u">Evade</span></option>
<option value="^{willpower-u}"><span data-i18n="willpower-u">Willpower</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="damage-u">Damage</span>: <input type="text" name="attr_damage" value="0">
</div>
<span data-i18n="macro-u">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{^{intensity-u}=[[@{intensity}]]}} {{^{range-u}=@{range}}} {{^{duration-u}=@{duration}}} {{^{area-u}=@{area}}} {{^{cost-u}=[[@{cost}]]}} {{^{resist-u}=@{resist}}} {{damage=[[@{damage}]]}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
</div>
<!-- Sorcery -->
<div class="sorcery-enabled display-sorcery magic section">
<h3><span data-i18n="sorcery-u">Sorcery</span></h3>
<!-- Shaping -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="shaping-number header"><span data-i18n="max-shaping-points-u">Max Shaping Points</span></div>
<div class="shaping-number header"><span data-i18n="max-memorized-spells-u">Max Memorized Spells</span></div>
</div>
<div>
<div class="magic-row">
<div class="magic-name bottom-border"><span data-i18n="shaping-u">Shaping</span></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_shaping_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_shaping_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_shaping_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_shaping_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_shaping_penalty" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_shaping" value="((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment}+@{shaping_penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_shaping" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{shaping-u}}} @{name_display} {{very_easy=[[@{shaping_very_easy}]]}} {{very_easy_crit=[[ceil(@{shaping_very_easy}*.1)]]}} {{easy=[[@{shaping_easy}]]}} {{easy_crit=[[ceil(@{shaping_easy}*.1)]]}} {{standard=[[@{shaping} ]]}} {{standard_crit=[[ceil(@{shaping}*.1)]]}} {{hard=[[@{shaping_hard}]]}} {{hard_crit=[[ceil(@{shaping_hard}*.1)]]}} {{formidable=[[@{shaping_formidable}]]}} {{formidable_crit=[[ceil(@{shaping_formidable}*.1)]]}} {{herculean=[[@{shaping_herculean}]]}} {{herculean_crit=[[ceil(@{shaping_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{shaping_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="shaping-number header"><input type="number" class="text-align-center full-width" name="attr_shaping_points_max" value="ceil(((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment})/10)" disabled></div>
<div class="shaping-number header"><input type="number" class="text-align-center full-width" name="attr_memorized_sorcery_spells_max" value="@{int}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_shaping_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_shaping_learned" value="1"> <span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="pow-u">POW</span>) <input type="number" class="text-align-center number-width" name="attr_shaping_base" value="(@{int}+@{pow})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_shaping_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_shaping_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_shaping_very_easy" value="ceil((((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment})*2)+@{shaping_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_shaping_easy" value="ceil((((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment})*1.5)+@{shaping_penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_shaping_hard" value="ceil((((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment})*.67)+@{shaping_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_shaping_formidable" value="ceil((((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment})*.5)+@{shaping_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_shaping_herculean" value="ceil((((@{shaping_learned}*@{shaping_base})+@{shaping_experience}+@{shaping_other}+@{shaping_augment})*.1)+@{shaping_penalty})" disabled></div>
<div style="display: none">
<input type="text" name="attr_duration_standard_query" value="{{^{duration-u} (^{minutes-u})=[[ ?{Duration Shaping|0 - POW, @{pow}|1 - 2&times;POW, 2*@{pow}|2 - 3&times;POW, 3*@{pow}|3 - 4&times;POW, 4*@{pow}|4 - 5&times;POW, 5*@{pow}|5 - 6&times;POW, 6*@{pow}|6 - 7&times;POW, 7*@{pow}|7 - 8&times;POW, 8*@{pow}|8 - 9&times;POW, 9*@{pow}|9 - 10&times;POW, 10*@{pow}|10 - 11&times;POW, 11*@{pow}}]]}}">
<input type="text" name="attr_magnitude_query" value="{{^{magnitude-u}=[[ ?{Magnitude Shaping|0 - Magnitude 1, 1|1 - Magnitude 2, 2|2 - Magnitude 3, 3|3 - Magnitude 4, 4|4 - Magnitude 5, 5|5 - Magnitude 6, 6|6 - Magnitude 7, 7|7 - Magnitude 8, 8|8 - Magnitude 9, 9|9 - Magnitude 10, 10|10 - Magnitude 11, 11} ]]}}">
<input type="text" name="attr_range_query" value="{{^{range-u} (^{metres-u})=[[ ?{Range Shaping|0 - Touch, 0|1 - 1m&times;POW, 1*@{pow}|2 - 5m&times;POW, 5*@{pow}|3 - 10m&times;POW, 10*@{pow}|4 - 50m&times;POW, 50*@{pow}|5 - 100m&times;POW, 100*@{pow}|6 - 500m&times;POW, 500*@{pow}|7 - 1km&times;POW, 1000*@{pow}|8 - 5km&times;POW, 5000*@{pow}|9 - 10km&times;POW, 10000*@{pow}|10 - 15km&times;POW, 15000*@{pow}}]]}}">
<input type="text" name="attr_targets_query" value="{{^{targets-u}=[[ ?{Target Shaping|0 - 1 Target, 1|1 - 2 Targets, 2|2 - 3 Targets, 3|3 - 4 Targets, 4|4 - 5 Targets, 5|5 - 6 Targets, 6|6 - 7 Targets, 7|7 - 8 Targets, 8|8 - 9 Targets, 9|9 - 10 Targets, 10|10 - 11 Targets, 11} ]]}}">
<input type="text" name="attr_ablation_query" value="{{ablation=[[ ?{Ablation Shaping|0|1|2|3|4|5|6|7|8|9|10} ]]}}">
<input type="text" name="attr_focus_query" value="{{focus=[[ ?{Focus Shaping|0|1|2|3|4|5|6|7|8|9|10} ]]}}">
<input type="text" name="attr_fortune_query" value="{{fortune=[[ ?{Fortune Shaping|0|1|2|3|4|5|6|7|8|9|10} ]]}}">
<input type="text" name="attr_precision_query" value="{{precision=[[ ?{Precision Shaping|0|1|2|3|4|5|6|7|8|9|10} ]]}}">
<input type="text" name="attr_swiftness_component" value="{{swiftness=[[ @{swiftness_subquery} ]]}}">
<input type="text" name="attr_swiftness_query" value="?{Swiftness Shaping|0|1|2|3|4|5|6|7|8|9|10}">
</div>
<div>
<span data-i18n="components-u" class="bold">Components</span>:&nbsp;
<span data-i18n="duration-u">Duration</span><select name="attr_duration_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{duration_standard_query}" selected><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="magnitude-u">Magnitude</span><select name="attr_magnitude_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{magnitude_query}" selected><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="range-u">Range</span><select name="attr_range_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{range_query}" selected><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="targets-u">Targets</span><select name="attr_targets_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{targets_query}" selected><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
</div>
<div>
<span data-i18n="ablation-u">Ablation</span><select name="attr_ablation_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{ablation_query}"><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="focus-u">Focus</span><select name="attr_focus_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{focus_query}"><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="fortune-u">Fortune</span><select name="attr_fortune_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{fortune_query}"><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="precision-u">Precision</span><select name="attr_precision_component" class="enable-width"><option value=""><span data-i18n="disabled-u">Disabled</span><option value="@{precision_query}"><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
<span data-i18n="swiftness-u">Swiftness</span><select name="attr_swiftness_subquery" class="enable-width"><option value="0"><span data-i18n="disabled-u">Disabled</span><option value="@{swiftness_query}"><span data-i18n="enabled-u">Enabled</span></option></select>&nbsp;
</div>
</div>
</div>
<hr style="visibility: hidden">
<!-- Invocations -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="invocation-u">Invocation</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="invocation-intensity header"><span data-i18n="max-intensity-u">Max Intensity</span></div>
</div>
<fieldset class="repeating_invocation">
<div>
<div class="magic-row">
<div class="magic-name"><input type="text" name="attr_name" class="full-width"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_invocation" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_invocation" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{invocation} ]]}} {{standard_crit=[[ceil(@{invocation}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="invocation-intensity"><input type="number" class="text-align-center full-width" name="attr_intensity_max" value="ceil((@{base}+@{experience}+@{other}+@{augment})/10)" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="characteristic-short-u">Char</span> 1:
<select class="combatstyle-char" name="attr_char1">
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}" selected><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="characteristic-short-u">Char</span> 2:
<select class="combatstyle-char" name="attr_char2">
<option value="@{str}"><span data-i18n="str-u">STR</span></option>
<option value="@{con}"><span data-i18n="con-u">CON</span></option>
<option value="@{siz}"><span data-i18n="siz-u">SIZ</span></option>
<option value="@{dex}"><span data-i18n="dex-u">DEX</span></option>
<option value="@{int}" selected><span data-i18n="int-u">INT</span></option>
<option value="@{pow}"><span data-i18n="pow-u">POW</span></option>
<option value="@{cha}"><span data-i18n="cha-u">CHA</span></option>
</select>
<span data-i18n="base-value-u">Base Value</span>: <input type="number" class="text-align-center number-width" name="attr_base" value="(@{char1}+@{char2})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0">
</div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
<div><span data-i18n="invocation-spells-u">Invocation Spells</span>:</div>
<div><textarea name="attr_invocation_spells" class="magic-note"></textarea></div>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<!-- Sorcery Spells -->
<div class="spell-row">
<div class="spell-button">&#9733;</div>
<div class="spell-name header"><span data-i18n="spell-u">Spell</span></div>
<div class="spell-button"></div>
<div class="sorceryspell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_sorceryspell">
<div class="rep-row">
<div class="spell-row">
<div class="spell-button"><input type="checkbox" name="attr_memorized" value="1"></div>
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_spell" value="@{macro}"></div>
<div class="sorceryspell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="invocation-u">Invocation</span>:
<select class="number-width" name="attr_intensity">
<option value="@{repeating_invocation_$0_intensity_max}" selected>#1</option>
<option value="@{repeating_invocation_$1_intensity_max}">#2</option>
<option value="@{repeating_invocation_$2_intensity_max}">#3</option>
<option value="@{repeating_invocation_$3_intensity_max}">#4</option>
<option value="@{repeating_invocation_$4_intensity_max}">#5</option>
<option value="@{repeating_invocation_$5_intensity_max}">#6</option>
<option value="@{repeating_invocation_$6_intensity_max}">#7</option>
<option value="@{repeating_invocation_$7_intensity_max}">#8</option>
<option value="@{repeating_invocation_$8_intensity_max}">#9</option>
<option value="@{repeating_invocation_$9_intensity_max}">#10</option>
</select>
<span data-i18n="concentration-u">Concentration</span>: <input type="checkbox" name="attr_concentration" value="1"> <span data-i18n="resist-u">Resist</span>:
<select name="attr_resist">
<option value="-">-</option>
<option value="^{endurance-u}"><span data-i18n="endurance-u">Endurance</span></option>
<option value="^{evade-u}"><span data-i18n="evade-u">Evade</span></option>
<option value="^{willpower-u}"><span data-i18n="willpower-u">Willpower</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
</div>
<span data-i18n="macro-u">Macro</span>
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{concentration=[[0+@{concentration}]]}} {{^{intensity-u}=[[@{intensity}]]}} @{magnitude_component} {{^{resist-u}=@{resist}}} @{duration_component} @{range_component} @{targets_component} @{ablation_component} @{focus_component} @{fortune_component} @{precision_component} @{swiftness_component} {{cost=[[ ?{Components Modified|0}+1 ]]}} {{time=[[ ?{Components Modified|0}+1-@{swiftness_subquery} ]]}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
<div>&#9733; = <span data-i18n="memorized-u">Memorized</span></div>
</div>
<!-- Theism -->
<div class="theism-enabled display-theism magic section">
<h3><span data-i18n="theism-u">Theism</span></h3>
<!-- Exhort Skill -->
<div style="width: 48.5%">
<div class="skill-row">
<div class="skill-name header"><span data-i18n="skill-u">Skill</span></div>
<div class="skill-checkbox header">&#9875;</div>
<div class="skill-checkbox header">!</div>
<div class="skill-checkbox header">&#10004;</div>
<div class="skill-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="skill-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="skill-number header">%</div>
</div>
<div class="skill-row">
<div class="skill-name bottom-border"><span data-i18n="exhort-u">Exhort</span></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_exhort_encumbered" value="1" disabled></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_exhort_fumbled" value="1"></div>
<div class="skill-checkbox"><input type="checkbox" name="attr_exhort_trained" value="1"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width" name="attr_exhort_augment" value="0"></div>
<div class="skill-number"><input type="number" max="0" class="text-align-center full-width" name="attr_exhort_penalty" value="0"></div>
<div class="skill-number"><input type="number" class="text-align-center full-width bold" name="attr_exhort" value="(@{exhort_learned}+@{exhort_experience}+@{exhort_other}+@{exhort_augment}+@{exhort_penalty})" disabled></div>
<div class="skill-button"><button type="roll" class="reduced-size full-width" name="roll_exhort" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=^{exhort-u}}} @{name_display} {{very_easy=[[@{exhort_very_easy}]]}} {{very_easy_crit=[[ceil(@{exhort_very_easy}*.1)]]}} {{easy=[[@{exhort_easy}]]}} {{easy_crit=[[ceil(@{exhort_easy}*.1)]]}} {{standard=[[@{exhort} ]]}} {{standard_crit=[[ceil(@{exhort}*.1)]]}} {{hard=[[@{exhort_hard}]]}} {{hard_crit=[[ceil(@{exhort_hard}*.1)]]}} {{formidable=[[@{exhort_formidable}]]}} {{formidable_crit=[[ceil(@{exhort_formidable}*.1)]]}} {{herculean=[[@{exhort_herculean}]]}} {{herculean_crit=[[ceil(@{exhort_herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{exhort_encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_exhort_details"><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="learned-u">Learned</span>: <input type="checkbox" name="attr_exhort_learned" value="@{exhort_base}"></div>
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="int-u">INT</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_exhort_base" value="(@{int}+@{cha})" disabled></div>
<div><span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_exhort_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_exhort_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_exhort_very_easy" value="ceil(((@{exhort_learned}+@{exhort_experience}+@{exhort_other}+@{exhort_augment})*2)+@{exhort_penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_exhort_easy" value="ceil(((@{exhort_learned}+@{exhort_experience}+@{exhort_other}+@{exhort_augment})*1.5)+@{exhort_penalty})" disabled></div>
<div><span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_exhort_hard" value="ceil(((@{exhort_learned}+@{exhort_experience}+@{exhort_other}+@{exhort_augment})*.67)+@{exhort_penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_exhort_formidable" value="ceil(((@{exhort_learned}+@{exhort_experience}+@{exhort_other}+@{exhort_augment})*.5)+@{exhort_penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_exhort_herculean" value="ceil(((@{exhort_learned}+@{exhort_experience}+@{exhort_other}+@{exhort_augment})*.1)+@{exhort_penalty})" disabled></div>
</div>
</div>
<hr style="visibility: hidden;">
<!-- Devotions -->
<div class="magic-row">
<div class="magic-name header"><span data-i18n="devotion-u">Devotion</span></div>
<div class="magic-checkbox header">&#9875;</div>
<div class="magic-checkbox header">!</div>
<div class="magic-checkbox header">&#10004;</div>
<div class="magic-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="magic-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="magic-number header">%</div>
<div class="magic-button header"></div>
<div class="devotion-number header"><span data-i18n="intensity-u">Intensity</span></div>
<div class="devotion-number header"><span data-i18n="magnitude-u">Magnitude</span></div>
<div class="devotion-number header"><span data-i18n="rank-u">Rank</span></div>
<div class="devotion-number header"><span data-i18n="devotional-pool-u">Devotional Pool</span></div>
</div>
<fieldset class="repeating_devotion">
<div class="rep-row">
<div class="magic-row">
<div class="magic-name"><input type="text" name="attr_name" class="full-width"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_encumbered" value="1" disabled></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="magic-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="magic-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="magic-number"><input type="number" class="text-align-center full-width bold" name="attr_devotion" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="magic-button"><button type="roll" class="reduced-size full-width" name="roll_devotion" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{devotion} ]]}} {{standard_crit=[[ceil(@{devotion}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="devotion-number header"><input type="number" max="0" class="text-align-center full-width" name="attr_intensity" value="ceil((@{base}+@{experience}+@{other}+@{augment})/10)" disabled></div>
<div class="devotion-number header"><input type="number" max="0" class="text-align-center full-width" name="attr_magnitude" value="ceil((@{base}+@{experience}+@{other}+@{augment})/10)" disabled></div>
<div class="devotion-number header">
<select class="full-width" name="attr_rank_devotion_pool_limit">
<option value="0"><span data-i18n="lay-member-u">Lay Member</span></option>
<option value="ceil(@{pow}*.25)"><span data-i18n="initiate-u">Initiate</span></option>
<option value="ceil(@{pow}*.5)"><span data-i18n="acolyte-u">Acolyte</span></option>
<option value="ceil(@{pow}*.75)"><span data-i18n="priest-u">Priest</span></option>
<option value="@{pow}"><span data-i18n="high-priest-u">High Priest</span></option>
</select>
</div>
<div class="devotion-number header"><input type="number" class="number-width" name="attr_devotional_pool" value="0"> / <input type="number" class="number-width" name="attr_devotional_pool_max" value="@{max_devotional_pool_based_on}" disabled></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div><span data-i18n="base-value-u">Base Value</span>: (<span data-i18n="pow-u">POW</span>+<span data-i18n="cha-u">CHA</span>) <input type="number" class="text-align-center number-width" name="attr_base" value="(@{pow}+@{cha})" disabled> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0"></div>
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty})" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty})" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="ceil(((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
<div><span data-i18n="devotion-miracles-u">Devotion Miracles</span>:</div>
<div><textarea name="attr_miracles" class="magic-note"></textarea></div>
</div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<div class="spell-row">
<div class="spell-name header"><span data-i18n="miracle-u">Miracle</span></div>
<div class="spell-button"></div>
<div class="spell-description header"><span data-i18n="description-u">Description</span></div>
</div>
<fieldset class="repeating_miracle">
<div class="rep-row">
<div class="spell-row">
<div class="spell-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="spell-button"><button type="roll" class="reduced-size full-width" name="roll_miracle" value="@{macro}"></div>
<div class="spell-description"><input type="text" class="full-width" name="attr_description"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<div>
<span data-i18n="devotion-u">Devotion</span>:
<select class="number-width" name="attr_intensity_magnitude">
<option value="@{repeating_devotion_$0_intensity}" selected>#1</span></option>
<option value="@{repeating_devotion_$1_intensity}">#2</option>
<option value="@{repeating_devotion_$2_intensity}">#3</option>
<option value="@{repeating_devotion_$3_intensity}">#4</option>
<option value="@{repeating_devotion_$4_intensity}">#5</option>
<option value="@{repeating_devotion_$5_intensity}">#6</option>
<option value="@{repeating_devotion_$6_intensity}">#7</option>
<option value="@{repeating_devotion_$7_intensity}">#8</option>
<option value="@{repeating_devotion_$8_intensity}">#9</option>
<option value="@{repeating_devotion_$9_intensity}">#10</option>
</select>
<span data-i18n="miracle-rank-u">Miracle Rank</span>:
<select name="attr_miracle_rank">
<option value="1" selected><span data-i18n="initiate-u">Initiate</span></option>
<option value="2"><span data-i18n="acolyte-u">Acolyte</span></option>
<option value="3"><span data-i18n="priest-u">Priest</span></option>
</select>
</div>
<div>
<span data-i18n="damage-u">Damage</span>: <input type="text" name="attr_damage" value="0">
<span data-i18n="cost-u">Cost</span>: <input class="number-width" type="number" name="attr_cost" value="@{miracle_rank}" disabled>
<span data-i18n="time-u">Time</span>: <input class="number-width" type="number" name="attr_time" value="@{miracle_rank}" disabled>
<span data-i18n="resist-u">Resist</span>:
<select name="attr_resist">
<option value="-" selected>-</option>
<option value="^{endurance-u}"><span data-i18n="endurance-u">Endurance</span></option>
<option value="^{evade-u}"><span data-i18n="evade-u">Evade</span></option>
<option value="^{willpower-u}"><span data-i18n="willpower-u">Willpower</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
</div>
<div>
<span data-i18n="area-u">Area</span>:
<select name="attr_area">
<option value="-" selected>-</option>
<option value="[[@{intensity_magnitude}]] ^{metres-u}"><span data-i18n="metres-u">Metres</span></option>
<option value="[[@{intensity_magnitude}]] ^{decametres-u}"><span data-i18n="decametres-u">Decametres</span></option>
<option value="[[@{intensity_magnitude}]] ^{kilometres-u}"><span data-i18n="kilometres-u">Kilometres</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="duration-u">Duration</span>:
<select name="attr_duration">
<option value="^{instant-u}" selected><span data-i18n="instant-u">Instant</span></option>
<option value="[[@{intensity_magnitude}]] ^{minutes-u}"><span data-i18n="minutes-u">Minutes</span></option>
<option value="[[@{intensity_magnitude}]] ^{hours-u}"><span data-i18n="hours-u">Hours</span></option>
<option value="[[@{intensity_magnitude}]] ^{days-u}"><span data-i18n="days-u">Days</span></option>
<option value="[[@{intensity_magnitude}]] ^{months-u}"><span data-i18n="months-u">Months</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
<span data-i18n="range-u">Range</span>:
<select name="attr_range">
<option value="^{touch-u}" selected>Touch</option>
<option value="[[@{intensity_magnitude}]] ^{metres-u}"><span data-i18n="metres-u">Metres</span></option>
<option value="[[@{intensity_magnitude}]] ^{decametres-u}"><span data-i18n="decametres-u">Decametres</span></option>
<option value="^{special-u}"><span data-i18n="special-u">Special</span></option>
</select>
</div>
<span data-i18n="macro-u">Macro</span>:
<textarea name="attr_macro" class="spell-macro">@{roll_display}&{template:magic} {{name=@{name}}} @{name_display} {{damage=[[@{damage}]]}} {{^{intensity-u}=[[@{intensity_magnitude}]]}} {{^{magnitude-u}=[[@{intensity_magnitude}]]}} {{^{cost-u}=[[@{cost}]]}} {{^{time-u}=[[@{time}]]}} {{^{resist-u}=@{resist}}} {{^{area-u}=@{area}}} {{^{duration-u}=@{duration}}} {{^{range-u}=@{range}}} {{description=@{description}}}</textarea>
</div>
</div>
</fieldset>
</div>
<div class="clear-float"></div>
</div>
<div class="page page-equipment">
<!-- Equipment & Wealth -->
<div>
<div class="equipment section">
<h3><span data-i18n="equipment-u">Equipment</span></h3>
<div class="equipment-row">
<div class="equipment-item header"><span data-i18n="item-u">Item</span></div>
<div class="equipment-location header"><span data-i18n="location-u">Location</span></div>
<div class="equipment-number header"><span data-i18n="enc-u">ENC</span></div>
<div class="equipment-number header"><span data-i18n="quantity-short-u">Qty</span></div>
</div>
<fieldset class="repeating_equipment">
<div class="equipment-row rep-row">
<div class="equipment-item header"><input type="text" class="full-width" name="attr_name"></div>
<div class="equipment-location header">
<select class="full-width" name="attr_location">
<option value="loadout" data-i18n="loadout-u" selected>Loadout</option>
<option value="pack" data-i18n="pack-u">Pack</option>
<option value="mount" data-i18n="mount-vehicle-u">Mount/Vehicle</option>
<option value="camp" data-i18n="camp-u">Camp</option>
<option value="stash" data-i18n="stash-u">Stash</option>
<option value="homebase" data-i18n="homebase-u">Homebase</option>
</select>
</div>
<div class="equipment-number header"><input type="number" step="any" class="full-width" name="attr_enc" value="0"></div>
<div class="equipment-number header"><input type="number" class="full-width" name="attr_quantity" value="1"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_str_details"><span class="details-toggle"></span>
<div class="details">
<div><input type="text" class="full-width" name="attr_description" ></div>
</div>
</fieldset>
<div><span class="bold" data-i18n="notes-u">Notes</span>:</div>
<textarea class="full-width" name="attr_equipment_notes"></textarea>
</div>
<div class="wealth section">
<h3><span data-i18n="money-and-wealth-u">Money & Wealth</span></h3>
<div>
<div class="wealth-currency header"><span data-i18n="currency-u">Currency</span></div>
<div class="wealth-number header"><span data-i18n="value-u">Value</span></div>
<div class="wealth-number header"><span data-i18n="enc-u">ENC</span></div>
<div class="wealth-number header"><span data-i18n="quantity-short-u">Qty</span></div>
</div>
<fieldset class="repeating_currency">
<div class="rep-row">
<div class="wealth-currency header"><input type="text" class="full-width" name="attr_name"></div>
<div class="wealth-number header"><input type="number" class="full-width" name="attr_value" value="1"></div>
<div class="wealth-number header"><input type="number" step="any" class="full-width" name="attr_enc" value="0"></div>
<div class="wealth-number header"><input type="number" class="full-width" name="attr_quantity" value="1"></div>
</div>
</fieldset>
<hr style="visibility: hidden;">
<div class="bold"><span data-i18n="income-u">Income</span>:</div>
<div>
<div class="income-label"><span data-i18n="day-u">Day</span></div>
<div class="income-number"><input type="number" class="text-align-center full-width" name="attr_income_day" value="0"></div>
<div class="income-label"><span data-i18n="month-u">Month</span></div>
<div class="income-number"><input type="number" class="text-align-center full-width" name="attr_income_month" value="0"></div>
<div class="income-label"><span data-i18n="season-u">Season</span></div>
<div class="income-number"><input type="number" class="text-align-center full-width" name="attr_income_season" value="0"></div>
<div class="income-label"><span data-i18n="year-u">Year</span></div>
<div class="income-number"><input type="number" class="text-align-center full-width" name="attr_income_year" value="0"></div>
</div>
<hr style="visibility: hidden;">
<div class="bold"><span data-i18n="other-u">Other</span>:</div>
<textarea name="attr_wealth_other"></textarea>
</div>
</div>
<div class="clear-float"></div>
</div>
<!-- Background -->
<div class="page page-background">
<!-- Affiliations -->
<div class="affiliations section affiliations-enabled">
<h3><span data-i18n="affiliations-u">Affiliations</span></h3>
<div class="affiliations-row ">
<div class="affiliations-name header"><span data-i18n="affiliation-u">Affiliation</span></div>
<div class="affiliations-checkbox header">&#9875;</div>
<div class="affiliations-checkbox header">!</div>
<div class="affiliations-checkbox header">&#10004;</div>
<div class="affiliations-number header"><span data-i18n="temp-u">Temp</span></div>
<div class="affiliations-number header"><span data-i18n="penalty-u">Penalty</span></div>
<div class="affiliations-number header">%</div>
<div class="affiliations-button"></div>
<div class="affiliations-notes header"><span data-i18n="notes-u">Notes</span></div>
</div>
<fieldset class="repeating_affiliation">
<div class="rep-row">
<div class="affiliations-row ">
<div class="affiliations-name"><input type="text" class="full-width" name="attr_name"></div>
<div class="affiliations-checkbox"><input type="checkbox" name="attr_encumbered" value="1" disabled></div>
<div class="affiliations-checkbox"><input type="checkbox" name="attr_fumbled" value="1"></div>
<div class="affiliations-checkbox"><input type="checkbox" name="attr_trained" value="1"></div>
<div class="affiliations-number"><input type="number" class="text-align-center full-width" name="attr_augment" value="0"></div>
<div class="affiliations-number"><input type="number" max="0" class="text-align-center full-width" name="attr_penalty" max="0" value="0"></div>
<div class="affiliations-number"><input type="number" class="text-align-center full-width bold" name="attr_total" value="(@{base}+@{experience}+@{other}+@{augment}+@{penalty})" disabled></div>
<div class="affiliations-button"><button type="roll" class="reduced-size full-width" name="roll_affiliation" value="@{roll_display}&{template:skill} {{show_reduced=[[@{show_reduced}]]}}{{name=@{name}}} @{name_display} {{very_easy=[[@{very_easy}]]}} {{very_easy_crit=[[ceil(@{very_easy}*.1)]]}} {{easy=[[@{easy}]]}} {{easy_crit=[[ceil(@{easy}*.1)]]}} {{standard=[[@{total} ]]}} {{standard_crit=[[ceil(@{total}*.1)]]}} {{hard=[[@{hard}]]}} {{hard_crit=[[ceil(@{hard}*.1)]]}} {{formidable=[[@{formidable}]]}} {{formidable_crit=[[ceil(@{formidable}*.1)]]}} {{herculean=[[@{herculean}]]}} {{herculean_crit=[[ceil(@{herculean}*.1)]]}} {{rolled=[[1d100]]}} {{encumbered=[[1+@{encumbered}]]}} {{encumbrance_skills=[[@{encumbrance_skills}]]}} {{fatigue_skills=[[@{fatigue_skills}]]}}"></div>
<div class="affiliations-notes"><input type="text" class="full-width" name="attr_notes"></div>
</div> <input type="checkbox" class="details-toggle" name="attr_details" checked><span class="details-toggle"></span>
<div class="details">
<span data-i18n="base-value-u">Base Value</span>: <input type="number" class="text-align-center number-width" name="attr_base" value="40"> <span data-i18n="training-and-experience-u">Training & Experience</span>: <input type="number" class="text-align-center number-width" name="attr_experience" value="0"> <span data-i18n="other-u">Other</span>: <input type="number" class="text-align-center number-width" name="attr_other" value="0">
<div><span data-i18n="very-easy-u">Very Easy</span>: <input type="number" class="text-align-center number-width background-green" name="attr_very_easy" value="((@{base}+@{experience}+@{other}+@{augment})*2)+@{penalty}" disabled> <span data-i18n="easy-u">Easy</span>: <input type="number" class="text-align-center number-width background-blue" name="attr_easy" value="ceil((@{base}+@{experience}+@{other}+@{augment})*1.5)+@{penalty}" disabled> <span data-i18n="hard-u">Hard</span>: <input type="number" class="text-align-center number-width background-yellow" name="attr_hard" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.67)+@{penalty})" disabled> <span data-i18n="formidable-u">Formidable</span>: <input type="number" class="text-align-center number-width background-orange" name="attr_formidable" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.5)+@{penalty})" disabled> <span data-i18n="herculean-u">Herculean</span>: <input type="number" class="text-align-center number-width background-red" name="attr_herculean" value="(ceil((@{base}+@{experience}+@{other}+@{augment})*.1)+@{penalty})" disabled></div>
</div>
</div>
</fieldset>
</div>
<div class="background section">
<h3><span data-i18n="background-u">Background</span></h3>
<div class="background-column1">
<div class="backgrounds bold">
<span class="default-style classic-fantasy-style luther-arkwright-style thennla-style" data-i18n="cults-brotherhoods-and-orders-u">Cults, Brotherhoods & Orders</span>
<span class="m-space-style" data-i18n="circles-u">Circles</span>
<textarea name="attr_cults_notes"></textarea>
</div>
<div class="backgrounds bold">
<span data-i18n="community-u">Community</span>
<textarea name="attr_community_notes"></textarea>
</div>
<div class="backgrounds bold">
<span data-i18n="family-u">Family</span>
<textarea name="attr_family_notes"></textarea>
</div>
</div>
<div class="background-column2">
<div class="backgrounds bold">
<span data-i18n="contacts-u">Contacts</span>
<textarea name="attr_contacts_notes"></textarea>
</div>
<div class="backgrounds bold">
<span data-i18n="allies-u">Allies</span>
<textarea name="attr_allies_notes"></textarea>
</div>
<div class="backgrounds bold">
<span data-i18n="enemies-u">Enemies</span>
<textarea name="attr_enemies_notes"></textarea>
</div>
</div>
</div>
</div>
<div class="page page-notes">
<div class="notes section">
<h3><span data-i18n="notes-u">Notes</span></h3>
<textarea class="full-width" name="attr_notes"></textarea>
</div>
</div>
<div class="page page-stats">
<div style="width: 520px; margin-bottom: 5px; float: left;">
<div class="section">
<div><span class="bold" data-i18n="encounter-generator-json-u">Encounter Generator JSON</span>:</div>
<div><textarea name="attr_encounter_generator_json"></textarea></div>
<div><span class="bold" data-i18n="instructions-u">Instructions</span>:</div>
<ol>
<li><span data-i18n="json-step-one-u">Visit the Enouncter Generator at http://skoll.xyz/mythras_eg/</span></li>
<li><span data-i18n="json-step-two-u">Find your desired enemy and click to visit the template page.</span></li>
<li><span data-i18n="json-step-three-u">Note the number at the end of the URL.</span></li>
<li><span data-i18n="json-step-four-u">Go to this url but replace #### with the number noted in step three: http://skoll.xyz/mythras_eg/generate_enemies_json/?id=####</span></li>
<li><span data-i18n="json-step-five-u">Paste the contents of the page into the textarea above.</span></li>
<li><span data-i18n="json-step-six-u">Go back to the Sheet tab to enjoy your imported character.</span></li>
</ol>
<div><span class="bold" data-i18n="notes-u">Notes</span>:</div>
<ul>
<li><span data-i18n="json-note-one-u">Once you have generated JSON for one enemy you simply refresh the page to generate a new one.</span></li>
<li><span data-i18n="json-note-two-u">Due to a known bug in Roll20 the importer will not change the character name. This will start working once the bug is fixed.</span></li>
<li><span data-i18n="json-note-four-u">After import some fields may require additional work for full functionality. For example, misc skills the importer couldn't identify, will be recorded as professional skills. These may need to be re-located if they are not, in fact, professional skills. In addition, professional skills will be logged with no base value. All points will be allocated to experience. You may wish to set the base characteristics to ensure characteristic modifiers work on these skills. If so, remember to deduct the new base value from the experience field. Spells and other magic powers will also require further configuration so their roll button will present accurate information. As a general rule, anything with it's details section open, after import, could be further configured. This additional work is at the GMs discretion and is likely not needed for most NPCs.</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- Sheet Workers -->
<script type="text/worker">
// Functions
function upgrade_1_0_to_1_1() {
console.log("converting strike_rank to initiative_bonus");
var newattrs = {};
getAttrs(["strike_rank_temp", "strike_rank_details", "strike_rank_armor", "strike_rank_fatigue", "strike_rank_other"], function(v) {
if(v["strike_rank_temp"]) {
newattrs["initiative_bonus_temp"] = v.strike_rank_temp;
}
if(v["strike_rank_details"]) {
newattrs["initiative_bonus_details"] = v.strike_rank_details;
}
if(v["strike_rank_armor"]) {
newattrs["initiative_bonus_armor"] = v.strike_rank_armor;
}
if(v["strike_rank_fatigue"]) {
newattrs["initiative_bonus_fatigue"] = v.strike_rank_fatigue;
}
if(v["strike_rank_other"]) {
newattrs["initiative_bonus_other"] = v.strike_rank_other;
}
console.log("Setting init bonus values copied from strike rank");
setAttrs(newattrs);
});
}
function upgrade_1_1_to_1_2_0() {
console.log("fixing misspelled missile attrs");
var newattrs = {};
getAttrs(["missle_weapons_enc"], function(v) {
if(v["missle_weapons_enc"]) {
newattrs["missile_weapons_enc"] = v.missle_weapons_enc;
}
console.log("Setting missile_weapons_enc value copied from missle_weapons_enc");
setAttrs(newattrs);
});
}
function upgrade_1_2_0_to_1_3_0() {
console.log("convert to configable hit locations");
var location1_newattrs = {};
getAttrs(["right_leg_armor_ap", "right_leg_armor_equipped", "right_leg_other_ap", "right_leg_hp", "right_leg_hp_max_base", "right_leg_hp_max_other", "right_leg_details", "right_leg_armor_type", "right_leg_armor_enc", "location1_armor_ap", "location1_armor_equipped", "location1_other_ap", "location1_hp", "location1_hp_max_base", "location1_hp_max_other", "location1_details", "location1_armor_type", "location1_armor_enc"], function(v) {
if((v["right_leg_armor_ap"]) && ((v["location1_armor_ap"] === undefined) || (v["location1_armor_ap"] === ""))) {
location1_newattrs["location1_armor_ap"] = v.right_leg_armor_ap;
}
if((v["right_leg_armor_equipped"]) && ((v["location1_armor_equipped"] === undefined) || (v["location1_armor_equipped"] === ""))) {
location1_newattrs["location1_armor_equipped"] = v.right_leg_armor_equipped;
}
if((v["right_leg_other_ap"]) && ((v["location1_other_ap"] === undefined) || (v["location1_other_ap"] === ""))) {
location1_newattrs["location1_other_ap"] = v.right_leg_other_ap;
}
if((v["right_leg_hp"]) && ((v["location1_hp"] === undefined) || (v["location1_hp"] === ""))) {
location1_newattrs["location1_hp"] = v.right_leg_hp;
}
if((v["right_leg_hp_max_base"]) && ((v["location1_hp_max_base"] === undefined) || (v["location1_hp_max_base"] === ""))) {
location1_newattrs["location1_hp_max_base"] = v.right_leg_hp_max_base;
}
if((v["right_leg_hp_max_other"]) && ((v["location1_hp_max_other"] === undefined) || (v["location1_hp_max_other"] === ""))) {
location1_newattrs["location1_hp_max_other"] = v.right_leg_hp_max_other;
}
if((v["right_leg_details"]) && ((v["location1_details"] === undefined) || (v["location1_details"] === ""))) {
location1_newattrs["location1_details"] = v.right_leg_details;
}
if((v["right_leg_armor_type"]) && ((v["location1_armor_type"] === undefined) || (v["location1_armor_type"] === ""))) {
location1_newattrs["location1_armor_type"] = v.right_leg_armor_type;
}
if((v["right_leg_armor_enc"]) && ((v["location1_armor_enc"] === undefined) || (v["location1_armor_enc"] === ""))) {
location1_newattrs["location1_armor_enc"] = v.right_leg_armor_enc;
}
console.log("Setting hit location1 values copied from right_leg");
setAttrs(location1_newattrs);
});
var location2_newattrs = {};
getAttrs(["left_leg_armor_ap", "left_leg_armor_equipped", "left_leg_other_ap", "left_leg_hp", "left_leg_hp_max_base", "left_leg_hp_max_other", "left_leg_details", "left_leg_armor_type", "left_leg_armor_enc", "location2_armor_ap", "location2_armor_equipped", "location2_other_ap", "location2_hp", "location2_hp_max_base", "location2_hp_max_other", "location2_details", "location2_armor_type", "location2_armor_enc"], function(v) {
if((v["left_leg_armor_ap"]) && ((v["location2_armor_ap"] === undefined) || (v["location2_armor_ap"] === ""))) {
location2_newattrs["location2_armor_ap"] = v.left_leg_armor_ap;
}
if((v["left_leg_armor_equipped"]) && ((v["location2_armor_equipped"] === undefined) || (v["location2_armor_equipped"] === ""))) {
location2_newattrs["location2_armor_equipped"] = v.left_leg_armor_equipped;
}
if((v["left_leg_other_ap"]) && ((v["location2_other_ap"] === undefined) || (v["location2_other_ap"] === ""))) {
location2_newattrs["location2_other_ap"] = v.left_leg_other_ap;
}
if((v["left_leg_hp"]) && ((v["location2_hp"] === undefined) || (v["location2_hp"] === ""))) {
location2_newattrs["location2_hp"] = v.left_leg_hp;
}
if((v["left_leg_hp_max_base"]) && ((v["location2_hp_max_base"] === undefined) || (v["location2_hp_max_base"] === ""))) {
location2_newattrs["location2_hp_max_base"] = v.left_leg_hp_max_base;
}
if((v["left_leg_hp_max_other"]) && ((v["location2_hp_max_other"] === undefined) || (v["location2_hp_max_other"] === ""))) {
location2_newattrs["location2_hp_max_other"] = v.left_leg_hp_max_other;
}
if((v["left_leg_details"]) && ((v["location2_details"] === undefined) || (v["location2_details"] === ""))) {
location2_newattrs["location2_details"] = v.left_leg_details;
}
if((v["left_leg_armor_type"]) && ((v["location2_armor_type"] === undefined) || (v["location2_armor_type"] === ""))) {
location2_newattrs["location2_armor_type"] = v.left_leg_armor_type;
}
if((v["left_leg_armor_enc"]) && ((v["location2_armor_enc"] === undefined) || (v["location2_armor_enc"] === ""))) {
location2_newattrs["location2_armor_enc"] = v.left_leg_armor_enc;
}
console.log("Setting hit location2 values copied from left_leg");
setAttrs(location2_newattrs);
});
var location3_newattrs = {};
getAttrs(["abdomen_armor_ap", "abdomen_armor_equipped", "abdomen_other_ap", "abdomen_hp", "abdomen_hp_max_base", "abdomen_hp_max_other", "abdomen_details", "abdomen_armor_type", "abdomen_armor_enc", "location3_armor_ap", "location3_armor_equipped", "location3_other_ap", "location3_hp", "location3_hp_max_base", "location3_hp_max_other", "location3_details", "location3_armor_type", "location3_armor_enc"], function(v) {
if((v["abdomen_armor_ap"]) && ((v["location3_armor_ap"] === undefined) || (v["location3_armor_ap"] === ""))) {
location3_newattrs["location3_armor_ap"] = v.abdomen_armor_ap;
}
if((v["abdomen_armor_equipped"]) && ((v["location3_armor_equipped"] === undefined) || (v["location3_armor_equipped"] === ""))) {
location3_newattrs["location3_armor_equipped"] = v.abdomen_armor_equipped;
}
if((v["abdomen_other_ap"]) && ((v["location3_other_ap"] === undefined) || (v["location3_other_ap"] === ""))) {
location3_newattrs["location3_other_ap"] = v.abdomen_other_ap;
}
if((v["abdomen_hp"]) && ((v["location3_hp"] === undefined) || (v["location3_hp"] === ""))) {
location3_newattrs["location3_hp"] = v.abdomen_hp;
}
if((v["abdomen_hp_max_base"]) && ((v["location3_hp_max_base"] === undefined) || (v["location3_hp_max_base"] === ""))) {
location3_newattrs["location3_hp_max_base"] = v.abdomen_hp_max_base;
}
if((v["abdomen_hp_max_other"]) && ((v["location3_hp_max_other"] === undefined) || (v["location3_hp_max_other"] === ""))) {
location3_newattrs["location3_hp_max_other"] = v.abdomen_hp_max_other;
}
if((v["abdomen_details"]) && ((v["location3_details"] === undefined) || (v["location3_details"] === ""))) {
location3_newattrs["location3_details"] = v.abdomen_details;
}
if((v["abdomen_armor_type"]) && ((v["location3_armor_type"] === undefined) || (v["location3_armor_type"] === ""))) {
location3_newattrs["location3_armor_type"] = v.abdomen_armor_type;
}
if((v["abdomen_armor_enc"]) && ((v["location3_armor_enc"] === undefined) || (v["location3_armor_enc"] === ""))) {
location3_newattrs["location3_armor_enc"] = v.abdomen_armor_enc;
}
console.log("Setting hit location3 values copied from abdomen");
setAttrs(location3_newattrs);
});
var location4_newattrs = {};
getAttrs(["chest_armor_ap", "chest_armor_equipped", "chest_other_ap", "chest_hp", "chest_hp_max_base", "chest_hp_max_other", "chest_details", "chest_armor_type", "chest_armor_enc", "location4_armor_ap", "location4_armor_equipped", "location4_other_ap", "location4_hp", "location4_hp_max_base", "location4_hp_max_other", "location4_details", "location4_armor_type", "location4_armor_enc"], function(v) {
if((v["chest_armor_ap"]) && ((v["location4_armor_ap"] === undefined) || (v["location4_armor_ap"] === ""))) {
location4_newattrs["location4_armor_ap"] = v.chest_armor_ap;
}
if((v["chest_armor_equipped"]) && ((v["location4_armor_equipped"] === undefined) || (v["location4_armor_equipped"] === ""))) {
location4_newattrs["location4_armor_equipped"] = v.chest_armor_equipped;
}
if((v["chest_other_ap"]) && ((v["location4_other_ap"] === undefined) || (v["location4_other_ap"] === ""))) {
location4_newattrs["location4_other_ap"] = v.chest_other_ap;
}
if((v["chest_hp"]) && ((v["location4_hp"] === undefined) || (v["location4_hp"] === ""))) {
location4_newattrs["location4_hp"] = v.chest_hp;
}
if((v["chest_hp_max_base"]) && ((v["location4_hp_max_base"] === undefined) || (v["location4_hp_max_base"] === ""))) {
location4_newattrs["location4_hp_max_base"] = v.chest_hp_max_base;
}
if((v["chest_hp_max_other"]) && ((v["location4_hp_max_other"] === undefined) || (v["location4_hp_max_other"] === ""))) {
location4_newattrs["location4_hp_max_other"] = v.chest_hp_max_other;
}
if((v["chest_details"]) && ((v["location4_details"] === undefined) || (v["location4_details"] === ""))) {
location4_newattrs["location4_details"] = v.chest_details;
}
if((v["chest_armor_type"]) && ((v["location4_armor_type"] === undefined) || (v["location4_armor_type"] === ""))) {
location4_newattrs["location4_armor_type"] = v.chest_armor_type;
}
if((v["chest_armor_enc"]) && ((v["location4_armor_enc"] === undefined) || (v["location4_armor_enc"] === ""))) {
location4_newattrs["location4_armor_enc"] = v.chest_armor_enc;
}
console.log("Setting hit location4 values copied from chest");
setAttrs(location4_newattrs);
});
var location5_newattrs = {};
getAttrs(["right_arm_armor_ap", "right_arm_armor_equipped", "right_arm_other_ap", "right_arm_hp", "right_arm_hp_max_base", "right_arm_hp_max_other", "right_arm_details", "right_arm_armor_type", "right_arm_armor_enc", "location5_armor_ap", "location5_armor_equipped", "location5_other_ap", "location5_hp", "location5_hp_max_base", "location5_hp_max_other", "location5_details", "location5_armor_type", "location5_armor_enc"], function(v) {
if((v["right_arm_armor_ap"]) && ((v["location5_armor_ap"] === undefined) || (v["location5_armor_ap"] === ""))) {
location5_newattrs["location5_armor_ap"] = v.right_arm_armor_ap;
}
if((v["right_arm_armor_equipped"]) && ((v["location5_armor_equipped"] === undefined) || (v["location5_armor_equipped"] === ""))) {
location5_newattrs["location5_armor_equipped"] = v.right_arm_armor_equipped;
}
if((v["right_arm_other_ap"]) && ((v["location5_other_ap"] === undefined) || (v["location5_other_ap"] === ""))) {
location5_newattrs["location5_other_ap"] = v.right_arm_other_ap;
}
if((v["right_arm_hp"]) && ((v["location5_hp"] === undefined) || (v["location5_hp"] === ""))) {
location5_newattrs["location5_hp"] = v.right_arm_hp;
}
if((v["right_arm_hp_max_base"]) && ((v["location5_hp_max_base"] === undefined) || (v["location5_hp_max_base"] === ""))) {
location5_newattrs["location5_hp_max_base"] = v.right_arm_hp_max_base;
}
if((v["right_arm_hp_max_other"]) && ((v["location5_hp_max_other"] === undefined) || (v["location5_hp_max_other"] === ""))) {
location5_newattrs["location5_hp_max_other"] = v.right_arm_hp_max_other;
}
if((v["right_arm_details"]) && ((v["location5_details"] === undefined) || (v["location5_details"] === ""))) {
location5_newattrs["location5_details"] = v.right_arm_details;
}
if((v["right_arm_armor_type"]) && ((v["location5_armor_type"] === undefined) || (v["location5_armor_type"] === ""))) {
location5_newattrs["location5_armor_type"] = v.right_arm_armor_type;
}
if((v["right_arm_armor_enc"]) && ((v["location5_armor_enc"] === undefined) || (v["location5_armor_enc"] === ""))) {
location5_newattrs["location5_armor_enc"] = v.right_arm_armor_enc;
}
console.log("Setting hit location5 values copied from right_arm");
setAttrs(location5_newattrs);
});
var location6_newattrs = {};
getAttrs(["left_arm_armor_ap", "left_arm_armor_equipped", "left_arm_other_ap", "left_arm_hp", "left_arm_hp_max_base", "left_arm_hp_max_other", "left_arm_details", "left_arm_armor_type", "left_arm_armor_enc", "location6_armor_ap", "location6_armor_equipped", "location6_other_ap", "location6_hp", "location6_hp_max_base", "location6_hp_max_other", "location6_details", "location6_armor_type", "location6_armor_enc"], function(v) {
if((v["left_arm_armor_ap"]) && ((v["location6_armor_ap"] === undefined) || (v["location6_armor_ap"] === ""))) {
location6_newattrs["location6_armor_ap"] = v.left_arm_armor_ap;
}
if((v["left_arm_armor_equipped"]) && ((v["location6_armor_equipped"] === undefined) || (v["location6_armor_equipped"] === ""))) {
location6_newattrs["location6_armor_equipped"] = v.left_arm_armor_equipped;
}
if((v["left_arm_other_ap"]) && ((v["location6_other_ap"] === undefined) || (v["location6_other_ap"] === ""))) {
location6_newattrs["location6_other_ap"] = v.left_arm_other_ap;
}
if((v["left_arm_hp"]) && ((v["location6_hp"] === undefined) || (v["location6_hp"] === ""))) {
location6_newattrs["location6_hp"] = v.left_arm_hp;
}
if((v["left_arm_hp_max_base"]) && ((v["location6_hp_max_base"] === undefined) || (v["location6_hp_max_base"] === ""))) {
location6_newattrs["location6_hp_max_base"] = v.left_arm_hp_max_base;
}
if((v["left_arm_hp_max_other"]) && ((v["location6_hp_max_other"] === undefined) || (v["location6_hp_max_other"] === ""))) {
location6_newattrs["location6_hp_max_other"] = v.left_arm_hp_max_other;
}
if((v["left_arm_details"]) && ((v["location6_details"] === undefined) || (v["location6_details"] === ""))) {
location6_newattrs["location6_details"] = v.left_arm_details;
}
if((v["left_arm_armor_type"]) && ((v["location6_armor_type"] === undefined) || (v["location6_armor_type"] === ""))) {
location6_newattrs["location6_armor_type"] = v.left_arm_armor_type;
}
if((v["left_arm_armor_enc"]) && ((v["location6_armor_enc"] === undefined) || (v["location6_armor_enc"] === ""))) {
location6_newattrs["location6_armor_enc"] = v.left_arm_armor_enc;
}
console.log("Setting hit location6 values copied from left_arm");
setAttrs(location6_newattrs);
});
var location7_newattrs = {};
getAttrs(["head_armor_ap", "head_armor_equipped", "head_other_ap", "head_hp", "head_hp_max_base", "head_hp_max_other", "head_details", "head_armor_type", "head_armor_enc", "location7_armor_ap", "location7_armor_equipped", "location7_other_ap", "location7_hp", "location7_hp_max_base", "location7_hp_max_other", "location7_details", "location7_armor_type", "location7_armor_enc"], function(v) {
if((v["head_armor_ap"]) && ((v["location7_armor_ap"] === undefined) || (v["location7_armor_ap"] === ""))) {
location7_newattrs["location7_armor_ap"] = v.head_armor_ap;
}
if((v["head_armor_equipped"]) && ((v["location7_armor_equipped"] === undefined) || (v["location7_armor_equipped"] === ""))) {
location7_newattrs["location7_armor_equipped"] = v.head_armor_equipped;
}
if((v["head_other_ap"]) && ((v["location7_other_ap"] === undefined) || (v["location7_other_ap"] === ""))) {
location7_newattrs["location7_other_ap"] = v.head_other_ap;
}
if((v["head_hp"]) && ((v["location7_hp"] === undefined) || (v["location7_hp"] === ""))) {
location7_newattrs["location7_hp"] = v.head_hp;
}
if((v["head_hp_max_base"]) && ((v["location7_hp_max_base"] === undefined) || (v["location7_hp_max_base"] === ""))) {
location7_newattrs["location7_hp_max_base"] = v.head_hp_max_base;
}
if((v["head_hp_max_other"]) && ((v["location7_hp_max_other"] === undefined) || (v["location7_hp_max_other"] === ""))) {
location7_newattrs["location7_hp_max_other"] = v.head_hp_max_other;
}
if((v["head_details"]) && ((v["location7_details"] === undefined) || (v["location7_details"] === ""))) {
location7_newattrs["location7_details"] = v.head_details;
}
if((v["head_armor_type"]) && ((v["location7_armor_type"] === undefined) || (v["location7_armor_type"] === ""))) {
location7_newattrs["location7_armor_type"] = v.head_armor_type;
}
if((v["head_armor_enc"]) && ((v["location7_armor_enc"] === undefined) || (v["location7_armor_enc"] === ""))) {
location7_newattrs["location7_armor_enc"] = v.head_armor_enc;
}
console.log("Setting hit location7 values copied from head");
setAttrs(location7_newattrs);
});
}
function upgrade_1_5_2_to_1_6_0() {
console.log("convert traits into repeating fieldset");
getAttrs(["traits", "npc_traits"], function(v) {
var traitid = generateRowID();
var npctraitattrs = {};
var traitattrs = {};
npctraitattrs["repeating_npctrait_" + traitid + "_trait"] = v["npc_traits"];
setAttrs(npctraitattrs);
traitattrs["repeating_trait_" + traitid + "_trait"] = v["traits"];
setAttrs(traitattrs);
});
console.log("merge weapon effects and traits");
getSectionIDs("shield", function(idarray) {
for(var i=0; i < idarray.length; i++) {
var id = idarray[i];
getAttrs(["repeating_shield_" + id + "_effects", "repeating_shield_" + id + "_traits"], function(v) {
var effects = v["repeating_shield_" + id + "_effects"];
var traits = v["repeating_shield_" + id + "_traits"];
shieldattrs = {};
if (effects == "") {
shieldattrs["repeating_shield_" + id + "_notes"] = traits;
} else if (traits == "") {
shieldattrs["repeating_shield_" + id + "_notes"] = effects;
} else {
shieldattrs["repeating_shield_" + id + "_notes"] = effects + "/" + traits;
}
setAttrs(shieldattrs);
});
}
});
getSectionIDs("meleeweapon", function(idarray) {
for(var i=0; i < idarray.length; i++) {
var id = idarray[i];
getAttrs(["repeating_meleeweapon_" + id + "_effects", "repeating_meleeweapon_" + id + "_traits"], function(v) {
var effects = v["repeating_meleeweapon_" + id + "_effects"];
var traits = v["repeating_meleeweapon_" + id + "_traits"];
meleeweaponattrs = {};
if (effects == "") {
meleeweaponattrs["repeating_meleeweapon_" + id + "_notes"] = traits;
} else if (traits == "") {
meleeweaponattrs["repeating_meleeweapon_" + id + "_notes"] = effects;
} else {
meleeweaponattrs["repeating_meleeweapon_" + id + "_notes"] = effects + "/" + traits;
}
setAttrs(meleeweaponattrs);
});
}
});
getSectionIDs("missileweapon", function(idarray) {
for(var i=0; i < idarray.length; i++) {
var id = idarray[i];
getAttrs(["repeating_missileweapon_" + id + "_effects", "repeating_missileweapon_" + id + "_traits"], function(v) {
var effects = v["repeating_missileweapon_" + id + "_effects"];
var traits = v["repeating_missileweapon_" + id + "_traits"];
missileweaponattrs = {};
if (effects == "") {
missileweaponattrs["repeating_missileweapon_" + id + "_notes"] = traits;
} else if (traits == "") {
missileweaponattrs["repeating_missileweapon_" + id + "_notes"] = effects;
} else {
missileweaponattrs["repeating_missileweapon_" + id + "_notes"] = effects + "/" + traits;
}
setAttrs(missileweaponattrs);
});
}
});
getSectionIDs("firearm", function(idarray) {
for(var i=0; i < idarray.length; i++) {
var id = idarray[i];
getAttrs(["repeating_firearm_" + id + "_traits"], function(v) {
var traits = v["repeating_firearm_" + id + "_traits"];
firearmattrs = {};
firearmattrs["repeating_firearm_" + id + "_notes"] = traits;
setAttrs(firearmattrs);
});
}
});
}
function upgrade_1_7_0_to_1_8_0() {
console.log("copy gear_enc to loadout_enc");
var newattrs = {};
getAttrs(["gear_enc", "la_psionics_enabled_option", "display_la_psionics"], function(v) {
if(v["gear_enc"]) {
newattrs["loadout_enc"] = v.gear_enc;
}
console.log("Setting loadout_enc value copied from gear_enc");
if(v["la_psionics_enabled_option"]) {
newattrs["mythras_psionics_enabled_option"] = v.la_psionics_enabled_option;
}
console.log("Setting mythras_psionics_enabled_option value copied from la_psionics_enabled_option");
if(v["display_la_psionics"]) {
newattrs["display_mythras_psionics"] = v.display_la_psionics;
}
console.log("Setting display_mythras_psionics value copied from display_la_psionics");
setAttrs(newattrs);
});
}
var versioning = function() {
getAttrs(["version"], function(v) {
if(!v["version"] || v["version"] === "") {
console.log("setting initial version at 1.0");
setAttrs({version: "1.0"});
versioning();
}
else if(v["version"] === "1.0") {
console.log("upgrading to v1.1");
upgrade_1_0_to_1_1();
setAttrs({version: "1.1"});
versioning();
}
else if(v["version"] === "1.1") {
console.log("upgrading to v1.2.0");
upgrade_1_1_to_1_2_0();
setAttrs({version: "1.2.0"});
versioning();
}
else if(v["version"] === "1.2.0") {
console.log("upgrading to v1.3.2");
upgrade_1_2_0_to_1_3_0();
setAttrs({version: "1.3.2"});
versioning();
}
else if(v["version"] === "1.3.0") {
console.log("upgrading to v1.3.1");
// upgrade_1_2_0_to_1_3_0();
setAttrs({version: "1.3.1"});
versioning();
}
else if(v["version"] === "1.3.1") {
console.log("upgrading to v1.3.2");
upgrade_1_2_0_to_1_3_0();
setAttrs({version: "1.3.2"});
versioning();
}
else if(v["version"] === "1.3.2") {
console.log("upgrading to v1.3.3");
setAttrs({version: "1.3.3"});
versioning();
}
else if(v["version"] === "1.3.3") {
console.log("upgrading to v1.4.0");
setAttrs({version: "1.4.0"});
versioning();
}
else if(v["version"] === "1.4.0") {
console.log("upgrading to v1.4.1");
setAttrs({version: "1.4.1"});
versioning();
}
else if(v["version"] === "1.4.1") {
console.log("upgrading to v1.5.0");
setAttrs({version: "1.5.0"});
versioning();
}
else if(v["version"] === "1.5.0") {
console.log("upgrading to v1.5.1");
setAttrs({version: "1.5.1"});
versioning();
}
else if(v["version"] === "1.5.1") {
console.log("upgrading to v1.5.2");
setAttrs({version: "1.5.2"});
versioning();
}
else if(v["version"] === "1.5.2") {
console.log("upgrading to v1.6.0");
upgrade_1_5_2_to_1_6_0();
setAttrs({version: "1.6.0"});
versioning();
}
else if(v["version"] === "1.6.0") {
console.log("upgrading to v1.7.0");
setAttrs({version: "1.7.0"});
versioning();
}
else if(v["version"] === "1.7.0") {
console.log("upgrading to v1.8.0");
upgrade_1_7_0_to_1_8_0();
setAttrs({version: "1.8.0"});
versioning();
}
else {
console.log("Sheet fully updated");
}
});
}
var campaign_options = function() {
getAttrs(["setting_option", "luck_points_rank_option", "vehicle_type_option", "extended_conflict_enabled_option", "simplified_combat_enabled_option", "tenacity_enabled_option", "spirit_tenacity_option", "luther_arkwright_style_option", "m_space_style_option", "boating_standard_option", "status_standard_option", "superstition_standard_option", "dependencies_enabled_option", "firearms_enabled_option", "affiliations_enabled_option", "ms_psionics_enabled_option", "roman_magic_enabled_option", "arcane_magic_enabled_option", "divine_magic_enabled_option", "folk_magic_enabled_option", "animism_enabled_option", "mysticism_enabled_option", "mythras_psionics_enabled_option", "sorcery_enabled_option", "theism_enabled_option", "max_devotional_pool_based_on_option"], function(v) {
var newoptions = {};
// Default Setting Configs
var setting_configs = {
sheet_style: "default",
extended_conflict_enabled: "0",
simplified_combat_enabled: "0",
luck_points_rank: "0",
tenacity_enabled: "0",
boating_standard: "1",
status_standard: "0",
superstition_standard: "0",
dependencies_enabled: "0",
firearms_enabled: "0",
ms_psionics_enabled: "0",
roman_magic_enabled: "0",
arcane_magic_enabled: "0",
divine_magic_enabled: "0",
folk_magic_enabled: "1",
animism_enabled: "1",
spirit_tenacity: "0",
mysticism_enabled: "1",
mythras_psionics_enabled: "0",
sorcery_enabled: "1",
theism_enabled: "1",
affiliations_enabled: "0",
vehicle_type: "ships",
max_devotional_pool_based_on: "@{rank_devotion_pool_limit}",
};
// Setting Overrides
if(v["setting_option"] === "luther_arkwright") {
setting_configs["sheet_style"] = "luther_arkwright";
setting_configs["tenacity_enabled"] = "1";
setting_configs["boating_standard"] = "0";
setting_configs["dependencies_enabled"] = "1";
setting_configs["firearms_enabled"] = "1";
setting_configs["folk_magic_enabled"] = "0";
setting_configs["animism_enabled"] = "0";
setting_configs["sorcery_enabled"] = "0";
setting_configs["theism_enabled"] = "0";
setting_configs["mythras_psionics_enabled"] = "1";
setting_configs["vehicle_type"] = "mythras";
} else if(v["setting_option"] === "classic_fantasy") {
setting_configs["sheet_style"] = "classic_fantasy";
setting_configs["luck_points_rank"] = "1";
setting_configs["arcane_magic_enabled"] = "1";
setting_configs["divine_magic_enabled"] = "1";
setting_configs["folk_magic_enabled"] = "0";
setting_configs["animism_enabled"] = "0";
setting_configs["sorcery_enabled"] = "0";
setting_configs["theism_enabled"] = "0";
} else if(v["setting_option"] === "m-space") {
setting_configs["sheet_style"] = "m-space";
setting_configs["extended_conflict_enabled"] = "1",
setting_configs["firearms_enabled"] = "1";
setting_configs["ms_psionics_enabled"] = "1";
setting_configs["folk_magic_enabled"] = "0";
setting_configs["animism_enabled"] = "0";
setting_configs["mysticism_enabled"] = "0";
setting_configs["sorcery_enabled"] = "0";
setting_configs["theism_enabled"] = "0";
setting_configs["vehicle_type"] = "mspace";
} else if(v["setting_option"] === "monster_island") {
setting_configs["status_standard"] = "1";
setting_configs["folk_magic_enabled"] = "0";
setting_configs["mysticism_enabled"] = "0";
} else if(v["setting_option"] === "mythic_britain") {
setting_configs["superstition_standard"] = "1";
setting_configs["folk_magic_enabled"] = "0";
setting_configs["mysticism_enabled"] = "0";
setting_configs["sorcery_enabled"] = "0";
} else if(v["setting_option"] === "thennla") {
setting_configs["sheet_style"] = "thennla";
} else if(v["setting_option"] === "mythic_constantinople") {
setting_configs["affiliations_enabled"] = "1";
setting_configs["max_devotional_pool_based_on"] = "@{pow}";
} else if(v["setting_option"] === "mythic_rome") {
setting_configs["status_standard"] = "1";
setting_configs["roman_magic_enabled"] = "1";
setting_configs["folk_magic_enabled"] = "0";
setting_configs["animism_enabled"] = "0";
setting_configs["mysticism_enabled"] = "0";
setting_configs["sorcery_enabled"] = "0";
setting_configs["theism_enabled"] = "0";
} else if(v["setting_option"] === "after_the_vampire_wars") {
setting_configs["tenacity_enabled"] = "1";
setting_configs["spirit_tenacity"] = "1";
setting_configs["theism_enabled"] = "0";
setting_configs["mythras_psionics_enabled"] = "1";
setting_configs["vehicle_type"] = "mythras";
setting_configs["firearms_enabled"] = "1";
} else {}
// Sheet Style
newoptions["sheet_style"] = setting_configs["sheet_style"];
// Extended Conflict Resolution Enabled
if(v["extended_conflict_enabled_option"] === "default") {
newoptions["extended_conflict_enabled"] = setting_configs["extended_conflict_enabled"];
} else {
newoptions["extended_conflict_enabled"] = v["extended_conflict_enabled_option"];
}
// Vehicle Type
if(v["vehicle_type_option"] === "default") {
newoptions["vehicle_type"] = setting_configs["vehicle_type"];
} else {
newoptions["vehicle_type"] = v["vehicle_type_option"];
}
// Simplified Combat Enabled
if(v["simplified_combat_enabled_option"] === "default") {
newoptions["simplified_combat_enabled"] = setting_configs["simplified_combat_enabled"];
} else {
newoptions["simplified_combat_enabled"] = v["simplified_combat_enabled_option"];
}
// Add Rank to Luck
if(v["luck_points_rank_option"] === "default") {
newoptions["luck_points_rank"] = setting_configs["luck_points_rank"];
} else {
newoptions["luck_points_rank"] = v["luck_points_rank_option"];
}
// Tenacity Enabled
if(v["tenacity_enabled_option"] === "default") {
newoptions["tenacity_enabled"] = setting_configs["tenacity_enabled"];
} else {
newoptions["tenacity_enabled"] = v["tenacity_enabled_option"];
}
// Spirits have Tenacity
if(v["spirit_tenacity_option"] === "default") {
newoptions["spirit_tenacity"] = setting_configs["spirit_tenacity"];
} else {
newoptions["spirit_tenacity"] = v["spirit_tenacity_option"];
}
// Boating Standard
if(v["boating_standard_option"] === "default") {
newoptions["boating_standard"] = setting_configs["boating_standard"];
} else {
newoptions["boating_standard"] = v["boating_standard_option"];
}
// Status Standard
if(v["status_standard_option"] === "default") {
newoptions["status_standard"] = setting_configs["status_standard"];
} else {
newoptions["status_standard"] = v["status_standard_option"];
}
// Superstition Standard
if(v["superstition_standard_option"] === "default") {
newoptions["superstition_standard"] = setting_configs["superstition_standard"];
} else {
newoptions["superstition_standard"] = v["superstition_standard_option"];
}
// Dependencie Enabled
if(v["dependencies_enabled_option"] === "default") {
newoptions["dependencies_enabled"] = setting_configs["dependencies_enabled"];
} else {
newoptions["dependencies_enabled"] = v["dependencies_enabled_option"];
}
// Firearms Enabled
if(v["firearms_enabled_option"] === "default") {
newoptions["firearms_enabled"] = setting_configs["firearms_enabled"];
} else {
newoptions["firearms_enabled"] = v["firearms_enabled_option"];
}
// M-Space Psionics Enabled
if(v["ms_psionics_enabled_option"] === "default") {
newoptions["ms_psionics_enabled"] = setting_configs["ms_psionics_enabled"];
} else {
newoptions["ms_psionics_enabled"] = v["ms_psionics_enabled_option"];
}
// Roman Magic Enabled
if(v["roman_magic_enabled_option"] === "default") {
newoptions["roman_magic_enabled"] = setting_configs["roman_magic_enabled"];
} else {
newoptions["roman_magic_enabled"] = v["roman_magic_enabled_option"];
}
// Arcane Magic Enabled
if(v["arcane_magic_enabled_option"] === "default") {
newoptions["arcane_magic_enabled"] = setting_configs["arcane_magic_enabled"];
} else {
newoptions["arcane_magic_enabled"] = v["arcane_magic_enabled_option"];
}
// Divine Magic Enabled
if(v["divine_magic_enabled_option"] === "default") {
newoptions["divine_magic_enabled"] = setting_configs["divine_magic_enabled"];
} else {
newoptions["divine_magic_enabled"] = v["divine_magic_enabled_option"];
}
// Folk Magic Enabled
if(v["folk_magic_enabled_option"] === "default") {
newoptions["folk_magic_enabled"] = setting_configs["folk_magic_enabled"];
} else {
newoptions["folk_magic_enabled"] = v["folk_magic_enabled_option"];
}
// Animism Enabled
if(v["animism_enabled_option"] === "default") {
newoptions["animism_enabled"] = setting_configs["animism_enabled"];
} else {
newoptions["animism_enabled"] = v["animism_enabled_option"];
}
// Mysticism Enabled
if(v["mysticism_enabled_option"] === "default") {
newoptions["mysticism_enabled"] = setting_configs["mysticism_enabled"];
} else {
newoptions["mysticism_enabled"] = v["mysticism_enabled_option"];
}
// Mythras Psionics Enabled
if(v["mythras_psionics_enabled_option"] === "default") {
newoptions["mythras_psionics_enabled"] = setting_configs["mythras_psionics_enabled"];
} else {
newoptions["mythras_psionics_enabled"] = v["mythras_psionics_enabled_option"];
}
// Sorcery Enabled
if(v["sorcery_enabled_option"] === "default") {
newoptions["sorcery_enabled"] = setting_configs["sorcery_enabled"];
} else {
newoptions["sorcery_enabled"] = v["sorcery_enabled_option"];
}
// Theism Enabled
if(v["theism_enabled_option"] === "default") {
newoptions["theism_enabled"] = setting_configs["theism_enabled"];
} else {
newoptions["theism_enabled"] = v["theism_enabled_option"];
}
// Max Devotional Pool Based On
if(v["max_devotional_pool_based_on_option"] === "default") {
newoptions["max_devotional_pool_based_on"] = setting_configs["max_devotional_pool_based_on"];
} else {
newoptions["max_devotional_pool_based_on"] = v["max_devotional_pool_based_on_option"];
}
// Affiliations Enabled
if(v["affiliations_enabled_option"] === "default") {
newoptions["affiliations_enabled"] = setting_configs["affiliations_enabled"];
} else {
newoptions["affiliations_enabled"] = v["affiliations_enabled_option"];
}
setAttrs(newoptions);
});
}
function find_damage_mod_step(value) {
if (value >= 171) {
return 23;
} else if (value >= 161) {
return 22;
} else if (value >= 151) {
return 21;
} else if (value >= 141) {
return 20;
} else if (value >= 131) {
return 19;
} else if (value >= 121) {
return 18;
} else if (value >= 111) {
return 17;
} else if (value >= 101) {
return 16;
} else if (value >= 91) {
return 15;
} else if (value >= 81) {
return 14;
} else if (value >= 71) {
return 13;
} else if (value >= 61) {
return 12;
} else if (value >= 51) {
return 11;
} else if (value >= 46) {
return 10;
} else if (value >= 41) {
return 9;
} else if (value >= 36) {
return 8;
} else if (value >= 31) {
return 7;
} else if (value >= 26) {
return 6;
} else if (value >= 21) {
return 5;
} else if (value >= 16) {
return 4;
} else if (value >= 11) {
return 3;
} else if (value >= 6) {
return 2;
} else {
return 1;
}
}
function find_damage_mod(step) {
if (step == 1) {
return "-1d8";
} else if (step == 2) {
return "-1d6";
} else if (step == 3) {
return "-1d4";
} else if (step == 4) {
return "-1d2";
} else if (step == 5) {
return "0";
} else if (step == 6) {
return "1d2";
} else if (step == 7) {
return "1d4";
} else if (step == 8) {
return "1d6";
} else if (step == 9) {
return "1d8";
} else if (step == 10) {
return "1d10";
} else if (step == 11) {
return "1d12";
} else if (step == 12) {
return "2d6";
} else if (step == 13) {
return "1d8+1d6";
} else if (step == 14) {
return "2d8";
} else if (step == 15) {
return "1d10+1d8";
} else if (step == 16) {
return "2d10";
} else if (step == 17) {
return "2d10+1d2";
} else if (step == 18) {
return "2d10+1d4";
} else if (step == 19) {
return "2d10+1d6";
} else if (step == 20) {
return "2d10+1d8";
} else if (step == 21) {
return "3d10";
} else if (step == 22) {
return "2d10+1d12";
} else {
return "2d10+2d6";
}
}
//Simplified combat sets hit locations
on("change:simplified_combat_enabled", function() {
getAttrs(["simplified_combat_enabled"], function(values) {
if (values.simplified_combat_enabled == "1") {
setAttrs({
hit_locations: "simplified",
npc_hit_locations: "simplified"
});
}
});
});
// Mythras Vehicle Systems
on("change:vehicle_size", function() {
getAttrs(["vehicle_size"], function(values) {
setAttrs({
vehicle_system1_hits: values.vehicle_size,
vehicle_system2_hits: values.vehicle_size,
vehicle_system3_hits: values.vehicle_size,
vehicle_system4_hits: values.vehicle_size,
vehicle_system5_hits: values.vehicle_size,
vehicle_system6_hits: values.vehicle_size,
vehicle_system7_hits: values.vehicle_size,
vehicle_system8_hits: values.vehicle_size,
vehicle_system9_hits: values.vehicle_size,
vehicle_system10_hits: values.vehicle_size
});
});
});
on("change:mythras_vehicle_type", function() {
getAttrs(["mythras_vehicle_type"], function(values) {
if (values.mythras_vehicle_type === "spaceship") {
setAttrs({
vehicle_system1_roll: 1, vehicle_system1_name: getTranslationByKey('avionics-u'),
vehicle_system2_roll: 2, vehicle_system2_name: getTranslationByKey('communications-u'),
vehicle_system3_roll: 3, vehicle_system3_name: getTranslationByKey('crew-u') + "/" + getTranslationByKey('passengers-u'),
vehicle_system4_roll: 4, vehicle_system4_name: getTranslationByKey('hold-u') + "/" + getTranslationByKey('hangar-bay-u'),
vehicle_system5_roll: 5, vehicle_system5_name: getTranslationByKey('hyperdrive-u'),
vehicle_system6_roll: 6, vehicle_system6_name: getTranslationByKey('reactor-core-u'),
vehicle_system7_roll: 7, vehicle_system7_name: getTranslationByKey('sensors-u'),
vehicle_system8_roll: 8, vehicle_system8_name: getTranslationByKey('shields-u'),
vehicle_system9_roll: 9, vehicle_system9_name: getTranslationByKey('sublight-drive-u'),
vehicle_system10_roll: 10, vehicle_system10_name: getTranslationByKey('weapons-u')
});
} else {
setAttrs({
vehicle_system1_roll: 1, vehicle_system1_name: getTranslationByKey('cargo-compartment-u'),
vehicle_system2_roll: 2, vehicle_system2_name: getTranslationByKey('communications-u'),
vehicle_system3_roll: 3, vehicle_system3_name: getTranslationByKey('controls-u'),
vehicle_system4_roll: 4, vehicle_system4_name: getTranslationByKey('drive-u') + "/" + getTranslationByKey('repulsorlift-u'),
vehicle_system5_roll: 5, vehicle_system5_name: getTranslationByKey('crew-u') + "/" + getTranslationByKey('passengers-u'),
vehicle_system6_roll: 6, vehicle_system6_name: getTranslationByKey('power-core-u'),
vehicle_system7_roll: 7, vehicle_system7_name: getTranslationByKey('sensors-u'),
vehicle_system8_roll: 8, vehicle_system8_name: getTranslationByKey('weapons-u'),
vehicle_system9_roll: 0, vehicle_system9_name: "",
vehicle_system10_roll: 0, vehicle_system10_name: ""
});
}
});
});
// Hit Locations
on("change:hit_locations", function() {
getAttrs(["hit_locations"], function(values) {
if (values.hit_locations === "humanoid") {
setAttrs({
location1_table_start: 1, location1_table_end: 3, location1_name: getTranslationByKey('right-leg-u'), location1_hp_max_base_mod: 0,
location2_table_start: 4, location2_table_end: 6, location2_name: getTranslationByKey('left-leg-u'), location2_hp_max_base_mod: 0,
location3_table_start: 7, location3_table_end: 9, location3_name: getTranslationByKey('abdomen-u'), location3_hp_max_base_mod: 1,
location4_table_start: 10, location4_table_end: 12, location4_name: getTranslationByKey('chest-u'), location4_hp_max_base_mod: 2,
location5_table_start: 13, location5_table_end: 15, location5_name: getTranslationByKey('right-arm-u'), location5_hp_max_base_mod: -1,
location6_table_start: 16, location6_table_end: 18, location6_name: getTranslationByKey('left-arm-u'), location6_hp_max_base_mod: -1,
location7_table_start: 19, location7_table_end: 20, location7_name: getTranslationByKey('head-u'), location7_hp_max_base_mod: 0,
location8_table_start: 0, location8_table_end: 0, location8_name: "", location8_hp_max_base_mod: 0,
location9_table_start: 0, location9_table_end: 0, location9_name: "", location9_hp_max_base_mod: 0,
location10_table_start: 0, location10_table_end: 0, location10_name: "", location10_hp_max_base_mod: 0,
location11_table_start: 0, location11_table_end: 0, location11_name: "", location11_hp_max_base_mod: 0,
location12_table_start: 0, location12_table_end: 0, location12_name: "", location12_hp_max_base_mod: 0
});
} else if (values.hit_locations === "simplified") {
setAttrs({
location1_table_start: 1, location1_table_end: 20, location1_name: getTranslationByKey('hit-points-u'), location1_hp_max_base_mod: 0,
location2_table_start: 0, location2_table_end: 0, location2_name: " ", location2_hp_max_base_mod: 0,
location3_table_start: 0, location3_table_end: 0, location3_name: " ", location3_hp_max_base_mod: 0,
location4_table_start: 0, location4_table_end: 0, location4_name: " ", location4_hp_max_base_mod: 0,
location5_table_start: 0, location5_table_end: 0, location5_name: " ", location5_hp_max_base_mod: 0,
location6_table_start: 0, location6_table_end: 0, location6_name: " ", location6_hp_max_base_mod: 0,
location7_table_start: 0, location7_table_end: 0, location7_name: " ", location7_hp_max_base_mod: 0,
location8_table_start: 0, location8_table_end: 0, location8_name: " ", location8_hp_max_base_mod: 0,
location9_table_start: 0, location9_table_end: 0, location9_name: " ", location9_hp_max_base_mod: 0,
location10_table_start: 0, location10_table_end: 0, location10_name: " ", location10_hp_max_base_mod: 0,
location11_table_start: 0, location11_table_end: 0, location11_name: " ", location11_hp_max_base_mod: 0,
location12_table_start: 0, location12_table_end: 0, location12_name: " ", location12_hp_max_base_mod: 0
});
}
});
});
// NPC Hit Locations
on("change:npc_hit_locations", function() {
getAttrs(["npc_hit_locations"], function(values) {
if (values.npc_hit_locations === "humanoid") {
setAttrs({
npc_location1_table_start: 1, npc_location1_table_end: 3, npc_location1_name: getTranslationByKey('right-leg-u'),
npc_location2_table_start: 4, npc_location2_table_end: 6, npc_location2_name: getTranslationByKey('left-leg-u'),
npc_location3_table_start: 7, npc_location3_table_end: 9, npc_location3_name: getTranslationByKey('abdomen-u'),
npc_location4_table_start: 10, npc_location4_table_end: 12, npc_location4_name: getTranslationByKey('chest-u'),
npc_location5_table_start: 13, npc_location5_table_end: 15, npc_location5_name: getTranslationByKey('right-arm-u'),
npc_location6_table_start: 16, npc_location6_table_end: 18, npc_location6_name: getTranslationByKey('left-arm-u'),
npc_location7_table_start: 19, npc_location7_table_end: 20, npc_location7_name: getTranslationByKey('head-u'),
npc_location8_table_start: 0, npc_location8_table_end: 0, npc_location8_name: "",
npc_location9_table_start: 0, npc_location9_table_end: 0, npc_location9_name: "",
npc_location10_table_start: 0, npc_location10_table_end: 0, npc_location10_name: "",
npc_location11_table_start: 0, npc_location11_table_end: 0, npc_location11_name: "",
npc_location12_table_start: 0, npc_location12_table_end: 0, npc_location12_name: ""
});
} else if (values.npc_hit_locations === "simplified" || values.npc_hit_locations === "rabble") {
setAttrs({
npc_location1_table_start: 1, npc_location1_table_end: 20, npc_location1_name: getTranslationByKey('hit-points-u'),
npc_location2_table_start: 0, npc_location2_table_end: 0, npc_location2_name: " ",
npc_location3_table_start: 0, npc_location3_table_end: 0, npc_location3_name: " ",
npc_location4_table_start: 0, npc_location4_table_end: 0, npc_location4_name: " ",
npc_location5_table_start: 0, npc_location5_table_end: 0, npc_location5_name: " ",
npc_location6_table_start: 0, npc_location6_table_end: 0, npc_location6_name: " ",
npc_location7_table_start: 0, npc_location7_table_end: 0, npc_location7_name: " ",
npc_location8_table_start: 0, npc_location8_table_end: 0, npc_location8_name: " ",
npc_location9_table_start: 0, npc_location9_table_end: 0, npc_location9_name: " ",
npc_location10_table_start: 0, npc_location10_table_end: 0, npc_location10_name: " ",
npc_location11_table_start: 0, npc_location11_table_end: 0, npc_location11_name: " ",
npc_location12_table_start: 0, npc_location12_table_end: 0, npc_location12_name: " "
});
}
});
});
// Damage Mod
on("change:str_base change:str_training change:str_ageing change:str_other change:str_temp change:siz_base change:siz_other change:siz_temp change:pow_base change:pow_training change:pow_ageing change:pow_other change:pow_temp change:damage_mod_mighty change:damage_mod_other change:damage_mod_temp", function() {
getAttrs(["str_base", "str_training", "str_ageing", "str_other", "str_temp", "siz_base", "siz_other", "siz_temp", "pow_base", "pow_training", "pow_ageing", "pow_other", "pow_temp", "damage_mod_mighty", "damage_mod_other", "damage_mod_temp"], function(values) {
if (values.damage_mod_mighty == 1) {
var damage_mod_table_value = parseInt(values.str_base) + parseInt(values.str_training) + parseInt(values.str_ageing) + parseInt(values.str_other) + parseInt(values.str_temp) + parseInt(values.siz_base) + parseInt(values.siz_other) + parseInt(values.siz_temp) + parseInt(values.pow_base) + parseInt(values.pow_training) + parseInt(values.pow_ageing) + parseInt(values.pow_other) + parseInt(values.pow_temp);
} else {
var damage_mod_table_value = parseInt(values.str_base) + parseInt(values.str_training) + parseInt(values.str_ageing) + parseInt(values.str_other) + parseInt(values.str_temp) + parseInt(values.siz_base) + parseInt(values.siz_other) + parseInt(values.siz_temp);
}
var base_damage_mod_step = find_damage_mod_step(damage_mod_table_value);
var base_damage_mod_value = find_damage_mod(base_damage_mod_step);
var damage_mod_step = parseInt(base_damage_mod_step) + parseInt(values.damage_mod_other) + parseInt(values.damage_mod_temp);
var damage_mod_value = find_damage_mod(damage_mod_step);
setAttrs({
damage_mod_base: base_damage_mod_value,
damage_mod: damage_mod_value
});
});
});
// NPC Damage Mod
on("change:npc_str change:npc_siz", function() {
getAttrs(["npc_str", "npc_siz"], function(values) {
var damage_mod_table_value = parseInt(values.npc_str) + parseInt(values.npc_siz);
var damage_mod_step = find_damage_mod_step(damage_mod_table_value);
var damage_mod_value = find_damage_mod(damage_mod_step);
setAttrs({
npc_damage_mod: damage_mod_value
});
});
});
//M-Space Spaceship Toggle
on("change:msvehicle_maneuvering_tr change:msvehicle_engines_tr change:msvehicle_type change:msvehicle_tractor_beam change:msvehicle_storage change:msvehicle_sickbay change:msvehicle_sensors change:msvehicle_self_repair change:msvehicle_robot_arm change:msvehicle_rescue_utilities change:msvehicle_passengers change:msvehicle_open_space change:msvehicle_maneuvering change:msvehicle_lab change:msvehicle_hyperspace change:msvehicle_hanger change:msvehicle_environment change:msvehicle_extra_sensors change:msvehicle_escape_pod change:msvehicle_engines change:msvehicle_crew change:msvehicle_cockpit change:msvehicle_cargo change:msvehicle_airlock change:msvehicle_weapons", function() {
getAttrs(["msvehicle_engines_tr", "msvehicle_maneuvering_tr", "msvehicle_type", "msvehicle_tractor_beam", "msvehicle_storage", "msvehicle_sickbay", "msvehicle_sensors", "msvehicle_self_repair", "msvehicle_robot_arm", "msvehicle_rescue_utilities", "msvehicle_passengers", "msvehicle_open_space", "msvehicle_maneuvering", "msvehicle_lab", "msvehicle_hyperspace", "msvehicle_hanger", "msvehicle_environment", "msvehicle_extra_sensors", "msvehicle_escape_pod", "msvehicle_engines", "msvehicle_crew", "msvehicle_cockpit", "msvehicle_cargo", "msvehicle_airlock", "msvehicle_weapons"], function(values) {
var weapons = parseFloat(values.msvehicle_weapons);
var tractor_beam = parseFloat(values.msvehicle_tractor_beam);
var storage = parseFloat(values.msvehicle_storage);
var sickbay = parseFloat(values.msvehicle_sickbay);
var sensors = parseFloat(values.msvehicle_sensors);
var self_repair = parseFloat(values.msvehicle_self_repair);
var robot_arms = parseFloat(values.msvehicle_robot_arm);
var rescue_utilities = parseFloat(values.msvehicle_rescue_utilities);
var passengers = parseFloat(values.msvehicle_passengers);
var open_space = parseFloat(values.msvehicle_open_space);
var maneuvering = parseFloat(values.msvehicle_maneuvering);
var lab = parseFloat(values.msvehicle_lab);
var hyperspace = parseFloat(values.msvehicle_hyperspace);
var hanger = parseFloat(values.msvehicle_hanger);
var environment = parseFloat(values.msvehicle_environment);
var extra_sensors = parseFloat(values.msvehicle_extra_sensors);
var escape_pod = parseFloat(values.msvehicle_escape_pod);
var engines = parseFloat(values.msvehicle_engines);
var crew = parseFloat(values.msvehicle_crew);
var cockpit = parseFloat(values.msvehicle_cockpit);
var cargo = parseFloat(values.msvehicle_cargo);
var airlock = parseFloat(values.msvehicle_airlock);
var engines_tr = parseInt(values.msvehicle_engines_tr);
var maneuvering_tr = parseInt(values.msvehicle_maneuvering_tr);
var total_modules = weapons + tractor_beam + storage + sickbay + sensors + self_repair + robot_arms + rescue_utilities + passengers + open_space + maneuvering + lab + hyperspace + hanger + environment + extra_sensors + escape_pod + engines + crew + cockpit + cargo + airlock;
var speed_tr = Math.ceil((engines*engines_tr)/total_modules);
var handling_tr = Math.ceil((maneuvering*maneuvering_tr)/total_modules);
var cargo_ts = 0;
var cargo_te = 0;
var cockpit_ts = 0;
var cockpit_te = 0;
var crew_ts = 0;
var crew_te = 0;
var engines_ts = 0;
var engines_te = 0;
var escape_pod_ts = 0;
var escape_pod_te = 0;
var extra_sensors_ts = 0;
var extra_sensors_te = 0;
var hanger_ts = 0;
var hanger_te = 0;
var hyperspace_ts = 0;
var hyperspace_te = 0;
var lab_ts = 0;
var lab_te = 0;
var maneuvering_ts = 0;
var maneuvering_te = 0;
var open_space_ts = 0;
var open_space_te = 0;
var passengers_ts = 0;
var passengers_te = 0;
var robot_arms_ts = 0;
var robot_arms_te = 0;
var self_repair_ts = 0;
var self_repair_te = 0;
var sickbay_ts = 0;
var sickbay_te = 0;
var storage_ts = 0;
var storage_te = 0;
var tractor_beam_ts = 0;
var tractor_beam_te = 0;
var weapons_ts = 0;
var weapons_te = 0;
if (values.msvehicle_type == "spaceship") {
var pct_values = {};
pct_values['weapons'] = (weapons/total_modules)*100;
if (pct_values['weapons'] < 1 && pct_values['weapons'] > 0) {
pct_values['weapons'] = 1;
} else {
pct_values['weapons'] = Math.round(pct_values['weapons']);
}
pct_values['tractor_beam'] = (tractor_beam/total_modules)*100;
if (pct_values['tractor_beam'] < 1 && pct_values['tractor_beam'] > 0) {
pct_values['tractor_beam'] = 1;
} else {
pct_values['tractor_beam'] = Math.round(pct_values['tractor_beam']);
}
pct_values['storage'] = (storage/total_modules)*100;
if (pct_values['storage'] < 1 && pct_values['storage'] > 0) {
pct_values['storage'] = 1;
} else {
pct_values['storage'] = Math.round(pct_values['storage']);
}
pct_values['sickbay'] = (sickbay/total_modules)*100;
if (pct_values['sickbay'] < 1 && pct_values['sickbay'] > 0) {
pct_values['sickbay'] = 1;
} else {
pct_values['sickbay'] = Math.round(pct_values['sickbay']);
}
pct_values['self_repair'] = (self_repair/total_modules)*100;
if (pct_values['self_repair'] < 1 && pct_values['self_repair'] > 0) {
pct_values['self_repair'] = 1;
} else {
pct_values['self_repair'] = Math.round(pct_values['self_repair']);
}
pct_values['robot_arms'] = (robot_arms/total_modules)*100;
if (pct_values['robot_arms'] < 1 && pct_values['robot_arms'] > 0) {
pct_values['robot_arms'] = 1;
} else {
pct_values['robot_arms'] = Math.round(pct_values['robot_arms']);
}
pct_values['passengers'] = (passengers/total_modules)*100;
if (pct_values['passengers'] < 1 && pct_values['passengers'] > 0) {
pct_values['passengers'] = 1;
} else {
pct_values['passengers'] = Math.round(pct_values['passengers']);
}
pct_values['open_space'] = (open_space/total_modules)*100;
if (pct_values['open_space'] < 1 && pct_values['open_space'] > 0) {
pct_values['open_space'] = 1;
} else {
pct_values['open_space'] = Math.round(pct_values['open_space']);
}
pct_values['maneuvering'] = (maneuvering/total_modules)*100;
if (pct_values['maneuvering'] < 1 && pct_values['maneuvering'] > 0) {
pct_values['maneuvering'] = 1;
} else {
pct_values['maneuvering'] = Math.round(pct_values['maneuvering']);
}
pct_values['lab'] = (lab/total_modules)*100;
if (pct_values['lab'] < 1 && pct_values['lab'] > 0) {
pct_values['lab'] = 1;
} else {
pct_values['lab'] = Math.round(pct_values['lab']);
}
pct_values['hyperspace'] = (hyperspace/total_modules)*100;
if (pct_values['hyperspace'] < 1 && pct_values['hyperspace'] > 0) {
pct_values['hyperspace'] = 1;
} else {
pct_values['hyperspace'] = Math.round(pct_values['hyperspace']);
}
pct_values['hanger'] = (hanger/total_modules)*100;
if (pct_values['hanger'] < 1 && pct_values['hanger'] > 0) {
pct_values['hanger'] = 1;
} else {
pct_values['hanger'] = Math.round(pct_values['hanger']);
}
pct_values['extra_sensors'] = (extra_sensors/total_modules)*100;
if (pct_values['extra_sensors'] < 1 && pct_values['extra_sensors'] > 0) {
pct_values['extra_sensors'] = 1;
} else {
pct_values['extra_sensors'] = Math.round(pct_values['extra_sensors']);
}
pct_values['escape_pod'] = (escape_pod/total_modules)*100;
if (pct_values['escape_pod'] < 1 && pct_values['escape_pod'] > 0) {
pct_values['escape_pod'] = 1;
} else {
pct_values['escape_pod'] = Math.round(pct_values['escape_pod']);
}
pct_values['engines'] = (engines/total_modules)*100;
if (pct_values['engines'] < 1 && pct_values['engines'] > 0) {
pct_values['engines'] = 1;
} else {
pct_values['engines'] = Math.round(pct_values['engines']);
}
pct_values['crew'] = (crew/total_modules)*100;
if (pct_values['crew'] < 1 && pct_values['crew'] > 0) {
pct_values['crew'] = 1;
} else {
pct_values['crew'] = Math.round(pct_values['crew']);
}
pct_values['cockpit'] = (cockpit/total_modules)*100;
if (pct_values['cockpit'] < 1 && pct_values['cockpit'] > 0) {
pct_values['cockpit'] = 1;
} else {
pct_values['cockpit'] = Math.round(pct_values['cockpit']);
}
pct_values['cargo'] = (cargo/total_modules)*100;
if (pct_values['cargo'] < 1 && pct_values['cargo'] > 0) {
pct_values['cargo'] = 1;
} else {
pct_values['cargo'] = Math.round(pct_values['cargo']);
}
var total_pct = pct_values['cargo'] + pct_values['cockpit'] + pct_values['crew'] + pct_values['engines'] + pct_values['escape_pod'] + pct_values['extra_sensors'] + pct_values['hanger'] + pct_values['hyperspace'] + pct_values['lab'] + pct_values['maneuvering'] + pct_values['open_space'] + pct_values['passengers'] + pct_values['self_repair'] + pct_values['robot_arms'] + pct_values['sickbay'] + pct_values['storage'] + pct_values['tractor_beam'] + pct_values['weapons'];
var pct_diff = total_pct - 100;
if (pct_diff < 0) {
while (pct_diff != 0) {
for (var key in pct_values) {
if (pct_values[key] != 0) {
pct_values[key] = pct_values[key] + 1;
pct_diff = pct_diff + 1;
}
if (pct_diff === 0) {
break;
}
}
}
}
if (pct_diff > 0) {
while (pct_diff != 0) {
for (var key in pct_values) {
if (pct_values[key] != 0 && pct_values[key] != 1) {
pct_values[key] = pct_values[key] - 1;
pct_diff = pct_diff - 1;
}
if (pct_diff === 0) {
break;
}
}
}
}
var last_value = 0;
if (pct_values['cargo'] != 0) {
cargo_ts = last_value + 1;
cargo_te = last_value + pct_values['cargo'];
last_value = cargo_te;
}
if (pct_values['cockpit'] != 0) {
cockpit_ts = last_value + 1;
cockpit_te = last_value + pct_values['cockpit'];
last_value = cockpit_te;
}
if (pct_values['crew'] != 0) {
crew_ts = last_value + 1;
crew_te = last_value + pct_values['crew'];
last_value = crew_te;
}
if (pct_values['engines'] != 0) {
engines_ts = last_value + 1;
engines_te = last_value + pct_values['engines'];
last_value = engines_te;
}
if (pct_values['escape_pod'] != 0) {
escape_pod_ts = last_value + 1;
escape_pod_te = last_value + pct_values['escape_pod'];
last_value = escape_pod_te;
}
if (pct_values['extra_sensors'] != 0) {
extra_sensors_ts = last_value + 1;
extra_sensors_te = last_value + pct_values['extra_sensors'];
last_value = extra_sensors_te;
}
if (pct_values['hanger'] != 0) {
hanger_ts = last_value + 1;
hanger_te = last_value + pct_values['hanger'];
last_value = hanger_te;
}
if (pct_values['hyperspace'] != 0) {
hyperspace_ts = last_value + 1;
hyperspace_te = last_value + pct_values['hyperspace'];
last_value = hyperspace_te;
}
if (pct_values['lab'] != 0) {
lab_ts = last_value + 1;
lab_te = last_value + pct_values['lab'];
last_value = lab_te;
}
if (pct_values['maneuvering'] != 0) {
maneuvering_ts = last_value + 1;
maneuvering_te = last_value + pct_values['maneuvering'];
last_value = maneuvering_te;
}
if (pct_values['open_space'] != 0) {
open_space_ts = last_value + 1;
open_space_te = last_value + pct_values['open_space'];
last_value = open_space_te;
}
if (pct_values['passengers'] != 0) {
passengers_ts = last_value + 1;
passengers_te = last_value + pct_values['passengers'];
last_value = passengers_te;
}
if (pct_values['robot_arms'] != 0) {
robot_arms_ts = last_value + 1;
robot_arms_te = last_value + pct_values['robot_arms'];
last_value = robot_arms_te;
}
if (pct_values['self_repair'] != 0) {
self_repair_ts = last_value + 1;
self_repair_te = last_value + pct_values['self_repair'];
last_value = self_repair_te;
}
if (pct_values['sickbay'] != 0) {
sickbay_ts = last_value + 1;
sickbay_te = last_value + pct_values['sickbay'];
last_value = sickbay_te;
}
if (pct_values['storage'] != 0) {
storage_ts = last_value + 1;
storage_te = last_value + pct_values['storage'];
last_value = storage_te;
}
if (pct_values['tractor_beam'] != 0) {
tractor_beam_ts = last_value + 1;
tractor_beam_te = last_value + pct_values['tractor_beam'];
last_value = tractor_beam_te;
}
if (pct_values["weapons"] != 0) {
weapons_ts = last_value + 1;
weapons_te = last_value + pct_values["weapons"];
last_value = weapons_te;
}
}
var sails = 0;
var lift_gas = 0;
var visual_size = 0;
var sails_toggle = 0;
var gas_bag_toggle = 0;
if (values.msvehicle_type == "spaceship") {
var msvehicle_spaceship_toggle= 1;
var speed = speed_tr;
var handling = handling_tr;
var size = total_modules;
} else if (values.msvehicle_type == "regular") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size = (total_modules + Math.ceil(total_modules * .1)) * 10;
} else if (values.msvehicle_type == "terrain") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size_mod = Math.ceil(total_modules * .2);
if (size_mod < 2) {
var size = (total_modules + 2) * 10;
} else {
var size = (total_modules + size_mod) * 10;
}
} else if (values.msvehicle_type == "walker") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size = total_modules * 2 * 10;
} else if (values.msvehicle_type == "burrower") {
var msvehicle_spaceship_toggle = 0;
var speed = Math.ceil(speed_tr * .1);
var handling = Math.ceil(handling_tr * .1);
var size = total_modules * 3 * 10;
} else if (values.msvehicle_type == "motor") {
var msvehicle_spaceship_toggle = 0;
var speed = Math.ceil(speed_tr * .5);
var handling = Math.ceil(handling_tr * .5);
var size = total_modules * 2 * 10;
} else if (values.msvehicle_type == "sail") {
var msvehicle_spaceship_toggle = 0;
var speed = Math.ceil(speed_tr * .5);
var handling = Math.ceil(handling_tr * .5);
var size = total_modules * 2 * 10;
visual_size = size * 2;
sails_toggle = 1;
} else if (values.msvehicle_type == "sub") {
var msvehicle_spaceship_toggle = 0;
var speed = Math.ceil(speed_tr * .5);
var handling = Math.ceil(handling_tr * .5);
var size = total_modules * 3 * 10;
} else if (values.msvehicle_type == "wings") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size = total_modules * 3 * 10;
} else if (values.msvehicle_type == "anti-grav") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size = (total_modules + Math.ceil(total_modules * .1)) * 10;
} else if (values.msvehicle_type == "rotor_blades") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size = total_modules * 2 * 10;
} else if (values.msvehicle_type == "hover_craft") {
var msvehicle_spaceship_toggle = 0
var speed = speed_tr;
var handling = handling_tr;
var size = total_modules * 2 * 10;
} else if (values.msvehicle_type == "gas_bag") {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
lift_gas = (total_modules / 10) * 1000;
total_modules = total_modules + lift_gas;
var size = total_modules;
gas_bag_toggle = 1;
} else {
var msvehicle_spaceship_toggle = 0;
var speed = speed_tr;
var handling = handling_tr;
var size = total_modules;
}
size_rating = Math.floor(Math.log2(size)) + 1;
setAttrs({
msvehicle_sails_toggle: sails_toggle,
msvehicle_gas_bag_toggle: gas_bag_toggle,
msvehicle_speed: speed,
msvehicle_handling: handling,
msvehicle_total_modules: total_modules,
msvehicle_spaceship_toggle: msvehicle_spaceship_toggle,
msvehicle_size: size,
msvehicle_lift_gas: lift_gas,
msvehicle_visual_size_sails_up: visual_size,
msvehicle_size_rating: size_rating,
msvehicle_weapons_table_start: weapons_ts,
msvehicle_weapons_table_end: weapons_te,
msvehicle_tractor_beam_table_start: tractor_beam_ts,
msvehicle_tractor_beam_table_end: tractor_beam_te,
msvehicle_storage_table_start: storage_ts,
msvehicle_storage_table_end: storage_te,
msvehicle_sickbay_table_start: sickbay_ts,
msvehicle_sickbay_table_end: sickbay_te,
msmsvehicle_self_repair_table_start: self_repair_ts,
msvehicle_self_repair_table_end: self_repair_te,
msvehicle_robot_arm_table_start: robot_arms_ts,
msvehicle_robot_arm_table_end: robot_arms_te,
msvehicle_passengers_table_start: passengers_ts,
msvehicle_passengers_table_end: passengers_te,
msmsvehicle_open_space_table_start: open_space_ts,
msvehicle_open_space_table_end: open_space_te,
msvehicle_maneuvering_table_start: maneuvering_ts,
msmsvehicle_maneuvering_table_end: maneuvering_te,
msvehicle_lab_table_start: lab_ts,
msvehicle_lab_table_end: lab_te,
msvehicle_hyperdrive_table_start: hyperspace_ts,
msvehicle_hyperdrive_table_end: hyperspace_te,
msvehicle_hanger_table_start: hanger_ts,
msvehicle_hanger_table_end: hanger_te,
msvehicle_extra_sensors_table_start: extra_sensors_ts,
msvehicle_extra_sensors_table_end: extra_sensors_te,
msvehicle_escape_pod_table_start: escape_pod_ts,
msvehicle_escape_pod_table_end: escape_pod_te,
msvehicle_engines_table_start: engines_ts,
msmsvehicle_engines_table_end: engines_te,
msvehicle_crew_table_start: crew_ts,
msvehicle_crew_table_end: crew_te,
msvehicle_cargo_table_start: cargo_ts,
msvehicle_cargo_table_end: cargo_te,
msvehicle_cockpit_table_start: cockpit_ts,
msvehicle_cockpit_table_end: cockpit_te
});
});
});
//NPC Fatigue
on("change:npc_fatigue", function() {
getAttrs(["npc_fatigue"], function(values) {
if (values.npc_fatigue == "Fresh") {
setAttrs({
npc_fatigue_skills: '0',
npc_movement_rate_fatigue: '+0',
npc_initiative_bonus_fatigue: 0,
npc_action_points_fatigue: '+0',
});
} else if (values.npc_fatigue == "Winded") {
setAttrs({
npc_fatigue_skills: '1',
npc_movement_rate_fatigue: '+0',
npc_initiative_bonus_fatigue: 0,
npc_action_points_fatigue: '+0',
});
} else if (values.npc_fatigue == "Tired") {
setAttrs({
npc_fatigue_skills: '1',
npc_movement_rate_fatigue: '-1',
npc_initiative_bonus_fatigue: 0,
npc_action_points_fatigue: '+0',
});
} else if (values.npc_fatigue == "Wearied") {
setAttrs({
npc_fatigue_skills: '2',
npc_movement_rate_fatigue: '-2',
npc_initiative_bonus_fatigue: -2,
npc_action_points_fatigue: '+0',
});
} else if (values.npc_fatigue == "Exhausted") {
setAttrs({
npc_fatigue_skills: '2',
npc_movement_rate_fatigue: '*.5',
npc_initiative_bonus_fatigue: -4,
npc_action_points_fatigue: '-1',
});
} else if (values.npc_fatigue == "Debilitated") {
setAttrs({
npc_fatigue_skills: '3',
npc_movement_rate_fatigue: '*.5',
npc_initiative_bonus_fatigue: -6,
npc_action_points_fatigue: '-2',
npc_fatigue_recovery: 18 / healing_rate,
});
} else if (values.npc_fatigue == "Incapacitated") {
setAttrs({
npc_fatigue_skills: '3',
npc_movement_rate_fatigue: '*0',
npc_initiative_bonus_fatigue: -8,
npc_action_points_fatigue: '-3',
npc_fatigue_recovery: 24 / healing_rate,
});
} else if (values.npc_fatigue == "Semi-Conscious") {
setAttrs({
npc_fatigue_skills: '4',
npc_movement_rate_fatigue: '*0',
npc_initiative_bonus_fatigue: -99,
npc_action_points_fatigue: '*0',
});
} else if (values.npc_fatigue == "Comatose") {
setAttrs({
npc_fatigue_skills: '5',
npc_movement_rate_fatigue: '*0',
npc_initiative_bonus_fatigue: -99,
npc_action_points_fatigue: '*0',
npc_fatigue_recovery: 48 / healing_rate,
});
} else if (values.npc_fatigue == "Dead") {
setAttrs({
npc_fatigue_skills: '5',
npc_movement_rate_fatigue: '*0',
npc_initiative_bonus_fatigue: -99,
npc_action_points_fatigue: '*0',
});
} else {
setAttrs({
npc_fatigue_skills: '0',
npc_movement_rate_fatigue: '+0',
npc_initiative_bonus_fatigue: 0,
npc_action_points_fatigue: '+0',
});
}
});
});
//Ship Condition
on("change:ship_condition", function() {
getAttrs(["ship_condition", "ship_seaworthiness"], function(values) {
var ship_range = Math.ceil(values.ship_seaworthiness/10);
if (values.ship_condition == "ship_shape") {
setAttrs({
ship_condition_skills: '1',
ship_speed: '-',
ship_condition_range: 0,
ship_repair_mod: '-',
});
} else if (values.ship_condition == "seaworthy") {
setAttrs({
ship_condition_skills: '1',
ship_speed: '-',
ship_condition_range: parseFloat(ship_range * .25),
ship_repair_mod: 'x1',
});
} else if (values.ship_condition == "battered") {
setAttrs({
ship_condition_skills: '2',
ship_speed: '-25%',
ship_condition_range: parseFloat(ship_range * .5),
ship_repair_mod: 'x2',
});
} else if (values.ship_condition == "swamped") {
setAttrs({
ship_condition_skills: '3',
ship_speed: '-50%',
ship_condition_range: parseFloat(ship_range * .75),
ship_repair_mod: 'x3',
});
} else if (values.ship_condition == "sinking") {
setAttrs({
ship_condition_skills: '4',
ship_speed: '-100%',
ship_condition_range: parseFloat(ship_range),
ship_repair_mod: 'x4',
});
} else {
setAttrs({
ship_condition_skills: '1',
ship_speed: '-',
ship_condition_range: 0,
ship_repair_mod: '-',
});
}
});
});
// Fatigue
on("change:fatigue change:healing_rate_healthy change:healing_rate_other change:healing_rate_temp change:con_base change:con_training change:con_ageing change:con_other change:con_temp ", function() {
getAttrs(["fatigue", "healing_rate_healthy", "healing_rate_other", "healing_rate_temp", "con_base", "con_training", "con_ageing", "con_other", "con_temp"], function(values) {
var con = parseInt(values.con_base) + parseInt(values.con_training) + parseInt(values.con_ageing) + parseInt(values.con_other) + parseInt(values.con_temp);
var std_healing_rate = Math.ceil(con / 6);
var healing_rate = std_healing_rate + (std_healing_rate * parseInt(values.healing_rate_healthy)) + parseInt(values.healing_rate_other) + parseInt(values.healing_rate_temp);
if (values.fatigue == "Fresh") {
setAttrs({
fatigue_skills: '0',
movement_rate_fatigue: '+0',
initiative_bonus_fatigue: 0,
action_points_fatigue: '+0',
fatigue_recovery: 0,
});
} else if (values.fatigue == "Winded") {
setAttrs({
fatigue_skills: '1',
movement_rate_fatigue: '+0',
initiative_bonus_fatigue: 0,
action_points_fatigue: '+0',
fatigue_recovery: .25 / healing_rate,
});
} else if (values.fatigue == "Tired") {
setAttrs({
fatigue_skills: '1',
movement_rate_fatigue: '-1',
initiative_bonus_fatigue: 0,
action_points_fatigue: '+0',
fatigue_recovery: 3 / healing_rate,
});
} else if (values.fatigue == "Wearied") {
setAttrs({
fatigue_skills: '2',
movement_rate_fatigue: '-2',
initiative_bonus_fatigue: -2,
action_points_fatigue: '+0',
fatigue_recovery: 6 / healing_rate,
});
} else if (values.fatigue == "Exhausted") {
setAttrs({
fatigue_skills: '2',
movement_rate_fatigue: '*.5',
initiative_bonus_fatigue: -4,
action_points_fatigue: '-1',
fatigue_recovery: 12 / healing_rate,
});
} else if (values.fatigue == "Debilitated") {
setAttrs({
fatigue_skills: '3',
movement_rate_fatigue: '*.5',
initiative_bonus_fatigue: -6,
action_points_fatigue: '-2',
fatigue_recovery: 18 / healing_rate,
});
} else if (values.fatigue == "Incapacitated") {
setAttrs({
fatigue_skills: '3',
movement_rate_fatigue: '*0',
initiative_bonus_fatigue: -8,
action_points_fatigue: '-3',
fatigue_recovery: 24 / healing_rate,
});
} else if (values.fatigue == "Semi-Conscious") {
setAttrs({
fatigue_skills: '4',
movement_rate_fatigue: '*0',
initiative_bonus_fatigue: -99,
action_points_fatigue: '*0',
fatigue_recovery: 36 / healing_rate,
});
} else if (values.fatigue == "Comatose") {
setAttrs({
fatigue_skills: '5',
movement_rate_fatigue: '*0',
initiative_bonus_fatigue: -99,
action_points_fatigue: '*0',
fatigue_recovery: 48 / healing_rate,
});
} else if (values.fatigue == "Dead") {
setAttrs({
fatigue_skills: '5',
movement_rate_fatigue: '*0',
initiative_bonus_fatigue: -99,
action_points_fatigue: '*0',
fatigue_recovery: "-"
});
} else {
setAttrs({
fatigue_skills: '0',
movement_rate_fatigue: '+0',
initiative_bonus_fatigue: 0,
action_points_fatigue: '+0',
fatigue_recovery: 0,
});
}
});
});
// Encumbrance
on("change:avg_species_siz change:str_base change:str_training change:str_ageing change:str_other change:str_temp change:effective_armor_enc change:shields_enc change:melee_weapons_enc change:missile_weapons_enc change:firearms_enc change:loadout_enc change:pack_enc change:pack_equipped change:currency_enc change:encumbrance_temp", function() {
getAttrs(["avg_species_siz", "str_base", "str_training", "str_ageing", "str_other", "str_temp", "effective_armor_enc", "shields_enc", "melee_weapons_enc", "missile_weapons_enc", "firearms_enc", "loadout_enc", "pack_enc", "pack_equipped", "currency_enc", "encumbrance_temp"], function(v) {
var str = parseInt(v.str_base) + parseInt(v.str_training) + parseInt(v.str_ageing) + parseInt(v.str_other) + parseInt(v.str_temp);
var burdened = str * 2;
var overloaded = str * 3;
var enc_max = str * 4;
var enc = (parseFloat(v.effective_armor_enc) + parseFloat(v.shields_enc) + parseFloat(v.melee_weapons_enc) + parseFloat(v.missile_weapons_enc) + parseFloat(v.firearms_enc) + parseFloat(v.loadout_enc) + (parseFloat(v.pack_enc) * parseFloat(v.pack_equipped)) + parseFloat(v.currency_enc) + parseFloat(v.encumbrance_temp)) * (parseInt(v.avg_species_siz) / 13);
var maxTranslation = getTranslationByKey('max-u');
var impossibleTranslation = getTranslationByKey('impossible-u');
var strenuousTranslation = getTranslationByKey('strenuous-u');
var mediumTranslation = getTranslationByKey('medium-u');
var normalTranslation = getTranslationByKey('normal-u');
var halvedTranslation = getTranslationByKey('halved-u');
if (enc > enc_max) {
setAttrs({
encumbrance_load: maxTranslation,
encumbrance_skills: "3",
encumbrance_move: impossibleTranslation,
burdened_enc: burdened,
overloaded_enc: overloaded,
encumbrance_current_max: enc_max,
movement_rate_enc: "*0",
});
} else if (enc > overloaded) {
setAttrs({
encumbrance_load: strenuousTranslation,
encumbrance_skills: "2",
encumbrance_move: halvedTranslation,
burdened_enc: burdened,
overloaded_enc: overloaded,
encumbrance_current_max: enc_max,
movement_rate_enc: "*.5",
});
} else if (enc > burdened) {
setAttrs({
encumbrance_load: mediumTranslation,
encumbrance_skills: "1",
encumbrance_move: "-2",
burdened_enc: burdened,
overloaded_enc: overloaded,
encumbrance_current_max: enc_max,
movement_rate_enc: "-2",
});
} else {
setAttrs({
encumbrance_load: normalTranslation,
encumbrance_skills: "0",
encumbrance_move: normalTranslation,
burdened_enc: burdened,
overloaded_enc: overloaded,
encumbrance_current_max: enc_max,
movement_rate_enc: "+0",
});
}
});
});
// Armor ENC
on("change:location11_armor_equipped change:location11_armor_enc change:location10_armor_equipped change:location10_armor_enc change:location9_armor_equipped change:location9_armor_enc change:location8_armor_equipped change:location_armor_enc change:location7_armor_equipped change:location7_armor_enc change:location6_armor_equipped change:location6_armor_enc change:location5_armor_equipped change:location5_armor_enc change:location4_armor_equipped change:location4_armor_enc change:location3_armor_equipped change:location3_armor_enc change:location2_armor_equipped change:location2_armor_enc change:location1_armor_equipped change:location1_armor_enc", function() {
getAttrs(["location11_armor_equipped", "location11_armor_enc", "location10_armor_equipped", "location10_armor_enc", "location9_armor_equipped", "location9_armor_enc", "location8_armor_equipped", "location8_armor_enc", "location7_armor_equipped", "location7_armor_enc", "location6_armor_equipped", "location6_armor_enc", "location5_armor_equipped", "location5_armor_enc", "location4_armor_equipped", "location4_armor_enc", "location3_armor_equipped", "location3_armor_enc", "location2_armor_equipped", "location2_armor_enc", "location1_armor_equipped", "location1_armor_enc"], function(v) {
var total_armor_enc = 0;
if (v.location11_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location11_armor_enc);
}
if (v.location10_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location10_armor_enc);
}
if (v.location9_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location9_armor_enc);
}
if (v.location8_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location8_armor_enc);
}
if (v.location7_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location7_armor_enc);
}
if (v.location6_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location6_armor_enc);
}
if (v.location5_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location5_armor_enc);
}
if (v.location4_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location4_armor_enc);
}
if (v.location3_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location3_armor_enc);
}
if (v.location2_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location2_armor_enc);
}
if (v.location1_armor_equipped == '1') {
total_armor_enc = total_armor_enc + parseFloat(v.location1_armor_enc);
}
setAttrs({
armor_enc: total_armor_enc,
effective_armor_enc: total_armor_enc / 2,
armor_penalty: Math.ceil(total_armor_enc / 5)
});
});
});
// Shields ENC
on("change:repeating_shield remove:repeating_shield", function() {
var total_shields_enc = 0;
getSectionIDs("repeating_shield", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_shield_" + currentID + "_enc"], function(v) {
if(v["repeating_shield_" + currentID + "_enc"] && isNaN(parseFloat(v["repeating_shield_" + currentID + "_enc"])) === false) {
total_shields_enc = total_shields_enc + parseFloat(v["repeating_shield_" + currentID + "_enc"]);
}
if(i === idarray.length - 1) {
setAttrs({shields_enc: total_shields_enc});
}
});
});
}
else {
setAttrs({shields_enc: total_shields_enc});
}
});
});
// Melee Weapons ENC
on("change:repeating_meleeweapon remove:repeating_meleeweapon", function() {
var total_melee_weapons_enc = 0;
getSectionIDs("repeating_meleeweapon", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_meleeweapon_" + currentID + "_enc"], function(v) {
if(v["repeating_meleeweapon_" + currentID + "_enc"] && isNaN(parseFloat(v["repeating_meleeweapon_" + currentID + "_enc"])) === false) {
total_melee_weapons_enc = total_melee_weapons_enc + parseFloat(v["repeating_meleeweapon_" + currentID + "_enc"]);
}
if(i === idarray.length - 1) {
setAttrs({melee_weapons_enc: total_melee_weapons_enc});
}
});
});
}
else {
setAttrs({melee_weapons_enc: total_melee_weapons_enc});
}
});
});
// Missile Weapons ENC
on("change:repeating_missileweapon remove:repeating_missileweapon", function() {
var total_missile_weapons_enc = 0;
getSectionIDs("repeating_missileweapon", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_missileweapon_" + currentID + "_enc"], function(v) {
if(v["repeating_missileweapon_" + currentID + "_enc"] && isNaN(parseFloat(v["repeating_missileweapon_" + currentID + "_enc"])) === false) {
total_missile_weapons_enc = total_missile_weapons_enc + parseFloat(v["repeating_missileweapon_" + currentID + "_enc"]);
}
if(i === idarray.length - 1) {
setAttrs({missile_weapons_enc: total_missile_weapons_enc});
}
});
});
}
else {
setAttrs({missile_weapons_enc: total_missile_weapons_enc});
}
});
});
// Firearms ENC
on("change:repeating_firearm remove:repeating_firearm", function() {
var total_firearm_enc = 0;
getSectionIDs("repeating_firearm", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_firearm_" + currentID + "_enc"], function(v) {
if(v["repeating_firearm_" + currentID + "_enc"] && isNaN(parseFloat(v["repeating_firearm_" + currentID + "_enc"])) === false) {
total_firearm_enc = total_firearm_enc + parseFloat(v["repeating_firearm_" + currentID + "_enc"]);
}
if(i === idarray.length - 1) {
setAttrs({firearms_enc: total_firearm_enc});
}
});
});
}
else {
setAttrs({firearms_enc: total_firearm_enc});
}
});
});
// Equipment ENC
on("change:repeating_equipment remove:repeating_equipment", function() {
var total_loadout_enc = 0;
var total_pack_enc = 0;
getSectionIDs("repeating_equipment", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_equipment_" + currentID + "_enc", "repeating_equipment_" + currentID + "_location", "repeating_equipment_" + currentID + "_quantity"], function(v) {
if(v["repeating_equipment_" + currentID + "_enc"] && isNaN(parseFloat(v["repeating_equipment_" + currentID + "_enc"])) === false) {
count = v["repeating_equipment_" + currentID + "_quantity"] && isNaN(parseFloat(v["repeating_equipment_" + currentID + "_quantity"])) === false ? parseFloat(v["repeating_equipment_" + currentID + "_quantity"]) : 1;
if(v["repeating_equipment_" + currentID + "_location"] == "loadout") {
total_loadout_enc = total_loadout_enc + (parseFloat(v["repeating_equipment_" + currentID + "_enc"]) * count);
}
if(v["repeating_equipment_" + currentID + "_location"] == "pack") {
total_pack_enc = total_pack_enc + (parseFloat(v["repeating_equipment_" + currentID + "_enc"]) * count);
}
}
if(i === idarray.length - 1) {
setAttrs({
loadout_enc: total_loadout_enc,
pack_enc: total_pack_enc,
});
}
});
});
}
else {
setAttrs({
loadout_enc: total_loadout_enc,
pack_enc: total_pack_enc,
});
}
});
});
// Currency ENC
on("change:repeating_currency remove:repeating_currency", function() {
var total_currency_enc = 0;
getSectionIDs("repeating_currency", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_currency_" + currentID + "_enc", "repeating_currency_" + currentID + "_quantity"], function(v) {
if(v["repeating_currency_" + currentID + "_enc"] && isNaN(parseFloat(v["repeating_currency_" + currentID + "_enc"])) === false) {
count = v["repeating_currency_" + currentID + "_quantity"] && isNaN(parseFloat(v["repeating_currency_" + currentID + "_quantity"])) === false ? parseFloat(v["repeating_currency_" + currentID + "_quantity"]) : 1;
total_currency_enc = total_currency_enc + (parseFloat(v["repeating_currency_" + currentID + "_enc"]) * count);
}
if(i === idarray.length - 1) {
setAttrs({currency_enc: total_currency_enc});
}
});
});
}
else {
setAttrs({currency_enc: total_currency_enc});
}
});
});
// Tenacity penalty for dependencies
on("change:repeating_dependency remove:repeating_dependency", function() {
var total_dependency_score = 0;
getSectionIDs("repeating_dependency", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_dependency_" + currentID + "_score"], function(v) {
if(v["repeating_dependency_" + currentID + "_score"] && isNaN(parseInt(v["repeating_dependency_" + currentID + "_score"], 10)) === false) {
total_dependency_score = total_dependency_score + parseInt(v["repeating_dependency_" + currentID + "_score"], 10);
}
if(i === idarray.length - 1) {
setAttrs({tenacity_dependencies: Math.floor(total_dependency_score/20)});
}
});
});
}
else {
setAttrs({tenacity_dependencies: total_dependency_score});
}
});
});
// Spirit Damage
on("change:willpower_experience change:willpower_other change:willpower_augment change:binding_learned change:binding_base change:binding_experience change:binding_other change:binding_augment change:pow_base change:pow_training change:pow_ageing change:pow_other change:pow_temp change:cha_base change:cha_training change:cha_ageing change:cha_other change:cha_temp", function() {
getAttrs(["willpower_experience", "willpower_other", "willpower_augment", "binding_learned", "binding_base", "binding_experience", "binding_other", "binding_augment", "pow_base", "pow_training", "pow_ageing", "pow_other", "pow_temp", "cha_base", "cha_training", "cha_ageing", "cha_other", "cha_temp"], function(values) {
var pow = parseInt(values.pow_base) + parseInt(values.pow_training) + parseInt(values.pow_ageing) + parseInt(values.pow_other) + parseInt(values.pow_temp);
var cha = parseInt(values.cha_base) + parseInt(values.cha_training) + parseInt(values.cha_ageing) + parseInt(values.cha_other) + parseInt(values.cha_temp);
var binding = (parseInt(values.binding_learned) * (pow + cha)) + parseInt(values.binding_experience) + parseInt(values.binding_other) + parseInt(values.binding_augment);
var willpower = pow + pow + parseInt(values.willpower_experience) + parseInt(values.willpower_other) + parseInt(values.willpower_augment);
if ((willpower/2) > binding) {
var spirit_damage_table_value = Math.ceil((willpower/2)/20);
} else {
var spirit_damage_table_value = Math.ceil(binding/20);
}
var spirit_damage_result = '0';
if (spirit_damage_table_value == 1) {
spirit_damage_result = '1d2';
} else if (spirit_damage_table_value == 2) {
spirit_damage_result = '1d4';
} else if (spirit_damage_table_value == 3) {
spirit_damage_result = '1d6';
} else if (spirit_damage_table_value == 4) {
spirit_damage_result = '1d8';
} else if (spirit_damage_table_value == 5) {
spirit_damage_result = '1d10';
} else if (spirit_damage_table_value == 6) {
spirit_damage_result = '2d6';
} else if (spirit_damage_table_value == 7) {
spirit_damage_result = '1d8+1d6';
} else if (spirit_damage_table_value == 8) {
spirit_damage_result = '2d8';
} else if (spirit_damage_table_value == 9) {
spirit_damage_result = '1d10+1d8';
} else if (spirit_damage_table_value == 10) {
spirit_damage_result = '2d10';
} else if (spirit_damage_table_value == 11) {
spirit_damage_result = '2d10+1d2';
} else if (spirit_damage_table_value == 12) {
spirit_damage_result = '2d10+1d4';
} else if (spirit_damage_table_value == 13) {
spirit_damage_result = '2d10+1d6';
} else if (spirit_damage_table_value == 14) {
spirit_damage_result = '2d10+1d8';
} else if (spirit_damage_table_value == 15) {
spirit_damage_result = '3d10';
} else {
spirit_damage_result = '0';
}
setAttrs({
spirit_damage: spirit_damage_result,
});
});
});
// Fetish Spirit Damage
on("change:repeating_fetish:fetish_spectral_combat", function() {
getAttrs(["repeating_fetish_fetish_spectral_combat"], function(values) {
var spectral_combat = parseInt(values.repeating_fetish_fetish_spectral_combat);
var spirit_damage_table_value = Math.ceil(spectral_combat/20);
var spirit_damage_result = '0';
if (spirit_damage_table_value == 1) {
spirit_damage_result = '1d2';
} else if (spirit_damage_table_value == 2) {
spirit_damage_result = '1d4';
} else if (spirit_damage_table_value == 3) {
spirit_damage_result = '1d6';
} else if (spirit_damage_table_value == 4) {
spirit_damage_result = '1d8';
} else if (spirit_damage_table_value == 5) {
spirit_damage_result = '1d10';
} else if (spirit_damage_table_value == 6) {
spirit_damage_result = '2d6';
} else if (spirit_damage_table_value == 7) {
spirit_damage_result = '1d8+1d6';
} else if (spirit_damage_table_value == 8) {
spirit_damage_result = '2d8';
} else if (spirit_damage_table_value == 9) {
spirit_damage_result = '1d10+1d8';
} else if (spirit_damage_table_value == 10) {
spirit_damage_result = '2d10';
} else if (spirit_damage_table_value == 11) {
spirit_damage_result = '2d10+1d2';
} else if (spirit_damage_table_value == 12) {
spirit_damage_result = '2d10+1d4';
} else if (spirit_damage_table_value == 13) {
spirit_damage_result = '2d10+1d6';
} else if (spirit_damage_table_value == 14) {
spirit_damage_result = '2d10+1d8';
} else if (spirit_damage_table_value == 15) {
spirit_damage_result = '3d10';
} else {
spirit_damage_result = '0';
}
setAttrs({
repeating_fetish_fetish_spirit_damage: spirit_damage_result,
});
});
});
// Battle Unit Damage
on("change:unit_frontage", function() {
getAttrs(["unit_frontage"], function(values) {
var frontage = parseInt(values.unit_frontage);
var unit_damage_table_value = Math.ceil(frontage/15);
var unit_damage_result = '0';
if (unit_damage_table_value == 1) {
unit_damage_result = '1d2';
} else if (unit_damage_table_value == 2) {
unit_damage_result = '1d4';
} else if (unit_damage_table_value == 3) {
unit_damage_result = '1d6';
} else if (unit_damage_table_value == 4) {
unit_damage_result = '1d8';
} else if (unit_damage_table_value == 5) {
unit_damage_result = '1d10';
} else if (unit_damage_table_value == 6) {
unit_damage_result = '2d6';
} else if (unit_damage_table_value == 7) {
unit_damage_result = '1d8+1d6';
} else if (unit_damage_table_value == 8) {
unit_damage_result = '2d8';
} else if (unit_damage_table_value == 9) {
unit_damage_result = '1d10+1d8';
} else if (unit_damage_table_value == 10) {
unit_damage_result = '2d10';
} else if (unit_damage_table_value == 11) {
unit_damage_result = '2d10+1d2';
} else if (unit_damage_table_value == 12) {
unit_damage_result = '2d10+1d4';
} else if (unit_damage_table_value == 13) {
unit_damage_result = '2d10+1d6';
} else if (unit_damage_table_value == 14) {
unit_damage_result = '2d10+1d8';
} else if (unit_damage_table_value == 15) {
unit_damage_result = '3d10';
} else {
unit_damage_result = '0';
}
setAttrs({
unit_damage: unit_damage_result,
});
});
});
// Arcane Magic Cost Reduction
on("change:arcane_caster_class change:arcane_magic_rank change:int_base change:int_training change:int_ageing change:int_other change:int_temp", function() {
getAttrs(["arcane_caster_class", "arcane_magic_rank", "int_base", "int_training", "int_ageing", "int_other", "int_temp"], function(values) {
var magic_rank = parseInt(values.arcane_magic_rank);
var int = parseInt(values.int_base) + parseInt(values.int_training) + parseInt(values.int_ageing) + parseInt(values.int_other) + parseInt(values.int_temp);
var reductionmod = 0;
var basememorizemax = 0;
var memorizemod = 0;
if (values.arcane_caster_class == "magic-user") {
reductionmod = 2;
memorizemod = 2;
basememorizemax = Math.ceil(int/4);
} else if (values.arcane_caster_class == "bard") {
reductionmod = 1;
memorizemod = 1;
basememorizemax = Math.ceil(int/6);
} else {
console.log("Invalid arcane caster class")
}
var rank1reduction = 0;
var rank2reduction = 0;
var rank3reduction = 0;
var rank4reduction = 0;
var rank5reduction = 0;
var rank1memmax = 0;
var rank2memmax = 0;
var rank3memmax = 0;
var rank4memmax = 0;
var rank5memmax = 0;
if (magic_rank > 5) {
rank5reduction = -((magic_rank - 5) * reductionmod);
rank5memmax = basememorizemax + ((magic_rank - 5) * memorizemod);
} else if (magic_rank == 5) {
rank5memmax = basememorizemax;
}
if (magic_rank > 4) {
rank4reduction = -((magic_rank - 4) * reductionmod);
rank4memmax = basememorizemax + ((magic_rank - 4) * memorizemod);
} else if (magic_rank == 4) {
rank4memmax = basememorizemax;
}
if (magic_rank > 3) {
rank3reduction = -((magic_rank - 3) * reductionmod);
rank3memmax = basememorizemax + ((magic_rank - 3) * memorizemod);
} else if (magic_rank == 3) {
rank3memmax = basememorizemax;
}
if (magic_rank > 2) {
rank2reduction = -((magic_rank - 2) * reductionmod);
rank2memmax = basememorizemax + ((magic_rank - 2) * memorizemod);
} else if (magic_rank == 2) {
rank2memmax = basememorizemax;
}
if (magic_rank > 1) {
rank1reduction = -((magic_rank - 1) * reductionmod);
rank1memmax = basememorizemax + ((magic_rank - 1) * memorizemod);
} else if (magic_rank == 1) {
rank1memmax = basememorizemax;
}
setAttrs({
arcane_rank_1_cost_reduction: rank1reduction,
arcane_rank_2_cost_reduction: rank2reduction,
arcane_rank_3_cost_reduction: rank3reduction,
arcane_rank_4_cost_reduction: rank4reduction,
arcane_rank_5_cost_reduction: rank5reduction,
arcane_rank_1_memorized_max: rank1memmax,
arcane_rank_2_memorized_max: rank2memmax,
arcane_rank_3_memorized_max: rank3memmax,
arcane_rank_4_memorized_max: rank4memmax,
arcane_rank_5_memorized_max: rank5memmax,
});
});
});
// Divine Magic Cost Reduction
on("change:divine_caster_class change:divine_magic_rank change:int_base change:int_training change:int_ageing change:int_other change:int_temp", function() {
getAttrs(["divine_caster_class", "divine_magic_rank", "int_base", "int_training", "int_ageing", "int_other", "int_temp"], function(values) {
var magic_rank = parseInt(values.divine_magic_rank);
var int = parseInt(values.int_base) + parseInt(values.int_training) + parseInt(values.int_ageing) + parseInt(values.int_other) + parseInt(values.int_temp);
var reductionmod = 0;
var basememorizemax = 0;
var memorizemod = 0;
if ( (values.divine_caster_class == "cleric") || (values.divine_caster_class == "druid")) {
reductionmod = 2;
memorizemod = 2;
basememorizemax = Math.ceil(int/4);
} else if (values.divine_caster_class == "bard") {
reductionmod = 1;
memorizemod = 1;
basememorizemax = Math.ceil(int/6);
} else if ((values.divine_caster_class == "paladin") || (values.divine_caster_class == "ranger")) {
reductionmod = 1;
memorizemod = 1;
basememorizemax = Math.ceil(int/6);
magic_rank = magic_rank - 2;
} else {
console.log("Invalid divine caster class")
}
var rank1reduction = 0;
var rank2reduction = 0;
var rank3reduction = 0;
var rank4reduction = 0;
var rank5reduction = 0;
var rank1memmax = 0;
var rank2memmax = 0;
var rank3memmax = 0;
var rank4memmax = 0;
var rank5memmax = 0;
if (magic_rank > 5) {
rank5reduction = -((magic_rank - 5) * reductionmod);
rank5memmax = basememorizemax + ((magic_rank - 5) * memorizemod);
} else if (magic_rank == 5) {
rank5memmax = basememorizemax;
}
if (magic_rank > 4) {
rank4reduction = -((magic_rank - 4) * reductionmod);
rank4memmax = basememorizemax + ((magic_rank - 4) * memorizemod);
} else if (magic_rank == 4) {
rank4memmax = basememorizemax;
}
if (magic_rank > 3) {
rank3reduction = -((magic_rank - 3) * reductionmod);
rank3memmax = basememorizemax + ((magic_rank - 3) * memorizemod);
} else if (magic_rank == 3) {
rank3memmax = basememorizemax;
}
if (magic_rank > 2) {
rank2reduction = -((magic_rank - 2) * reductionmod);
rank2memmax = basememorizemax + ((magic_rank - 2) * memorizemod);
} else if (magic_rank == 2) {
rank2memmax = basememorizemax;
}
if (magic_rank > 1) {
rank1reduction = -((magic_rank - 1) * reductionmod);
rank1memmax = basememorizemax + ((magic_rank - 1) * memorizemod);
} else if (magic_rank == 1) {
rank1memmax = basememorizemax;
}
setAttrs({
divine_rank_1_cost_reduction: rank1reduction,
divine_rank_2_cost_reduction: rank2reduction,
divine_rank_3_cost_reduction: rank3reduction,
divine_rank_4_cost_reduction: rank4reduction,
divine_rank_5_cost_reduction: rank5reduction,
divine_rank_1_memorized_max: rank1memmax,
divine_rank_2_memorized_max: rank2memmax,
divine_rank_3_memorized_max: rank3memmax,
divine_rank_4_memorized_max: rank4memmax,
divine_rank_5_memorized_max: rank5memmax,
});
});
});
// Count Known Cantrips for Arcane Magic
on("change:repeating_arcanemagicrank0spell remove:repeating_arcanemagicrank0spell", function() {
var total_cantrips_known = 0;
getSectionIDs("repeating_arcanemagicrank0spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
total_cantrips_known = total_cantrips_known + 1;
if(i === idarray.length - 1) {
setAttrs({arcane_rank_0_known: total_cantrips_known});
}
});
}
else {
setAttrs({arcane_rank_0_known: total_cantrips_known});
}
});
});
// Count Memorized Rank 1 Arcane Spells
on("change:repeating_arcanemagicrank1spell remove:repeating_arcanemagicrank1spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_arcanemagicrank1spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_arcanemagicrank1spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_arcanemagicrank1spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_arcanemagicrank1spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({arcane_rank_1_memorized: total_memorized});
}
});
});
}
else {
setAttrs({arcane_rank_1_memorized: total_memorized});
}
});
});
// Count Memorized Rank 2 Arcane Spells
on("change:repeating_arcanemagicrank2spell remove:repeating_arcanemagicrank2spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_arcanemagicrank2spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_arcanemagicrank2spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_arcanemagicrank2spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_arcanemagicrank2spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({arcane_rank_2_memorized: total_memorized});
}
});
});
}
else {
setAttrs({arcane_rank_2_memorized: total_memorized});
}
});
});
// Count Memorized Rank 3 Arcane Spells
on("change:repeating_arcanemagicrank3spell remove:repeating_arcanemagicrank3spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_arcanemagicrank3spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_arcanemagicrank3spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_arcanemagicrank3spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_arcanemagicrank3spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({arcane_rank_3_memorized: total_memorized});
}
});
});
}
else {
setAttrs({arcane_rank_3_memorized: total_memorized});
}
});
});
// Count Memorized Rank 4 Arcane Spells
on("change:repeating_arcanemagicrank4spell remove:repeating_arcanemagicrank4spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_arcanemagicrank4spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_arcanemagicrank4spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_arcanemagicrank4spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_arcanemagicrank4spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({arcane_rank_4_memorized: total_memorized});
}
});
});
}
else {
setAttrs({arcane_rank_4_memorized: total_memorized});
}
});
});
// Count Memorized Rank 5 Arcane Spells
on("change:repeating_arcanemagicrank5spell remove:repeating_arcanemagicrank5spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_arcanemagicrank5spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_arcanemagicrank5spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_arcanemagicrank5spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_arcanemagicrank5spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({arcane_rank_5_memorized: total_memorized});
}
});
});
}
else {
setAttrs({arcane_rank_5_memorized: total_memorized});
}
});
});
// Count Memorized Rank 1 Divine Spells
on("change:repeating_divinemagicrank1spell remove:repeating_divinemagicrank1spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_divinemagicrank1spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_divinemagicrank1spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_divinemagicrank1spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_divinemagicrank1spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({divine_rank_1_memorized: total_memorized});
}
});
});
}
else {
setAttrs({divine_rank_1_memorized: total_memorized});
}
});
});
// Count Memorized Rank 2 Divine Spells
on("change:repeating_divinemagicrank2spell remove:repeating_divinemagicrank2spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_divinemagicrank2spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_divinemagicrank2spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_divinemagicrank2spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_divinemagicrank2spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({divine_rank_2_memorized: total_memorized});
}
});
});
}
else {
setAttrs({divine_rank_2_memorized: total_memorized});
}
});
});
// Count Memorized Rank 3 Divine Spells
on("change:repeating_divinemagicrank3spell remove:repeating_divinemagicrank3spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_divinemagicrank3spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_divinemagicrank3spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_divinemagicrank3spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_divinemagicrank3spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({divine_rank_3_memorized: total_memorized});
}
});
});
}
else {
setAttrs({divine_rank_3_memorized: total_memorized});
}
});
});
// Count Memorized Rank 4 Divine Spells
on("change:repeating_divinemagicrank4spell remove:repeating_divinemagicrank4spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_divinemagicrank4spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_divinemagicrank4spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_divinemagicrank4spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_divinemagicrank4spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({divine_rank_4_memorized: total_memorized});
}
});
});
}
else {
setAttrs({divine_rank_4_memorized: total_memorized});
}
});
});
// Count Memorized Rank 5 Divine Spells
on("change:repeating_divinemagicrank5spell remove:repeating_divinemagicrank5spell", function() {
var total_memorized = 0;
getSectionIDs("repeating_divinemagicrank5spell", function(idarray) {
if(idarray.length > 0) {
_.each(idarray, function(currentID, i) {
getAttrs(["repeating_divinemagicrank5spell_" + currentID + "_memorized"], function(v) {
if( ( v["repeating_divinemagicrank5spell_" + currentID + "_memorized"] == 1 ) && isNaN(parseInt(v["repeating_divinemagicrank5spell_" + currentID + "_memorized"])) === false) {
total_memorized = total_memorized + 1;
}
if(i === idarray.length - 1) {
setAttrs({divine_rank_5_memorized: total_memorized});
}
});
});
}
else {
setAttrs({divine_rank_5_memorized: total_memorized});
}
});
});
// Swap chars for spirit attrs
on("change:spirit", function() {
getAttrs(["spirit"], function(v) {
if (v.spirit == 1) {
setAttrs({action_points_chars: "(@{int}+@{pow})", initiative_bonus_chars: "(@{int}+@{cha})"});
} else {
setAttrs({action_points_chars: "(@{int}+@{dex})", initiative_bonus_chars: "(@{int}+@{dex})"});
}
});
});
// JSON Import
on("change:encounter_generator_json", function() {
getAttrs(["encounter_generator_json", "simplified_combat_enabled"], function(values) {
var simplified_combat_enabled = parseInt(values.simplified_combat_enabled);
var jsonData = JSON.parse(values.encounter_generator_json);
var characterData = jsonData[0];
// Import Info
var rank = 0;
setAttrs({character_name: characterData["name"]});
if (typeof characterData["cults"][0] !== 'undefined') {
setAttrs({npc_cult: characterData["cults"][0]});
var cults = "";
for (var i=0; i < characterData["cults"].length; i++) {
cults = cults + " * " + characterData["cults"][i] + "\r\n";
}
setAttrs({cults_notes: cults});
}
if (typeof characterData["cult_rank"] !== 'undefined') {
setAttrs({npc_rank: characterData["cult_rank"]});
if (characterData["cult_rank"].toLowerCase() == "common" || characterData["cult_rank"].toLowerCase() == "lay member" || characterData["cult_rank"].toLowerCase() == "follower") {
rank = 1;
} else if (characterData["cult_rank"].toLowerCase() == "dedicated" || characterData["cult_rank"].toLowerCase().toLowerCase() == "initiate" || characterData["cult_rank"].toLowerCase() == "spirit worshipper") {
rank = 2;
} else if (characterData["cult_rank"].toLowerCase() == "proven" || characterData["cult_rank"].toLowerCase() == "acolyte" || characterData["cult_rank"].toLowerCase() == "shaman") {
rank = 3;
} else if (characterData["cult_rank"].toLowerCase() == "overseer" || characterData["cult_rank"].toLowerCase() == "priest" || characterData["cult_rank"].toLowerCase() == "high shaman") {
rank = 4;
} else if (characterData["cult_rank"].toLowerCase() == "leader" || characterData["cult_rank"].toLowerCase() == "high priest" || characterData["cult_rank"].toLowerCase() == "spirit lord") {
rank = 5;
} else {
rank = 0;
}
setAttrs({rank: rank});
if (rank == 2) {
setAttrs({cult_spirit_limit: "ceil(@{cha}*.5)"});
} else if (rank == 3) {
setAttrs({cult_spirit_limit: "ceil(@{cha}*.75)"});
} else if (rank == 4) {
setAttrs({cult_spirit_limit: "@{cha}"});
} else if (rank == 5) {
setAttrs({cult_spirit_limit: "@{cha}+0"});
} else {
setAttrs({cult_spirit_limit: "ceil(@{cha}*.25)"});
}
}
if (typeof characterData["notes"] !== 'undefined') {
setAttrs({npc_notes: characterData["notes"], notes: characterData["notes"]});
}
// Import Stats
var str = 0;
var dex = 0;
var con = 0;
var siz = 0;
var int = 0;
var pow = 0;
var cha = 0;
for (var i=0; i < characterData["stats"].length; i++) {
var stat = characterData["stats"][i]
var statKey = Object.keys(stat)[0];
var statValue = stat[statKey];
if ( statKey == "STR" ) {
str = statValue;
}
if ( statKey == "DEX" ) {
dex = statValue;
}
if ( statKey == "CON" ) {
con = statValue;
}
if ( statKey == "SIZ" ) {
siz = statValue;
}
if ( statKey == "INT" ) {
int = statValue;
setAttrs({npc_int_type: statKey, int_type: "int-u"});
}
if ( statKey == "INS" ) {
int = statValue;
setAttrs({npc_int_type: statKey, int_type: "ins-u"});
}
if ( statKey == "POW" ) {
pow = statValue;
}
if ( statKey == "CHA" ) {
cha = statValue;
}
}
setAttrs({
npc_str: str,
str_base: str,
npc_dex: dex,
dex_base: dex,
npc_con: con,
con_base: con,
npc_siz: siz,
siz_base: siz,
npc_int: int,
int_base: int,
npc_pow: pow,
pow_base: pow,
npc_cha: cha,
cha_base: cha
})
if (str == 0 && dex == 0 && con == 0 && siz == 0) {
setAttrs({npc_spirit: 1, spirit: 1});
}
// Import Attributes
if (typeof characterData["attributes"]["devotional_pool"] !== 'undefined') {
setAttrs({npc_theism_devotional_pool_max: characterData["attributes"]["devotional_pool"]});
}
if (typeof characterData["attributes"]["movement"] !== 'undefined') {
setAttrs({npc_movement_rate_base: characterData["attributes"]["movement"], movement_rate_species: characterData["attributes"]["movement"]});
}
if (typeof characterData["attributes"]["action_points"] !== 'undefined') {
setAttrs({npc_action_points: characterData["attributes"]["action_points"], action_points: characterData["attributes"]["action_points"]});
}
if (typeof characterData["attributes"]["magic_points"] !== 'undefined') {
setAttrs({npc_magic_points: characterData["attributes"]["magic_points"], magic_points: characterData["attributes"]["magic_points"]});
}
if (typeof characterData["attributes"]["prana_points"] !== 'undefined') {
setAttrs({npc_prana_points: characterData["attributes"]["prana_points"], prana_points: characterData["attributes"]["prana_points"]});
}
if (typeof characterData["attributes"]["power_points"] !== 'undefined') {
setAttrs({npc_power_points: characterData["attributes"]["power_points"], power_points: characterData["attributes"]["power_points"]});
}
if (typeof characterData["attributes"]["tenacity"] !== 'undefined') {
setAttrs({npc_tenacity: characterData["attributes"]["tenacity"], tenacity: characterData["attributes"]["tenacity"]});
}
if (typeof characterData["attributes"]["spirit_damage"] !== 'undefined') {
setAttrs({npc_spirit_damage: characterData["attributes"]["spirit_damage"]});
}
if (typeof characterData["attributes"]["spirit_intensity"] !== 'undefined') {
setAttrs({npc_spirit_intensity: characterData["attributes"]["spirit_intensity"]});
}
if (typeof characterData["attributes"]["strike_rank"] !== 'undefined') {
if (characterData["attributes"]["strike_rank"].includes("-")) {
var strike_rank_other = characterData["attributes"]["strike_rank"].split("-")[1].replace(')','');
setAttrs({initiative_bonus_other: 0 - strike_rank_other});
}
}
if (typeof characterData["attributes"]["initiative"] !== 'undefined') {
if (characterData["attributes"]["initiative"].includes("-")) {
var strike_rank_other = characterData["attributes"]["initiative"].split("-")[1].replace(')','');
setAttrs({initiative_bonus_other: 0 - strike_rank_other});
}
}
if (typeof characterData["attributes"]["initiative_bonus"] !== 'undefined') {
if (characterData["attributes"]["initiative_bonus"].includes("-")) {
var strike_rank_other = characterData["attributes"]["initiative_bonus"].split("-")[1].replace(')','');
setAttrs({initiative_bonus_other: 0 - strike_rank_other});
}
}
// Import Traits
if (typeof characterData["features"] !== 'undefined') {
var traitattrs = {};
var npctraitattrs = {};
for (var i=0; i < characterData["features"].length; i++) {
var traitid = generateRowID();
traitattrs["repeating_npctrait_" + traitid + "_trait"] = characterData["features"][i];
traitattrs["repeating_trait_" + traitid + "_trait"] = characterData["features"][i];
}
setAttrs(npctraitattrs);
setAttrs(traitattrs);
}
// Import Hit Locations
if (simplified_combat_enabled === 1) {
if (typeof characterData["hit_locations"][0]["ap"] !== 'undefined') {
setAttrs({npc_location1_ap: characterData["hit_locations"][0]["ap"], location1_armor_ap: characterData["hit_locations"][0]["ap"]});
}
setAttrs({npc_location1_hp: Math.ceil((con+siz)/2), simplified_hp: Math.ceil((con+siz)/2)});
} else {
setAttrs({npc_hit_locations: "custom"});
var base_hp = Math.ceil((con+siz)/5);
if (typeof characterData["hit_locations"][0] !== 'undefined') {
var table = characterData["hit_locations"][0]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location1_table_start: table[0], location1_table_start: table[0],
npc_location1_table_end: table[1], location1_table_end: table[1],
npc_location1_name: characterData["hit_locations"][0]["name"], location1_name: characterData["hit_locations"][0]["name"],
npc_location1_ap: characterData["hit_locations"][0]["ap"], location1_armor_ap: characterData["hit_locations"][0]["ap"],
npc_location1_hp: characterData["hit_locations"][0]["hp"], location1_hp_max_base_mod: characterData["hit_locations"][0]["hp"] - base_hp, location1_hp: characterData["hit_locations"][0]["hp"]
});
} else {
setAttrs({
npc_location1_table_start: "0", location1_table_start: "0",
npc_location1_table_end: "0", location1_table_end: "0",
npc_location1_name: " ", location1_name: " ",
npc_location1_ap: "0", location1_armor_ap: "0",
npc_location1_hp: "0", location1_hp_max_base_mod: 0 - base_hp, location1_hp: "0",
});
}
if (typeof characterData["hit_locations"][1] !== 'undefined') {
var table = characterData["hit_locations"][1]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location2_table_start: table[0], location2_table_start: table[0],
npc_location2_table_end: table[1], location2_table_end: table[1],
npc_location2_name: characterData["hit_locations"][1]["name"], location2_name: characterData["hit_locations"][1]["name"],
npc_location2_ap: characterData["hit_locations"][1]["ap"], location2_armor_ap: characterData["hit_locations"][1]["ap"],
npc_location2_hp: characterData["hit_locations"][1]["hp"], location2_hp_max_base_mod: characterData["hit_locations"][1]["hp"] - base_hp, location2_hp: characterData["hit_locations"][1]["hp"]
});
} else {
setAttrs({
npc_location2_table_start: "0", location2_table_start: "0",
npc_location2_table_end: "0", location2_table_end: "0",
npc_location2_name: " ", location2_name: " ",
npc_location2_ap: "0", location2_armor_ap: "0",
npc_location2_hp: "0", location2_hp_max_base_mod: 0 - base_hp, location2_hp: "0",
});
}
if (typeof characterData["hit_locations"][2] !== 'undefined') {
var table = characterData["hit_locations"][2]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location3_table_start: table[0], location3_table_start: table[0],
npc_location3_table_end: table[1], location3_table_end: table[1],
npc_location3_name: characterData["hit_locations"][2]["name"], location3_name: characterData["hit_locations"][2]["name"],
npc_location3_ap: characterData["hit_locations"][2]["ap"], location3_armor_ap: characterData["hit_locations"][2]["ap"],
npc_location3_hp: characterData["hit_locations"][2]["hp"], location3_hp_max_base_mod: characterData["hit_locations"][2]["hp"] - base_hp, location3_hp: characterData["hit_locations"][2]["hp"]
});
} else {
setAttrs({
npc_location3_table_start: "0", location3_table_start: "0",
npc_location3_table_end: "0", location3_table_end: "0",
npc_location3_name: " ", location3_name: " ",
npc_location3_ap: "0", location3_armor_ap: "0",
npc_location3_hp: "0", location3_hp_max_base_mod: 0 - base_hp, location3_hp: "0",
});
}
if (typeof characterData["hit_locations"][3] !== 'undefined') {
var table = characterData["hit_locations"][3]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location4_table_start: table[0], location4_table_start: table[0],
npc_location4_table_end: table[1], location4_table_end: table[1],
npc_location4_name: characterData["hit_locations"][3]["name"], location4_name: characterData["hit_locations"][3]["name"],
npc_location4_ap: characterData["hit_locations"][3]["ap"], location4_armor_ap: characterData["hit_locations"][3]["ap"],
npc_location4_hp: characterData["hit_locations"][3]["hp"], location4_hp_max_base_mod: characterData["hit_locations"][3]["hp"] - base_hp, location4_hp: characterData["hit_locations"][3]["hp"]
});
} else {
setAttrs({
npc_location4_table_start: "0", location4_table_start: "0",
npc_location4_table_end: "0", location4_table_end: "0",
npc_location4_name: " ", location4_name: " ",
npc_location4_ap: "0", location4_armor_ap: "0",
npc_location4_hp: "0", location4_hp_max_base_mod: 0 - base_hp, location4_hp: "0",
});
}
if (typeof characterData["hit_locations"][4] !== 'undefined') {
var table = characterData["hit_locations"][4]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location5_table_start: table[0], location5_table_start: table[0],
npc_location5_table_end: table[1], location5_table_end: table[1],
npc_location5_name: characterData["hit_locations"][4]["name"], location5_name: characterData["hit_locations"][4]["name"],
npc_location5_ap: characterData["hit_locations"][4]["ap"], location5_armor_ap: characterData["hit_locations"][4]["ap"],
npc_location5_hp: characterData["hit_locations"][4]["hp"], location5_hp_max_base_mod: characterData["hit_locations"][4]["hp"] - base_hp, location5_hp: characterData["hit_locations"][4]["hp"]
});
} else {
setAttrs({
npc_location5_table_start: "0", location5_table_start: "0",
npc_location5_table_end: "0", location5_table_end: "0",
npc_location5_name: " ", location5_name: " ",
npc_location5_ap: "0", location5_armor_ap: "0",
npc_location5_hp: "0", location5_hp_max_base_mod: 0 - base_hp, location5_hp: "0",
});
}
if (typeof characterData["hit_locations"][5] !== 'undefined') {
var table = characterData["hit_locations"][5]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location6_table_start: table[0], location6_table_start: table[0],
npc_location6_table_end: table[1], location6_table_end: table[1],
npc_location6_name: characterData["hit_locations"][5]["name"], location6_name: characterData["hit_locations"][5]["name"],
npc_location6_ap: characterData["hit_locations"][5]["ap"], location6_armor_ap: characterData["hit_locations"][5]["ap"],
npc_location6_hp: characterData["hit_locations"][5]["hp"], location6_hp_max_base_mod: characterData["hit_locations"][5]["hp"] - base_hp, location6_hp: characterData["hit_locations"][5]["hp"]
});
} else {
setAttrs({
npc_location6_table_start: "0", location6_table_start: "0",
npc_location6_table_end: "0", location6_table_end: "0",
npc_location6_name: " ", location6_name: " ",
npc_location6_ap: "0", location6_armor_ap: "0",
npc_location6_hp: "0", location6_hp_max_base_mod: 0 - base_hp, location6_hp: "0",
});
}
if (typeof characterData["hit_locations"][6] !== 'undefined') {
var table = characterData["hit_locations"][6]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location7_table_start: table[0], location7_table_start: table[0],
npc_location7_table_end: table[1], location7_table_end: table[1],
npc_location7_name: characterData["hit_locations"][6]["name"], location7_name: characterData["hit_locations"][6]["name"],
npc_location7_ap: characterData["hit_locations"][6]["ap"], location7_armor_ap: characterData["hit_locations"][6]["ap"],
npc_location7_hp: characterData["hit_locations"][6]["hp"], location7_hp_max_base_mod: characterData["hit_locations"][6]["hp"] - base_hp, location7_hp: characterData["hit_locations"][6]["hp"]
});
} else {
setAttrs({
npc_location7_table_start: "0", location7_table_start: "0",
npc_location7_table_end: "0", location7_table_end: "0",
npc_location7_name: " ", location7_name: " ",
npc_location7_ap: "0", location7_armor_ap: "0",
npc_location7_hp: "0", location7_hp_max_base_mod: 0 - base_hp, location7_hp: "0",
});
}
if (typeof characterData["hit_locations"][7] !== 'undefined') {
var table = characterData["hit_locations"][7]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location8_table_start: table[0], location8_table_start: table[0],
npc_location8_table_end: table[1], location8_table_end: table[1],
npc_location8_name: characterData["hit_locations"][7]["name"], location8_name: characterData["hit_locations"][7]["name"],
npc_location8_ap: characterData["hit_locations"][7]["ap"], location8_armor_ap: characterData["hit_locations"][7]["ap"],
npc_location8_hp: characterData["hit_locations"][7]["hp"], location8_hp_max_base_mod: characterData["hit_locations"][7]["hp"] - base_hp, location8_hp: characterData["hit_locations"][7]["hp"]
});
} else {
setAttrs({
npc_location8_table_start: "0", location8_table_start: "0",
npc_location8_table_end: "0", location8_table_end: "0",
npc_location8_name: " ", location8_name: " ",
npc_location8_ap: "0", location8_armor_ap: "0",
npc_location8_hp: "0", location8_hp_max_base_mod: 0 - base_hp, location8_hp: "0",
});
}
if (typeof characterData["hit_locations"][8] !== 'undefined') {
var table = characterData["hit_locations"][8]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location9_table_start: table[0], location9_table_start: table[0],
npc_location9_table_end: table[1], location9_table_end: table[1],
npc_location9_name: characterData["hit_locations"][8]["name"], location9_name: characterData["hit_locations"][8]["name"],
npc_location9_ap: characterData["hit_locations"][8]["ap"], location9_armor_ap: characterData["hit_locations"][8]["ap"],
npc_location9_hp: characterData["hit_locations"][8]["hp"], location9_hp_max_base_mod: characterData["hit_locations"][8]["hp"] - base_hp, location9_hp: characterData["hit_locations"][8]["hp"]
});
} else {
setAttrs({
npc_location9_table_start: "0", location9_table_start: "0",
npc_location9_table_end: "0", location9_table_end: "0",
npc_location9_name: " ", location9_name: " ",
npc_location9_ap: "0", location9_armor_ap: "0",
npc_location9_hp: "0", location9_hp_max_base_mod: 0 - base_hp, location9_hp: "0",
});
}
if (typeof characterData["hit_locations"][9] !== 'undefined') {
var table = characterData["hit_locations"][9]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location10_table_start: table[0], location10_table_start: table[0],
npc_location10_table_end: table[1], location10_table_end: table[1],
npc_location10_name: characterData["hit_locations"][9]["name"], location10_name: characterData["hit_locations"][9]["name"],
npc_location10_ap: characterData["hit_locations"][9]["ap"], location10_armor_ap: characterData["hit_locations"][9]["ap"],
npc_location10_hp: characterData["hit_locations"][9]["hp"], location10_hp_max_base_mod: characterData["hit_locations"][9]["hp"] - base_hp, location10_hp: characterData["hit_locations"][9]["hp"]
});
} else {
setAttrs({
npc_location10_table_start: "0", location10_table_start: "0",
npc_location10_table_end: "0", location10_table_end: "0",
npc_location10_name: " ", location10_name: " ",
npc_location10_ap: "0", location10_armor_ap: "0",
npc_location10_hp: "0", location10_hp_max_base_mod: 0 - base_hp, location10_hp: "0",
});
}
if (typeof characterData["hit_locations"][10] !== 'undefined') {
var table = characterData["hit_locations"][10]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location11_table_start: table[0], location11_table_start: table[0],
npc_location11_table_end: table[1], location11_table_end: table[1],
npc_location11_name: characterData["hit_locations"][10]["name"], location11_name: characterData["hit_locations"][10]["name"],
npc_location11_ap: characterData["hit_locations"][10]["ap"], location11_armor_ap: characterData["hit_locations"][10]["ap"],
npc_location11_hp: characterData["hit_locations"][10]["hp"], location11_hp_max_base_mod: characterData["hit_locations"][10]["hp"] - base_hp, location11_hp: characterData["hit_locations"][10]["hp"]
});
} else {
setAttrs({
npc_location11_table_start: "0", location11_table_start: "0",
npc_location11_table_end: "0", location11_table_end: "0",
npc_location11_name: " ", location11_name: " ",
npc_location11_ap: "0", location11_armor_ap: "0",
npc_location11_hp: "0", location11_hp_max_base_mod: 0 - base_hp, location11_hp: "0",
});
}
if (typeof characterData["hit_locations"][11] !== 'undefined') {
var table = characterData["hit_locations"][11]["range"].split("-");
table[0] = parseInt(table[0]);
if (!table[1]) {
table[1] = table[0];
} else {
table[1] = parseInt(table[1]);
}
setAttrs({
npc_location12_table_start: table[0], location12_table_start: table[0],
npc_location12_table_end: table[1], location12_table_end: table[1],
npc_location12_name: characterData["hit_locations"][11]["name"], location12_name: characterData["hit_locations"][11]["name"],
npc_location12_ap: characterData["hit_locations"][11]["ap"], location12_armor_ap: characterData["hit_locations"][11]["ap"],
npc_location12_hp: characterData["hit_locations"][11]["hp"], location12_hp_max_base_mod: characterData["hit_locations"][11]["hp"] - base_hp, location12_hp: characterData["hit_locations"][11]["hp"]
});
} else {
setAttrs({
npc_location12_table_start: "0", location12_table_start: "0",
npc_location12_table_end: "0", location12_table_end: "0",
npc_location12_name: " ", location12_name: " ",
npc_location12_ap: "0", location12_armor_ap: "0",
npc_location12_hp: "0", location12_hp_max_base_mod: 0 - base_hp, location12_hp: "0",
});
}
}
//Default weapon displays off
var displayweapons = {};
displayweapons["display_shields"] = 0;
displayweapons["display_melee_weapons"] = 0;
displayweapons["display_missile_weapons"] = 0;
displayweapons["display_firearms"] = 0;
// Import Combat Styles & Weapons
if (typeof characterData["combat_styles"] !== 'undefined') {
for (var i=0; i < characterData["combat_styles"].length; i++) {
var combat_style = characterData["combat_styles"][i];
var combatstyleid = generateRowID();
var combatstyleattrs = {};
var npccombatstyleattrs = {};
var base_combatstyle = str + dex;
npccombatstyleattrs["repeating_npccombatstyle_" + combatstyleid + "_name"] = combat_style["name"];
npccombatstyleattrs["repeating_npccombatstyle_" + combatstyleid + "_total"] = combat_style["value"];
setAttrs(npccombatstyleattrs);
combatstyleattrs["repeating_combatstyle_" + combatstyleid + "_name"] = combat_style["name"];
combatstyleattrs["repeating_combatstyle_" + combatstyleid + "_experience"] = combat_style["value"] - base_combatstyle;
combatstyleattrs["repeating_combatstyle_" + combatstyleid + "_details"] = 0;
setAttrs(combatstyleattrs);
for (var j=0; j < combat_style["weapons"].length; j++) {
var weapon = combat_style["weapons"][j];
var weaponid = generateRowID();
var npcweaponattrs = {};
var weaponattrs = {};
npcweaponattrs["repeating_npcweapon_" + weaponid + "_name"] = weapon["name"];
npcweaponattrs["repeating_npcweapon_" + weaponid + "_size"] = weapon["size"];
if (weapon["type"] == "ranged") {
npcweaponattrs["repeating_npcweapon_" + weaponid + "_reach"] = weapon["range"];
} else {
npcweaponattrs["repeating_npcweapon_" + weaponid + "_reach"] = weapon["reach"];
}
if (weapon["add_damage_modifier"] == true) {
npcweaponattrs["repeating_npcweapon_" + weaponid + "_damage_mod_toggle"] = 1;
} else {
npcweaponattrs["repeating_npcweapon_" + weaponid + "_damage_mod_toggle"] = 0;
}
npcweaponattrs["repeating_npcweapon_" + weaponid + "_damage"] = weapon["damage"];
npcweaponattrs["repeating_npcweapon_" + weaponid + "_ap"] = weapon["ap"];
npcweaponattrs["repeating_npcweapon_" + weaponid + "_hp"] = weapon["hp"];
npcweaponattrs["repeating_npcweapon_" + weaponid + "_notes"] = weapon["effects"];
setAttrs(npcweaponattrs);
if (weapon["type"] == "ranged") {
displayweapons["display_missile_weapons"] = 1;
weaponattrs["repeating_missileweapon_" + weaponid + "_name"] = weapon["name"];
weaponattrs["repeating_missileweapon_" + weaponid + "_force"] = weapon["size"];
weaponattrs["repeating_missileweapon_" + weaponid + "_impale_size"] = weapon["size"];
weaponattrs["repeating_missileweapon_" + weaponid + "_range"] = weapon["range"];
if (weapon["add_damage_modifier"] == true) {
weaponattrs["repeating_missileweapon_" + weaponid + "_damage_mod_toggle"] = "@{damage_mod}";
} else {
weaponattrs["repeating_missileweapon_" + weaponid + "_damage_mod_toggle"] = 0;
}
weaponattrs["repeating_missileweapon_" + weaponid + "_damage"] = weapon["damage"];
weaponattrs["repeating_missileweapon_" + weaponid + "_ap"] = weapon["ap"];
weaponattrs["repeating_missileweapon_" + weaponid + "_hp"] = weapon["hp"];
weaponattrs["repeating_missileweapon_" + weaponid + "_notes"] = weapon["effects"];
weaponattrs["repeating_missileweapon_" + weaponid + "_details"] = 0;
} else if (weapon["type"] == "shield") {
displayweapons["display_shields"] = 1;
weaponattrs["repeating_shield_" + weaponid + "_name"] = weapon["name"];
weaponattrs["repeating_shield_" + weaponid + "_size"] = weapon["size"];
weaponattrs["repeating_shield_" + weaponid + "_reach"] = weapon["reach"];
if (weapon["add_damage_modifier"] == true) {
weaponattrs["repeating_shield_" + weaponid + "_damage_mod_toggle"] = "@{damage_mod}";
} else {
weaponattrs["repeating_shield_" + weaponid + "_damage_mod_toggle"] = 0;
}
weaponattrs["repeating_shield_" + weaponid + "_damage"] = weapon["damage"];
weaponattrs["repeating_shield_" + weaponid + "_ap"] = weapon["ap"];
weaponattrs["repeating_shield_" + weaponid + "_hp"] = weapon["hp"];
weaponattrs["repeating_shield_" + weaponid + "_notes"] = weapon["effects"];
weaponattrs["repeating_shield_" + weaponid + "_details"] = 0;
} else {
displayweapons["display_melee_weapons"] = 1;
weaponattrs["repeating_meleeweapon_" + weaponid + "_name"] = weapon["name"];
weaponattrs["repeating_meleeweapon_" + weaponid + "_size"] = weapon["size"];
weaponattrs["repeating_meleeweapon_" + weaponid + "_reach"] = weapon["reach"];
if (weapon["add_damage_modifier"] == true) {
weaponattrs["repeating_meleeweapon_" + weaponid + "_damage_mod_toggle"] = "@{damage_mod}";
} else {
weaponattrs["repeating_meleeweapon_" + weaponid + "_damage_mod_toggle"] = 0;
}
weaponattrs["repeating_meleeweapon_" + weaponid + "_damage"] = weapon["damage"];
weaponattrs["repeating_meleeweapon_" + weaponid + "_ap"] = weapon["ap"];
weaponattrs["repeating_meleeweapon_" + weaponid + "_hp"] = weapon["hp"];
weaponattrs["repeating_meleeweapon_" + weaponid + "_notes"] = weapon["effects"];
weaponattrs["repeating_meleeweapon_" + weaponid + "_details"] = 0;
}
setAttrs(weaponattrs);
}
}
}
//Set Weapon Display
setAttrs(displayweapons);
// Default to show no magic
var displaymagic = {};
displaymagic["display_theism"] = 0;
displaymagic["display_sorcery"] = 0;
displaymagic["display_mysticism"] = 0;
displaymagic["display_animism"] = 0;
displaymagic["display_folk_magic"] = 0;
displaymagic["display_arcane_magic"] = 0;
displaymagic["display_divine_magic"] = 0;
displaymagic["display_roman_magic"] = 0;
// Import Skills
if (typeof characterData["skills"] !== 'undefined') {
for (var i=0; i < characterData["skills"].length; i++) {
var skill = characterData["skills"][i];
var skillid = generateRowID();
var npcskillattrs = {};
var skillattrs = {};
var skillKey = Object.keys(skill)[0];
var skillValue = skill[skillKey];
npcskillattrs["repeating_npcskill_" + skillid + "_name"] = skillKey;
npcskillattrs["repeating_npcskill_" + skillid + "_total"] = skillValue;
setAttrs(npcskillattrs);
if (skillKey.toLowerCase() == "spectral combat") {
skillattrs["repeating_combatstyle_" + skillid + "_name"] = skillKey;
skillattrs["repeating_combatstyle_" + skillid + "_char1"] = "@{pow}";
skillattrs["repeating_combatstyle_" + skillid + "_char2"] = "@{cha}";
skillattrs["repeating_combatstyle_" + skillid + "_experience"] = skillValue - pow - cha;
skillattrs["repeating_combatstyle_" + skillid + "_encumbered"] = 0;
skillattrs["repeating_combatstyle_" + skillid + "_details"] = 0;
skillattrs["binding_learned"] = "1";
skillattrs["binding_experience"] = skillValue - pow - cha;
displaymagic["display_animism"] = 1;
} else if (skillKey.toLowerCase() == "folk magic") {
skillattrs["folk_magic_learned"] = "@{folk_magic_base}";
skillattrs["folk_magic_experience"] = skillValue - pow - cha;
displaymagic["display_folk_magic"] = 1;
} else if (skillKey.toLowerCase() == "trance") {
skillattrs["trance_learned"] = "@{trance_base}";
skillattrs["trance_experience"] = skillValue - pow - con;
displaymagic["display_animism"] = 1;
} else if (skillKey.toLowerCase() == "binding") {
skillattrs["binding_learned"] = "1";
skillattrs["binding_experience"] = skillValue - pow - cha;
displaymagic["display_animism"] = 1;
} else if (skillKey.toLowerCase() == "meditation") {
skillattrs["meditation_learned"] = "1";
skillattrs["meditation_experience"] = skillValue - con - int;
displaymagic["display_mysticism"] = 1;
} else if (skillKey.toLowerCase() == "mysticism") {
skillattrs["repeating_path_" + skillid + "_name"] = skillKey;
skillattrs["repeating_path_" + skillid + "_experience"] = skillValue - con - pow;
skillattrs["repeating_path_" + skillid + "_details"] = 0;
displaymagic["display_mysticism"] = 1;
} else if (skillKey.toLowerCase() == "invocation") {
skillattrs["repeating_invocation_" + skillid + "_name"] = skillKey;
skillattrs["repeating_invocation_" + skillid + "_experience"] = skillValue - int - int;
skillattrs["repeating_invocation_" + skillid + "_details"] = 0;
displaymagic["display_sorcery"] = 1;
} else if (skillKey.toLowerCase() == "shaping") {
skillattrs["shaping_learned"] = "1";
skillattrs["shaping_experience"] = skillValue - int - pow;
displaymagic["display_sorcery"] = 1;
} else if (skillKey.toLowerCase() == "arcane knowledge") {
skillattrs["arcane_knowledge_experience"] = skillValue - int - int;
skillattrs["arcane_knowledge_learned"] = 1;
displaymagic["display_arcane_magic"] = 1;
} else if (skillKey.toLowerCase() == "arcane casting") {
skillattrs["arcane_casting_experience"] = skillValue - int - pow;
skillattrs["arcane_casting_learned"] = 1;
displaymagic["display_arcane_magic"] = 1;
} else if (skillKey.toLowerCase() == "devotion") {
skillattrs["repeating_devotion_" + skillid + "_name"] = skillKey;
skillattrs["repeating_devotion_" + skillid + "_experience"] = skillValue - pow - cha;
skillattrs["repeating_devotion_" + skillid + "_details"] = 0;
displaymagic["display_theism"] = 1;
if (rank == 2) {
skillattrs["repeating_devotion_" + skillid + "_rank_devotion_pool_limit"] = "ceil(@{pow}*.25)";
} else if (rank == 3) {
skillattrs["repeating_devotion_" + skillid + "_rank_devotion_pool_limit"] = "ceil(@{pow}*.5)";
} else if (rank == 4) {
skillattrs["repeating_devotion_" + skillid + "_rank_devotion_pool_limit"] = "ceil(@{pow}*.75)";
} else if (rank == 5) {
skillattrs["repeating_devotion_" + skillid + "_rank_devotion_pool_limit"] = "@{pow}";
} else {
skillattrs["repeating_devotion_" + skillid + "_rank_devotion_pool_limit"] = "0";
}
} else if (skillKey.toLowerCase() == "exhort") {
skillattrs["exhort_learned"] = "@{exhort_base}";
skillattrs["exhort_experience"] = skillValue - int - cha;
displaymagic["display_theism"] = 1;
} else if (skillKey.toLowerCase() == "channel") {
skillattrs["channel_experience"] = skillValue - int - pow;
skillattrs["channel_learned"] = 1;
displaymagic["display_divine_magic"] = 1;
} else if (skillKey.toLowerCase() == "piety") {
skillattrs["piety_experience"] = skillValue - cha - pow;
skillattrs["piety_learned"] = 1;
displaymagic["display_divine_magic"] = 1;
} else if (skillKey.toLowerCase() == "cursing") {
skillattrs["cursing_experience"] = skillValue - cha - pow;
skillattrs["cursing_learned"] = 1;
displaymagic["display_roman_magic"] = 1;
} else if (skillKey.toLowerCase() == "divination") {
skillattrs["divination_experience"] = skillValue - int - pow;
skillattrs["divination_learned"] = 1;
displaymagic["display_roman_magic"] = 1;
} else if (skillKey.toLowerCase() == "necromancy") {
skillattrs["necromancy_experience"] = skillValue - int - cha;
skillattrs["necromancy_learned"] = 1;
displaymagic["display_roman_magic"] = 1;
} else if (skillKey.toLowerCase() == "pharmacy") {
skillattrs["pharmacy_experience"] = skillValue - int - int;
skillattrs["pharmacy_learned"] = 1;
displaymagic["display_roman_magic"] = 1;
} else if (skillKey.toLowerCase() == "shape shifting") {
skillattrs["shape_shifting_experience"] = skillValue - con - pow;
skillattrs["shape_shifting_learned"] = 1;
displaymagic["display_roman_magic"] = 1;
} else if (skillKey.toLowerCase() == "theology") {
skillattrs["theology_experience"] = skillValue - pow - pow;
skillattrs["theology_learned"] = 1;
displaymagic["display_roman_magic"] = 1;
} else if (skillKey.toLowerCase() == "athletics") {
skillattrs["athletics_experience"] = skillValue - str - dex;
} else if (skillKey.toLowerCase() == "boating") {
skillattrs["boating_experience"] = skillValue - str - con;
} else if (skillKey.toLowerCase() == "brawn") {
skillattrs["brawn_experience"] = skillValue - str - siz;
} else if (skillKey.toLowerCase() == "conceal") {
skillattrs["conceal_experience"] = skillValue - dex - pow;
} else if (skillKey.toLowerCase() == "customs") {
skillattrs["customs_experience"] = skillValue - int - int;
} else if (skillKey.toLowerCase() == "dance") {
skillattrs["dance_experience"] = skillValue - cha - dex;
} else if (skillKey.toLowerCase() == "deceit") {
skillattrs["deceit_experience"] = skillValue - int - cha;
} else if (skillKey.toLowerCase() == "drive") {
skillattrs["drive_experience"] = skillValue - dex - pow;
} else if (skillKey.toLowerCase() == "endurance") {
skillattrs["endurance_experience"] = skillValue - con - con;
} else if (skillKey.toLowerCase() == "evade") {
skillattrs["evade_experience"] = skillValue - dex - dex;
} else if (skillKey.toLowerCase() == "first aid") {
skillattrs["first_aid_experience"] = skillValue - int - dex;
} else if (skillKey.toLowerCase() == "home parallel") {
skillattrs["home parallel_experience"] = skillValue - int - int;
} else if (skillKey.toLowerCase() == "influence") {
skillattrs["influence_experience"] = skillValue - cha - cha;
} else if (skillKey.toLowerCase() == "insight") {
skillattrs["insight_experience"] = skillValue - int - pow;
} else if (skillKey.toLowerCase() == "locale") {
skillattrs["locale_experience"] = skillValue - int - int;
} else if (skillKey.toLowerCase() == "perception") {
skillattrs["perception_experience"] = skillValue - int - pow;
} else if (skillKey.toLowerCase() == "ride") {
skillattrs["ride_experience"] = skillValue - dex - pow;
} else if (skillKey.toLowerCase() == "sing") {
skillattrs["sing_experience"] = skillValue - cha - pow;
} else if (skillKey.toLowerCase() == "status") {
skillattrs["status_experience"] = skillValue;
} else if (skillKey.toLowerCase() == "stealth") {
skillattrs["stealth_experience"] = skillValue - dex - int;
} else if (skillKey.toLowerCase() == "superstition") {
skillattrs["superstition_experience"] = skillValue - ((21 - int) + pow);
} else if (skillKey.toLowerCase() == "swim") {
skillattrs["swim_experience"] = skillValue - str - con;
} else if (skillKey.toLowerCase() == "unarmed") {
skillattrs["unarmed_experience"] = skillValue - str - dex;
} else if (skillKey.toLowerCase() == "willpower") {
skillattrs["willpower_experience"] = skillValue - pow - pow;
} else if (skillKey.toLowerCase().indexOf("passion") !== -1) {
skillattrs["repeating_passion_" + skillid + "_name"] = skillKey;
skillattrs["repeating_passion_" + skillid + "_score"] = skillValue;
skillattrs["repeating_passion_" + skillid + "_details"] = 0;
} else if (skillKey.toLowerCase().indexOf("language") !== -1) {
skillattrs["repeating_language_" + skillid + "_name"] = skillKey;
skillattrs["repeating_language_" + skillid + "_experience"] = skillValue - int - cha;
skillattrs["repeating_language_" + skillid + "_details"] = 0;
} else if (skillKey.toLowerCase().indexOf("dependency") !== -1) {
skillattrs["repeating_dependency_" + skillid + "_name"] = skillKey;
skillattrs["repeating_dependency_" + skillid + "_score"] = skillValue;
skillattrs["repeating_dependency_" + skillid + "_details"] = 0;
} else if (skillKey.toLowerCase().indexOf("affiliation") !== -1) {
skillattrs["repeating_affiliation_" + skillid + "_name"] = skillKey;
skillattrs["repeating_affiliation_" + skillid + "_experience"] = skillValue - 40;
skillattrs["repeating_affiliation_" + skillid + "_details"] = 0;
} else {
skillattrs["repeating_professionalskill_" + skillid + "_name"] = skillKey;
skillattrs["repeating_professionalskill_" + skillid + "_experience"] = skillValue;
}
setAttrs(skillattrs);
}
}
// Import Folk Magic Spells
if (typeof characterData["folk_spells"] !== 'undefined') {
var folk_spells = "";
var spellattrs = {};
for (var i=0; i < characterData["folk_spells"].length; i++) {
displaymagic["display_folk_magic"] = 1;
var folk_spell = characterData["folk_spells"][i];
var spellid = generateRowID();
folk_spells = folk_spells + folk_spell + ", ";
spellattrs["repeating_folkspell_" + spellid + "_name"] = folk_spell;
}
setAttrs({ npc_folk_magic: folk_spells});
setAttrs(spellattrs);
}
// Import Mysticism Talents
if (typeof characterData["mysticism_spells"] !== 'undefined') {
var mysticism_spells = "";
var talentattrs = {};
for (var i=0; i < characterData["mysticism_spells"].length; i++) {
displaymagic["display_mysticism"] = 1;
var mysticism_spell = characterData["mysticism_spells"][i];
var talentid = generateRowID();
mysticism_spells = mysticism_spells + mysticism_spell + ", ";
talentattrs["repeating_practicedtalent_" + talentid + "_name"] = mysticism_spell;
}
setAttrs({ npc_mysticism: mysticism_spells});
setAttrs(talentattrs);
}
// Import Sorcery Spells
if (typeof characterData["sorcery_spells"] !== 'undefined') {
var sorcery_spells = "";
var spellattrs = {};
for (var i=0; i < characterData["sorcery_spells"].length; i++) {
displaymagic["display_sorcery"] = 1;
var sorcey_spell = characterData["sorcery_spells"][i];
var spellid = generateRowID();
sorcery_spells = sorcery_spells + sorcey_spell + ", ";
spellattrs["repeating_sorceryspell_" + spellid + "_name"] = sorcey_spell;
}
setAttrs({ npc_sorcery: sorcery_spells});
setAttrs(spellattrs);
}
// Import Theism Miracles
if (typeof characterData["theism_spells"] !== 'undefined') {
var theism_spells = "";
var miracleattrs = {};
for (var i=0; i < characterData["theism_spells"].length; i++) {
displaymagic["display_theism"] = 1;
var theism_spell = characterData["theism_spells"][i];
var miracleid = generateRowID();
theism_spells = theism_spells + theism_spell + ", ";
miracleattrs["repeating_miracle_" + miracleid + "_name"] = theism_spell;
}
setAttrs({ npc_theism: theism_spells});
setAttrs(miracleattrs);
}
//Import Spirits
if (typeof characterData["spirits"] !== 'undefined') {
for (var i=0; i < characterData["spirits"].length; i++) {
displaymagic["display_animism"] = 1;
var spirit = characterData["spirits"][i];
var spiritid = generateRowID();
var npcspiritattrs = {};
var spiritattrs = {};
// Import spirit name
npcspiritattrs["repeating_npcfetish_" + spiritid + "_name"] = spirit["name"];
spiritattrs["repeating_fetish_" + spiritid + "_name"] = spirit["name"];
// Hide details
npcspiritattrs["repeating_npcfetish_" + spiritid + "_details"] = 0;
spiritattrs["repeating_fetish_" + spiritid + "_details"] = 0;
//Import spirit Stats
for (var j=0; j < spirit["stats"].length; j++) {
var spiritstat = spirit["stats"][j];
var spiritstatKey = Object.keys(spiritstat)[0];
var spiritstatValue = spiritstat[spiritstatKey];
if ( spiritstatKey == "INT" ) {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_int_type"] = spiritstatKey;
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_int"] = spiritstatValue;
spiritattrs["repeating_fetish_" + spiritid + "_int_type"] = spiritstatKey;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_int"] = spiritstatValue;
}
if ( spiritstatKey == "INS" ) {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_int_type"] = spiritstatKey;
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_int"] = spiritstatValue;
spiritattrs["repeating_fetish_" + spiritid + "_int_type"] = spiritstatKey;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_int"] = spiritstatValue;
}
if ( spiritstatKey == "POW" ) {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_pow"] = spiritstatValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_pow"] = spiritstatValue;
}
if ( spiritstatKey == "CHA" ) {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_cha"] = spiritstatValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_cha"] = spiritstatValue;
}
}
//Import spirit attributes
if (typeof spirit["attributes"]["magic_points"] !== 'undefined') {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_magic_points"] = spirit["attributes"]["magic_points"];
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_tenacity"] = spirit["attributes"]["magic_points"];
spiritattrs["repeating_fetish_" + spiritid + "_fetish_magic_points"] = spirit["attributes"]["magic_points"];
spiritattrs["repeating_fetish_" + spiritid + "_fetish_tenacity"] = spirit["attributes"]["magic_points"];
}
if (typeof spirit["attributes"]["spirit_intensity"] !== 'undefined') {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_intensity"] = spirit["attributes"]["spirit_intensity"];
spiritattrs["repeating_fetish_" + spiritid + "_fetish_intensity"] = spirit["attributes"]["spirit_intensity"];
}
//Import spirit abilities
if (typeof spirit["features"] !== 'undefined') {
var spiritabilities = "";
for (var j=0; j < spirit["features"].length; j++) {
spiritabilities = spiritabilities + " * " + spirit["features"][j] + "\r\n";
}
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_spirit_abilities"] = spiritabilities;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_spirit_abilities"] = spiritabilities;
}
//Import spirit skills
if (typeof spirit["skills"] !== 'undefined') {
var spirit_other_skills = "";
for (var j=0; j < spirit["skills"].length; j++) {
var spiritskill = spirit["skills"][j];
var spiritskillKey = Object.keys(spiritskill)[0];
var spiritskillValue = spiritskill[spiritskillKey];
if (spiritskillKey.toLowerCase() == "spectral combat") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_spectral_combat"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_spectral_combat"] = spiritskillValue;
} else if (spiritskillKey.toLowerCase() == "willpower") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_willpower"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_willpower"] = spiritskillValue;
} else if (spiritskillKey.toLowerCase() == "folk magic") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_folk_magic"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_folk_magic"] = spiritskillValue;
} else if (spiritskillKey.toLowerCase() == "shaping") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_shaping"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_shaping"] = spiritskillValue;
} else if (spiritskillKey.toLowerCase() == "invocation") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_invocation"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_invocation"] = spiritskillValue;
} else if (spiritskillKey.toLowerCase() == "exhort") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_exhort"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_exhort"] = spiritskillValue;
} else if (spiritskillKey.toLowerCase() == "devotion") {
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_devotion"] = spiritskillValue;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_devotion"] = spiritskillValue;
} else {
spirit_other_skills = spirit_other_skills + spiritskillKey + " " + spiritskillValue + "%, "
}
}
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_other_skills"] = spirit_other_skills;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_other_skills"] = spirit_other_skills;
}
//Import spirit spells
var spiritspells = "";
if (typeof spirit["folk_spells"] !== 'undefined') {
var spirit_folk_spells = "";
for (var j=0; j < spirit["folk_spells"].length; j++) {
spirit_folk_spells = spirit_folk_spells + spirit["folk_spells"][j] + ", ";
}
if (spirit_folk_spells != "") {
spiritspells = spiritspells + "Folk Magic: " + spirit_folk_spells + "\r\n";
}
}
if (typeof spirit["sorcery_spells"] !== 'undefined') {
var spirit_sorcery_spells = "";
for (var j=0; j < spirit["sorcery_spells"].length; j++) {
spirit_sorcery_spells = spirit_sorcery_spells + spirit["sorcery_spells"][j] + ", ";
}
if (spirit_sorcery_spells != "") {
spiritspells = spiritspells + "Sorcery: " + spirit_sorcery_spells + "\r\n";
}
}
if (typeof spirit["theism_spells"] !== 'undefined') {
var spirit_theism_spells = "";
for (var j=0; j < spirit["theism_spells"].length; j++) {
spirit_theism_spells = spirit_theism_spells + spirit["theism_spells"][j] + ", ";
}
if (spirit_theism_spells != "") {
spiritspells = spiritspells + "Theism: " + spirit_theism_spells + "\r\n";
}
}
npcspiritattrs["repeating_npcfetish_" + spiritid + "_fetish_powers"] = spiritspells;
spiritattrs["repeating_fetish_" + spiritid + "_fetish_powers"] = spiritspells;
//Set spirit values
setAttrs(npcspiritattrs);
setAttrs(spiritattrs);
}
}
//Set magic displays
setAttrs(displaymagic);
});
});
//Check for sheet version updates
on("sheet:opened", function() {
console.log("Checking sheet versions")
versioning();
console.log("Setting campaign options")
campaign_options();
});
//Set campaign options if any change
on("change:setting_option change:vehicle_type_option change:extended_conflict_enabled_option change:simplified_combat_enabled_option change:luck_points_rank_option change:tenacity_enabled_option change:spirit_tenacity_option change:status_standard_option change:superstition_standard_option change:boating_standard_option change:dependencies_enabled_option change:firearms_enabled_option change:affiliations_enabled_option change:roman_magic_enabled_option change:arcane_magic_enabled_option change:divine_magic_enabled_option change:folk_magic_enabled_option change:animism_enabled_option change:mysticism_enabled_option change:mythras_psionics_enabled_option change:ms_psionics_enabled_option change:sorcery_enabled_option change:theism_enabled_option change:max_devotional_pool_based_on_option", function() {
console.log("Setting campaign options")
campaign_options();
});
</script>
<!-- Roll Templates -->
<rolltemplate class="sheet-rolltemplate-skill">
<div class="header">{{name}}</div>
{{#character}}
<div class="subheader">({{character}})</div>
{{/character}}
<div class="difficulty">{{#rollGreater() fatigue_skills 0}} {{#rollTotal() fatigue_skills 1}}<span data-i18n="hard-u">Hard</span>{{/rollTotal() fatigue_skills 1}}{{#rollTotal() fatigue_skills 2}}<span data-i18n="formidable-u">Formidable</span>{{/rollTotal() fatigue_skills 2}}{{#rollTotal() fatigue_skills 3}}<span data-i18n="herculean-u">Herculean</span>{{/rollTotal() fatigue_skills 3}}{{#rollTotal() fatigue_skills 4}}<span data-i18n="hopeless-u">Hopeless</span>{{/rollTotal() fatigue_skills 4}}{{#rollTotal() fatigue_skills 5}}<span data-i18n="no-action-allowed-u">No action allowed</span>{{/rollTotal() fatigue_skills 5}}, <span data-i18n="due-to-fatigue-u">due to fatigue</span> {{/rollGreater() fatigue_skills 0}}</div>
<div class="difficulty">{{#rollTotal() encumbered 2}}{{#rollGreater() encumbrance_skills 0}} {{#rollTotal() encumbrance_skills 1}}<span data-i18n="one-grade-harder-u">+1 grade harder</span>{{/rollTotal() encumbrance_skills 1}}{{#rollTotal() encumbrance_skills 2}}<span data-i18n="two-grades-harder-u">+2 grades harder</span>{{/rollTotal() encumbrance_skills 2}}{{#rollTotal() encumbrance_skills 3}}<span data-i18n="impossible-u">Impossible</span>{{/rollTotal() encumbrance_skills 3}}, <span data-i18n="due-to-enc-u">due to ENC</span>{{/rollGreater() encumbrance_skills 0}}{{/rollTotal() encumbered 2}}</div>
{{#ship_condition_skills}}
<div class="difficulty">{{#rollGreater() ship_condition_skills 1}}{{#rollTotal() ship_condition_skills 2}}<span data-i18n="hard-u">Hard</span>{{/rollTotal() ship_condition_skills 2}}{{#rollTotal() ship_condition_skills 3}}<span data-i18n="formidable-u">Formidable</span>{{/rollTotal() ship_condition_skills 3}}{{#rollTotal() ship_condition_skills 4}}<span data-i18n="herculean-u">Herculean</span>{{/rollTotal() ship_condition_skills 4}}, <span data-i18n="due-to-ship-condition-u">due to ship condition</span>{{/rollGreater() ship_condition_skills 1}}</div>
{{/ship_condition_skills}}
<table>
<tr style="background:#DFF0D8;">
<td class="template_label"><span data-i18n="very-easy-u">Very Easy</span>:</td>
<td class="template_value">{{rolled}}&le;{{very_easy}}</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 very_easy_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 very_easy_crit}}
{{#rollGreater() rolled very_easy_crit}}
<td>&#10003;</td>
{{/rollGreater() rolled very_easy_crit}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 very_easy_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 very_easy_crit}}
{{#rollGreater() rolled very_easy_crit}}
{{#rollBetween() rolled very_easy_crit very_easy}}
<td>&#10003;</td>
{{/rollBetween() rolled very_easy_crit very_easy}}
{{#rollGreater() rolled very_easy}}
<td>&#10005;</td>
{{/rollGreater() rolled very_easy}}
{{/rollGreater() rolled very_easy_crit}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollGreater() very_easy 100}}
{{#rollLess() rolled 100}}
<td>&#10005;</td>
{{/rollLess() rolled 100}}
{{#rollTotal() rolled 100}}
<td><span style="font-weight: 900">!</span></td>
{{/rollTotal() rolled 100}}
{{/rollGreater() very_easy 100}}
{{#rollLess() very_easy 101}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollLess() very_easy 101}}
{{/rollGreater() rolled 95}}
</tr>
<tr style="background:#D9EDF7;">
<td class="template_label"><span data-i18n="easy-u">Easy</span>:</td>
<td class="template_value">{{rolled}}&le;{{easy}}</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 easy_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 easy_crit}}
{{#rollGreater() rolled easy_crit}}
<td>&#10003;</td>
{{/rollGreater() rolled easy_crit}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 easy_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 easy_crit}}
{{#rollGreater() rolled easy_crit}}
{{#rollBetween() rolled easy_crit easy}}
<td>&#10003;</td>
{{/rollBetween() rolled easy_crit easy}}
{{#rollGreater() rolled easy}}
<td>&#10005;</td>
{{/rollGreater() rolled easy}}
{{/rollGreater() rolled easy_crit}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollGreater() easy 100}}
{{#rollLess() rolled 100}}
<td>&#10005;</td>
{{/rollLess() rolled 100}}
{{#rollTotal() rolled 100}}
<td><span style="font-weight: 900">!</span></td>
{{/rollTotal() rolled 100}}
{{/rollGreater() easy 100}}
{{#rollLess() easy 101}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollLess() easy 101}}
{{/rollGreater() rolled 95}}
</tr>
<tr style="background:#D3D3D3;">
<td class="template_label"><span data-i18n="standard-u">Standard</span>:</td>
<td class="template_value">{{rolled}}&le;{{standard}}</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 standard_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 standard_crit}}
{{#rollGreater() rolled standard_crit}}
<td>&#10003;</td>
{{/rollGreater() rolled standard_crit}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 standard_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 standard_crit}}
{{#rollGreater() rolled standard_crit}}
{{#rollBetween() rolled standard_crit standard}}
<td>&#10003;</td>
{{/rollBetween() rolled standard_crit standard}}
{{#rollGreater() rolled standard}}
<td>&#10005;</td>
{{/rollGreater() rolled standard}}
{{/rollGreater() rolled standard_crit}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollGreater() standard 100}}
{{#rollLess() rolled 100}}
<td>&#10005;</td>
{{/rollLess() rolled 100}}
{{#rollTotal() rolled 100}}
<td><span style="font-weight: 900">!</span></td>
{{/rollTotal() rolled 100}}
{{/rollGreater() standard 100}}
{{#rollLess() standard 101}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollLess() standard 101}}
{{/rollGreater() rolled 95}}
</tr>
<tr style="background:#FCF8E3;">
<td class="template_label"><span data-i18n="hard-u">Hard</span>:</td>
<td class="template_value">{{rolled}}&le;{{hard}}</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 hard_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 hard_crit}}
{{#rollGreater() rolled hard_crit}}
<td>&#10003;</td>
{{/rollGreater() rolled hard_crit}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 hard_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 hard_crit}}
{{#rollGreater() rolled hard_crit}}
{{#rollBetween() rolled hard_crit hard}}
<td>&#10003;</td>
{{/rollBetween() rolled hard_crit hard}}
{{#rollGreater() rolled hard}}
<td>&#10005;</td>
{{/rollGreater() rolled hard}}
{{/rollGreater() rolled hard_crit}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollGreater() hard 100}}
{{#rollLess() rolled 100}}
<td>&#10005;</td>
{{/rollLess() rolled 100}}
{{#rollTotal() rolled 100}}
<td><span style="font-weight: 900">!</span></td>
{{/rollTotal() rolled 100}}
{{/rollGreater() hard 100}}
{{#rollLess() hard 101}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollLess() hard 101}}
{{/rollGreater() rolled 95}}
</tr>
<tr style="background:#FFEBCC;">
<td class="template_label"><span data-i18n="formidable-u">formidable</span>:</td>
<td class="template_value">{{rolled}}&le;{{formidable}}</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 formidable_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 formidable_crit}}
{{#rollGreater() rolled formidable_crit}}
<td>&#10003;</td>
{{/rollGreater() rolled formidable_crit}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 formidable_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 formidable_crit}}
{{#rollGreater() rolled formidable_crit}}
{{#rollBetween() rolled formidable_crit formidable}}
<td>&#10003;</td>
{{/rollBetween() rolled formidable_crit formidable}}
{{#rollGreater() rolled formidable}}
<td>&#10005;</td>
{{/rollGreater() rolled formidable}}
{{/rollGreater() rolled formidable_crit}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollGreater() formidable 100}}
{{#rollLess() rolled 100}}
<td>&#10005;</td>
{{/rollLess() rolled 100}}
{{#rollTotal() rolled 100}}
<td><span style="font-weight: 900">!</span></td>
{{/rollTotal() rolled 100}}
{{/rollGreater() formidable 100}}
{{#rollLess() formidable 101}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollLess() formidable 101}}
{{/rollGreater() rolled 95}}
</tr>
<tr style="background:#F2DEDE;">
<td class="template_label"><span data-i18n="herculean-u">Herculean</span>:</td>
<td class="template_value">{{rolled}}&le;{{herculean}}</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 herculean_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 herculean_crit}}
{{#rollGreater() rolled herculean_crit}}
<td>&#10003;</td>
{{/rollGreater() rolled herculean_crit}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 herculean_crit}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 herculean_crit}}
{{#rollGreater() rolled herculean_crit}}
{{#rollBetween() rolled herculean_crit herculean}}
<td>&#10003;</td>
{{/rollBetween() rolled herculean_crit herculean}}
{{#rollGreater() rolled herculean}}
<td>&#10005;</td>
{{/rollGreater() rolled herculean}}
{{/rollGreater() rolled herculean_crit}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollGreater() herculean 100}}
{{#rollLess() rolled 100}}
<td>&#10005;</td>
{{/rollLess() rolled 100}}
{{#rollTotal() rolled 100}}
<td><span style="font-weight: 900">!</span></td>
{{/rollTotal() rolled 100}}
{{/rollGreater() herculean 100}}
{{#rollLess() herculean 101}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollLess() herculean 101}}
{{/rollGreater() rolled 95}}
</tr>
{{#rollTotal() show_reduced 1}}
<tr>
<td class="template_label">101+ <span data-i18n="reduced-u">reduced</span>:</td>
<td class="template_value">{{rolled}}&le;100</td>
<!-- Auto Succeed -->
{{#rollLess() rolled 6}}
{{#rollBetween() rolled 1 10}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 10}}
{{#rollGreater() rolled 10}}
<td>&#10003;</td>
{{/rollGreater() rolled 10}}
{{/rollLess() rolled 6}}
<!-- Not Fumble -->
{{#rollBetween() rolled 6 95}}
{{#rollBetween() rolled 1 10}}
<td>&#9733;</td>
{{/rollBetween() rolled 1 10}}
{{#rollGreater() rolled 10}}
{{#rollBetween() rolled 10 100}}
<td>&#10003;</td>
{{/rollBetween() rolled 10 100}}
{{#rollGreater() rolled 100}}
<td>&#10005;</td>
{{/rollGreater() rolled 100}}
{{/rollGreater() rolled 10}}
{{/rollBetween() rolled 6 95}}
<!-- Auto Fail -->
{{#rollGreater() rolled 95}}
{{#rollLess() rolled 99}}
<td>&#10005;</td>
{{/rollLess() rolled 99}}
{{#rollGreater() rolled 98}}
<td><span style="font-weight: 900">!</span></td>
{{/rollGreater() rolled 98}}
{{/rollGreater() rolled 95}}
</tr>
{{/rollTotal() show_reduced 1}}
{{#allprops() character show_reduced rolled encumbered encumbrance_skills fatigue_skills ship_condition_skills very_easy very_easy_crit easy easy_crit standard standard_crit hard hard_crit formidable formidable_crit herculean herculean_crit description}}
<tr><td class="template_label">{{key}}:</td><td colspan="2" class="template_value">{{value}}</td></tr>
{{/allprops() character show_reduced rolled encumbered encumbrance_skills fatigue_skills ship_condition_skills very_easy very_easy_crit easy easy_crit standard standard_crit hard hard_crit formidable formidable_crit herculean herculean_crit description}}
{{#description}}
<tr><td colspan="3">{{description}}</td></tr>
{{/description}}
</table>
</rolltemplate>
<!-- &{template:weapon} {{name=@{name}}} @{name_display} {{damage=[[]]}} {{size=@{size}}} {{impale_size=@{impale_size}}} {{effects=@{effects}}} {{traits=@{traits}}} -->
<rolltemplate class="sheet-rolltemplate-weapon">
<div class="header">{{name}}</div>
{{#character}}
<div class="subheader">({{character}})</div>
{{/character}}
<table>
<tr style="background:#F2DEDE;"><td class="template_label"><span data-i18n="damage-u">Danage</span>:</td><td class="template_value">{{damage}}</td></tr>
{{#size}}
<tr><td class="template_label"><span data-i18n="size-u">Size</span>:</td><td class="template_value">{{size}}</td></tr>
{{/size}}
{{#force}}
<tr><td class="template_label"><span data-i18n="force-u">Force</span>:</td><td class="template_value">{{force}}</td></tr>
{{/force}}
{{#impale_size}}
<tr><td class="template_label"><span data-i18n="impale-size-u">Impale Size</span>:</td><td class="template_value">{{impale_size}}</td></tr>
{{/impale_size}}
{{#notes}}
<tr><td colspan="2" class="template_value">{{notes}}</td></tr>
{{/notes}}
</table>
</rolltemplate>
<!-- &{template:magic} {{name=@{name}}} @{name_display} {{damage=[[1d8]]}} {{description=@{description}}} -->
<rolltemplate class="sheet-rolltemplate-magic">
<div class="header">{{name}}</div>
{{#character}}
<div class="subheader">({{character}})</div>
{{/character}}
<table>
{{#damage}}{{#rollGreater() damage 0}}
<tr style="background:#F2DEDE;"><td class="template_label"><span data-i18n="damage-u">Damage</span>:</td><td class="template_value">{{damage}}</td></tr>
{{/rollGreater() damage 0}}{{/damage}}
{{#concentration}}
<tr><td class="template_label"><span data-i18n="concentration-u">Concentration</span>:</td><td class="template_value">{{#rollTotal() concentration 0}}<span data-i18n="no-u">No</span>{{/rollTotal() concentration 0}}{{#rollTotal() concentration 1}}<span data-i18n="yes-u">Yes</span>{{/rollTotal() concentration 1}}</td></tr>
{{/concentration}}
{{#allprops() character concentration description damage ablation focus fortune precision swiftness mp_cost xp_cost cost time}}
<tr><td class="template_label">{{key}}:</td><td class="template_value">{{value}}</td></tr>
{{/allprops() character concentration description damage ablation focus fortune precision swiftness mp_cost xp_cost cost time}}
{{#ablation}}{{#rollGreater() ablation 0}}
<tr><td class="template_label"><span data-i18n="ablation-points-u">Ablation Points</span>:</td><td class="template_value">{{ablation}}</td></tr>
{{/rollGreater() ablation 0}}{{/ablation}}
{{#focus}}{{#rollGreater() focus 0}}
<tr><td class="template_label"><span data-i18n="focus-points-u">Focus Points</span>:</td><td class="template_value">{{focus}}</td></tr>
{{/rollGreater() focus 0}}{{/focus}}
{{#fortune}}{{#rollGreater() fortune 0}}
<tr><td class="template_label"><span data-i18n="fortune-points-u">Fortune Points</span>:</td><td class="template_value">{{fortune}}</td></tr>
{{/rollGreater() fortune 0}}{{/fortune}}
{{#precision}}{{#rollGreater() precision 0}}
<tr><td class="template_label"><span data-i18n="precision-points-u">Precision Points</span>:</td><td class="template_value">{{precision}}</td></tr>
{{/rollGreater() precision 0}}{{/precision}}
{{#mp_cost}}
<tr><td class="template_label"><span data-i18n="cost-u">Cost</span>:</td><td class="template_value">{{#rollGreater() mp_cost 0}}{{mp_cost}}{{/rollGreater() mp_cost 0}}{{#rollLess() mp_cost 1}}1{{/rollLess() mp_cost 1}} <span data-i18n="mp-u">MP</span>{{#rollGreater() xp_cost 0}} + {{xp_cost}} <span data-i18n="xp-u">XP</span>{{/rollGreater() xp_cost 0}}</td></tr>
{{/mp_cost}}
{{#cost}}{{#rollGreater() cost 0}}
<tr><td class="template_label"><span data-i18n="cost-u">Cost</span>:</td><td class="template_value">{{cost}}</td></tr>
{{/rollGreater() cost 0}}{{/cost}}
{{#time}}
{{#rollGreater() time 0}}
<tr><td class="template_label"><span data-i18n="time-u">Time</span>:</td><td class="template_value">{{time}}</td></tr>
{{/rollGreater() time 0}}
{{#rollLess() time 1}}
<tr><td class="template_label"><span data-i18n="time-u">Time</span>:</td><td class="template_value">1</td></tr>
{{/rollLess() time 1}}
{{/time}}
{{#description}}
<tr><td colspan="2">{{description}}</td></tr>
{{/description}}
</table>
</rolltemplate>
<!-- &{template:default} {{name=@{name}}} @{name_display} {{damage=[[1d8]]}} {{description=@{description}}} -->
<rolltemplate class="sheet-rolltemplate-default">
<div class="header">{{name}}</div>
{{#character}}
<div class="subheader">({{character}})</div>
{{/character}}
<table>
{{#allprops() character}}
<tr><td class="template_label">{{key}}:</td><td class="template_value">{{value}}</td></tr>
{{/allprops() character}}
</table>
</rolltemplate>