mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
817 lines
67 KiB
HTML
817 lines
67 KiB
HTML
<!-- ANIME5e -->
|
|
<!-- Character sheet for Roll20 by VJ Rolmasters -->
|
|
|
|
<div class="sheet-contenedorvj">
|
|
<div class="sheet-contenedor-central">
|
|
|
|
<div class="sheet-100">
|
|
<div class="sheet-topbar">
|
|
|
|
|
|
<div class="sheet-logo">
|
|
</div><!-- end .sheet-logo -->
|
|
|
|
|
|
<div class="sheet-charactername"> <input class="sheet-characterinfo" type="text" name="attr_character_name" style="width: 200px; text-align: center; margin: 40px 0px 0px 45px; background-color: transparent; font-family: Mynerve; font-size: 20px " title="Character Name" value="Character Name" />
|
|
</div><!-- end .sheet-charactername -->
|
|
|
|
<div class="sheet-playername"> <input class="sheet-characterinfo" type="text" name="attr_player_name" style="width: 200px; text-align: center; margin: 46px 0px 0px 10px; background-color: transparent; font-family: Mynerve; font-size: 20px" title="Player Name" value="Player Name" />
|
|
</div><!-- end .sheet-playername -->
|
|
|
|
</div><!-- end .sheet-topbar -->
|
|
|
|
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<!-- ============================= TABS MENU ======================== -->
|
|
<div class="sheet-cosmenu2">
|
|
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" value="character" />
|
|
<div>
|
|
<button type="action" name="act_character" class="sheet-button0">CHARACTER</button>
|
|
<button type="action" name="act_combat" class="sheet-button1">COMBAT</button>
|
|
<button type="action" name="act_attributes" class="sheet-button2">ATTRIBUTES</button>
|
|
<button type="action" name="act_background" class="sheet-button3">BACKGROUND</button>
|
|
</div>
|
|
|
|
<!-- ============================= TAB 1 : CHARACTER ======================== -->
|
|
<div class="sheet-character">
|
|
|
|
<div class="sheet-statsbar">
|
|
|
|
<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-race-box">
|
|
<div class="sheet-100"><input class="sheet-characterinfo" type="text" name="attr_character_race" style="width: 210px; text-align: center; margin: 24px 0px 0px 10px; background-color: transparent; font-size: 24px" title="Character Race" value="Character Race" />
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100"><input class="sheet-characterinfo" type="text" name="attr_character_description" style="width: 210px; text-align: center; margin: 16px 0px 0px 10px; background-color: transparent; font-size: 20px " title="Character description" value="Character description" />
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100"><input class="sheet-characterinfo" type="text" name="attr_character_alignment" style="width: 210px; text-align: center; margin: 16px 0px 0px 10px; background-color: transparent; font-size: 20px " title="Character alignment" value="Character alignment" />
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100"><input class="sheet-characterinfo" type="text" name="attr_character_discretionary" style="width: 95px; text-align: center; margin: 26px 0px 0px 20px; background-color: transparent; font-size: 16px " title="Character discretionary" value="Discretionary" /><input class="sheet-characterinfo" type="text" name="attr_character_experience" style="width: 90px; text-align: center; margin: 26px 0px 0px 5px; background-color: transparent; font-size: 16px " title="Character experience" value="Experience" />
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-race-box -->
|
|
|
|
<div class="sheet-class-box">
|
|
<div class="sheet-100"><input class="sheet-characterinfo" type="text" name="attr_character_level" style="width: 60px; text-align: center; margin: 35px 0px 0px 220px; background-color: transparent; font-size: 20px " title="Character Level" value=" LVL" />
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input class="sheet-characterinfo" type="text" name="attr_character_class1" style="width: 120px; text-align: center; margin: 40px 0px 0px 20px; background-color: transparent; " title="Class 1" value="" /><input class="sheet-characterinfo" type="number" name="attr_character_class1level" style="width: 60px; text-align: center; margin: 40px 0px 0px 10px; background-color: transparent; " title="Class 1 level" value="" /><input class="sheet-characterinfo" type="text" name="attr_character_hitdice1" style="width: 60px; text-align: center; margin: 40px 0px 0px 10px; background-color: transparent; " title="Hit Dice 1" value="" />
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input class="sheet-characterinfo" type="text" name="attr_character_class2" style="width: 120px; text-align: center; margin: 15px 0px 0px 20px; background-color: transparent; " title="Class 2" value="" /><input class="sheet-characterinfo" type="number" name="attr_character_class2level" style="width: 60px; text-align: center; margin: 15px 0px 0px 10px; background-color: transparent; " title="Class 2 level" value="" /><input class="sheet-characterinfo" type="text" name="attr_character_hitdice2" style="width: 60px; text-align: center; margin: 15px 0px 0px 10px; background-color: transparent; " title="Hit Dice 2" value="" />
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input class="sheet-characterinfo" type="text" name="attr_character_class3" style="width: 120px; text-align: center; margin: 15px 0px 0px 20px; background-color: transparent; " title="Class 3" value="" /><input class="sheet-characterinfo" type="number" name="attr_character_class3level" style="width: 60px; text-align: center; margin: 15px 0px 0px 10px; background-color: transparent; " title="Class 3 level" value="" /><input class="sheet-characterinfo" type="text" name="attr_character_hitdice3" style="width: 60px; text-align: center; margin: 15px 0px 0px 10px; background-color: transparent; " title="Hit Dice 3" value="" />
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-class-box -->
|
|
|
|
|
|
<!-- ============================= ABILITIES (Strength + Dexterity + Constitution + Intelligence + Wisdom + Charisma ) ======================== -->
|
|
<div class="sheet-stats-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 80px 0px 0px 38px; border: none; line-height: 20px; font-size: 34px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_strength" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input type="text" style=" width: 35px; margin: 15px 0px 0px 42px; border: none; line-height: 16px; font-size: 16px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center; " name="attr_bonostrength" value="0" readonly >
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 5px 0px 0px 51px;" type="roll" name="roll_strength" value="&{template:custom} {{title=ABILITY ROLL}} {{subtitle=@{character_name}}} {{STRENGTH= [[ [[1d20]] + [[@{bonostrength}]] ]]}} {{desc= Roll = 1d20 + Stength modifier}}" ></button>
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-stats-box -->
|
|
|
|
<div class="sheet-stats-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 80px 0px 0px 38px; border: none; line-height: 20px; font-size: 34px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_dexterity" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input type="text" style=" width: 35px; margin: 15px 0px 0px 45px; border: none; line-height: 16px; font-size: 16px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center; " name="attr_bonodexterity" value="0" readonly >
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 5px 0px 0px 53px;" type="roll" name="roll_dexterity" value="&{template:custom} {{title=ABILITY ROLL}} {{subtitle=@{character_name}}} {{DEXTERITY= [[ [[1d20]] + [[@{bonodexterity}]] ]]}} {{desc= Roll = 1d20 + Dexterity modifier}}" ></button>
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-stats-box -->
|
|
|
|
<div class="sheet-stats-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 80px 0px 0px 40px; border: none; line-height: 20px; font-size: 34px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_constitution" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input type="text" style=" width: 35px; margin: 15px 0px 0px 50px; border: none; line-height: 16px; font-size: 16px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center; " name="attr_bonoconstitution" value="0" readonly >
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 5px 0px 0px 55px;" type="roll" name="roll_constitution" value="&{template:custom} {{title=ABILITY ROLL}} {{subtitle=@{character_name}}} {{CONSTITUTION= [[ [[1d20]] + [[@{bonoconstitution}]] ]]}} {{desc= Roll = 1d20 + Constitution modifier}}" ></button>
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-stats-box -->
|
|
|
|
<div class="sheet-stats-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 80px 0px 0px 40px; border: none; line-height: 20px; font-size: 34px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_intelligence" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input type="text" style=" width: 35px; margin: 15px 0px 0px 50px; border: none; line-height: 16px; font-size: 16px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center; " name="attr_bonointelligence" value="0" readonly >
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 5px 0px 0px 57px;" type="roll" name="roll_intelligence" value="&{template:custom} {{title=ABILITY ROLL}} {{subtitle=@{character_name}}} {{INTELLIGENCE= [[ [[1d20]] + [[@{bonointelligence}]] ]]}} {{desc= Roll = 1d20 + Intelligence modifier}}" ></button>
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-stats-box -->
|
|
|
|
<div class="sheet-stats-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 80px 0px 0px 45px; border: none; line-height: 20px; font-size: 34px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_wisdom" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input type="text" style=" width: 35px; margin: 15px 0px 0px 52px; border: none; line-height: 16px; font-size: 16px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center; " name="attr_bonowisdom" value="0" readonly >
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 5px 0px 0px 59px;" type="roll" name="roll_wisdom" value="&{template:custom} {{title=ABILITY ROLL}} {{subtitle=@{character_name}}} {{WISDOM= [[ [[1d20]] + [[@{bonowisdom}]] ]]}} {{desc= Roll = 1d20 + Wisdom modifier}}" ></button>
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-stats-box -->
|
|
|
|
<div class="sheet-stats-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 80px 0px 0px 45px; border: none; line-height: 20px; font-size: 34px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_charisma" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<input type="text" style=" width: 35px; margin: 15px 0px 0px 55px; border: none; line-height: 16px; font-size: 16px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center; " name="attr_bonocharisma" value="0" readonly >
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="sheet-100">
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 5px 0px 0px 60px;" type="roll" name="roll_charisma" value="&{template:custom} {{title=ABILITY ROLL}} {{subtitle=@{character_name}}} {{CHARISMA= [[ [[1d20]] + [[@{bonocharisma}]] ]]}} {{desc= Roll = 1d20 + Charisma modifier}}" ></button>
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-stats-box -->
|
|
|
|
|
|
<!-- ============================= PROFICENCY BONUS + HIT POINTS + ARMOUR CLASS+ ENERGY POINTS + MOVEMENT SPEED ======================== -->
|
|
<div class="sheet-roundstats1-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 60px; margin: 65px 0px 0px 30px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_proficencybonus" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-roundstats1-box -->
|
|
|
|
<div class="sheet-roundstats2-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 35px 0px 0px 20px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_hitpointsmaximum" max="500" min="0" value="0">
|
|
<input type="number" style=" width: 70px; margin: 35px 0px 0px 25px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_hitpointscurrent" max="500" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-roundstats2-box -->
|
|
|
|
<div class="sheet-roundstats3-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 60px; margin: 65px 0px 0px 55px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_armorclass" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-roundstats3-box -->
|
|
|
|
<div class="sheet-roundstats2-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 70px; margin: 35px 0px 0px 20px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_energypointsmaximum" max="500" min="0" value="0">
|
|
<input type="number" style=" width: 70px; margin: 35px 0px 0px 20px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_energypointscurrent" max="500" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-roundstats2-box -->
|
|
|
|
<div class="sheet-roundstats1-box">
|
|
<div class="sheet-100">
|
|
<input type="number" style=" width: 60px; margin: 65px 0px 0px 60px; border: none; line-height: 20px; font-size: 22px; font-weight: 400; background-color: transparent; padding: 0px; text-align: center;" name="attr_movementspeed" max="30" min="0" value="0">
|
|
</div><!-- end .sheet-100 -->
|
|
</div><!-- end .sheet-roundstats1-box -->
|
|
|
|
<!-- ============================================== PROFICIENCIES ================================================== -->
|
|
|
|
<div class="sheet-proficienciesbar">
|
|
<div class="sheet-titles">
|
|
PROFICIENCIES
|
|
</div><!-- end .sheet-titles -->
|
|
|
|
<div class="sheet-proficienciesbox1">
|
|
SAVE THROW
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_items1">
|
|
<div class="sheet-ampladatotal30">
|
|
<input class="sheet-characterinfo" type="text" name="attr_profi_saving" style="width: 130px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-proficienciesbox1 -->
|
|
|
|
<div class="sheet-proficienciesbox1">
|
|
ARMOUR
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_items2">
|
|
<div class="sheet-ampladatotal30">
|
|
<input class="sheet-characterinfo" type="text" name="attr_profi_armour" style="width: 130px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-proficienciesbox1 -->
|
|
|
|
<div class="sheet-proficienciesbox1">
|
|
WEAPONS
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_items3">
|
|
<div class="sheet-ampladatotal30">
|
|
<input class="sheet-characterinfo" type="text" name="attr_profi_weapons" style="width: 130px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-proficienciesbox1 -->
|
|
|
|
<div class="sheet-proficienciesbox1">
|
|
TOOLS
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_items4">
|
|
<div class="sheet-ampladatotal30">
|
|
<input class="sheet-characterinfo" type="text" name="attr_profi_tools" style="width: 130px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-proficienciesbox1 -->
|
|
|
|
<div class="sheet-proficienciesbox2">
|
|
SKILLS AND LANGUAGES
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_items5">
|
|
<div class="sheet-ampladatotal30">
|
|
<input class="sheet-characterinfo" type="text" name="attr_profi_skills" style="width: 260px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-proficienciesbox2 -->
|
|
|
|
</div><!-- end .sheet-proficienciesbar -->
|
|
|
|
</div><!-- end .sheet-statsbar -->
|
|
|
|
</div><!-- end .sheet-character -->
|
|
<!-- ============================= TAB 2 : COMBAT ======================== -->
|
|
<div class="sheet-combat">
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
<div class="sheet-armour-box">
|
|
<div class="sheet-titles">
|
|
INITIATIVE
|
|
<div class="sheet-espai-20"></div><!-- end .sheet-espai-20 -->
|
|
</div><!-- end .sheet-titles -->
|
|
<div class="sheet-titlesmall">
|
|
<button class="btna" style="text-align: center; height: 45px; font-size: 40px; padding: 5px 5px 0px; margin: 0px 0px 0px 0px;" type="roll" name="roll_initiative" value="&{template:custom} {{title=INITIATIVE ROLL}} {{subtitle=@{character_name}}} {{INITIATIVE= [[ [[1d20]] + [[@{bonodexterity}]] &{tracker}]]}} {{desc= Roll = 1d20 + Derterity modifier}}" ></button>
|
|
<div class="sheet-espai-20"></div><!-- end .sheet-espai-20 -->
|
|
</div><!-- end .sheet-titlesmall -->
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
</div><!-- end .sheet-armour-box -->
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-titles">
|
|
COMMON ATTACK DAMAGE
|
|
</div><!-- end .sheet-titles -->
|
|
|
|
<div class="sheet-attribute-medium1">WEAPON</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">KIND</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">EXTRA</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">DAMAGE</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">TYPE</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">RANK</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-big">UPGRADES/LIMITERS</div><!-- end .sheet-titol-back -->
|
|
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_weapons">
|
|
<div class="sheet-ampladatotal30">
|
|
<input class="sheet-characterinfo" type="text" name="attr_weapons" style="width: 140px; text-align: left; background-color: transparent;" value="" />
|
|
<select name="attr_weaponskind" class="sheet-characterinfo" style=" text-align: center; width: 80px;">
|
|
<option value="@{bonostrength}">Melee</option>
|
|
<option value="@{bonodexterity}">Ranged</option>
|
|
</select>
|
|
<input class="sheet-characterinfo" type="text" name="attr_weaponsmodifier" style="width: 80px; text-align: center; background-color: transparent;" value="0" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_weaponsdamage" style="width: 80px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_weaponstype" style="width: 80px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_weaponsrank" style="width: 70px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_weaponsenhanlim" style="width: 240px; text-align: center; background-color: transparent; " value="" />
|
|
|
|
<button class="btna" style="text-align: center; font-size: 24; margin: 2px 0px 0px 5px;" type="roll" name="roll_strength" value="&{template:custom} {{title=@{weapons}}} {{subtitle=@{character_name}}}{{ATTACK (1d20 + Modifier + Extra):= [[ [[1d20]] + [[@{weaponskind}]] + [[@{weaponsmodifier}]] ]]}} {{desc= DAMAGE (Weapon + Modifier) = [[@{weaponsdamage}+[[@{weaponskind}]]]]}}" ></button>
|
|
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-armour-box">
|
|
<div class="sheet-titles">
|
|
PROTECTIONS: ARMOUR AND SHIELDS
|
|
</div><!-- end .sheet-titles -->
|
|
|
|
<div class="sheet-titlearmourbox">
|
|
<div class="sheet-attribute-medium">ARMOUR</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-medium">CATEGORY</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">COST</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">AC</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">STR</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-medium">DIS</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">WEIGHT</div><!-- end .sheet-titol-back -->
|
|
</div><!-- end .sheet-titlearmourbox -->
|
|
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_armours">
|
|
<div class="sheet-width100">
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourtype" style="width: 130px; text-align: left; background-color: transparent; margin: 0px 0px 0px 30px " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourcategory" style="width: 120px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourcost" style="width: 80px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourac" style="width: 80px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourstrength" style="width: 80px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourdisventage" style="width: 120px; text-align: center; background-color: transparent; " value="" />
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourweight" style="width: 70px; text-align: center; background-color: transparent; " value="" />
|
|
|
|
</div><!-- end .sheet-width100 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
</div><!-- end .sheet-armour-box -->
|
|
|
|
</div><!-- end .sheet-combat -->
|
|
|
|
<!-- ============================= TAB 3 : ATTRIBUTES ======================== -->
|
|
<div class="sheet-attributes">
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-columnamig">
|
|
<div class="sheet-titol-black">ATTRIBUTES</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
|
|
<div class="sheet-attribute-tiny">RANK</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">POINTS</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-big">ATTRIBUTE</div><!-- end .sheet-titol-back -->
|
|
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_attributes">
|
|
<div class="sheet-ampladatotal30">
|
|
<input type="text" name="attr_rankattribute" style="width: 80px; padding:3px 0px; text-align: center; margin: 0px 0px 0px 0px; " value="" />
|
|
<input type="text" name="attr_pointsattribute" style="width: 80px; padding:3px 0px; text-align: center; margin: px 0px 0px 0px; " value="" />
|
|
<input type="text" name="attr_attribute" style="width: 220px; padding:3px 0px; text-align: center; margin: 0px px 0px 0px; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
</div><!-- end .sheet-columnamig -->
|
|
|
|
<div class="sheet-columnamig">
|
|
<div class="sheet-titol-black">DEFECTS</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
|
|
<div class="sheet-attribute-tiny">RANK</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-tiny">POINTS</div><!-- end .sheet-titol-back -->
|
|
<div class="sheet-attribute-big">DEFECT</div><!-- end .sheet-titol-back -->
|
|
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_defects">
|
|
<div class="sheet-ampladatotal30">
|
|
<input type="text" name="attr_rankdefect" style="width: 80px; padding:3px 0px; text-align: center; margin: 0px 0px 0px 0px; " value="" />
|
|
<input type="text" name="attr_pointsdefect" style="width: 80px; padding:3px 0px; text-align: center; margin: 0px 0px 0px 0px; " value="" />
|
|
<input type="text" name="attr_defect" style="width: 220px; padding:3px 0px; text-align: center; margin: 0px 0px 0px 0px; " value="" />
|
|
</div><!-- end .sheet-ampladatotal30 -->
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
</div><!-- end .sheet-columnamig -->
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-magic-box">
|
|
<div class="sheet-espai-10"></div><!-- end .sheet-espai-10 -->
|
|
<div class="sheet-titles">
|
|
MAGIC, PSIONICS AND SPELLCASTING
|
|
</div><!-- end .sheet-titles -->
|
|
|
|
<div class="sheet-width100">
|
|
<div class="sheet-magic-prerounds"></div><!-- end .sheet-magic-prerounds -->
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
Cantrips
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips1" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
1st
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips2" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
2nd
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips3" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
3rd
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips4" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
4th
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips5" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
5th
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips6" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
6th
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips7" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
7th
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips8" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
8th
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
<div class="sheet-magic-rounds">
|
|
<input type="text" name="attr_cantrips9" style="width: 50px; height: 50px; padding:3px 0px; text-align: center; margin: 10px; background-color: transparent; border: 3px solid #000000; border-radius: 50px 50px 50px 50px; font-size: 18px; " value="" />
|
|
9th
|
|
</div><!-- end .sheet-magic-rounds -->
|
|
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-width100">
|
|
<fieldset class="repeating_magical">
|
|
<input class="sheet-characterinfo" type="text" name="attr_armourtype" style="width: 765px; text-align: left; background-color: transparent; margin: 3px 0px 0px 30px " value="" />
|
|
</fieldset>
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-width100">
|
|
|
|
<div class="sheet-columnaterscenter">
|
|
<div class="sheet-width100">
|
|
<input type="text" name="attr_abilityscore" style="width: 200px; height: 35px; padding:3px 0px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; border: 3px solid #000000; border-radius: 20px 20px 20px 20px; font-size: 22px; " value="" />
|
|
</div><!-- end .sheet-width100 -->
|
|
<div class="sheet-width100">
|
|
ABILITY SCORE USED
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaterscenter -->
|
|
|
|
<div class="sheet-columnaterscenter">
|
|
<div class="sheet-width100">
|
|
<input type="text" name="attr_savedc" style="width: 200px; height: 35px; padding:3px 0px; text-align: center; margin: 0px auto; background-color: transparent; border: 3px solid #000000; border-radius: 20px 20px 20px 20px; font-size: 22px; " value="" />
|
|
</div><!-- end .sheet-width100 -->
|
|
<div class="sheet-width100">
|
|
SAVE DC
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaterscenter -->
|
|
|
|
<div class="sheet-columnaterscenter">
|
|
<div class="sheet-width100">
|
|
<input type="text" name="attr_attackbonus" style="width: 200px; height: 35px; padding:3px 0px; text-align: center; margin: 0px 0px 0px 0px; background-color: transparent; border: 3px solid #000000; border-radius: 20px 20px 20px 20px; font-size: 22px; " value="" />
|
|
</div><!-- end .sheet-width100 -->
|
|
<div class="sheet-width100">
|
|
ATTACK BONUS
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaterscenter -->
|
|
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
</div><!-- end .sheet-magic-box -->
|
|
|
|
</div> <!-- end .sheet-attributes -->
|
|
|
|
<!-- ============================= TAB 4 : BACKGROUND ======================== -->
|
|
<div class="sheet-background">
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-width100">
|
|
|
|
<div class="sheet-columnaquinto">
|
|
<div class="sheet-width100">
|
|
<div class="sheet-tinny-black"> PLATINUM </div><!-- end .sheet-tinny-black --><input class="sheet-inputbackground" type="text" name="attr_platinum" title="Platinum" value="0" />
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaquinto -->
|
|
|
|
|
|
<div class="sheet-columnaquinto">
|
|
<div class="sheet-width100">
|
|
<div class="sheet-tinny-black"> GOLD </div><!-- end .sheet-tinny-black --><input class="sheet-inputbackground" type="text" name="attr_gold" title="Gold" value="0" />
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaquinto -->
|
|
|
|
|
|
<div class="sheet-columnaquinto">
|
|
<div class="sheet-width100">
|
|
<div class="sheet-tinny-black"> ELECTRUM </div><!-- end .sheet-tinny-black --><input class="sheet-inputbackground" type="text" name="attr_electrum" title="Electrum" value="0" />
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaquinto -->
|
|
|
|
|
|
<div class="sheet-columnaquinto">
|
|
<div class="sheet-width100">
|
|
<div class="sheet-tinny-black"> SILVER </div><!-- end .sheet-tinny-black --><input class="sheet-inputbackground" type="text" name="attr_silver" title="Silver" value="0" />
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaquinto -->
|
|
|
|
|
|
<div class="sheet-columnaquinto">
|
|
<div class="sheet-width100">
|
|
<div class="sheet-tinny-black"> BRONZE </div><!-- end .sheet-tinny-black --><input class="sheet-inputbackground" type="text" name="attr_bronze" title="Bronze" value="0" />
|
|
</div><!-- end .sheet-width100 -->
|
|
</div><!-- end .sheet-columnaquinto -->
|
|
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
|
|
<div class="sheet-width100">
|
|
|
|
<div class="sheet-columnaters">
|
|
<div class="sheet-titol-black">BACKGROUND STORY</div><!-- end .sheet-titol-back -->
|
|
<textarea style="width:100%; height:350px; resize: vertical; box-sizing: border-box; padding: 8px;" name="attr_story"></textarea>
|
|
</div><!-- end .sheet-columnaters -->
|
|
|
|
|
|
<div class="sheet-columnaters">
|
|
<div class="sheet-titol-black">TREASURES</div><!-- end .sheet-titol-back -->
|
|
<textarea style="width:100%; height:350px; resize: vertical; box-sizing: border-box; padding: 8px;" name="attr_tresasures"></textarea>
|
|
</div><!-- end .sheet-columnaters -->
|
|
|
|
|
|
<div class="sheet-columnaters">
|
|
<div class="sheet-titol-black">EQUIPMENT</div><!-- end .sheet-titol-back -->
|
|
<textarea style="width:100%; height:350px; resize: vertical; box-sizing: border-box; padding: 8px;" name="attr_equip"></textarea>
|
|
</div><!-- end .sheet-columnaters -->
|
|
|
|
</div><!-- end .sheet-width100 -->
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
|
|
<div class="sheet-width100">
|
|
|
|
<div class="sheet-titol-black">ADVENTURING NOTES</div><!-- end .sheet-titol-back -->
|
|
<textarea name="attr_notes" style="width:825px; height: 380px; margin: 0px 0px 0px 0px; padding: 10px; resize: vertical; box-sizing: border-box; "></textarea>
|
|
</div><!-- end .sheet-width100 -->
|
|
|
|
</div><!-- end .sheet-background -->
|
|
|
|
|
|
|
|
</div><!-- end .sheet-cosmenu2 -->
|
|
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
</div><!-- end .sheet-contenedor-central -->
|
|
|
|
<rolltemplate class="sheet-rolltemplate-custom">
|
|
<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}}
|
|
{{#desc}}<div class="sheet-desc">{{desc}}</div>{{/desc}}
|
|
</div>
|
|
</div>
|
|
</rolltemplate>
|
|
|
|
<div class="sheet-widht100">
|
|
<div class="sheet-espai-30"></div><!-- end .sheet-espai-30 -->
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
|
|
<div class="sheet-line-separador5"></div><!-- end .sheet-line-separador10 -->
|
|
<div class="sheet-line-separador15"></div><!-- end .sheet-line-separador10 -->
|
|
|
|
|
|
|
|
<div class="sheet-100">
|
|
<div class="sheet-firma-foot">
|
|
ANIME 5E - Roll20 Character Sheet by VJ Rolmasters
|
|
</div><!-- end .sheet-firma-foot -->
|
|
</div><!-- end .sheet-100 -->
|
|
|
|
<div class="clearfloat"></div><div class="sheet-ampladatotal"></div><!-- end .sheet-ampladatotal -->
|
|
|
|
</div><!-- end .sheet-contenedorvj -->
|
|
|
|
<script type="text/worker">
|
|
|
|
|
|
/* ATRIBUTO STRENGTH DB BONO */
|
|
on('change:strength', function () {
|
|
getAttrs(['strength'], function (values) {
|
|
let strength = parseInt(values.strength)||0;
|
|
let modifierstrength = 0;
|
|
if (strength > 30){ modifierstrength = 10;}
|
|
else if (strength > 29){ modifierstrength = 10;}
|
|
else if (strength > 27){ modifierstrength = 9;}
|
|
else if (strength > 25){ modifierstrength = 8;}
|
|
else if (strength > 23){ modifierstrength = 7;}
|
|
else if (strength > 21){ modifierstrength = 6;}
|
|
else if (strength > 19){ modifierstrength = 5;}
|
|
else if (strength > 17){ modifierstrength = 4;}
|
|
else if (strength > 15){ modifierstrength = 3;}
|
|
else if (strength > 13){ modifierstrength = 2;}
|
|
else if (strength > 11){ modifierstrength = 1;}
|
|
else if (strength > 9){ modifierstrength = 0;}
|
|
else if (strength > 7){ modifierstrength = -1;}
|
|
else if (strength > 5){ modifierstrength = -2;}
|
|
else if (strength > 3){ modifierstrength = -3;}
|
|
else if (strength > 1){ modifierstrength = -4;}
|
|
else if (strength > 0){ modifierstrength = -5;}
|
|
else if (strength < 1){ modifierstrength = -6;}
|
|
else {modifierstrength = 0;}
|
|
setAttrs({
|
|
bonostrength: modifierstrength
|
|
});
|
|
});
|
|
});
|
|
|
|
/* ATRIBUTO DEXTERITY DB BONO */
|
|
on('change:dexterity', function () {
|
|
getAttrs(['dexterity'], function (values) {
|
|
let dexterity = parseInt(values.dexterity)||0;
|
|
let modifierdexterity = 0;
|
|
if (dexterity > 30){ modifierdexterity = 30;}
|
|
else if (dexterity > 29){ modifierdexterity = 10;}
|
|
else if (dexterity > 27){ modifierdexterity = 9;}
|
|
else if (dexterity > 25){ modifierdexterity = 8;}
|
|
else if (dexterity > 23){ modifierdexterity = 7;}
|
|
else if (dexterity > 21){ modifierdexterity = 6;}
|
|
else if (dexterity > 19){ modifierdexterity = 5;}
|
|
else if (dexterity > 17){ modifierdexterity = 4;}
|
|
else if (dexterity > 15){ modifierdexterity = 3;}
|
|
else if (dexterity > 13){ modifierdexterity = 2;}
|
|
else if (dexterity > 11){ modifierdexterity = 1;}
|
|
else if (dexterity > 9){ modifierdexterity = 0;}
|
|
else if (dexterity > 7){ modifierdexterity = -1;}
|
|
else if (dexterity > 5){ modifierdexterity = -2;}
|
|
else if (dexterity > 3){ modifierdexterity = -3;}
|
|
else if (dexterity > 1){ modifierdexterity = -4;}
|
|
else if (dexterity > 0){ modifierdexterity = -5;}
|
|
else if (dexterity < 1){ modifierdexterity = -5;}
|
|
else {modifierdexterity = 0;}
|
|
setAttrs({
|
|
bonodexterity: modifierdexterity
|
|
});
|
|
});
|
|
});
|
|
|
|
/* ATRIBUTO CONSTITUTIOIN DB BONO */
|
|
on('change:constitution', function () {
|
|
getAttrs(['constitution'], function (values) {
|
|
let constitution = parseInt(values.constitution)||0;
|
|
let modifierconstitution = 0;
|
|
if (constitution > 30){ modifierconstitution = 10;}
|
|
else if (constitution > 29){ modifierconstitution = 10;}
|
|
else if (constitution > 27){ modifierconstitution = 9;}
|
|
else if (constitution > 25){ modifierconstitution = 8;}
|
|
else if (constitution > 23){ modifierconstitution = 7;}
|
|
else if (constitution > 21){ modifierconstitution = 6;}
|
|
else if (constitution > 19){ modifierconstitution = 5;}
|
|
else if (constitution > 17){ modifierconstitution = 4;}
|
|
else if (constitution > 15){ modifierconstitution = 3;}
|
|
else if (constitution > 13){ modifierconstitution = 2;}
|
|
else if (constitution > 11){ modifierconstitution = 1;}
|
|
else if (constitution > 9){ modifierconstitution = 0;}
|
|
else if (constitution > 7){ modifierconstitution = -1;}
|
|
else if (constitution > 5){ modifierconstitution = -2;}
|
|
else if (constitution > 3){ modifierconstitution = -3;}
|
|
else if (constitution > 1){ modifierconstitution = -4;}
|
|
else if (constitution > 0){ modifierconstitution = -5;}
|
|
else if (constitution < 1){ modifierconstitution = -5;}
|
|
else {modifierconstitution = 0;}
|
|
setAttrs({
|
|
bonoconstitution: modifierconstitution
|
|
});
|
|
});
|
|
});
|
|
|
|
/* ATRIBUTO INTELLIGENCE DB BONO */
|
|
on('change:intelligence', function () {
|
|
getAttrs(['intelligence'], function (values) {
|
|
let intelligence = parseInt(values.intelligence)||0;
|
|
let modifierintelligence = 0;
|
|
if (intelligence > 30){ modifierintelligence = 10;}
|
|
else if (intelligence > 29){ modifierintelligence = 10;}
|
|
else if (intelligence > 27){ modifierintelligence = 9;}
|
|
else if (intelligence > 25){ modifierintelligence = 8;}
|
|
else if (intelligence > 23){ modifierintelligence = 7;}
|
|
else if (intelligence > 21){ modifierintelligence = 6;}
|
|
else if (intelligence > 19){ modifierintelligence = 5;}
|
|
else if (intelligence > 17){ modifierintelligence = 4;}
|
|
else if (intelligence > 15){ modifierintelligence = 3;}
|
|
else if (intelligence > 13){ modifierintelligence = 2;}
|
|
else if (intelligence > 11){ modifierintelligence = 1;}
|
|
else if (intelligence > 9){ modifierintelligence = 0;}
|
|
else if (intelligence > 7){ modifierintelligence = -1;}
|
|
else if (intelligence > 5){ modifierintelligence = -2;}
|
|
else if (intelligence > 3){ modifierintelligence = -3;}
|
|
else if (intelligence > 1){ modifierintelligence = -4;}
|
|
else if (intelligence > 0){ modifierintelligence = -5;}
|
|
else if (intelligence < 1){ modifierintelligence = -5;}
|
|
else {modifierintelligence = 0;}
|
|
setAttrs({
|
|
bonointelligence: modifierintelligence
|
|
});
|
|
});
|
|
});
|
|
|
|
/* ATRIBUTO WISDOM DB BONO */
|
|
on('change:wisdom', function () {
|
|
getAttrs(['wisdom'], function (values) {
|
|
let wisdom = parseInt(values.wisdom)||0;
|
|
let modifierwisdom = 0;
|
|
if (wisdom > 30){ modifierwisdom = 11;}
|
|
else if (wisdom > 29){ modifierwisdom = 10;}
|
|
else if (wisdom > 27){ modifierwisdom = 9;}
|
|
else if (wisdom > 25){ modifierwisdom = 8;}
|
|
else if (wisdom > 23){ modifierwisdom = 7;}
|
|
else if (wisdom > 21){ modifierwisdom = 6;}
|
|
else if (wisdom > 19){ modifierwisdom = 5;}
|
|
else if (wisdom > 17){ modifierwisdom = 4;}
|
|
else if (wisdom > 15){ modifierwisdom = 3;}
|
|
else if (wisdom > 13){ modifierwisdom = 2;}
|
|
else if (wisdom > 11){ modifierwisdom = 1;}
|
|
else if (wisdom > 9){ modifierwisdom = 0;}
|
|
else if (wisdom > 7){ modifierwisdom = -1;}
|
|
else if (wisdom > 5){ modifierwisdom = -2;}
|
|
else if (wisdom > 3){ modifierwisdom = -3;}
|
|
else if (wisdom > 1){ modifierwisdom = -4;}
|
|
else if (wisdom > 0){ modifierwisdom = -5;}
|
|
else if (wisdom < 1){ modifierwisdom = -5;}
|
|
else {modifierwisdom = 0;}
|
|
setAttrs({
|
|
bonowisdom: modifierwisdom
|
|
});
|
|
});
|
|
});
|
|
|
|
/* ATRIBUTO CHARISMA DB BONO */
|
|
on('change:charisma', function () {
|
|
getAttrs(['charisma'], function (values) {
|
|
let charisma = parseInt(values.charisma)||0;
|
|
let modifiercharisma = 0;
|
|
if (charisma > 30){ modifiercharisma = 11;}
|
|
else if (charisma > 29){ modifiercharisma = 10;}
|
|
else if (charisma > 27){ modifiercharisma = 9;}
|
|
else if (charisma > 25){ modifiercharisma = 8;}
|
|
else if (charisma > 23){ modifiercharisma = 7;}
|
|
else if (charisma > 21){ modifiercharisma = 6;}
|
|
else if (charisma > 19){ modifiercharisma = 5;}
|
|
else if (charisma > 17){ modifiercharisma = 4;}
|
|
else if (charisma > 15){ modifiercharisma = 3;}
|
|
else if (charisma > 13){ modifiercharisma = 2;}
|
|
else if (charisma > 11){ modifiercharisma = 1;}
|
|
else if (charisma > 9){ modifiercharisma = 0;}
|
|
else if (charisma > 7){ modifiercharisma = -1;}
|
|
else if (charisma > 5){ modifiercharisma = -2;}
|
|
else if (charisma > 3){ modifiercharisma = -3;}
|
|
else if (charisma > 1){ modifiercharisma = -4;}
|
|
else if (charisma > 0){ modifiercharisma = -5;}
|
|
else if (charisma < 1){ modifiercharisma = -5;}
|
|
else {modifiercharisma = 0;}
|
|
setAttrs({
|
|
bonocharisma: modifiercharisma
|
|
});
|
|
});
|
|
});
|
|
|
|
<!-- SELECTOR PESTANYA -->
|
|
const buttonlist = ["character", "combat", "background", "attributes"];
|
|
buttonlist.forEach(button => {
|
|
on(`clicked:${button}`, function() {
|
|
setAttrs({
|
|
sheetTab: button
|
|
});S
|
|
});
|
|
});
|
|
|
|
</script>
|
|
|