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

1543 lines
119 KiB
HTML

<!-- LOTR 5E -->
<!-- Character sheet for Roll20 by VJ Rolmasters -->
<div class="sheet-contenedorvj">
<div class="sheet-centerbox">
<!-- ============================= MENU ======================== -->
<div class="sheet-center-menu">
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" value="front" />
<div>
<button type="action" name="act_front" class="sheet-button0"><span data-i18n="front-u">FRONT</span></button>
<button type="action" name="act_back" class="sheet-button1"><span data-i18n="back-u">BACK</span></button>
<select name="attr_lanzardados" class="sheet-barralanzadados2">
<option value="1d2">1D2</option>
<option value="1d3">1D3</option>
<option value="1d4">1D4</option>
<option value="1d6">1D6</option>
<option value="1d8">1D8</option>
<option value="1d10">1D10</option>
<option value="1d12">1D12</option>
<option value="1d20">1D20</option>
</select>
<button class="lotr5ebtn4" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_thedice" value="@{secret_roll} &{template:lotr5e} {{title=@{labelrollthedice} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelrolling} @{lanzardados} =}} {{@{labelresult} =[[@{lanzardados}]]}} " ></button>
</div>
<input type="hidden" name="attr_labelskillroll" />
<input type="hidden" name="attr_labelroll" />
<input type="hidden" name="attr_labelrolling" />
<input type="hidden" name="attr_labelrollthedice" />
<input type="hidden" name="attr_labelresult" />
<input type="hidden" name="attr_labelabilityroll" />
<input type="hidden" name="attr_labelsavingthrowroll" />
<input type="hidden" name="attr_labelattackroll" />
<input type="hidden" name="attr_labeldamage" />
<input type="hidden" name="attr_labelinitiativeroll" />
<input type="hidden" name="attr_labeliniciative" />
<input type="hidden" name="attr_labelacrobatics" />
<input type="hidden" name="attr_labelanimalhandling" />
<input type="hidden" name="attr_labelathletics" />
<input type="hidden" name="attr_labeldeception" />
<input type="hidden" name="attr_labelexplore" />
<input type="hidden" name="attr_labelhunting" />
<input type="hidden" name="attr_labelinsight" />
<input type="hidden" name="attr_labelintimidation" />
<input type="hidden" name="attr_labelinvestigation" />
<input type="hidden" name="attr_labelmedicine" />
<input type="hidden" name="attr_labelnature" />
<input type="hidden" name="attr_labeloldlore" />
<input type="hidden" name="attr_labelperception" />
<input type="hidden" name="attr_labelperformance" />
<input type="hidden" name="attr_labelpersuasion" />
<input type="hidden" name="attr_labelriddle" />
<input type="hidden" name="attr_labelsleightofhand" />
<input type="hidden" name="attr_labelstealth" />
<input type="hidden" name="attr_labeltravel" />
<div class="sheet-invisible">
<span data-i18n="labelskillroll">SKILL ROLL</span>
<span data-i18n="labelroll">ROLL</span>
<span data-i18n="labelrolling">ROLLING</span>
<span data-i18n="labelrollthedice">ROLL THE DICE</span>
<span data-i18n="labelresult">RESULT</span>
<span data-i18n="labelabilityroll">ABILITY ROLL</span>
<span data-i18n="labelsavingthrowroll">SAVING THROW ROLL</span>
<span data-i18n="labelattackroll">ATTACK ROLL</span>
<span data-i18n="labeldamage">DAMAGE</span>
<span data-i18n="labelinitiativeroll">INITIATIVE ROLL</span>
<span data-i18n="labelinitiative">INITIATIVE</span>
<span data-i18n="labelstrength">STRENGTH</span>
<span data-i18n="labeldexterity">DEXTERITY</span>
<span data-i18n="labelconstitution">CONSTITUTION</span>
<span data-i18n="labelstrength">INTELLIGENCE</span>
<span data-i18n="labelstrength">WISDOM</span>
<span data-i18n="labelstrength">CHARISMA</span>
<span data-i18n="labelacrobatics">ACROBATICS</span>
<span data-i18n="labelanimalhandling">ANIMAL HANDLING</span>
<span data-i18n="labelathletics">ATHLETICS</span>
<span data-i18n="labeldeception">DECEPTION</span>
<span data-i18n="labelexplore">EXPLORE</span>
<span data-i18n="labelhunting">HUNTING</span>
<span data-i18n="labelinsight">INSIGHT</span>
<span data-i18n="labelintimidation">INTIMIDATION</span>
<span data-i18n="labelinvestigation">INVESTIGATION</span>
<span data-i18n="labelmedicine">MEDICINE</span>
<span data-i18n="labelnature">NATURE</span>
<span data-i18n="labeloldlore">OLD LORE</span>
<span data-i18n="labelperception">PERCEPTION</span>
<span data-i18n="labelperformance">PERFORMANCE</span>
<span data-i18n="labelpersuasion">PERSUASION</span>
<span data-i18n="labelriddle">RIDDLE</span>
<span data-i18n="labelsleightofhand">SLEIGHT OF HAND</span>
<span data-i18n="labelstealth">STEALTH</span>
<span data-i18n="labeltravel">TRAVEL</span>
</div><!-- end .sheet-invisible -->
<!-- ============================= TAB 1 : FRONT ======================== -->
<div class="sheet-front">
<div class="sheet-separadormenu"></div><!-- end .sheet-separadormenu -->
<div class="sheet-headbox">
<div class="sheet-headboxA">
<div class="sheet-name"><span data-i18n="name-u">NAME</span></div><!-- end .sheet-name -->
<div class="sheet-pjname">
<input class="sheet-characterinfo" type="text" name="attr_character_name" data-i18n-title="character-name-u" value="" />
</div><!-- end .sheet-pjname -->
<div class="sheet-secretbox">
<span data-i18n="d20-rolls-u">D20-ROLLS</span>
<select class="sheet-selectrolltype" name="attr_rolltype" data-i18n-title="this-modifier-affects-all-d20-rolls-u" style=" ">
<option value="{2d20}kh1"><span data-i18n="advantage-u">ADVANTAGE</span></option>
<option value="{1d20}" selected><span data-i18n="normal-u">NORMAL</span></option>
<option value="{2d20}kl1"><span data-i18n="disavantage-u">DISAVANTAGE</span></option>
</select>
</div><!-- end .sheet-secretbox -->
</div><!-- end .sheet-headboxA -->
<div class="sheet-headboxB">
<div class="sheet-espai-15"></div><!-- end .sheet-espai-10 -->
<input class="sheet-characterinfo2" type="text" name="attr_callinglevel" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_distinctivefeatures" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_playername" data-i18n-title="player-name-u" value="" />
<div class="sheet-characterinfo3"><span data-i18n="calling-and-level-u">Calling and Level</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="distinctive-features-u">Distinctive Features</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="player-name-u">Player Name</span></div><!-- end .characterinfo3 -->
<input class="sheet-characterinfo2" type="text" name="attr_culture" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_shadowpath" title="" value="" />
<input class="sheet-characterinfo2" type="number" name="attr_experiencepoints" data-i18n-title="experience-accumulated-u" value="" />
<div class="sheet-characterinfo3"><span data-i18n="culture-u">Culture</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="shadow-path-u">Shadow Path</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="experience-points-u">Experience Points</span></div><!-- end .characterinfo3 -->
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
<div class="sheet-secretdmroll">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 5px 0px 5px;" name="attr_secret_roll" value="/w gm"><span data-i18n="secret-rolls-u">Secret rolls for the game master</span>
</div><!-- end .sheet-secretdmroll -->
</div><!-- end .sheet-headboxB -->
</div><!-- end .sheet-headbox -->
<div class="sheet-bigbox">
<!-- ============================= FIRST COLUMN TAB 1 : FRONT ABILITIES ======================== -->
<div class="sheet-leftcolumn">
<div class="sheet-atributecolumn">
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
<div class="sheet-atributebox">
<div class="sheet-diceatributes"><button class="lotr5ebtn" style="text-align: center; " type="roll" name="roll_fuerza" value="@{secret_roll} &{template:lotr5e} {{title=@{labelabilityroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelstrength}=[[ @{rolltype} + @{bonusstrength} ]]}} {{desc= @{labelroll} 1d20 + Strength Modifier}}" ></button> </div><!-- end .sheet-titleatributes -->
<div class="sheet-titleatributes"><span data-i18n="strength-u">STRENGTH</span></div><!-- end .sheet-titleatributes -->
<input class="sheet-valueatributes" type="number" max="100" min="-100" name="attr_strength" data-i18n-title="strength-ability-u" value="0" style="margin: 0px 0px 0px 3px; text-align: center;" />
<input class="sheet-bonusatributes" type="number" max="100" min="-100" name="attr_bonusstrength" data-i18n-title="strength-modifier-u" value="0" style="margin: 0px; text-align: center;" readonly />
</div><!-- end .sheet-atributebox -->
<div class="sheet-atributebox">
<div class="sheet-diceatributes"><button class="lotr5ebtn" style="text-align: center; " type="roll" name="roll_fuerza" value="@{secret_roll} &{template:lotr5e} {{title=@{labelabilityroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labeldexterity}=[[ @{rolltype} + @{bonusdexterity} ]]}} {{desc= @{labelroll} 1d20 + Dexterity Modifier}}" ></button> </div><!-- end .sheet-titleatributes -->
<div class="sheet-titleatributes"><span data-i18n="dexterity-u">DEXTERITY</span></div><!-- end .sheet-titleatributes -->
<input class="sheet-valueatributes" type="number" max="100" min="-100" name="attr_dexterity" data-i18n-title="dexterirty-ability-u" value="0" style="margin: 0px 0px 0px 3px; text-align: center;" />
<input class="sheet-bonusatributes" type="number" max="100" min="-100" name="attr_bonusdexterity" data-i18n-title="dexterity-modifier-u" value="0" style="margin: 0px; text-align: center;" readonly />
</div><!-- end .sheet-atributebox -->
<div class="sheet-atributebox">
<div class="sheet-diceatributes"><button class="lotr5ebtn" style="text-align: center; " type="roll" name="roll_fuerza" value="@{secret_roll} &{template:lotr5e} {{title=@{labelabilityroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelconstitution}=[[ @{rolltype} + @{bonusconstitution} ]]}} {{desc= @{labelroll} 1d20 + Constitution Modifier}}" ></button> </div><!-- end .sheet-titleatributes -->
<div class="sheet-titleatributes"><span data-i18n="constitution-u">CONSTITUTION</span></div><!-- end .sheet-titleatributes -->
<input class="sheet-valueatributes" type="number" max="100" min="-100" name="attr_constitution" data-i18n-title="constitution-ability-u" value="0" style="margin: 0px 0px 0px 3px; text-align: center;" />
<input class="sheet-bonusatributes" type="number" max="100" min="-100" name="attr_bonusconstitution" data-i18n-title="constitution-modifier-u" value="0" style="margin: 0px; text-align: center;" readonly />
</div><!-- end .sheet-atributebox -->
<div class="sheet-atributebox">
<div class="sheet-diceatributes"><button class="lotr5ebtn" style="text-align: center; " type="roll" name="roll_fuerza" value="@{secret_roll} &{template:lotr5e} {{title=@{labelabilityroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelintelligence}=[[ @{rolltype} + @{bonusintelligence} ]]}} {{desc= @{labelroll} 1d20 + Intelligence Modifier}}" ></button> </div><!-- end .sheet-titleatributes -->
<div class="sheet-titleatributes"><span data-i18n="intelligence-u">INTELLIGENCE</span></div><!-- end .sheet-titleatributes -->
<input class="sheet-valueatributes" type="number" max="100" min="-100" name="attr_intelligence" data-i18n-title="intelligence-ability-u" value="0" style="margin: 0px 0px 0px 3px; text-align: center;" />
<input class="sheet-bonusatributes" type="number" max="100" min="-100" name="attr_bonusintelligence" data-i18n-title="intelligence-modifier-u" value="0" style="margin: 0px; text-align: center;" readonly />
</div><!-- end .sheet-atributebox -->
<div class="sheet-atributebox">
<div class="sheet-diceatributes"><button class="lotr5ebtn" style="text-align: center; " type="roll" name="roll_fuerza" value="@{secret_roll} &{template:lotr5e} {{title=@{labelabilityroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelwisdom}=[[ @{rolltype} + @{bonuswisdom} ]]}} {{desc= @{labelroll} 1d20 + Wisdom Modifier}}" ></button> </div><!-- end .sheet-titleatributes -->
<div class="sheet-titleatributes"><span data-i18n="wisdom-u">WISDOM</span></div><!-- end .sheet-titleatributes -->
<input class="sheet-valueatributes" type="number" max="100" min="-100" name="attr_wisdom" data-i18n-title="wisdom-ability-u" value="0" style="margin: 0px 0px 0px 3px; text-align: center;" />
<input class="sheet-bonusatributes" type="number" max="100" min="-100" name="attr_bonuswisdom" data-i18n-title="wisdom-modifier-u" value="0" style="margin: 0px; text-align: center;" readonly />
</div><!-- end .sheet-atributebox -->
<div class="sheet-atributebox">
<div class="sheet-diceatributes"><button class="lotr5ebtn" style="text-align: center; " type="roll" name="roll_fuerza" value="@{secret_roll} &{template:lotr5e} {{title=@{labelabilityroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelcharisma}=[[ @{rolltype} + @{bonuscharisma} ]]}} {{desc= @{labelroll} 1d20 + Charisma Modifier}}" ></button> </div><!-- end .sheet-titleatributes -->
<div class="sheet-titleatributes"><span data-i18n="charisma-u">CHARISMA</span></div><!-- end .sheet-titleatributes -->
<input class="sheet-valueatributes" type="number" max="100" min="-100" name="attr_charisma" data-i18n-title="charisma-ability-u" value="0" style="margin: 0px 0px 0px 3px; text-align: center;" />
<input class="sheet-bonusatributes" type="number" max="100" min="-100" name="attr_bonuscharisma" data-i18n-title="charisma-modifier-u" value="0" style="margin: 0px; text-align: center;" readonly />
</div><!-- end .sheet-atributebox -->
</div><!-- end .sheet-atributecolumn -->
<!-- ============================= FIRST COLUMN TAB 1 : FRONT SKILLS ======================== -->
<div class="sheet-habilitycolumn">
<div class="sheet-width100">
<input class="sheet-valoratributos" type="number" max="100" min="-100" name="attr_inspiration" data-i18n-title="inspiration-value-u" value="0" style="margin: 12px 0px 0px 5px; text-align: center;" />
<div class="sheet-titleinspiration" style="margin: 28px 0px 0px 10px;"><span data-i18n="inspiration-u">Inspiration</span></div><!-- end .sheet-titleinspiration -->
</div><!-- end .sheet-width100 -->
<div class="sheet-width100">
<input class="sheet-valoratributos" type="number" max="100" min="-100" name="attr_proficiencybonus" data-i18n-title="proficiency-bonus-value-u" value="0" style="margin: 18px 0px 0px 5px; text-align: center;" readonly />
<div class="sheet-titleinspiration" style="margin: 34px 0px 0px 10px;"><span data-i18n="proficiency-b-u">Proficiency B</span></div><!-- end .sheet-titleinspiration -->
</div><!-- end .sheet-width100 -->
<div class="sheet-width100">
<div class="sheet-espai-50"></div><!-- end .sheet-espai-50 -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksavstrength" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_savingthrowstrength" data-i18n-title="st-str-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/> <span data-i18n="strength-u">S.T. Strength</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_savestrength" value="@{secret_roll} &{template:lotr5e} {{title=@{labelsavingthrowroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelstrength}=[[@{rolltype}+@{savingthrowstrength}]]}} {{desc= @{labelroll} 1d20 + Strength Saving Throw (Strength Modifier @{descprofiststr})}}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksavdexterity" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_savingthrowdexterity" data-i18n-title="st-dex-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/> <span data-i18n="dexterity-u">Dexterity</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_savedexterity" value="@{secret_roll} &{template:lotr5e} {{title=@{labelsavingthrowroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labeldexterity}=[[@{rolltype}+@{savingthrowdexterity}]]}} {{desc= @{labelroll} 1d20 + Dexterity Saving Throw (Dexterity Modifier @{descprofistdex})}}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksavconstitution" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_savingthrowconstitution" data-i18n-title="st-con-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="constitution-u">Constitution</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_saveconstitution" value="@{secret_roll} &{template:lotr5e} {{title=@{labelsavingthrowroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelconstitution}=[[@{rolltype}+@{savingthrowconstitution}]]}} {{desc= @{labelroll} 1d20 + Constitution Saving Throw (Constitution Modifier @{descprofistcon})}}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksavintelligence" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_savingthrowintelligence" data-i18n-title="st-int-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="intelligence-u">Intelligence</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_saveintelligence" value="@{secret_roll} &{template:lotr5e} {{title=@{labelsavingthrowroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelintelligence}=[[@{rolltype}+@{savingthrowintelligence}]]}} {{desc= @{labelroll} 1d20 + Intelligence Saving Throw (Intelligence Modifier @{descprofistint})}}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksavwisdom" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_savingthrowwisdom" data-i18n-title="st-wis-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="wisdom-u">Wisdom</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_savewisdom" value="@{secret_roll} &{template:lotr5e} {{title=@{labelsavingthrowroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelwisdom}=[[@{rolltype}+@{savingthrowwisdom}]]}} {{desc= @{labelroll} 1d20 + Wisdom Saving Throw (Wisdom Modifier @{descprofistwis})}}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksavcharisma" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_savingthrowcharisma" data-i18n-title="st-cha-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="charisma-u">Charisma</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_savecharisma" value="@{secret_roll} &{template:lotr5e} {{title=@{labelsavingthrowroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelcharisma}=[[@{rolltype}+@{savingthrowcharisma}]]}} {{desc= @{labelroll} 1d20 + Charisma Saving Throw (Charisma Modifier @{descprofistcha})}}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-titlebox" style="margin: 15px 0px 0px 0px;"><span data-i18n="saving-throws-u">Saving Throws</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-width100 -->
<input type="text" style="" name="attr_descprofiststr" value="" hidden >
<input type="text" style="" name="attr_descprofistdex" value="" hidden >
<input type="text" style="" name="attr_descprofistcon" value="" hidden >
<input type="text" style="" name="attr_descprofistint" value="" hidden >
<input type="text" style="" name="attr_descprofistwis" value="" hidden >
<input type="text" style="" name="attr_descprofistcha" value="" hidden >
<input type="text" style="" name="attr_descprofiacrobatics" value="" hidden >
<input type="text" style="" name="attr_descprofianimal" value="" hidden >
<input type="text" style="" name="attr_descprofiathletics" value="" hidden >
<input type="text" style="" name="attr_descprofideception" value="" hidden >
<input type="text" style="" name="attr_descprofiexplore" value="" hidden >
<input type="text" style="" name="attr_descprofihunting" value="" hidden >
<input type="text" style="" name="attr_descprofiinsight" value="" hidden >
<input type="text" style="" name="attr_descprofiintimidation" value="" hidden >
<input type="text" style="" name="attr_descprofiinvestigation" value="" hidden >
<input type="text" style="" name="attr_descprofimedicine" value="" hidden >
<input type="text" style="" name="attr_descprofinature" value="" hidden >
<input type="text" style="" name="attr_descprofioldlore" value="" hidden >
<input type="text" style="" name="attr_descprofiperception" value="" hidden >
<input type="text" style="" name="attr_descprofiperformance" value="" hidden >
<input type="text" style="" name="attr_descprofipersuasion" value="" hidden >
<input type="text" style="" name="attr_descprofiriddle" value="" hidden >
<input type="text" style="" name="attr_descprofisleight" value="" hidden >
<input type="text" style="" name="attr_descprofistealth" value="" hidden >
<input type="text" style="" name="attr_descprofitravel" value="" hidden >
<div class="sheet-width100">
<div class="sheet-espai-40"></div><!-- end .sheet-espai-50 -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkacrobatics" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_acrobatics" data-i18n-title="acrobatics-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="acrobatics-u">Acrobatics (Dex) </span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_acrobatics" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelacrobatics}=[[@{rolltype}+@{acrobatics}]]}} {{desc= @{labelroll} 1d20 + Acrobatics skill (Dexterity Modifier @{descprofiacrobatics}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkanimalhandling" value="1"> <input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_animalhandling" data-i18n-title="animal-handling-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="animal-u">Animal Ha.(Wis)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_animal" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelanimalhandling}=[[@{rolltype}+@{animalhandling}]]}} {{desc= @{labelroll} 1d20 + Animal Handling skill (Wisdom Modifier @{descprofianimal}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkathletics" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_athletics" data-i18n-title="athletics-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="athletics-u">Athletics (Str)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_athletics" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelathletics}=[[@{rolltype}+@{athletics}]]}} {{desc= @{labelroll} 1d20 + Athletics skill (Strength Modifier @{descprofiathletics}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkdeception" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_deception" data-i18n-title="deception-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="deception-u">Deception (Cha)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_deception" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labeldeception}=[[@{rolltype}+@{deception}]]}} {{desc= @{labelroll} 1d20 + Deception skill (Charisma Modifier @{descprofideception}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkexplore" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_explore" data-i18n-title="explore-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="explore-u">Explore (Wis)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_explore" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelexplore}=[[@{rolltype}+@{explore}]]}} {{desc= @{labelroll} 1d20 + Explore skill (Wisdom Modifier @{descprofiexplore}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkhunting" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_hunting" data-i18n-title="hunting-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="hunting-u">Hunting (Wis)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_hunting" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelhunting}=[[@{rolltype}+@{hunting}]]}} {{desc= @{labelroll} 1d20 + Hunting skill (Wisdom Modifier @{descprofihunting}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkinsight" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_insight" data-i18n-title="insight-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="insight-u">insight (Wis)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_insight" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelinsight}=[[@{rolltype}+@{insight}]]}} {{desc= @{labelroll} 1d20 + Insight skill (Wisdom Modifier @{descprofiinsight}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkintimidation" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_intimidation" data-i18n-title="intimidation-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="intimidation-u">Intimidation (Cha)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_intimidation" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelintimidation}=[[@{rolltype}+@{intimidation}]]}} {{desc= @{labelroll} 1d20 + Intimidation skill (Charisma Modifier @{descprofiintimidation}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkinvestigation" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_investigation" data-i18n-title="investigation-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="investigation-u">Investigation (Int)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_investigation" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelinvestigation}=[[@{rolltype}+@{investigation}]]}} {{desc= @{labelroll} 1d20 + Investigation skill (Intelligence Modifier @{descprofiinvestigation}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkmedicine" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_medicine" data-i18n-title="medicine-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="medicine-u">Medicine (Int)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_medicine" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelmedicine}=[[@{rolltype}+@{medicine}]]}} {{desc= @{labelroll} 1d20 + Medicine skill (Intelligence Modifier @{descprofimedicine}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checknature" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_nature" data-i18n-title="nature-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="nature-u">Nature (Int)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_nature" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelnature}=[[@{rolltype}+@{nature}]]}} {{desc= @{labelroll} 1d20 + Nature skill (Intelligence Modifier @{descprofinature}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkoldlore" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_oldlore" data-i18n-title="oldlore-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="old-lore-u">Old Lore (Int)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_oldlore" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labeloldlore}=[[@{rolltype}+@{oldlore}]]}} {{desc= @{labelroll} 1d20 + Old Lore skill (Intelligence Modifier @{descprofioldlore}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkperception" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_perception" data-i18n-title="perception-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="perception-u">Perception (Wis)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_perception" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelperception}=[[@{rolltype}+@{perception}]]}} {{desc= @{labelroll} 1d20 + Perception skill (Wisdom Modifier @{descprofiperception}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkperformance" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_performance" data-i18n-title="performance-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="performance-u">Perfromance (Cha)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_performance" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelperformance}=[[@{rolltype}+@{performance}]]}} {{desc= @{labelroll} 1d20 + Performance skill (Charisma Modifier @{descprofiperformance}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkpersuasion" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_persuasion" data-i18n-title="persuasion-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="persuasion-u">Persuasion (Cha)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_persuasion" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelpersuasion}=[[@{rolltype}+@{persuasion}]]}} {{desc= @{labelroll} 1d20 + Persuasion skill (Charisma Modifier @{descprofipersuasion}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkriddle" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_riddle" data-i18n-title="riddle-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="riddle-u">Riddle (Int)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_riddle" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelriddle}=[[@{rolltype}+@{riddle}]]}} {{desc= @{labelroll} 1d20 + Riddle skill (Intelligence Modifier @{descprofiriddle}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checksleightofhand" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_sleightofhand" data-i18n-title="sleight-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="sleight-of-h-u">Sleight of H.(Dex)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_sleight" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelsleightofhand}=[[@{rolltype}+@{sleightofhand}]]}} {{desc= @{labelroll} 1d20 + Sleight of hand skill (Dexterity Modifier @{descprofisleight}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checkstealth" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_stealth" data-i18n-title="stealth-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="stealth-u">Stealth (Dex)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_stealth" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelstealth}=[[@{rolltype}+@{stealth}]]}} {{desc= @{labelroll} 1d20 + Stealth skill (Dexterity Modifier @{descprofistealth}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-habilitybox">
<input type="checkbox" class="sheet-checksalvation" style="margin: 3px 0px 0px 15px;" name="attr_checktravel" value="1">
<input class="sheet-valorhability" type="number" max="100" min="-100" name="attr_travel" data-i18n-title="travel-skill-value-u" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" readonly="true"/><span data-i18n="travel-u">Travel (WIS)</span>
<button class="lotr5ebtn3" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_travel" value="@{secret_roll} &{template:lotr5e} {{title=@{labelskillroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labeltravel}=[[@{rolltype}+@{travel}]]}} {{desc= @{labelroll} 1d20 + Travel skill (Wisdom Modifier @{descprofitravel}) }}" ></button>
</div><!-- end .sheet-habilitybox -->
<div class="sheet-titlebox" style="margin: 15px 0px 0px 0px;"><span data-i18n="skills-u">Skills</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-width100 -->
</div><!-- end .sheet-habilitycolumn -->
<input class="sheet-valoratributos" type="number" max="100" min="-100" name="attr_passivewisdom" data-i18n-title="pasive-wisdom-value-u" value="0" style="margin: 8px 0px 0px 42px; text-align: center;" />
<div class="sheet-titlebox2" style="margin: 22px 0px 0px 10px;"><span data-i18n="passive-wisdom-u">Passive Wisdom (Per)</span></div><!-- end .sheet-titlebox2 -->
<textarea style="position: relative; float: left; margin: 25px 0px 0px 45px; padding: 0px 15px; width:237px; height:122px; max-height: 122px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 12px; font-family: 'Volkhov', serif; line-height: 20px;" name="attr_languages"></textarea>
<div class="sheet-titlelanguages"><span data-i18n="tool-proficiencies-and-languages-u">Tool Proficiencies and Languages</span></div><!-- end .sheet-titlelanguages -->
</div><!-- end .sheet-leftcolumn -->
<!-- ============================= SECOND COLUMN TAB 1 : FRONT ARMOR ======================== -->
<div class="sheet-bigarmorcolumn">
<div class="sheet-armorcolumn">
<div class="sheet-width100">
<div class="sheet-iniciativebox">
<input class="sheet-valorarmor" type="number" max="100" min="-100" name="attr_armorclass" data-i18n-title="armor-value-u" value="0" style="margin: 15px 0px 0px 0px; text-align: center;" />
<div class="sheet-titlebox"><span data-i18n="armor-u">Armor</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-iniciativebox -->
<div class="sheet-iniciativebox">
<div class="sheet-titleextra"><span data-i18n="extra-u">Extra</span></div><!-- end .sheet-titleextra -->
<div class="sheet-extrabox">
<input class="sheet-valorextra" type="number" max="100" min="-100" name="attr_extrainitiative" data-i18n-title="extra-value-u" value="0" style="margin: 2px 0px 0px 0px; text-align: center;" />
</div><!-- end .sheet-extrabox -->
<div class="sheet-diceinibox">
<button class="lotr5ebtn" style="text-align: center; font-size: 24; color: #f7c00f; " type="roll" name="roll_initiative" value="@{secret_roll} &{template:lotr5e} {{title=@{labelinitiativeroll} }} {{subtitle= @{character_name} }} {{color=}} {{@{labelinitiative}=[[ @{rolltype} + @{bonusdexterity} + @{extrainitiative} &{tracker} ]]}} {{desc= @{labelroll} 1d20 + Dexterity bonus + Extra initiative }}" ></button>
</div><!-- end .sheet-diceinibox -->
<div class="sheet-espai-5"></div><!-- end .sheet-espai-5 -->
<div class="sheet-titlebox"><span data-i18n="initiative-u">Initiative</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-iniciativebox -->
<div class="sheet-iniciativebox">
<input class="sheet-valorarmor" type="number" max="50" min="-50" name="attr_speed" data-i18n-title="speed-value-u" value="0" style="margin: 15px 0px 0px 0px; text-align: center;" />
<div class="sheet-titlebox"><span data-i18n="speed-u">Speed</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-iniciativebox -->
</div><!-- end .sheet-width100 -->
<div class="sheet-width100">
<div class="sheet-half50">
<input class="sheet-valorarmor" type="number" max="200" min="-200" name="attr_hitpointmaximum" data-i18n-title="hit-p-max-value-u" value="0" style="margin: 10px 0px 0px 20px; text-align: center;" />
<div class="sheet-titlebox3"><span data-i18n="hit-points-maximum-u">Hit Points Maximum</span></div><!-- end .sheet-titlebox3 -->
</div><!-- end .sheet-half50 -->
<div class="sheet-half50">
<div class="sheet-temporarybox">
<input class="sheet-valorarmor" type="number" max="200" min="-200" name="attr_hitpointtemporary" data-i18n-title="hit-p-tempo-value-u" value="0" style="margin: 60px 0px 0px 10px; text-align: center;" />
<div class="sheet-titlebox3"><span data-i18n="temporary-u">Temporary</span></div><!-- end .sheet-titlebox3 -->
<div class="sheet-titlebox3"><span data-i18n="hit-points-u">Hit Points</span></div><!-- end .sheet-titlebox3 -->
</div><!-- end .sheet-temporarybox -->
</div><!-- end .sheet-half50 -->
</div><!-- end .sheet-width100 -->
<div class="sheet-width100">
<div class="sheet-hitdicebox">
<input class="sheet-valorarmor" type="text" max="200" min="-200" name="attr_hitdice" data-i18n-title="hit-dice-value-u" value="0" style="margin: 20px 0px 0px 20px; text-align: center;" />
<div class="sheet-titlebox"><span data-i18n="hit-dice-u">Hit Dice</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-hitdicebox -->
<div class="sheet-hitdicebox">
<div class="sheet-100">
<div class="sheet-deadsavestextbox"><span data-i18n="successes-u">Successes</span> </div><!-- end .sheet-deadsavestextbox -->
<div class="sheet-deadsavescheck">
<input type="checkbox" class="sheet-checksalvation" style="margin: 0px 2px 0px 2px;" name="attr_succes1" value="1">
<input type="checkbox" class="sheet-checksalvation" style="margin: 0px 2px 0px 2px;" name="attr_succes2" value="1">
<input type="checkbox" class="sheet-checksalvation" style="margin: 0px 2px 0px 2px;" name="attr_succes3" value="1">
</div><!-- end .sheet-deadsavescheck -->
</div><!-- end .sheet-100 -->
<div class="sheet-100">
<div class="sheet-deadsavestextbox"><span data-i18n="failures-u">Failures</span> </div><!-- end .sheet-deadsavestextbox -->
<div class="sheet-deadsavescheck">
<input type="checkbox" class="sheet-checksalvation" style="margin: 0px 2px 0px 2px;" name="attr_fail1" value="1">
<input type="checkbox" class="sheet-checksalvation" style="margin: 0px 2px 0px 2px;" name="attr_fail2" value="1">
<input type="checkbox" class="sheet-checksalvation" style="margin: 0px 2px 0px 2px;" name="attr_fail3" value="1">
</div><!-- end .sheet-deadsavescheck -->
</div><!-- end .sheet-100 -->
<div class="sheet-espai-5"></div><!-- end .sheet-espai-5 -->
<div class="sheet-titlebox"><span data-i18n="death-saves-u">Death saves</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-hitdicebox -->
</div><!-- end .sheet-width100 -->
</div><!-- end .sheet-armorcolumn -->
<div class="sheet-shadowcolumn">
<div class="sheet-width100">
<div class="sheet-carriedbox">
<input class="sheet-valorarmor" type="number" max="50" min="-50" name="attr_carriedweight" title="Carried Weight" value="0" style="margin: 0px 0px 0px 0px; text-align: center;" />
<div class="sheet-titlebox"><span data-i18n="carried-u">Carried</span></div><!-- end .sheet-titlebox -->
<div class="sheet-titlebox"><span data-i18n="weight-u">Weight</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-carriedbox -->
<div class="sheet-encumbredbox">
<div class="sheet-encumbredline">
<input type="checkbox" class="sheet-mycheck" style="margin: 0px 2px 0px 5px;" name="attr_encumbred" data-i18n-title="encumbred-value-u" > <span data-i18n="encumbred-u">Encumbred</span>
</div><!-- end .sheet-encumbredline -->
<div class="sheet-encumbredline">
<input type="checkbox" class="sheet-mycheck" style="margin: 0px 2px 0px 5px;" name="attr_heavilyencumbred" data-i18n-title="heavily-encumbred-value-u" > <span data-i18n="heavily-encumbred-u">Heavily Encumbred</span>
</div><!-- end .sheet-encumbredline -->
</div><!-- end .sheet-encumbredbox -->
<div class="sheet-titlebox"><span data-i18n="encumbrance-u">Encumbrance</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-width100 -->
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
<div class="sheet-espai-5"></div><!-- end .sheet-espai-5 -->
<div class="sheet-width100">
<div class="sheet-carriedbox">
<input class="sheet-valorarmor" type="number" max="50" min="-50" name="attr_shadowscore" data-i18n-title="shadow-score-value-u" value="0" style="margin: 5px 0px 0px 0px; text-align: center;" />
<div class="sheet-titlebox"><span data-i18n="shadow-u">Shadow</span></div><!-- end .sheet-titlebox -->
<div class="sheet-titlebox"><span data-i18n="score-u">Score</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-carriedbox -->
<div class="sheet-carriedbox">
<input class="sheet-valorarmor" type="number" max="50" min="-50" name="attr_shadowscars" data-i18n-title="shadow-scars-value-u" value="0" style="margin: 5px 0px 0px 0px; text-align: center;" />
<div class="sheet-titlebox"><span data-i18n="shadow-u">Shadow</span></div><!-- end .sheet-titlebox -->
<div class="sheet-titlebox"><span data-i18n="scars-u">Scars</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-carriedbox -->
<div class="sheet-shadowbox">
<div class="sheet-encumbredline">
<input type="checkbox" class="sheet-mycheck" style="margin: 0px 2px 0px 2px;" name="attr_miserable"> <span data-i18n="miserable-u">Miserable</span>
</div><!-- end .sheet-encumbredline -->
<div class="sheet-encumbredline">
<input type="checkbox" class="sheet-mycheck" style="margin: 0px 2px 0px 2px;" name="attr_anguished"> <span data-i18n="anguished-u">Anguished</span>
</div><!-- end .sheet-encumbredline -->
</div><!-- end .sheet-shadowbox -->
<textarea style="position: relative; float: left; margin:2px 0px 0px 6px; padding: 0px 10px; width:230px; height:92px; max-height: 92px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 12px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_shadowarea"></textarea>
<div class="sheet-titlebox"><span data-i18n="shadow-u">Shadow</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-width100 -->
</div><!-- end .sheet-shadowcolumn -->
</div><!-- end .sheet-bigarmorcolumn -->
<!-- ============================= SECOND COLUMN TAB 1 : FRONT WEAPONS ======================== -->
<div class="sheet-weaponscolumn">
<div class="sheet-espai-10"></div><!-- end .sheet-espai-5 -->
<div class="sheet-100">
<div class="sheet-weapontitle1"><span data-i18n="weapon-u">WEAPON</span></div><!-- end .sheet-weapontitle1 -->
<div class="sheet-weapontitle2"><span data-i18n="ability-u">ABILITY</span></div><!-- end .sheet-weapontitle1 -->
<div class="sheet-weapontitle2"><span data-i18n="atk-bonus-u">ATK BONUS</span></div><!-- end .sheet-weapontitle1 -->
<div class="sheet-weapontitle2"><span data-i18n="damage-u">DAMAGE</span></div><!-- end .sheet-weapontitle1 -->
<div class="sheet-weapontitle2"><span data-i18n="range-u">RANGE</span></div><!-- end .sheet-weapontitle1 -->
</div><!-- end .sheet-100 -->
<div class="sheet-100">
<fieldset class="repeating_weapons">
<div class="sheet-weapon">
<input class="sheet-weapontitle1" type="text" name="attr_weaponname" data-i18n-title="weaponname-value-u" value="" />
<select name="attr_weaponability" class="sheet-weapontitle2">
<option data-i18n="str-u" selected value="@{bonusstrength}" >Strength</option>
<option data-i18n="dex-u" value="@{bonusdexterity}" >Dexterity</option>
</select>
<input class="sheet-weapontitle2" type="text" name="attr_weaponatkbonus" data-i18n-title="extrabonusatac-value-u" value="0" />
<input class="sheet-weapontitle2" type="text" name="attr_weapondamage" data-i18n-title="weapon-damage-value-u" value="" />
<input class="sheet-weapontitle2" type="text" name="attr_weaponrange" data-i18n-title="weapon-range-value-u" value="" />
<button class="lotr5ebtn2" style="text-align: center; font-size: 12; color: #f7c00f; " type="roll" name="roll_fuerza" value="&{template:lotr5e} {{title=@{labelattackroll}}} {{subtitle= @{character_name} }} {{color=}} {{@{weaponname}=[[ @{rolltype}+@{weaponability}+@{weaponatkbonus} ]]}} {{@{labeldamage}=[[ @{weapondamage} + @{weaponability} ]]}}" ></button>
</div><!-- end .sheet-weapon -->
</fieldset>
</div><!-- end .sheet-100 -->
</div><!-- end .sheet-weaponscolumn -->
<!-- ============================= SECOND COLUMN TAB 1 : FRONT INVENTORY ======================== -->
<div class="sheet-inventorycolumn">
<div class="sheet-equipmentcolumn">
<textarea style="position: relative; float: left; margin: 5px 0px 0px 5px; padding: 0px 15px; width:235px; height:135px; max-height: 135px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 12px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_languages"></textarea>
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
<div class="sheet-titlebox"><span data-i18n="rewards-and-magical-items-u">Rewards and Magical Items</span></div><!-- end .sheet-titlebox -->
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
<div class="sheet-coinscolumn">
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
<div class="sheet-coinsbox">
<input class="sheet-valorcoins" type="number" max="100000" min="-1000" name="attr_copper" title="Copper Coins" value="0" style="margin: 2px 0px 0px 10px; text-align: center;" />
<div class="sheet-titlecoins"><span data-i18n="copper-coins-u">Copper Coins</span></div><!-- end .sheet-titlecoins -->
</div><!-- end .sheet-coinsbox -->
<div class="sheet-coinsbox">
<input class="sheet-valorcoins" type="number" max="100000" min="-1000" name="attr_silver" title="Silver Pennies" value="0" style="margin: 4px 0px 0px 10px; text-align: center;" />
<div class="sheet-titlecoins"><span data-i18n="silver-pennies-u">Silver Pennies</span></div><!-- end .sheet-titlecoins -->
</div><!-- end .sheet-coinsbox -->
<div class="sheet-coinsbox">
<input class="sheet-valorcoins" type="number" max="100000" min="-1000" name="attr_gold" title="Gold Pieces" value="0" style="margin: 5px 0px 0px 10px; text-align: center;" />
<div class="sheet-titlecoins"><span data-i18n="gold-pieces-u">Gold Pieces</span></div><!-- end .sheet-titlecoins -->
</div><!-- end .sheet-coinsbox -->
</div><!-- end .sheet-coinscolumn -->
<textarea style="position: relative; float: left; margin: 8px 0px 0px 1px; padding: 0px 15px; width:160px; height:180px; max-height: 180px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 12px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_equip"></textarea>
<div class="sheet-titlebox"><span data-i18n="equipment-u">Equipment</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-equipmentcolumn -->
<div class="sheet-traitscolumn">
<textarea style="position: relative; float: left; margin:10px 0px 0px 5px; padding: 0px 15px; width:237px; height:360px; max-height: 360px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 12px; font-family: 'Volkhov', serif; line-height: 24px;" name="attr_traitsandvirtues"></textarea>
<div class="sheet-espai-15"></div><!-- end .sheet-espai-15 -->
<div class="sheet-titlebox"><span data-i18n="features-traits-and-virtues-u">Features Traits and Virtues</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-traitscolumn -->
</div><!-- end .sheet-inventorycolumn -->
</div><!-- end .sheet-bigbox -->
</div><!-- end .sheet-front -->
<!-- ============================= TAB 2 : BACK ======================== -->
<div class="sheet-back">
<div class="sheet-separadormenu"></div><!-- end .sheet-separadormenu -->
<div class="sheet-headbox">
<div class="sheet-headboxA">
<div class="sheet-name"><span data-i18n="name-u">NAME</span></div><!-- end .sheet-name -->
<div class="sheet-pjname">
<input class="sheet-characterinfo" type="text" name="attr_character_name" data-i18n-title="character-name-u" value="" />
</div><!-- end .sheet-pjname -->
</div><!-- end .sheet-headboxA -->
<div class="sheet-headboxB">
<div class="sheet-espai-15"></div><!-- end .sheet-espai-15 -->
<input class="sheet-characterinfo2" type="text" name="attr_age" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_height" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_weight" title="" value="" />
<div class="sheet-characterinfo3"><span data-i18n="age-u">Age</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="height-u">Height</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="weight-u">Weight</span></div><!-- end .characterinfo3 -->
<input class="sheet-characterinfo2" type="text" name="attr_eyes" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_skin" title="" value="" />
<input class="sheet-characterinfo2" type="text" name="attr_hair" title="" value="" />
<div class="sheet-characterinfo3"><span data-i18n="eyes-u">Eyes</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="skin-u">Skin</span></div><!-- end .characterinfo3 -->
<div class="sheet-characterinfo3"><span data-i18n="hair-u">Hair</span></div><!-- end .characterinfo3 -->
</div><!-- end .sheet-headboxB -->
</div><!-- end .sheet-headbox -->
<div class="sheet-bigbox">
<div class="sheet-leftcolumn">
<div class="sheet-avatar-box">
<div class="sheet-avatar-foto"><img name="attr_character_avatar" alt=""></div><!-- end .sheet-avatar-foto -->
</div><!-- end .sheet-avatar-box -->
<div class="sheet-titlebox"><span data-i18n="character-appearance-u">CHARACTER APPEARANCE</span></div><!-- end .sheet-titlebox -->
<textarea style="position: relative; float: left; margin: 45px 0px 0px 38px; padding: 0px 15px; width:230px; height:512px; max-height: 512px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_characterbackstory"></textarea>
<div class="sheet-titlebox"><span data-i18n="character-backstory-u">CHARACTER BACKSTORY</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-leftcolumn -->
<div class="sheet-rightcolumn">
<div class="sheet-fellowshipbox">
<div class="sheet-half50">
<div class="sheet-fellowshippoints">
<input class="sheet-valoratributos" type="number" max="100" min="-100" name="attr_fellowshippoints" title="" value="0" style="margin: 30px 0px 0px 35px; text-align: center;" />
<div class="sheet-titlebox2" style="margin: 45px 0px 0px 10px;"><span data-i18n="fellowship-points-u">Fellowship points</span></div><!-- end .sheet-titlebox2 -->
</div><!-- end .sheet-fellowshippoints -->
<textarea style="position: relative; float: left; margin: 12px 0px 0px 0px; padding: 0px 15px; width:100%; height:230px; max-height: 230px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_fellowships"></textarea>
</div><!-- end .sheet-half50 -->
<div class="sheet-half50">
<textarea style="position: relative; float: left; margin: 17px 0px 0px 0px; padding: 0px 15px; width:100%; height:200px; max-height: 230px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_patrons"></textarea>
<div class="sheet-espai-15"></div><!-- end .sheet-espai-15 -->
<input class="sheet-heirinfo1" type="text" name="attr_heirname" title="" value="" />
<div class="sheet-heirinfo2"><span data-i18n="heir-name-u">Heir Name</span></div><!-- end .characterinfo3 -->
<input class="sheet-heirinfo1" type="text" name="attr_investment" title="" value="" />
<div class="sheet-heirinfo2"><span data-i18n="investment-u">Investment</span></div><!-- end .characterinfo3 -->
<div class="sheet-titlebox"><span data-i18n="heir-u">HEIR</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-half50 -->
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
<div class="sheet-titlebox"><span data-i18n="fellowship-heir-and-patrons-u">FELLOWSHIP, HEIR AND PATRONS</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-fellowshipbox -->
<div class="sheet-espai-15"></div><!-- end .sheet-espai-15 -->
<div class="sheet-featuresbox">
<div class="sheet-half50">
<textarea style="position: relative; float: left; margin: 20px 0px 0px 0px; padding: 0px 15px; width:100%; height:215px; max-height: 230px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_traits"></textarea>
</div><!-- end .sheet-half50 -->
<div class="sheet-half50">
<textarea style="position: relative; float: left; margin: 20px 0px 0px 0px; padding: 0px 20px; width:100%; height:215px; max-height: 230px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_virtues"></textarea>
</div><!-- end .sheet-half50 -->
<div class="sheet-titlebox"><span data-i18n="additional-features-traits-and-virtues-u">ADDITIONAL FEATURES, TRAITS AND VIRTUES</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-featuresbox -->
<div class="sheet-equipmentbox">
<div class="sheet-half50">
<textarea style="position: relative; float: left; margin: 22px 0px 0px 0px; padding: 0px 15px; width:100%; height:235px; max-height: 235px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_equipment"></textarea>
</div><!-- end .sheet-half50 -->
<div class="sheet-half50">
<textarea style="position: relative; float: left; margin: 22px 0px 0px 0px; padding: 0px 20px; width:100%; height:235px; max-height: 235px; resize: none; box-sizing: border-box; background-color: transparent; border: none; font-size: 14px; font-family: 'Volkhov', serif; line-height: 23px;" name="attr_treasure"></textarea>
</div><!-- end .sheet-half50 -->
<div class="sheet-titlebox"><span data-i18n="additional-equipment-and-treasure-u">ADDITIONAL EQUIPMENT AND TREASURE</span></div><!-- end .sheet-titlebox -->
</div><!-- end .sheet-equipmentbox -->
</div><!-- end .sheet-rightcolumn -->
</div><!-- end .sheet-bigbox -->
</div><!-- end .sheet-back -->
<!-- ============================= TAB 3 : COMBAT ======================== -->
<div class="sheet-combat">
<div class="sheet-separa30"></div><!-- end .sheet-separa30 -->
</div><!-- end .sheet-combat -->
<!-- ============================= TAB 4 : MAGIC ======================== -->
<div class="sheet-magic">
<div class="sheet-separa20"></div><!-- end .sheet-separa20 -->
</div> <!-- end .sheet-magic -->
</div><!-- end .sheet-center-menu -->
<div class="sheet-firma-foot">
L'Ós Té Raïms 5E - Roll20 Character Sheet by VJ Rolmasters
</div><!-- end .sheet-firma-foot -->
</div><!-- end .sheet-centerbox -->
<div class="clearfloat"></div>
<!-- LOTR5E Default Rolltemplate -->
<rolltemplate class="sheet-rolltemplate-lotr5e">
<div class="sheet-fotofondo">
<div class="sheet-container sheet-color-{{color}}">
<div class="sheet-header">
{{#title}}<div class="sheet-title">{{title}}</div>{{/title}}
{{#subtitle}}<div class="sheet-subtitle">{{subtitle}}</div>{{/subtitle}}
</div>
<div class="sheet-content">
{{#allprops() title subtitle desc color}}
<div class="sheet-key">{{key}}</div>
<div class="sheet-value">{{value}}</div>
{{/allprops() title subtitle desc color}}
</div><!-- end .sheet-content -->
<div class="sheet-explain">
{{#desc}}<div class="sheet-desc">{{desc}}</div>{{/desc}}
</div><!-- end .sheet-explain -->
</div><!-- end .sheet-container sheet-color-{{color}} -->
</div><!-- end .sheet-fotofondo -->
</rolltemplate>
</div><!-- end .sheet-contenedorvj -->
<script type="text/worker">
/* PROFICIENCY VS EXPERIENCE */
on('change:experiencepoints', function () {
getAttrs(['experiencepoints'], function (values) {
let experiencepoints = parseInt(values.experiencepoints) || 0;
let modifierprofi = 2;
if (experiencepoints >= 355000) {
modifierprofi = 6;
} else if (experiencepoints >= 195000) {
modifierprofi = 6;
} else if (experiencepoints >= 100000) {
modifierprofi = 5;
} else if (experiencepoints >= 34000) {
modifierprofi = 4;
} else if (experiencepoints >= 2700) {
modifierprofi = 3;
} else if (experiencepoints > 0) {
modifierprofi = 2;
}
setAttrs({
proficiencybonus: modifierprofi
});
});
});
/* ABILITIES MODIFIERS / ATRIBUTOS BONUS */
const makeAbilityWorker = (ability) => {
on(`change:${ability}`, () => {
getAttrs([ability], (values) => {
let score = parseInt(values[ability]) || 0;
let modifier = Math.floor((score - 10) / 2);
let bonusAttr = `bonus${ability}`;
setAttrs({
[bonusAttr]: modifier
});
});
});
};
// Crear workers para todas las habilidades
["strength", "dexterity", "constitution", "intelligence", "wisdom", "charisma"].forEach(makeAbilityWorker);
<!-- SELECTOR PESTANYA MENU -->
const buttonlist = ["front", "back", "combat", "magic"];
buttonlist.forEach(button => {
on(`clicked:${button}`, function() {
setAttrs({
sheetTab: button
});S
});
});
<!-- SAVING THROWS -->
<!-- STRENGTH SAVING THROW (STR) -->
on("change:bonusstrength change:checksavstrength change:proficiencybonus", function() {
getAttrs(["bonusstrength", "checksavstrength", "proficiencybonus"], function(values) {
let str = parseInt(values.bonusstrength)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksavstr = parseInt(values.checksavstrength)||0;
setAttrs({
savingthrowstrength: str + (checksavstr * prof)
});
});
});
<!-- DEXTERITY SAVING THROW (DEX) -->
on("change:bonusdexterity change:checksavdexterity change:proficiencybonus", function() {
getAttrs(["bonusdexterity", "checksavdexterity", "proficiencybonus"], function(values) {
let dex = parseInt(values.bonusdexterity)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksavdex = parseInt(values.checksavdexterity)||0;
setAttrs({
savingthrowdexterity: dex + (checksavdex * prof)
});
});
});
<!-- CONSTITUTION SAVING THROW (CON) -->
on("change:bonusconstitution change:checksavconstitution change:proficiencybonus", function() {
getAttrs(["bonusconstitution", "checksavconstitution", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusconstitution)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksavcon = parseInt(values.checksavconstitution)||0;
setAttrs({
savingthrowconstitution: int + (checksavcon * prof)
});
});
});
<!-- INTELLIGENCE SAVING THROW (INT) -->
on("change:bonusintelligence change:checksavintelligence change:proficiencybonus", function() {
getAttrs(["bonusintelligence", "checksavintelligence", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusintelligence)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksavintel = parseInt(values.checksavintelligence)||0;
setAttrs({
savingthrowintelligence: int + (checksavintel * prof)
});
});
});
<!-- WISDOM SAVING THROW (WIS) -->
on("change:bonuswisdom change:checksavwisdom change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checksavwisdom", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksavwis = parseInt(values.checksavwisdom)||0;
setAttrs({
savingthrowwisdom: wis + (checksavwis * prof)
});
});
});
<!-- CHARISMA SAVING THROW (CHA) -->
on("change:bonuscharisma change:checksavcharisma change:proficiencybonus", function() {
getAttrs(["bonuscharisma", "checksavcharisma", "proficiencybonus"], function(values) {
let cha = parseInt(values.bonuscharisma)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksavcha = parseInt(values.checksavcharisma)||0;
setAttrs({
savingthrowcharisma: cha + (checksavcha * prof)
});
});
});
/* PROFICIENCY TEXT DESC (ALL ABILITIES SAVING THROWS) */
const profChecks = {
strength: "descprofiststr",
dexterity: "descprofistdex",
constitution: "descprofistcon",
intelligence: "descprofistint",
wisdom: "descprofistwis",
charisma: "descprofistcha"
};
Object.entries(profChecks).forEach(([ability, descAttr]) => {
on(`change:checksav${ability}`, () => {
getAttrs([`checksav${ability}`], (values) => {
let checked = values[`checksav${ability}`] === "1";
setAttrs({
[descAttr]: checked ? "+ Proficiency bonus" : ""
});
});
});
});
/* PROFICIENCY TEXT DESC (ALL SKILLS) */
/* PROFICIENCY TEXT DESC ACROBATICS */
on("change:checkacrobatics", function() {
getAttrs(["checkacrobatics"], function(values) {
let checked = values.checkacrobatics === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiacrobatics: checked ? "+ Proficiency bonus" : ""
});
});
});
/* PROFICIENCY TEXT DESC ANIMAL HANDLING */
on("change:checkanimalhandling", function() {
getAttrs(["checkanimalhandling"], function(values) {
let checked = values.checkanimalhandling === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofianimal: checked ? "+ Proficiency bonus" : ""
});
});
});
/* PROFICIENCY TEXT DESC ATHLETICS */
on("change:checkathletics", function() {
getAttrs(["checkathletics"], function(values) {
let checked = values.checkathletics === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiathletics: checked ? "+ Proficiency bonus" : ""
});
});
});
/* PROFICIENCY TEXT DESC DECEPTION */
on("change:checkdeception", function() {
getAttrs(["checkdeception"], function(values) {
let checked = values.checkdeception === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofideception: checked ? "+ Proficiency bonus" : ""
});
});
});
/* PROFICIENCY TEXT DESC EXPLORE */
on("change:checkexplore", function() {
getAttrs(["checkexplore"], function(values) {
let checked = values.checkexplore === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiexplore: checked ? "+ Proficiency bonus" : ""
});
});
});
/* PROFICIENCY TEXT DESC HUNTING */
on("change:checkhunting", function() {
getAttrs(["checkhunting"], function(values) {
let checked = values.checkhunting === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofihunting: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC INSIGHT */
on("change:checkinsight", function() {
getAttrs(["checkinsight"], function(values) {
let checked = values.checkinsight === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiinsight: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC INTIMIDATION */
on("change:checkintimidation", function() {
getAttrs(["checkintimidation"], function(values) {
let checked = values.checkintimidation === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiintimidation: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC INVESTIGATION */
on("change:checkinvestigation", function() {
getAttrs(["checkinvestigation"], function(values) {
let checked = values.checkinvestigation === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiinvestigation: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC MEDICINE */
on("change:checkmedicine", function() {
getAttrs(["checkmedicine"], function(values) {
let checked = values.checkmedicine === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofimedicine: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC NATURE */
on("change:checknature", function() {
getAttrs(["checknature"], function(values) {
let checked = values.checknature === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofinature: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC OLD LORE */
on("change:checkoldlore", function() {
getAttrs(["checkoldlore"], function(values) {
let checked = values.checkoldlore === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofioldlore: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC PERCEPTION */
on("change:checkperception", function() {
getAttrs(["checkperception"], function(values) {
let checked = values.checkperception === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiperception: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC PERFORMANCE */
on("change:checkperformance", function() {
getAttrs(["checkperformance"], function(values) {
let checked = values.checkperformance === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiperformance: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC PERSUASION */
on("change:checkpersuasion", function() {
getAttrs(["checkpersuasion"], function(values) {
let checked = values.checkpersuasion === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofipersuasion: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC RIDDLE */
on("change:checkriddle", function() {
getAttrs(["checkriddle"], function(values) {
let checked = values.checkriddle === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiriddle: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC RIDDLE */
on("change:checkriddle", function() {
getAttrs(["checkriddle"], function(values) {
let checked = values.checkriddle === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofiriddle: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC SLEIGHT */
on("change:checksleight", function() {
getAttrs(["checksleight"], function(values) {
let checked = values.checksleight === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofisleight: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC STEALTH */
on("change:checkstealth", function() {
getAttrs(["checkstealth"], function(values) {
let checked = values.checkstealth === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofistealth: checked ? "+ Proficiency bonus" : ""
});
});
});
/* INSIGHT TEXT DESC TRAVEL */
on("change:checktravel", function() {
getAttrs(["checktravel"], function(values) {
let checked = values.checktravel === "1";
// checkbox marcado devuelve "@{proficencybonus}"
setAttrs({
descprofitravel: checked ? "+ Proficiency bonus" : ""
});
});
});
<!-- SKILLS -->
<!-- ACROBATICS (DEX) -->
on("change:bonusdexterity change:checkacrobatics change:proficiencybonus", function() {
getAttrs(["bonusdexterity", "checkacrobatics", "proficiencybonus"], function(values) {
let dex = parseInt(values.bonusdexterity)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkacr = parseInt(values.checkacrobatics)||0;
setAttrs({
acrobatics: dex + (checkacr * prof)
});
});
});
<!-- ANIMALHANDLING (WIS) -->
on("change:bonuswisdom change:checkanimalhandling change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checkanimalhandling", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkani = parseInt(values.checkanimalhandling)||0;
setAttrs({
animalhandling: wis + (checkani * prof)
});
});
});
<!-- ATHLETICS (STR) -->
on("change:bonusstrength change:checkathletics change:proficiencybonus", function() {
getAttrs(["bonusstrength", "checkathletics", "proficiencybonus"], function(values) {
let str = parseInt(values.bonusstrength)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkath = parseInt(values.checkathletics)||0;
setAttrs({
athletics: str + (checkath * prof)
});
});
});
<!-- DECEPTION (CHA) -->
on("change:bonuscharisma change:checkdeception change:proficiencybonus", function() {
getAttrs(["bonuscharisma", "checkdeception", "proficiencybonus"], function(values) {
let cha = parseInt(values.bonuscharisma)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkdec = parseInt(values.checkdeception)||0;
setAttrs({
deception: cha + (checkdec * prof)
});
});
});
<!-- EXPLORE (WIS) -->
on("change:bonuswisdom change:checkexplore change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checkexplore", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkexp = parseInt(values.checkexplore)||0;
setAttrs({
explore: wis + (checkexp * prof)
});
});
});
<!-- HUNTING (WIS) -->
on("change:bonuswisdom change:checkhunting change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checkhunting", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkhun = parseInt(values.checkhunting)||0;
setAttrs({
hunting: wis + (checkhun * prof)
});
});
});
<!-- INSIGHT (WIS) -->
on("change:bonuswisdom change:checkinsight change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checkinsight", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkins = parseInt(values.checkinsight)||0;
setAttrs({
insight: wis + (checkins * prof)
});
});
});
<!-- INTIMIDATION (CHA) -->
on("change:bonuscharisma change:checkintimidation change:proficiencybonus", function() {
getAttrs(["bonuscharisma", "checkintimidation", "proficiencybonus"], function(values) {
let cha = parseInt(values.bonuscharisma)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkintim = parseInt(values.checkintimidation)||0;
setAttrs({
intimidation: cha + (checkintim * prof)
});
});
});
<!-- INVESTIGATION (INT) -->
on("change:bonusintelligence change:checkinvestigation change:proficiencybonus", function() {
getAttrs(["bonusintelligence", "checkinvestigation", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusintelligence)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkinves = parseInt(values.checkinvestigation)||0;
setAttrs({
investigation: int + (checkinves * prof)
});
});
});
<!-- MEDICINE (INT) -->
on("change:bonusintelligence change:checkmedicine change:proficiencybonus", function() {
getAttrs(["bonusintelligence", "checkmedicine", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusintelligence)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkmed = parseInt(values.checkmedicine)||0;
setAttrs({
medicine: int + (checkmed * prof)
});
});
});
<!-- NATURE (INT) -->
on("change:bonusintelligence change:checknature change:proficiencybonus", function() {
getAttrs(["bonusintelligence", "checknature", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusintelligence)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checknat = parseInt(values.checknature)||0;
setAttrs({
nature: int + (checknat * prof)
});
});
});
<!-- OLD LORE (INT) -->
on("change:bonusintelligence change:checkoldlore change:proficiencybonus", function() {
getAttrs(["bonusintelligence", "checkoldlore", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusintelligence)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkold = parseInt(values.checkoldlore)||0;
setAttrs({
oldlore: int + (checkold * prof)
});
});
});
<!-- PERCEPTION (WIS) -->
on("change:bonuswisdom change:checkperception change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checkperception", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkpercep = parseInt(values.checkperception)||0;
setAttrs({
perception: wis + (checkpercep * prof)
});
});
});
<!-- PERFORMANCE (CHA) -->
on("change:bonuscharisma change:checkperformance change:proficiencybonus", function() {
getAttrs(["bonuscharisma", "checkperformance", "proficiencybonus"], function(values) {
let cha = parseInt(values.bonuscharisma)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkperfor = parseInt(values.checkperformance)||0;
setAttrs({
performance: cha + (checkperfor * prof)
});
});
});
<!-- PERSUASION (CHA) -->
on("change:bonuscharisma change:checkpersuasion change:proficiencybonus", function() {
getAttrs(["bonuscharisma", "checkpersuasion", "proficiencybonus"], function(values) {
let cha = parseInt(values.bonuscharisma)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkpersua = parseInt(values.checkpersuasion)||0;
setAttrs({
persuasion: cha + (checkpersua * prof)
});
});
});
<!-- RIDDLE (INT) -->
on("change:bonusintelligence change:checkriddle change:proficiencybonus", function() {
getAttrs(["bonusintelligence", "checkriddle", "proficiencybonus"], function(values) {
let int = parseInt(values.bonusintelligence)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkrid = parseInt(values.checkriddle)||0;
setAttrs({
riddle: int + (checkrid * prof)
});
});
});
<!-- SLEIGHT OF HAND (DEX) -->
on("change:bonusdexterity change:checksleightofhand change:proficiencybonus", function() {
getAttrs(["bonusdexterity", "checksleightofhand", "proficiencybonus"], function(values) {
let dex = parseInt(values.bonusdexterity)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checksle = parseInt(values.checksleightofhand)||0;
setAttrs({
sleightofhand: dex + (checksle * prof)
});
});
});
<!-- STEALTH (DEX) -->
on("change:bonusdexterity change:checkstealth change:proficiencybonus", function() {
getAttrs(["bonusdexterity", "checkstealth", "proficiencybonus"], function(values) {
let dex = parseInt(values.bonusdexterity)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checkste = parseInt(values.checkstealth)||0;
setAttrs({
stealth: dex + (checkste * prof)
});
});
});
<!-- TRAVEL (WIS) -->
on("change:bonuswisdom change:checktravel change:proficiencybonus", function() {
getAttrs(["bonuswisdom", "checktravel", "proficiencybonus"], function(values) {
let wis = parseInt(values.bonuswisdom)||0;
let prof = parseInt(values.proficiencybonus)||0;
let checktra = parseInt(values.checktravel)||0;
setAttrs({
travel: wis + (checktra * prof)
});
});
});
on('sheet:opened', function () {
setAttrs({
['labelskillroll']: getTranslationByKey('labelskillroll'),
['labelroll']: getTranslationByKey('labelroll'),
['labelrolling']: getTranslationByKey('labelrolling'),
['labelrollthedice']: getTranslationByKey('labelrollthedice'),
['labelresult']: getTranslationByKey('labelresult'),
['labelabilityroll']: getTranslationByKey('labelabilityroll'),
['labelsavingthrowroll']: getTranslationByKey('labelsavingthrowroll'),
['labelattackroll']: getTranslationByKey('labelattackroll'),
['labeldamage']: getTranslationByKey('labeldamage'),
['labelinitiativeroll']: getTranslationByKey('labelinitiativeroll'),
['labelinitiative']: getTranslationByKey('labelinitiative'),
['labelstrength']: getTranslationByKey('labelstrength'),
['labeldexterity']: getTranslationByKey('labeldexterity'),
['labelconstitution']: getTranslationByKey('labelconstitution'),
['labelintelligence']: getTranslationByKey('labelintelligence'),
['labelwisdom']: getTranslationByKey('labelwisdom'),
['labelacrobatics']: getTranslationByKey('labelacrobatics'),
['labelanimalhandling']: getTranslationByKey('labelanimalhandling'),
['labelathletics']: getTranslationByKey('labelathletics'),
['labeldeception']: getTranslationByKey('labeldeception'),
['labelexplore']: getTranslationByKey('labelexplore'),
['labelhunting']: getTranslationByKey('labelhunting'),
['labelinsight']: getTranslationByKey('labelinsight'),
['labelintimidation']: getTranslationByKey('labelintimidation'),
['labelinvestigation']: getTranslationByKey('labelinvestigation'),
['labelmedicine']: getTranslationByKey('labelmedicine'),
['labelnature']: getTranslationByKey('labelnature'),
['labeloldlore']: getTranslationByKey('labeloldlore'),
['labelperception']: getTranslationByKey('labelperception'),
['labelperformance']: getTranslationByKey('labelperformance'),
['labelpersuasion']: getTranslationByKey('labelpersuasion'),
['labelriddle']: getTranslationByKey('labelriddle'),
['labelsleightofhand']: getTranslationByKey('labelsleightofhand'),
['labelstealth']: getTranslationByKey('labelstealth'),
['labeltravel']: getTranslationByKey('labeltravel')
});
});
</script>