mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 11:42:29 +00:00
929 lines
45 KiB
HTML
929 lines
45 KiB
HTML
<div>
|
|
<button type="action" name="act_character">Personaggio</button>
|
|
<button type="action" name="act_weapons">Armi</button>
|
|
<button type="action" name="act_skills">Abilità</button>
|
|
<!--<button type="action" name="act_guida">Guida</button> -->
|
|
</div>
|
|
<input type='hidden' class='sheet-tabstoggle' name='attr_sheetTab' value='character' />
|
|
<br>
|
|
|
|
<!-- DESCRIZIONE -->
|
|
<div class='sheet-character'>
|
|
<div class='2colrow'>
|
|
<div class='col' style="text-align: center;">
|
|
<img src="https://static.wixstatic.com/media/5738c7_88ead40507834445af073b0208f2dc64~mv2.png/v1/fill/w_445,h_188,al_c,q_85,usm_0.66_1.00_0.01/5738c7_88ead40507834445af073b0208f2dc64~mv2.webp" class="logo" />
|
|
</div>
|
|
|
|
<div class='col' style="text-align: center;">
|
|
<div class="row status-table" style='width: 100%;margin-bottom:10px'>
|
|
<div style='width:10%;margin-right:10px'><b>Sono</b></div> <input type=text style='width: 90%;'
|
|
name="attr_name" />
|
|
</div>
|
|
<div class="row status-table" style='width: 100%;margin-bottom:10px'>
|
|
<div style='width:10%;margin-right:10px'><b>Un</b></div> <input type=text
|
|
style='width: 30%;margin-right:10px' name="attr_race" />
|
|
<input type=text style='width: 60%;' name="attr_class" />
|
|
</div>
|
|
<div class="row status-table" style='width: 100%;margin-bottom:10px'>
|
|
<div style='width:10%;margin-right:10px'><b>Pregio</b></div><input type=text style='width: 90%;'
|
|
name="attr_pregio" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- STATUS -->
|
|
<br>
|
|
<div class='4colrow status-table'>
|
|
<div class='col' style='margin-right:2%; width: 15%;'>
|
|
<div class='row' style="text-align: center; width: 100%; ">
|
|
<b> Punti Avventura:</b>
|
|
</div>
|
|
<div class='row border-white' style="text-align: center; width: 100%;">
|
|
<input type=text name="attr_avendutrepoint" style='width: 100%;text-align: center;' />
|
|
</div>
|
|
</div>
|
|
<div class='col' style=' margin-right:2%;width: 15%;'>
|
|
<div class='row' style="text-align: center;width: 100%;">
|
|
<b> Armatura: </b>
|
|
</div>
|
|
<div class='row border-white' style="text-align: center;">
|
|
<input type=text name="attr_armor" style='width: 100%;text-align: center;' />
|
|
</div>
|
|
</div>
|
|
<div class='col' style='margin-right:2%;width: 32%;'>
|
|
<div class='row' style="text-align: center;width: 100%;">
|
|
<b>Salute</b>
|
|
</div>
|
|
<div class='2colrow border' style="text-align: center;width: 95%;">
|
|
<div class='col nomargin' style="text-align: center;">
|
|
<b> Max: </b>
|
|
<input type=number name="attr_hpmax" />
|
|
</div>
|
|
<div class='col' style="text-align: center;">
|
|
<b> Attuale: </b>
|
|
<input type=number name="attr_hpcurrent" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class='col' style='width:32%; margin:0!important;'>
|
|
<div class='row' style="text-align: center;width: 100%;">
|
|
<b>Mana</b>
|
|
</div>
|
|
<div class='2colrow border' style="text-align: center;width: 95%;">
|
|
<div class='col nomargin'>
|
|
<b> Max: </b>
|
|
<input type=number name="attr_manamax" />
|
|
</div>
|
|
<div class='col nomargin'>
|
|
<b> Attuale: </b>
|
|
<input type=number name="attr_manacurrent" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- STATUS -->
|
|
<br>
|
|
|
|
<!-- CARATTERISTICHE -->
|
|
<div class='row border'>
|
|
<div class='2colrow' style='width: 100%;'>
|
|
<div class='col'>
|
|
<br>
|
|
<div class=formblock>
|
|
<table width=100%>
|
|
<thead>
|
|
<tr>
|
|
<td width=1>#</td>
|
|
<td>Characteristics</td>
|
|
<td width=1>Value</td>
|
|
<td width=1></td>
|
|
<td width=1>Bonus</td>
|
|
<td width=1>Pregio</td>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tr>
|
|
<td>
|
|
<button type=roll name="attr_DEX_roll"
|
|
value="&{template:default} {{name=Agilità}} {{Roll:= [[@{DEX}d10kh1 @{DEXbonus}]] }}"></button>
|
|
</td>
|
|
<td>Agilità</td>
|
|
<td>
|
|
<input type=number width=3 style='width: 3em;' name="attr_DEX" value="1" />
|
|
</td>
|
|
<td>
|
|
D
|
|
</td>
|
|
<td>
|
|
<input type=text width=3 style='width: 3em;' name="attr_DEXbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_DEX_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><button type=roll name="attr_COR_roll"
|
|
value="&{template:default} {{name=Coraggio}} {{Roll:= [[ @{COR}d10kh1 @{CORbonus} ]] }}"></button>
|
|
</td>
|
|
<td>Coraggio</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_COR" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_CORbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_COR_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<button type=roll name="attr_FOR_roll"
|
|
value="&{template:default} {{name=Forza}} {{Roll:= [[ @{FOR}d10kh1 @{FORbonus}]] }}"></button>
|
|
</td>
|
|
<td>Forza</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_FOR" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_FORbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_FOR_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><button type=roll name="attr_INT_roll"
|
|
value="&{template:default} {{name=Intelligenza}} {{Roll:= [[@{INT}d10kh1 @{INTbonus}]] }}"></button>
|
|
</td>
|
|
<td>Intelligenza</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_INT" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_INTbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_INT_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class='col'>
|
|
<br>
|
|
<div class=formblock>
|
|
<table width=100%>
|
|
<thead>
|
|
<tr>
|
|
<td width=1>#</td>
|
|
<td>Characteristics</td>
|
|
<td width=1>Value</td>
|
|
<td width=1></td>
|
|
<td width=1>Bonus</td>
|
|
<td width=1>Pregio</td>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tr>
|
|
<td><button type=roll name="attr_MAG_roll"
|
|
value="&{template:default} {{name=Magia}} {{Roll:= [[ @{MAG}d10kh1 @{MAGbonus}]] }}"></button>
|
|
</td>
|
|
<td>Magia</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_MAG" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_MAGbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_MAG_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><button type=roll name="attr_MAN_roll"
|
|
value="&{template:default} {{name=Manualità}} {{Roll:= [[ @{MAN}d10kh1 @{MANbonus}]] }}"></button>
|
|
</td>
|
|
<td>Manualità</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_MAN" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_MANbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_MAN_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><button type=roll name="attr_PER_roll"
|
|
value="&{template:default} {{name=Percezione}} {{Roll:= [[ @{PER}d10kh1 @{PERbonus}]] }}"></button>
|
|
</td>
|
|
<td>Percezione</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_PER" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_PERbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_PER_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><button type=roll name="attr_SOC_roll"
|
|
value="&{template:default} {{name=Socialità}} {{Roll:= [[ @{SOC}d10kh1 @{SOCbonus}]] }}"></button>
|
|
</td>
|
|
<td>Socialità</td>
|
|
<td><input type=number width=3 style='width: 3em;' name="attr_SOC" value="1" />
|
|
</td>
|
|
<td> D </td>
|
|
<td><input type=text width=3 style='width: 3em;' name="attr_SOCbonus" /></td>
|
|
<td>
|
|
<input type="checkbox" name="attr_SOC_pregio">
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- CARATTERISTICHE -->
|
|
|
|
<!-- Items -->
|
|
<div>
|
|
<br>
|
|
|
|
<div class='2colrow status-table'>
|
|
<!-- COLONNA 1 -->
|
|
<div class='formblock col item-table'>
|
|
|
|
<div class='row margin-bottom-10' style='width:100%;'>
|
|
<h3 style="text-align: center;margin-bottom:10px!important;"> Oggetti indossati e impugnati</h3>
|
|
|
|
<div class='border margin-bottom-10'>
|
|
<div class='2colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 90%;'>
|
|
<h4 style="text-align: center;"> Nome </h4>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<h4 style="text-align: center;"> Fiorini </h4>
|
|
</div>
|
|
</div>
|
|
<fieldset class=repeating_items>
|
|
<div class='2colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 90%;'>
|
|
<input type=text name="attr_itemname" style='width: 100%;'>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<input type=text name="attr_item_fiorini" style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='row margin-bottom-10' style='width:100%;'>
|
|
<h3 style="text-align: center;margin-bottom:10px!important;"> Bandoliera</h3>
|
|
|
|
<div class='border margin-bottom-10'>
|
|
<div class='2colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 90%;'>
|
|
<h4 style="text-align: center;"> Nome </h4>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<h4 style="text-align: center;"> Fiorini </h4>
|
|
</div>
|
|
</div>
|
|
<div class='2colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 90%;'>
|
|
<input type=text name="attr_itemband_1" style='width: 100%;'>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<input type=text name="attr_item_band_fiorini_1" style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
<div class='2colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 90%;'>
|
|
<input type=text name="attr_itemband_2" style='width: 100%;'>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<input type=text name="attr_item_band_fiorini_2" style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='row margin-bottom-10' style='width:100%;'>
|
|
<h3 style="text-align: center;margin-bottom:10px!important;"> Zaino</h3>
|
|
<div class='border margin-bottom-10'>
|
|
<div class='3colrow status-table nomargi nmargin-bottom-10' style='width:100%;'>
|
|
<div class='col nomargin' style='width: 5%;'>
|
|
<h4 style="text-align: center;"> # </h4>
|
|
</div>
|
|
<div class='col nomargin' style='width: 85%;'>
|
|
<h4 style="text-align: center;"> Nome </h4>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<h4 style="text-align: center;"> Fiorini </h4>
|
|
</div>
|
|
</div>
|
|
<fieldset class='repeating_bagpack'>
|
|
<div class='3colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 5%;'>
|
|
<input type=text name="attr_item_bagpack_qt" style='width: 100%;'>
|
|
</div>
|
|
<div class='col nomargin' style='width: 85%;'>
|
|
<input type=text name="attr_item" style='width: 100%;'>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<input type=text name="attr_item_bagpack_fiorini" style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
<!-- COLONNA 1 -->
|
|
</div>
|
|
|
|
<!-- COLONNA 2 -->
|
|
<div class='formblock col item-table'>
|
|
|
|
<div class='row margin-bottom-10' style='width: 100%;'>
|
|
<h3 style="text-align: center;margin-bottom:10px!important;"> Oggetti a portata di mano</h3>
|
|
<div class='border'>
|
|
<div class='3colrow status-table margin-bottom-10' style='width:100%;'>
|
|
<div class='col nomargin' style='width: 80%;'>
|
|
<h4 style="text-align: center;"> Nome </h4>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<h4 style="text-align: center;"> Slot </h4>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<h4 style="text-align: center;"> Fiorini </h4>
|
|
</div>
|
|
</div>
|
|
|
|
<fieldset class='repeating_itemsquickly'>
|
|
<div class='3colrow status-table margin-bottom-10'>
|
|
<div class='col nomargin' style='width: 80%;'>
|
|
<input type=text name="attr_itemquickly" style='width: 100%'>
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<input type=number name="attr_itemquicklyvalue" style='width: 100%;' min="1"
|
|
max="3">
|
|
</div>
|
|
<div class='col nomargin' style='width: 10%;'>
|
|
<input type=number name="attr_itemquicklyvalue_fiorini" style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='3colrow border margin-bottom-10'>
|
|
<div class='col' style='width: 20%;'>
|
|
<div class='row'>
|
|
<b class='b'>Borraccia</b>
|
|
</div>
|
|
<div class='row'>
|
|
<input type=number name="attr_water" style='width: 100%;' min="0" max="7">
|
|
</div>
|
|
</div>
|
|
<div class='col' style='width: 20%'>
|
|
<div class='row'>
|
|
<b class='b'> Razioni</b>
|
|
</div>
|
|
<div class='row'>
|
|
<input type=number name="attr_food" style='width: 100%;' min="0" max="14">
|
|
</div>
|
|
</div>
|
|
<div class='col' style='width: 30%'>
|
|
<div class='row'>
|
|
<b class='b'>Fiorini</b>
|
|
</div>
|
|
<div class='row'>
|
|
<input type=number name="attr_foodbad" style='width: 100%;' min="0" max="">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='row'>
|
|
<h3 style="text-align: center;margin-bottom: 10px;"> Utility Roll</h3>
|
|
<div class='border'>
|
|
<div class='2colrow ' style='margin-bottom: 10px;'>
|
|
<div class='col'>
|
|
<b class='b'>Pozione di Salute</b>
|
|
</div>
|
|
<div class='col'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Pozione di Salute}} {{Roll:= [[D6]] }}"></button>
|
|
</div>
|
|
</div>
|
|
<div class='2colrow' style='margin-bottom: 10px;'>
|
|
<div class='col'>
|
|
<b class='b'>Pozione di Mana</b>
|
|
</div>
|
|
<div class='col'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Pozione di Mana}} {{Roll:= [[D6]] }}"></button>
|
|
</div>
|
|
</div>
|
|
<div class='2colrow ' style='margin-bottom: 10px;'>
|
|
<div class='col'>
|
|
<b class='b'>Riposo Ristoratore Salute</b>
|
|
</div>
|
|
<div class='col'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Riposo Ristoratore Salute}} {{Roll:= [[D4]] }}"></button>
|
|
</div>
|
|
</div>
|
|
<div class='2colrow' style='margin-bottom: 10px;'>
|
|
<div class='col'>
|
|
<b class='b'>Riposo Ristoratore Mana</b>
|
|
</div>
|
|
<div class='col'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Riposo Ristoratore Mana}} {{Roll:= [[D4]] }}"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ITEMS -->
|
|
</div>
|
|
|
|
<div class='sheet-weapons'>
|
|
|
|
<!-- armi da mischia -->
|
|
<div class='row' style='width: 100%;'>
|
|
<h4 style="text-align: center;">Armi da Mischia</h4>
|
|
<br>
|
|
<div class='10colrow formblock' style='width: 100%;'>
|
|
<fieldset class=repeating_meelee style='width: 100%;'>
|
|
<div class='row border' style='margin-bottom: 10px;'>
|
|
<div class='row ' style='width: 100%;'>
|
|
<br>
|
|
<div class='col' style='width: 25%;'>
|
|
<b class='b' style='width: 100%;'>Arma</b> <br>
|
|
<input type=text name=attr_weaponname_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Test</b><br>
|
|
<input type=text name=attr_weapontiro_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Mod</b><br>
|
|
<input type=text name=attr_attackbonus_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style='width: 100%;'>Extra</b><br>
|
|
<input type=text name=attr_weaponextraroll_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;' align=center>
|
|
<b class='b' style=' width: 100%;'>Roll</b><br>
|
|
<button type=roll
|
|
value="&{template:default} {{name=@{weaponname_meelee}}} {{Roll:= [[ @{weapontiro_meelee}@{weaponextraroll_meelee}kh1 @{attackbonus_meelee} ]] }} }}"></button>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Danno</b><br>
|
|
<input type=text name=attr_weapondamage_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Mod</b><br>
|
|
<input type=text name=attr_damagebonus_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style='width: 100%;'>Extra</b><br>
|
|
<input type=text name=attr_weaponextradamage_meelee style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Roll</b><br>
|
|
<button type=roll
|
|
value="&{template:default} {{name=@{weaponname_meelee}}} {{damage= [[@{weapondamage_meelee}@{weaponextradamage_meelee}kh1 @{damagebonus_meelee}]]}}"></button>
|
|
</div>
|
|
<div class='col' style='width: 30%;'>
|
|
<b class='b' style='width: 100%;'>Note</b><br>
|
|
<input type=text name=attr_weaponnote_meelee style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Armi a distanza -->
|
|
<div class='row ' style='width: 100%;'>
|
|
<h4 style="text-align: center;">Armi a Distanza</h4>
|
|
<br>
|
|
|
|
<div class='13colrow formblock' style='width: 100%;'>
|
|
|
|
<fieldset class=repeating_ranged style='width: 100%;'>
|
|
<div class='row border' style='margin-bottom: 10px;'>
|
|
<div class='row' style='width: 100%;'>
|
|
<br>
|
|
<div class='col' style='width: 25%;'>
|
|
<b class='b' style='width: 100%;'>Arma</b> <br>
|
|
<input type=text name=attr_weaponname_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Test</b><br>
|
|
<input type=text name=attr_weapontiro_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Mod</b><br>
|
|
<input type=text name=attr_attackbonus_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style='width: 100%;'>Extra</b><br>
|
|
<input type=text name=attr_weaponextraroll_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;' align=center>
|
|
<b class='b' style=' width: 100%;'>Roll</b><br>
|
|
<button type=roll
|
|
value="&{template:default} {{name=@{weaponname_ranged}}} {{Roll:= [[@{weapontiro_ranged}@{weaponextraroll_ranged}kh1 @{attackbonus_ranged}]]}} }}"></button>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Danno</b><br>
|
|
<input type=text name=attr_weapondamage_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Mod</b><br>
|
|
<input type=text name=attr_damagebonus_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style='width: 100%;'>Extra</b><br>
|
|
<input type=text name=attr_weaponextradamage_ranged style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 5%;'>
|
|
<b class='b' style=' width: 100%;'>Roll</b><br>
|
|
<button type=roll
|
|
value="&{template:default} {{name=@{weaponname_ranged}}} {{damage= [[@{weapondamage_ranged}@{weaponextradamage_ranged}kh1 @{damagebonus_ranged}]]}}"></button>
|
|
</div>
|
|
<div class='col' style='width: 30%;'>
|
|
<b class='b' style='width: 100%;'>Note</b><br>
|
|
<input type=text name=attr_weaponnote_ranged style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!--Utility -->
|
|
<div class='row' style='width:100%'>
|
|
<div class='2colrow formblock' style='width: 100%;margin-top:10px;'>
|
|
<div class='formblock col border ' style='width: 30%;margin-bottom:5px!important;'>
|
|
<h4 style="text-align: center;">Frecce e Dardi</h4>
|
|
<br>
|
|
<fieldset class=repeating_cartucciera>
|
|
<div class='2colrow' style='margin-bottom:5px!important;'>
|
|
<div class='col' style='width: 20%;'>
|
|
<b class='b' style=' width: 100%;'>Quantità</b><br>
|
|
<input type=number name="attr_cartucciera_ammo_quantity" style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 50%;'>
|
|
<b class='b' style=' width: 100%;'>Tipo</b><br>
|
|
<input type=text name="attr_cartucciera_ammo_type" style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div class='formblock col border' style='width: 60%;margin-bottom:5px!important;'>
|
|
<h4 style="text-align: center;"> Utility Roll</h4>
|
|
<div class='4colrow' style='width: 100%;'>
|
|
<div class='col' style='width: 10%;'>
|
|
<b class='b' style=' width: 100%;'>Iniziativa</b><br>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<input type=text name=attr_iniziative style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<input type=text name=attr_iniziative_mod style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<input type=text name=attr_iniziativeExtra style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Iniziativa}} {{Roll= [[@{iniziative}@{iniziativeExtra}kh1 @{iniziative_mod} &{tracker} ]] }}"></button>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
<div class='col' style='width: 10%;'>
|
|
<b class='b' style=' width: 100%;'>Ricarica Arma</b><br>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<input type=text name=attr_ricaricaarma style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<input type=text name=attr_ricaricaarma_mod style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<input type=text name=attr_ricaricaarmaExtra style='width: 100%;'>
|
|
</div>
|
|
<div class='col' style='width: 10%;'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Ricarica Arma}} {{Roll= [[@{ricaricaarma}@{ricaricaarmaExtra}kh1 @{ricaricaarma_mod} ]] }}"></button>
|
|
</div>
|
|
<br>
|
|
<div class='2colrow ' style='margin-top: 15px; margin-bottom: 10px;'>
|
|
<div class='col'>
|
|
<b class='b'>Rottura Arma</b>
|
|
</div>
|
|
<div class='col'>
|
|
<button type=roll
|
|
value="&{template:default} {{name=Rottura Arma}} {{Roll:= [[D6]] }}"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- WEAPON -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Skills -->
|
|
<div class='sheet-skills'>
|
|
|
|
<!-- Skills -->
|
|
<div class='row' style='width: 100%;'>
|
|
<h2 style="text-align: center;">Abilità</h2>
|
|
<div class='2colrow formblock' style='width: 100%;margin-top:10px;'>
|
|
<fieldset class=repeating_skills style='width: 100%;'>
|
|
|
|
<div class='row border' style='margin-bottom:10px;'>
|
|
<div class='row'>
|
|
<div class='col' style='width: 30%;'>
|
|
<b class='b' style='width: 100%;'>Nome</b>
|
|
<div class='row'>
|
|
<input type=text name=attr_skills_name style='width: 100%;'>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='col' style='width: 65%;'>
|
|
<div class='row'>
|
|
<b class='b' style='width: 100%;'>Descrizione</b>
|
|
<input type="checkbox" class="sheet-toggle-show" />
|
|
<br>
|
|
<div class="sheet-body">
|
|
<div class="sheet-auto-expand">
|
|
<span name="attr_skills_desc"></span>
|
|
<textarea name="attr_skills_desc" style="width:100%;"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<b class='b'> Mostra Test</b>
|
|
<input type="checkbox" class="sheet-table-show" />
|
|
<br>
|
|
<table width=80% class="sheet-skills-table">
|
|
<thead>
|
|
<tr>
|
|
<td width=5%>#</td>
|
|
<td width=15%>Test Abilità</td>
|
|
<td width=10%>Mod</td>
|
|
<td width=10%>Extra</td>
|
|
<td> Note</td>
|
|
</tr>
|
|
</thead>
|
|
<tr>
|
|
<td>
|
|
<button type=roll
|
|
value="&{template:default} {{name=@{skills_name}}} {{Roll= [[@{skill_test_1}@{skill_extra_1}kh1 @{skill_mod_1} ]] }}"></button>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_test_1 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_mod_1 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_extra_1 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_note_1 style='width: 100%;'>
|
|
</td>
|
|
|
|
</tr>
|
|
<div> <br> </div>
|
|
<tr>
|
|
<td>
|
|
<button type=roll
|
|
value="&{template:default} {{name=skills_name}} {{Roll= [[@{skill_test_2}@{skill_extra_2}kh1 @{skill_mod_2} ]] }}"></button>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_test_2 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_mod_2 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_extra_2 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_note_2 style='width: 100%;'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<button type=roll
|
|
value="&{template:default} {{name=skills_name}} {{Roll= [[@{skill_test_3}@{skill_extra_3}kh1 @{skill_mod_3} ]] }}"></button>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_test_3 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_mod_3 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_extra_3 style='width: 100%;'>
|
|
</td>
|
|
<td>
|
|
<input type=text name=attr_skill_note_3 style='width: 100%;'>
|
|
</td>
|
|
</tr>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
<!-- Skills -->
|
|
|
|
</div>
|
|
|
|
<script type="text/worker">
|
|
const buttonlist = ["character","weapons","skills","guida"];
|
|
buttonlist.forEach(button => {
|
|
on(`clicked:${button}`, function() {
|
|
setAttrs({
|
|
sheetTab: button
|
|
});
|
|
});
|
|
});
|
|
|
|
//on('sheet:opened',function(){
|
|
//});
|
|
|
|
on("change:DEX_pregio change:COR_pregio change:FOR_pregio change:INT_pregio change:MAG_pregio change:MAN_pregio change:PER_pregio change:SOC_pregio ",
|
|
(eventInfo) => {
|
|
|
|
const pregio ="ro<2";
|
|
|
|
switch(eventInfo.sourceAttribute){
|
|
case "dex_pregio":{
|
|
getAttrs(["DEX_roll"], v => {
|
|
if(!v.DEX_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Agilità}} {{Roll:= [[@{DEX}d10kh1" + pregio + " @{DEXbonus}]] }}"
|
|
setAttrs({
|
|
DEX_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Agilità}} {{Roll:= [[@{DEX}d10kh1 @{DEXbonus}]] }}"
|
|
setAttrs({
|
|
DEX_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
case "cor_pregio":{
|
|
getAttrs(["COR_roll"], v => {
|
|
if(!v.COR_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Coraggio}} {{Roll:= [[@{COR}d10kh1" + pregio + " @{CORbonus}]] }}"
|
|
setAttrs({
|
|
COR_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Coraggio}} {{Roll:= [[@{COR}d10kh1 @{CORbonus}]] }}"
|
|
setAttrs({
|
|
COR_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
case "for_pregio":{
|
|
getAttrs(["FOR_roll"], v => {
|
|
if(!v.FOR_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Forza}} {{Roll:= [[@{FOR}d10kh1" + pregio + " @{FORbonus}]] }}"
|
|
setAttrs({
|
|
FOR_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Forza}} {{Roll:= [[@{FOR}d10kh1 @{FORbonus}]] }}"
|
|
setAttrs({
|
|
FOR_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
case "int_pregio":{
|
|
getAttrs(["INT_roll"], v => {
|
|
if(!v.INT_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Intelligenza}} {{Roll:= [[@{INT}d10kh1" + pregio + " @{INTbonus}]] }}"
|
|
setAttrs({
|
|
INT_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Intelligenza}} {{Roll:= [[@{INT}d10kh1 @{INTbonus}]] }}"
|
|
setAttrs({
|
|
INT_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
case "mag_pregio":{
|
|
getAttrs(["MAG_roll"], v => {
|
|
if(!v.MAG_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Magia}} {{Roll:= [[@{MAG}d10kh1" + pregio + " @{MAGbonus}]] }}"
|
|
setAttrs({
|
|
MAG_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Magia}} {{Roll:= [[@{MAG}d10kh1 @{MAGbonus}]] }}"
|
|
setAttrs({
|
|
MAG_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
case "man_pregio":{
|
|
getAttrs(["n_colpi","MAN_roll"], v => {
|
|
console.log(v);
|
|
if(!v.MAN_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Manualità}} {{Roll:= [[@{MAN}d10kh1" + pregio + " @{MANbonus}]] }}"
|
|
var valueMaxColpi="&{template:default} {{name=N° Massimo di colpi messi a segno}} {{Roll:= [[@{MAN}D4kh1" + pregio + "@{MANbonus}]]}}"
|
|
|
|
setAttrs({
|
|
MAN_roll: valueRoll,
|
|
n_colpi: valueMaxColpi
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Manualità}} {{Roll:= [[@{MAN}d10kh1 @{MANbonus}]] }}"
|
|
var valueMaxColpi="&{template:default} {{name=N° Massimo di colpi messi a segno}} {{Roll:= [[@{MAN}D4kh1 @{MANbonus}]]}}"
|
|
setAttrs({
|
|
MAN_roll: valueRoll,
|
|
n_colpi: valueMaxColpi
|
|
});
|
|
}
|
|
|
|
});
|
|
break;
|
|
}
|
|
case "per_pregio":{
|
|
getAttrs(["PER_roll"], v => {
|
|
if(!v.PER_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Percezione}} {{Roll:= [[@{PER}d10kh1" + pregio + " @{PERbonus}]] }}"
|
|
setAttrs({
|
|
PER_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Percezione}} {{Roll:= [[@{PER}d10kh1 @{PERbonus}]] }}"
|
|
setAttrs({
|
|
PER_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
case "soc_pregio":{
|
|
getAttrs(["SOC_roll"], v => {
|
|
if(!v.SOC_roll.includes(pregio))
|
|
{
|
|
var valueRoll="&{template:default} {{name=Socialità}} {{Roll:= [[@{SOC}d10kh1" + pregio + " @{SOCbonus}]] }}"
|
|
setAttrs({
|
|
SOC_roll: valueRoll
|
|
});
|
|
}else{
|
|
var valueRoll="&{template:default} {{name=Socialità}} {{Roll:= [[@{SOC}d10kh1 @{SOCbonus}]] }}"
|
|
setAttrs({
|
|
SOC_roll: valueRoll
|
|
});
|
|
}
|
|
});
|
|
break;
|
|
}
|
|
}
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|