new roll template

This commit is contained in:
Mark
2016-06-05 20:37:58 +02:00
parent 074dd71340
commit dd0cf7ab3e
14 changed files with 198 additions and 116 deletions
+80 -23
View File
@@ -23,6 +23,7 @@ $death-save-header-side: #1f1414;
$orange: #ca8929;
$orange-alt: #e69a28;
$light-green: #879a6a;
$advantage-green: #2fc910;
$deep-green: #51624b;
$attack-header: #2c5d28;
$attack-header-side: #375035;
@@ -31,6 +32,7 @@ $ability-header-side: #354e50;
$deep-blue: #416696;
$bright-blue: #3f88e6;
$light-gray: #a7a7a7;
$whitish-gray: #dedede;
$gray: #a19a91;
$tan: #867453;
$small-label-gray: #676767;
@@ -43,6 +45,7 @@ $spell-header: #45285d;
$spell-header-side: #443550;
$border-radius: 3px;
$scrollbar-size: .5em;
$death-saving-throw-circle-size: 14px;
$classes: 'barbarian', 'bard', 'cleric', 'druid', 'fighter', 'monk', 'paladin', 'ranger', 'rogue', 'sorcerer', 'warlock', 'wizard';
@@ -483,18 +486,21 @@ $pad-mar: (
padding: 2px;
}
.sheet-tooltip-position-wrapper {
.sheet-tooltip-position-wrapper,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-position-wrapper {
position: absolute;
right: 1px;
top: 1px;
z-index: 99;
}
.sheet-tooltip {
.sheet-tooltip,
.sheet-rolltemplate-5e-shaped .sheet-tooltip {
position: relative;
}
.sheet-tooltip-toggle-text {
.sheet-tooltip-toggle-text,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-toggle-text {
background-color: $black;
border-radius: 50%;
color: $mostly-transparent-white;
@@ -505,12 +511,12 @@ $pad-mar: (
width: 10px;
}
[class*='sheet-tooltip-content'] {
[class*='sheet-tooltip-content'],
.sheet-rolltemplate-5e-shaped [class*='sheet-tooltip-content'] {
background-color: $black;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
color: $mostly-transparent-white;
margin-top: -15px;
opacity: .9;
padding: 4px;
position: absolute;
@@ -527,35 +533,55 @@ $pad-mar: (
top: 9px;
}
}
[class*='sheet-tooltip-content'] {
margin-top: -15px;
}
.sheet-tooltip-small {
.sheet-tooltip-small,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-small {
width: 80px;
}
.sheet-tooltip-content-left {
.sheet-tooltip-content-left,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-left {
border-top-left-radius: 4px;
margin-right: 12px;
right: 100%;
}
.sheet-tooltip-content-right {
border-top-right-radius: 4px;
left: 100%;
margin-left: 12px;
.sheet-tooltip-content-left {
margin-right: 12px;
}
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-left {
margin-right: 20px;
}
.sheet-tooltip-content-left::after {
.sheet-tooltip-content-right,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-right {
border-top-right-radius: 4px;
left: 100%;
}
.sheet-tooltip-content-right {
margin-left: 12px;
}
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-right {
margin-left: 20px;
}
.sheet-tooltip-content-left::after,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-left::after {
border-left: 8px solid $black;
right: -8px;
}
.sheet-tooltip-content-right::after {
.sheet-tooltip-content-right::after,
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-right::after {
border-right: 8px solid $black;
left: -8px;
}
.sheet-tooltip:hover [class*='sheet-tooltip-content'],
.sheet-tooltip:focus [class*='sheet-tooltip-content'] {
.sheet-tooltip:focus [class*='sheet-tooltip-content'],
.sheet-rolltemplate-5e-shaped .sheet-tooltip:hover [class*='sheet-tooltip-content'],
.sheet-rolltemplate-5e-shaped .sheet-tooltip:focus [class*='sheet-tooltip-content'] {
visibility: visible;
z-index: 450;
}
@@ -637,7 +663,7 @@ $pad-mar: (
.sheet-attacks,
.sheet-spell {
input[readonly] {
background: $light-gray;
background: $whitish-gray;
}
}
@@ -1015,7 +1041,6 @@ $pad-mar: (
.sheet-death-success,
.sheet-death-fail {
$death-saving-throw-circle-size: 14px;
.sheet-checkbox-label {
height: $death-saving-throw-circle-size;
margin: 0 2px;
@@ -1136,7 +1161,24 @@ $pad-mar: (
box-sizing: border-box;
font-size: 12px;
margin-right: 10px;
padding: 4px 0 2px;
position: relative;
}
.sheet-advantage-circle {
border: 1px solid $black;
border-radius: 50%;
height: $death-saving-throw-circle-size;
position: absolute;
right: 2px;
top: 2px;
width: $death-saving-throw-circle-size;
z-index: 5;
&.sheet-advantage {
background-color: $advantage-green;
}
&.sheet-disadvantage {
background-color: $important-red;
}
}
.inlinerollresult {
@@ -1235,9 +1277,19 @@ $pad-mar: (
}
}
}
.sheet-rt-title-wrap {
padding: 0 3px;
}
.sheet-rt-title {
font-size: 1.7em;
color: $deep-red;
font-family: 'Times New Roman';
font-size: 2em;
font-variant: small-caps;
font-weight: bold;
}
.sheet-rt-character-name {
font-variant: small-caps;
padding: 2px 3px;
}
.sheet-rt-subheader {
@@ -1256,7 +1308,7 @@ $pad-mar: (
}
.sheet-shaped-row {
padding: 2px;
padding: 2px 3px;
}
.sheet-rt-emote {
@@ -1274,6 +1326,10 @@ $pad-mar: (
font-size: 1.7em;
text-align: center;
}
.sheet-output-small {
font-size: 1.5em;
text-align: center;
}
.sheet-output-small-label {
color: $small-label-gray;
font-style: italic;
@@ -1625,7 +1681,8 @@ span[class^='sheet-toggle-spells-filter'] {
.sheet-creature-name {
border: 0;
font-family: 'Times New Roman';
font-size: 17px;
font-size: 1.7em;
font-variant: small-caps;
font-weight: bold;
line-height: 1.1em;
padding: 0 !important;
@@ -3,7 +3,7 @@
<div class="ability-wrapper wrap-box center">
<input type="hidden" name="attr_strength_check_mod_formula">
<button type="roll" name="roll_shaped_strength_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{strength_check_mod_formula}]]}} @{attacher_strength_check}" tabindex="-1">
<button type="roll" name="roll_shaped_strength_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{strength_check_mod_formula}]]}} @{attacher_strength_check}" tabindex="-1">
<div>
<span class="ability-name" data-i18n="STRENGTH"></span>
<input type="hidden" name="attr_strength_mod">
@@ -35,7 +35,7 @@
<div class="ability-wrapper wrap-box center">
<input type="hidden" name="attr_dexterity_check_mod_formula">
<button type="roll" name="roll_shaped_dexterity_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{dexterity_check_mod_formula}]]}} @{attacher_dexterity_check}" tabindex="-1">
<button type="roll" name="roll_shaped_dexterity_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{dexterity_check_mod_formula}]]}} @{attacher_dexterity_check}" tabindex="-1">
<div>
<span class="ability-name" data-i18n="DEXTERITY"></span>
<input type="hidden" name="attr_dexterity_mod">
@@ -67,7 +67,7 @@
<div class="ability-wrapper wrap-box center">
<input type="hidden" name="attr_constitution_check_mod_formula">
<button type="roll" name="roll_shaped_constitution_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{constitution_check_mod_formula}]]}} @{attacher_constitution_check}" tabindex="-1">
<button type="roll" name="roll_shaped_constitution_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{constitution_check_mod_formula}]]}} @{attacher_constitution_check}" tabindex="-1">
<div>
<span class="ability-name" data-i18n="CONSTITUTION"></span>
<input type="hidden" name="attr_constitution_mod">
@@ -99,7 +99,7 @@
<div class="ability-wrapper wrap-box center">
<input type="hidden" name="attr_intelligence_check_mod_formula">
<button type="roll" name="roll_shaped_intelligence_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{intelligence_check_mod_formula}]]}} @{attacher_intelligence_check}" tabindex="-1">
<button type="roll" name="roll_shaped_intelligence_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{intelligence_check_mod_formula}]]}} @{attacher_intelligence_check}" tabindex="-1">
<div>
<span class="ability-name" data-i18n="INTELLIGENCE"></span>
<input type="hidden" name="attr_intelligence_mod">
@@ -131,7 +131,7 @@
<div class="ability-wrapper wrap-box center">
<input type="hidden" name="attr_wisdom_check_mod_formula">
<button type="roll" name="roll_shaped_wisdom_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{wisdom_check_mod_formula}]]}} @{attacher_wisdom_check}" tabindex="-1">
<button type="roll" name="roll_shaped_wisdom_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{wisdom_check_mod_formula}]]}} @{attacher_wisdom_check}" tabindex="-1">
<div>
<span class="ability-name" data-i18n="WISDOM"></span>
<input type="hidden" name="attr_wisdom_mod">
@@ -163,7 +163,7 @@
<div class="ability-wrapper wrap-box center">
<input type="hidden" name="attr_charisma_check_mod_formula">
<button type="roll" name="roll_shaped_charisma_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{charisma_check_mod_formula}]]}} @{attacher_charisma_check}" tabindex="-1">
<button type="roll" name="roll_shaped_charisma_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_check_mod_formula}]]}} @{roll_setting}@{d20_mod} + @{charisma_check_mod_formula}]]}} @{attacher_charisma_check}" tabindex="-1">
<div>
<span class="ability-name" data-i18n="CHARISMA"></span>
<input type="hidden" name="attr_charisma_mod">
@@ -16,7 +16,7 @@
<div>=</div>
<span name="attr_initiative" class="big-text bold block center"></span>
</div>
<button type="roll" name="roll_shaped_initiative" value="@{initiative_output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INITIATIVE>Initiative</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{initiative_roll}@{d20_mod} + @{initiative_to_tracker} + @{initiative_tie_breaker}]]}} @{attacher_initiative}">
<button type="roll" name="roll_shaped_initiative" value="@{initiative_output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INITIATIVE>Initiative</span>}} @{initiative_roll}@{d20_mod} + @{initiative_to_tracker} + @{initiative_tie_breaker}]]}} @{attacher_initiative}">
<span name="attr_initiative" class="presentation big-text bold block center initiative-total"></span>
<div class="wrap-box-title center" data-i18n="INITIATIVE"></div>
</button>
@@ -26,7 +26,7 @@
</div>
</div>
<button type="roll" name="roll_shaped_death_saving_throw"
value="@{death_save_output_option} &{template:5e-shaped} {{death_saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} @{show_character_name} {{title=<span data-i18n=DEATH_SAVING_THROW>Death saving throw</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{death_saving_throw_prof}[proficient] + (@{global_saving_throw_bonus})[global saving throw bonus]]]}} @{roll_setting}@{d20_mod} + (@{global_saving_throw_bonus})[global saving throw bonus]]]}} {{death_saving_throw_successes=@{death_saving_throw_successes}}} {{death_saving_throw_failures=@{death_saving_throw_failures}}} @{attacher_death_saving_throw}">
value="@{death_save_output_option} &{template:5e-shaped} {{death_saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} @{show_character_name} {{title=<span data-i18n=DEATH_SAVING_THROW>Death saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{death_saving_throw_prof}[proficient] + (@{global_saving_throw_bonus})[global saving throw bonus]]]}} @{roll_setting}@{d20_mod} + (@{global_saving_throw_bonus})[global saving throw bonus]]]}} {{death_saving_throw_successes=@{death_saving_throw_successes}}} {{death_saving_throw_failures=@{death_saving_throw_failures}}} @{attacher_death_saving_throw}">
<div class="wrap-box-title center" data-i18n="DEATH_SAVES"></div>
</button>
</div>
@@ -7,7 +7,7 @@
<input type="number" name="attr_strength_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_strength_saving_throw_mod">
<button type="roll" name="roll_shaped_strength_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{attacher_strength_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_strength_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{attacher_strength_saving_throw}" tabindex="-1">
<span name="attr_strength_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span class="ability-saving-throw-name" data-i18n="STRENGTH"></span>
</button>
@@ -20,7 +20,7 @@
<input type="number" name="attr_dexterity_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_dexterity_saving_throw_mod">
<button type="roll" name="roll_shaped_dexterity_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{attacher_dexterity_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_dexterity_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{attacher_dexterity_saving_throw}" tabindex="-1">
<span name="attr_dexterity_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span class="ability-saving-throw-name" data-i18n="DEXTERITY"></span>
</button>
@@ -33,7 +33,7 @@
<input type="number" name="attr_constitution_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_constitution_saving_throw_mod">
<button type="roll" name="roll_shaped_constitution_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{attacher_constitution_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_constitution_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{attacher_constitution_saving_throw}" tabindex="-1">
<span name="attr_constitution_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span class="ability-saving-throw-name" data-i18n="CONSTITUTION"></span>
</button>
@@ -46,7 +46,7 @@
<input type="number" name="attr_intelligence_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_intelligence_saving_throw_mod">
<button type="roll" name="roll_shaped_intelligence_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{attacher_intelligence_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_intelligence_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{attacher_intelligence_saving_throw}" tabindex="-1">
<span name="attr_intelligence_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span class="ability-saving-throw-name" data-i18n="INTELLIGENCE"></span>
</button>
@@ -59,7 +59,7 @@
<input type="number" name="attr_wisdom_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_wisdom_saving_throw_mod">
<button type="roll" name="roll_shaped_wisdom_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{attacher_wisdom_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_wisdom_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{attacher_wisdom_saving_throw}" tabindex="-1">
<span name="attr_wisdom_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span class="ability-saving-throw-name" data-i18n="WISDOM"></span>
</button>
@@ -72,7 +72,7 @@
<input type="number" name="attr_charisma_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_charisma_saving_throw_mod">
<button type="roll" name="roll_shaped_charisma_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{attacher_charisma_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_charisma_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{attacher_charisma_saving_throw}" tabindex="-1">
<span name="attr_charisma_saving_throw_mod_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span class="ability-saving-throw-name" data-i18n="CHARISMA"></span>
</button>
@@ -12,7 +12,7 @@
<div class="col-09 edit no-shrink">
<input type="number" name="attr_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_skill" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (@{ability_short_name})}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{formula}]]}} @{roll_setting}@{d20_mod} + @{formula}]]}} @{attacher_skill}" tabindex="-1">
<button type="roll" name="roll_skill" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (@{ability_short_name})}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{formula}]]}} @{roll_setting}@{d20_mod} + @{formula}]]}} @{attacher_skill}" tabindex="-1">
<div class="shaped-row no-wrap flex-end">
<span name="attr_total_with_sign" class="col-2-em input-like center bold border-bottom"></span>
<span name="attr_name" class="skill-name presentation pad-l-sm"></span>
@@ -42,7 +42,7 @@
<input type="number" name="attr_passive_bonus" class="no-spin small-label" value="0" step="1">
</div>
<input type="hidden" name="attr_passive">
<button type="roll" name="roll_passive" class="item-to-show" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (@{ability_short_name})}} {{subheader=<span data-i18n=PASSIVE_ABILITY_CHECK>Passive ability check</span>}} @{roll_info} {{roll1=[[@{passive}]]}} @{attacher_skill}" tabindex="-1">
<button type="roll" name="roll_passive" class="item-to-show" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=PASSIVE>Passive</span> @{name} (@{ability_short_name})}} @{roll_info} {{roll1=[[@{passive}]]}} @{attacher_skill}" tabindex="-1">
<div class="shaped-row no-wrap flex-end">
<span name="attr_passive" class="col-1-3-em input-like center border-bottom"></span>
</div>
@@ -54,7 +54,7 @@
<div class="mar-t-sm">
<input type="checkbox" name="attr_show_passive_skills" class="edit item-shown"><span class="edit" data-i18n="SHOW_PASSIVE"></span>
</div>
<button type="roll" name="roll_shaped_ability_checks" class="wrapper-button" value="/w @{character_name} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{subheader=<span data-i18n=ABILITY_CHECK>Ability checks</span>}} {{text_big=@{ability_checks_macro_var}}}">
<button type="roll" name="roll_shaped_ability_checks" class="wrapper-button" value="/w @{character_name} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{text_big=@{ability_checks_macro_var}}}">
<div class="wrap-box-title center" data-i18n="SKILLS"></div>
</button>
@@ -10,7 +10,7 @@
</div>
</div>
<div class="col-60 header-info">
<div class="wrap-box pad-md">
<div class="wrap-box">
<div class="shaped-row">
<div class="col-70 pad-r-lg">
<input type="text" name="attr_class_and_level" data-i18n-placeholder="CLASS_AND_LEVEL_PLACEHOLDER" readonly>
@@ -56,4 +56,4 @@
</div>
</div>
</div>
</div>
</div>
@@ -15,4 +15,4 @@
<div class="mar-t-sm"></div>
<button type="roll" name="roll_shaped_ability_checks_small" class="hidden" value="/w @{character_name} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=ABILITY_CHECKS>Ability checks</span>}} {{text=@{ability_checks_macro_var}}}" data-i18n="ABILITY_CHECKS"></button>
<input type="hidden" name="attr_ability_checks_query_var">
<button type="roll" name="roll_shaped_ability_checks_query" class="hidden" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} @{ability_checks_query_var}" data-i18n="ABILITY_CHECKS_QUERY"></button>
<button type="roll" name="roll_shaped_ability_checks_query" class="hidden" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} @{roll_info} @{ability_checks_query_var}" data-i18n="ABILITY_CHECKS_QUERY"></button>
@@ -16,4 +16,4 @@
<button type="roll" name="roll_shaped_saving_throw_small" class="hidden" value="/w @{character_name} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=SAVING_THROWS>Saving throws</span>}} {{text=@{saving_throw_macro_var}}}" data-i18n="SAVING_THROWS"></button>
<input type="hidden" name="attr_saving_throw_query_var"
value="?{Saving Throw|Strength, {{title=Strength&amp;#125;&amp;#125; {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_saving_throw_mod}]]&amp;#125;&amp;#125; @{roll_setting}@{d20_mod} + @{strength_saving_throw_mod}]]&amp;#125;&amp;#125;|Dexterity, {{title=Dexterity&amp;#125;&amp;#125; {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_saving_throw_mod}]]&amp;#125;&amp;#125; @{roll_setting}@{d20_mod} + @{dexterity_saving_throw_mod}]]&amp;#125;&amp;#125;|Constitution, {{title=Constitution&amp;#125;&amp;#125; {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_saving_throw_mod}]]&amp;#125;&amp;#125; @{roll_setting}@{d20_mod} + @{constitution_saving_throw_mod}]]&amp;#125;&amp;#125;|Intelligence, {{title=Intelligence&amp;#125;&amp;#125; {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_saving_throw_mod}]]&amp;#125;&amp;#125; @{roll_setting}@{d20_mod} + @{intelligence_saving_throw_mod}]]&amp;#125;&amp;#125;|Wisdom, {{title=Wisdom&amp;#125;&amp;#125; {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_saving_throw_mod}]]&amp;#125;&amp;#125; @{roll_setting}@{d20_mod} + @{wisdom_saving_throw_mod}]]&amp;#125;&amp;#125;|Charisma, {{title=Charisma&amp;#125;&amp;#125; {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_saving_throw_mod}]]&amp;#125;&amp;#125; @{roll_setting}@{d20_mod} + @{charisma_saving_throw_mod}]]&amp;#125;&amp;#125;}">
<button type="roll" name="roll_shaped_saving_throw_query" class="hidden" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} @{saving_throw_query_var}" data-i18n="SAVING_THROWS_QUERY"></button>
<button type="roll" name="roll_shaped_saving_throw_query" class="hidden" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} @{roll_info} @{saving_throw_query_var}" data-i18n="SAVING_THROWS_QUERY"></button>
@@ -1,6 +1,6 @@
<div class="shaped-row">
<div class="col-16 center pad-r-sm">
<button type="roll" name="roll_shaped_strength_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_check_mod}]]}} @{roll_setting}@{d20_mod} + @{strength_check_mod}]]}} @{attacher_strength_check}" tabindex="-1">
<button type="roll" name="roll_shaped_strength_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span><span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_check_mod}]]}} @{roll_setting}@{d20_mod} + @{strength_check_mod}]]}} @{attacher_strength_check}" tabindex="-1">
<div class="heading uppercase center" data-i18n="STR"></div>
<div class="presentation mar-t-sm">
<span name="attr_strength" class="center"></span>
@@ -31,7 +31,7 @@
</div>
</div>
<div class="col-16 center pad-l-sm pad-r-sm">
<button type="roll" name="roll_shaped_dexterity_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_check_mod}]]}} @{roll_setting}@{d20_mod} + @{dexterity_check_mod}]]}} @{attacher_dexterity_check}" tabindex="-1">
<button type="roll" name="roll_shaped_dexterity_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span><span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_check_mod}]]}} @{roll_setting}@{d20_mod} + @{dexterity_check_mod}]]}} @{attacher_dexterity_check}" tabindex="-1">
<div class="heading uppercase center" data-i18n="DEX"></div>
<div class="presentation mar-t-sm">
<span name="attr_dexterity" class="center"></span>
@@ -62,7 +62,7 @@
</div>
</div>
<div class="col-16 center pad-l-sm pad-r-sm">
<button type="roll" name="roll_shaped_constitution_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_check_mod}]]}} @{roll_setting}@{d20_mod} + @{constitution_check_mod}]]}} @{attacher_constitution_check}" tabindex="-1">
<button type="roll" name="roll_shaped_constitution_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span><span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_check_mod}]]}} @{roll_setting}@{d20_mod} + @{constitution_check_mod}]]}} @{attacher_constitution_check}" tabindex="-1">
<div class="heading uppercase center" data-i18n="CON"></div>
<div class="presentation mar-t-sm">
<span name="attr_constitution" class="center"></span>
@@ -93,7 +93,7 @@
</div>
</div>
<div class="col-16 center pad-l-sm pad-r-sm">
<button type="roll" name="roll_shaped_intelligence_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_check_mod}]]}} @{roll_setting}@{d20_mod} + @{intelligence_check_mod}]]}} @{attacher_intelligence_check}" tabindex="-1">
<button type="roll" name="roll_shaped_intelligence_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span> <span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_check_mod}]]}} @{roll_setting}@{d20_mod} + @{intelligence_check_mod}]]}} @{attacher_intelligence_check}" tabindex="-1">
<div class="heading uppercase center" data-i18n="INT"></div>
<div class="presentation mar-t-sm">
<span name="attr_intelligence" class="center"></span>
@@ -124,7 +124,7 @@
</div>
</div>
<div class="col-16 center pad-l-sm pad-r-sm">
<button type="roll" name="roll_shaped_wisdom_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_check_mod}]]}} @{roll_setting}@{d20_mod} + @{wisdom_check_mod}]]}} @{attacher_wisdom_check}" tabindex="-1">
<button type="roll" name="roll_shaped_wisdom_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span><span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_check_mod}]]}} @{roll_setting}@{d20_mod} + @{wisdom_check_mod}]]}} @{attacher_wisdom_check}" tabindex="-1">
<div class="heading uppercase center" data-i18n="WIS"></div>
<div class="presentation mar-t-sm">
<span name="attr_wisdom" class="center"></span>
@@ -155,7 +155,7 @@
</div>
</div>
<div class="col-16 center pad-l-sm">
<button type="roll" name="roll_shaped_charisma_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_check_mod}]]}} @{roll_setting}@{d20_mod} + @{charisma_check_mod}]]}} @{attacher_charisma_check}" tabindex="-1">
<button type="roll" name="roll_shaped_charisma_check" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span><span data-i18n=CHECK class=lowercase>Check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_check_mod}]]}} @{roll_setting}@{d20_mod} + @{charisma_check_mod}]]}} @{attacher_charisma_check}" tabindex="-1">
<div class="heading uppercase center" data-i18n="CHA"></div>
<div class="presentation mar-t-sm">
<span name="attr_charisma" class="center"></span>
@@ -19,7 +19,7 @@
</div>
</div>
<div class="shaped-row flex-end no-wrap">
<button type="roll" name="roll_shaped_initiative" value="@{initiative_output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INITIATIVE>Initiative</span>}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{initiative_roll}@{d20_mod} + @{initiative_to_tracker} + @{initiative_tie_breaker}]]}} @{attacher_initiative}">
<button type="roll" name="roll_shaped_initiative" value="@{initiative_output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INITIATIVE>Initiative</span>}} @{initiative_roll}@{d20_mod} + @{initiative_to_tracker} + @{initiative_tie_breaker}]]}} @{attacher_initiative}">
<span class="heading" data-i18n="INITIATIVE"></span>
<span name="attr_initiative" class="presentation"></span>
</button>
@@ -9,7 +9,7 @@
<div class="col-1-3-em edit">
<input type="number" name="attr_strength_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_shaped_strength_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{attacher_strength_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_strength_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=STRENGTH>Strength</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{strength_saving_throw_mod}]]}} @{attacher_strength_saving_throw}" tabindex="-1">
<span data-i18n="STR"></span>
<span name="attr_strength_saving_throw_mod_with_sign" class="inline-block center"></span>
</button>
@@ -20,7 +20,7 @@
<div class="col-1-3-em edit">
<input type="number" name="attr_dexterity_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_shaped_dexterity_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{attacher_dexterity_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_dexterity_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=DEXTERITY>Dexterity</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{dexterity_saving_throw_mod}]]}} @{attacher_dexterity_saving_throw}" tabindex="-1">
<span data-i18n="DEX"></span>
<span name="attr_dexterity_saving_throw_mod_with_sign" class="inline-block center"></span>
</button>
@@ -31,7 +31,7 @@
<div class="col-1-3-em edit">
<input type="number" name="attr_constitution_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_shaped_constitution_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{attacher_constitution_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_constitution_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CONSTITUTION>Constitution</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{constitution_saving_throw_mod}]]}} @{attacher_constitution_saving_throw}" tabindex="-1">
<span data-i18n="CON"></span>
<span name="attr_constitution_saving_throw_mod_with_sign" class="inline-block center"></span>
</button>
@@ -42,7 +42,7 @@
<div class="col-1-3-em edit">
<input type="number" name="attr_intelligence_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_shaped_intelligence_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{attacher_intelligence_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_intelligence_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=INTELLIGENCE>Intelligence</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{intelligence_saving_throw_mod}]]}} @{attacher_intelligence_saving_throw}" tabindex="-1">
<span data-i18n="INT"></span>
<span name="attr_intelligence_saving_throw_mod_with_sign" class="inline-block center"></span>
</button>
@@ -53,7 +53,7 @@
<div class="col-1-3-em edit">
<input type="number" name="attr_wisdom_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_shaped_wisdom_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{attacher_wisdom_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_wisdom_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=WISDOM>Wisdom</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{wisdom_saving_throw_mod}]]}} @{attacher_wisdom_saving_throw}" tabindex="-1">
<span data-i18n="WIS"></span>
<span name="attr_wisdom_saving_throw_mod_with_sign" class="inline-block center"></span>
</button>
@@ -64,7 +64,7 @@
<div class="col-1-3-em edit">
<input type="number" name="attr_charisma_save_bonus" class="no-spin small-label" value="0" step="1">
</div>
<button type="roll" name="roll_shaped_charisma_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span>}} {{subheader=<span data-i18n=SAVING_THROW>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{attacher_charisma_saving_throw}" tabindex="-1">
<button type="roll" name="roll_shaped_charisma_saving_throw" value="@{output_option} &{template:5e-shaped} {{saving_throw=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=<span data-i18n=CHARISMA>Charisma</span> <span data-i18n=SAVING_THROW class=lowercase>Saving throw</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{roll_setting}@{d20_mod} + @{charisma_saving_throw_mod}]]}} @{attacher_charisma_saving_throw}" tabindex="-1">
<span data-i18n="CHA"></span>
<span name="attr_charisma_saving_throw_mod_with_sign" class="inline-block center"></span>
</button>
@@ -17,7 +17,7 @@
<div class="col-6-em edit">
<input type="text" name="attr_name">
</div>
<button type="roll" name="roll_skill" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (@{ability_short_name})}} {{subheader=<span data-i18n=ABILITY_CHECK>Ability check</span>}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{formula}]]}} @{roll_setting}@{d20_mod} + @{formula}]]}} @{attacher_skill}" tabindex="-1">
<button type="roll" name="roll_skill" value="@{output_option} &{template:5e-shaped} {{ability=1}} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name} (@{ability_short_name})}} @{roll_info} {{roll1=[[@{preroll}d20@{postroll}@{d20_mod} + @{formula}]]}} @{roll_setting}@{d20_mod} + @{formula}]]}} @{attacher_skill}" tabindex="-1">
<div class="shaped-row no-wrap flex-end">
<span name="attr_name" class="presentation skill-name white-space-no-wrap pad-r-sm"></span>
<span name="attr_total_with_sign" class="inline-block center"></span>
@@ -1,71 +1,85 @@
<rolltemplate class="sheet-rolltemplate-5e-shaped">
<div class="rt-card">
<div class="rt-header relative{{#action}} action{{/action}}{{#spell}} spell{{/spell}}{{#ability}} ability{{/ability}}{{#saving_throw}} saving-throw{{/saving_throw}}{{#death_saving_throw}} death-saving-throw{{/death_saving_throw}}">
<div class="rt-title capitalize">{{title}}</div>
{{#show_character_name}}
<div class="rt-subheader">{{character_name}}</div>
{{/show_character_name}}
{{#spell}}
<div class="rt-subheader italic">{{friendly_level}}{{#cast_as_level}} (<span class="lowercase" data-i18n="AS">as</span> {{cast_as_level}}){{/cast_as_level}}{{#school}} {{school}}{{/school}}{{#ritual}} (<span class="lowercase" data-i18n="RITUAL">ritual</span>){{/ritual}}</div>
{{/spell}}
{{#action}}
<div class="rt-subheader">
{{#reach}}{{reach}} <span class="lowercase" data-i18n="REACH">reach</span>{{/reach}}
{{#range}}{{#reach}} &bullet; {{/reach}}{{range}} <span class="lowercase" data-i18n="RANGE">range</span>{{/range}}
{{#ammo}}{{#range}} &bullet; {{/range}}{{ammo}} {{#ammo_name}}{{ammo_name}}{{/ammo_name}}{{^ammo_name}}<span class="lowercase" data-i18n="AMMO">ammo</span>{{/ammo_name}}{{/ammo}}
</div>
{{/action}}
{{#uses}}
<div class="rt-subheader">{{uses}} / {{uses_max}}</div>
{{/uses}}
{{#subheader}}
<div class="rt-subheader capitalize">{{subheader}}</div>
{{/subheader}}
{{#targetName}}
<div class="rt-subheader"><span data-i18n="VS">vs</span> {{targetName}}</div>
{{/targetName}}
<div class="sheet-tooltip-position-wrapper">
{{#advantage}}
<div class="rt-subheader"><span data-i18n="ADVANTAGE">Advantage</span></div>
<div class="sheet-tooltip">
<div class="tooltip-toggle-text advantage-circle advantage"></div>
<div class="sheet-tooltip-content-left sheet-tooltip-small sheet-small-label">
<span><span data-i18n="ADVANTAGE">Advantage</span></span>
</div>
</div>
{{/advantage}}
{{#disadvantage}}
<div class="rt-subheader"><span data-i18n="DISADVANTAGE">Disadvantage</span></div>
<div class="sheet-tooltip">
<div class="tooltip-toggle-text advantage-circle disadvantage"></div>
<div class="sheet-tooltip-content-left sheet-tooltip-small sheet-small-label">
<span><span data-i18n="DISADVANTAGE">Disadvantage</span></span>
</div>
</div>
{{/disadvantage}}
</div>
<div class="rt-title-wrap">
<span class="rt-title {{#action}} action{{/action}}{{#spell}} spell{{/spell}}{{#ability}} ability{{/ability}}{{#saving_throw}} saving-throw{{/saving_throw}}{{#death_saving_throw}} death-saving-throw{{/death_saving_throw}}">
{{title}}
</span>
</div>
{{#show_character_name}}
<div class="rt-character-name">{{character_name}}</div>
{{/show_character_name}}
{{#emote}}
<p class="rt-emote">{{character_name}} {{emote}}</p>
{{/emote}}
<div class="rt-content">
{{#spell}}
{{#casting_time}}
<div class="no-border">
<span class="bold"><span data-i18n="CASTING_TIME">Casting Time</span>:</span> <span>{{casting_time}}</span>
</div>
{{/casting_time}}
{{#range}}
<div class="no-border">
<span class="bold"><span data-i18n="RANGE">Range</span>:</span> <span>{{range}}</span>
</div>
{{/range}}
{{#components}}
<div class="no-border">
<span class="bold"><span data-i18n="COMPONENTS">Components</span>:</span>
{{components}}
{{#materials}}({{materials}}){{/materials}}
</div>
{{/components}}
{{#duration}}
<div class="no-border">
<span class="bold"><span data-i18n="DURATION">Duration</span>:</span>
<span>{{concentration}}</span>
<span>{{duration}}</span>
</div>
{{/duration}}
{{#target}}
<div class="no-border">
<span class="bold"><span data-i18n="TARGET">Target</span>:</span> <span>{{target}}</span>
</div>
{{/target}}
<div class="italic no-border">
{{friendly_level}}{{#cast_as_level}} (<span class="lowercase" data-i18n="AS">as</span> {{cast_as_level}}){{/cast_as_level}}{{#school}} {{school}}{{/school}}{{#ritual}}
(<span class="lowercase" data-i18n="RITUAL">ritual</span>){{/ritual}}
</div>
{{/spell}}
{{#subheader}}
<div class="rt-subheader no-border">{{subheader}}</div>
{{/subheader}}
{{#uses}}
<div class="no-border">
<div class="bold"><span data-i18n="USES">Uses</span>:</span> {{uses}} / {{uses_max}}</div>
</div>
{{/uses}}
{{#casting_time}}
<div class="no-border">
<span class="bold"><span data-i18n="CASTING_TIME">Casting Time</span>:</span> <span>{{casting_time}}</span>
</div>
{{/casting_time}}
{{#range}}
<div class="no-border">
<span class="bold"><span data-i18n="RANGE">Range</span>:</span> <span>{{range}}</span> <span></span> <span>{{#ammo}}{{ammo}} {{#ammo_name}}{{ammo_name}}{{/ammo_name}}{{^ammo_name}}<span class="lowercase" data-i18n="AMMO">ammo</span>{{/ammo_name}}{{/ammo}}</span>
</div>
{{/range}}
{{#reach}}
<div class="no-border">
<span class="bold"><span data-i18n="REACH">Reach</span>:</span> <span>{{reach}}</span>
</div>
{{/reach}}
{{#components}}
<div class="no-border">
<span class="bold"><span data-i18n="COMPONENTS">Components</span>:</span>
{{components}}
{{#materials}}({{materials}}){{/materials}}
</div>
{{/components}}
{{#duration}}
<div class="no-border">
<span class="bold"><span data-i18n="DURATION">Duration</span>:</span>
<span>{{concentration}}</span>
<span>{{duration}}</span>
</div>
{{/duration}}
{{#target}}
<div class="no-border">
<span class="bold"><span data-i18n="TARGET">Target</span>:</span> <span>{{target}}</span>
</div>
{{/target}}
<div></div>
{{#content}}
<div class="mar-t-md{{#hide_spell_content}} gm-info-block{{/hide_spell_content}}">{{content}}</div>
{{/content}}
@@ -79,7 +93,12 @@
<div class="col-50 output border-left">{{roll2}}</div>
{{/roll2}}
{{#vs_ac}}
<div class="col-100 output-small-label"><span data-i18n="VS">vs</span> <span data-i18n="AC">AC</span> {{#targetAC}} {{targetAC}}{{/targetAC}}</div>
<div class="col-100 output-small-label">
<span data-i18n="VS">vs</span>
{{#targetName}}<span>{{targetName}}</span>{{/targetName}}
<span data-i18n="AC">AC</span>
{{#targetAC}} {{targetAC}}{{/targetAC}}
</div>
{{/vs_ac}}
</div>
{{/roll1}}
@@ -89,11 +108,17 @@
<div class="output-small-label">{{saving_throw_condition}}</div>
{{/saving_throw_condition}}
{{#saving_throw_dc}}
<div class="output">
{{#targetName}}
<div class="col-100 output-small-label">
<span data-i18n="VS">vs</span>
<span>{{targetName}}</span>
</div>
{{/targetName}}
<div class="output-small">
<span class="{{#hide_saving_throw_dc}}gm-info-inline-block{{/hide_saving_throw_dc}}"><span data-i18n="DC">DC</span> {{saving_throw_dc}}</span>
[<span data-i18n="{{saving_throw_vs_ability}}">{{saving_throw_vs_ability}}</span>](~target|shaped_{{saving_throw_vs_ability}}_saving_throw)
</div>
<div>saving throw</div>
<div><span data-i18n="SAVING_THROW" class="lowercase">Saving throw</span></div>
{{/saving_throw_dc}}
{{#saving_throw_failure}}
<div class="{{#hide_saving_throw_failure}}gm-info-block{{/hide_saving_throw_failure}}">