Added Fields to Movement, Size and Resistence

This commit is contained in:
Bruno Cesar Alves de Freitas Ferreira Mendes
2023-03-05 15:54:30 -03:00
parent f6325f2aa0
commit 972ff6f78b
6 changed files with 184 additions and 35 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+1 -1
View File
@@ -5,5 +5,5 @@
"preview": "tormenta20.png",
"instructions": "Ficha de Tormenta20 oficial da Jambo Editora.",
"legacy": true,
"printable": true
"printable": false
}
+94 -6
View File
@@ -552,7 +552,17 @@
margin-bottom: 22px
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-box-proficiencies {
.sheet-main .sheet-left-container .sheet-size-and-move-container {
width: 100%;
display: grid;
grid-template-columns: 294px auto;
column-gap: 22px;
min-height: 70px;
margin-bottom: 22px
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-box-proficiencies,
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-size {
box-sizing: border-box
}
@@ -565,6 +575,35 @@
height: 150px
}
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-size select {
height: 23px;
font-size: 12px;
text-align: center;
line-height: 20px;
border: 0;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: 0px;
border-bottom: 2px solid black;
width: 100%;
}
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-move input {
height: 20px;
font-size: 12px;
text-align: center;
line-height: 20px;
border: 0;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: 0px;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: 0px;
border-bottom: 2px solid black;
width: 100%;
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield {
display: grid;
grid-template-rows: 1fr;
@@ -585,12 +624,21 @@
row-gap: 5px
}
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-size .sheet-inside-negative-corner {
height: 100%;
padding-left: 10px;
padding-right: 10px;
display: grid;
grid-template-columns: auto;
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense,
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense .sheet-inside-negative-corner {
height: 100% !important
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense .sheet-inside-negative-corner .sheet-signal {
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense .sheet-inside-negative-corner .sheet-signal,
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-size .sheet-inside-negative-corner .sheet-signal {
font-family: Arial, Verdana;
width: 100%;
height: 26px;
@@ -601,7 +649,8 @@
font-size: 10px !important
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense .sheet-inside-negative-corner .sheet-big-signal {
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense .sheet-inside-negative-corner .sheet-big-signal,
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-size .sheet-inside-negative-corner .sheet-big-signal {
font-size: 14px !important;
font-family: Arial, Verdana;
width: 100%;
@@ -633,6 +682,22 @@
border-bottom: 2px solid black
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-move .sheet-inside-negative-corner input {
height: 20px;
font-size: 12px;
text-align: center;
line-height: 20px;
border: 0;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: 0px;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: 0px;
border-bottom: 2px solid black;
width: 100%;
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-defense .sheet-inside-negative-corner .sheet-select_mod_defesa {
height: 26px;
font-size: 10px;
@@ -655,6 +720,17 @@
grid-template-rows: 16px auto auto
}
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-size .sheet-inside-negative-corner,
.sheet-main .sheet-left-container .sheet-size-and-move-container .sheet-container-move .sheet-inside-negative-corner {
height: 76px;
padding-left: 10px;
padding-right: 10px;
display: grid;
column-gap: 10px;
grid-template-columns: auto;
grid-template-rows: auto
}
.sheet-main .sheet-left-container .sheet-defense-and-proeficience-container .sheet-container-defense-armor-shield .sheet-container-armor-shield .sheet-inside-negative-corner input {
height: 20px;
font-size: 12px;
@@ -3027,7 +3103,7 @@
padding-left: 10px;
padding-right: 10px;
column-gap: 7px;
grid-template-columns: 24% 24% 24% 24%;
grid-template-columns: 19% 19% 19% 19% 19%;
grid-template-rows: 24px auto;
padding-bottom: 20px;
}
@@ -3103,7 +3179,7 @@
}
.sheet-attack-span, .sheet-damage-span, .sheet-roll-span, .sheet-skills-span,
.sheet-defense-span, .sheet-armor-span, .sheet-shield-span {
.sheet-defense-span, .sheet-armor-span, .sheet-shield-span, .sheet-resist-span {
font-size: 15px;
font-weight: bold;
color: #a91e27;
@@ -3128,7 +3204,19 @@
.sheet-header-global {
height: 84px;
width: 100%
width: 100%;
position: relative;
}
.sheet-header-position {
position: absolute;
bottom: 0px;
}
.sheet-header-button-position{
position: absolute;
bottom: 0px;
right: 0px;
}
.sheet-global-container-conditions{
+80 -27
View File
@@ -135,16 +135,25 @@
<div class="sheet-left-icons">
<span class="sheet-attack-span hiddenelement" name="attr_attackicon" title="Ataque" data-i18n-title="spam-attack"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/punch.png" class="sheet-attack-icon hiddenelement" title="Ataque" data-i18n-title="spam-attack"/>
<span class="sheet-damage-span hiddenelement" name="attr_damageicon" title="Dano" data-i18n-title="spam-damage"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/explosion.png" class="sheet-damage-icon hiddenelement" title="Dano" data-i18n-title="spam-damage"/>
<span class="sheet-roll-span hiddenelement" name="attr_rollicon" title="Rolagem" data-i18n-title="spam-roll"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/numerology.png" class="sheet-roll-icon hiddenelement" title="Rolagem" data-i18n-title="spam-roll"/>
<span class="sheet-skills-span hiddenelement" name="attr_skillsicon" title="Perícias" data-i18n-title="spam-skills"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/skills.png" class="sheet-skills-icon hiddenelement" title="Perícias" data-i18n-title="spam-skills"/>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/numerology.png" class="sheet-skills-icon hiddenelement" title="Perícias" data-i18n-title="spam-skills"/>
<span class="sheet-resist-span hiddenelement" name="attr_resistsicon" title="Resistências" data-i18n-title="resistance"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/resistence.png" class="sheet-resist-icon hiddenelement" title="Resistências" data-i18n-title="resistencias"/>
<span class="sheet-defense-span hiddenelement" name="attr_defenseicon" title="Defesa" data-i18n-title="spam-defense"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/antivirus.png" class="sheet-defense-icon hiddenelement" title="Defesa" data-i18n-title="spam-defense"/>
<span class="sheet-armor-span hiddenelement" name="attr_armoricon" title="Armadura" data-i18n-title="spam-armor"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/armor.png" class="sheet-armor-icon hiddenelement" title="Armadura" data-i18n-title="spam-armor"/>
<span class="sheet-shield-span hiddenelement" name="attr_shieldicon" title="Escudo" data-i18n-title="spam-shield"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/shield.png" class="sheet-shield-icon hiddenelement" title="Escudo" data-i18n-title="spam-shield"/>
</div>
@@ -221,7 +230,7 @@
<!-- Ataques -->
<fieldset class="repeating_attacks">
<div class="attacksgrid">
<button type="roll" name="roll_attack" class="buttonrollataque dado-simples" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}+@{rolltemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{dadoextraataque}+@{modatributodano}+@{danoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}">T</button>
<button type="roll" name="roll_attack" class="buttonrollataque dado-simples" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{dadoextraataque}+@{modatributodano}+@{danoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}">T</button>
<input name="attr_nomeataque" type="text" spellcheck="false" class="" value="">
<input name="attr_bonusataque" type="text" spellcheck="false" class="" value="0">
<input name="attr_danoataque" type="text" spellcheck="false" class="" value="0">
@@ -290,11 +299,11 @@
<span class="title" data-i18n="chanceDeErro">Chance de Erro</span>
</div>
<div class="inputtextbellow ataque_rolagens sheet-tiporolagemdois">
<button type="roll" name="roll_attack_best" class="buttonrollataque dado" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[2d20kh1cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}+@{rolltemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}" style="margin: auto !important;">TT</button>
<button type="roll" name="roll_attack_best" class="buttonrollataque dado" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[2d20kh1cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}" style="margin: auto !important;">TT</button>
<span class="title" data-i18n="melhorDado">Melhor Dado</span>
</div>
<div class="inputtextbellow ataque_rolagens sheet-tiporolagemtres">
<button type="roll" name="roll_attack_worst" class="buttonrollataque dado" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[2d20kl1cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}+@{rolltemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}" style="margin: auto !important;">tt</button>
<button type="roll" name="roll_attack_worst" class="buttonrollataque dado" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[2d20kl1cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}" style="margin: auto !important;">tt</button>
<span class="title" data-i18n="piorDado">Pior Dado</span>
</div>
@@ -367,9 +376,6 @@
<div>
<input name="attr_defesaoutros" type="text" spellcheck="false" value="0">
</div>
<div class="corner top-left"></div>
<div class="corner top-right"></div>
<div class="corner bottom-left"></div>
@@ -424,6 +430,43 @@
</div>
</div>
</div>
<div class="size-and-move-container">
<div class="container-negative-corner container-size">
<div class="inside-negative-corner">
<div class="default-title" data-i18n="tamanho">
Tamanho
</div>
<div>
<select name="attr_tamanho">
<option value="medio" selected="" data-i18n="medio">Médio</option>
<option value="minusculo" data-i18n="minusculo">Minúsculo</option>
<option value="pequeno" data-i18n="pequeno">Pequeno</option>
<option value="grande" data-i18n="grande">Grande</option>
<option value="enorme" data-i18n="enorme">Enorme</option>
<option value="colossal" data-i18n="colossal">Colossal</option>
</select>
</div>
<div class="corner top-left"></div>
<div class="corner top-right"></div>
<div class="corner bottom-left"></div>
<div class="corner bottom-right"></div>
</div>
</div>
<div class="container-negative-corner container-move">
<div class="inside-negative-corner">
<div class="default-title" data-i18n="deslocamento">
Deslocamento
</div>
<div >
<input name="attr_deslocamento" type="text" spellcheck="false" value="">
</div>
<div class="corner top-left"></div>
<div class="corner top-right"></div>
<div class="corner bottom-left"></div>
<div class="corner bottom-right"></div>
</div>
</div>
</div>
<div class="powers-and-abilities">
<div class="container-negative-corner">
<div class="inside-negative-corner">
@@ -713,7 +756,7 @@
</button>
</div>
<div class="signal"></div>
<input class="total first" name="attr_acrobaciatotal" maxlength="2" type="text" spellcheck="false" title="@{acrobaciatotal}" value="@{metade_do_nivel} + @{condicaopericia} + @{acrobaciaatributo2} + @{acrobaciatreino} + @{acrobaciaoutros} -1 * @{penalidades_armadura} -1 * @{penalidades_armadura_carga}" disabled="true">
<input class="total first" name="attr_acrobaciatotal" maxlength="2" type="text" spellcheck="false" title="@{acrobaciatotal}" value="@{metade_do_nivel} + @{periciatemp} + @{rolltemp} + @{condicaopericia} + @{acrobaciaatributo2} + @{acrobaciatreino} + @{acrobaciaoutros} -1 * @{penalidades_armadura} -1 * @{penalidades_armadura_carga}" disabled="true">
<div class="signal">=</div>
<!-- <input name="attr_acrobacianivel" type="text" spellcheck="false" value="@{metade_do_nivel}" disabled="true">
<div class="signal">+</div> -->
@@ -742,7 +785,7 @@
</button>
</div>
<div class="signal"></div>
<input class="total last" name="attr_adestramentototal" maxlength="2" type="text" spellcheck="false" title="@{adestramentototal}" value="@{metade_do_nivel} + @{condicaopericia} + @{adestramentoatributo2} + @{adestramentotreino} + @{adestramentooutros}" disabled="true">
<input class="total last" name="attr_adestramentototal" maxlength="2" type="text" spellcheck="false" title="@{adestramentototal}" value="@{metade_do_nivel} + @{periciatemp} + @{rolltemp} + @{condicaopericia} + @{adestramentoatributo2} + @{adestramentotreino} + @{adestramentooutros}" disabled="true">
<div class="signal">=</div>
<select name="attr_adestramentoatributo2">
<option value="@{for_mod} + @{condicaoperfisico} + @{condicaocego}" data-i18n="mod_forca">FOR</option>
@@ -966,7 +1009,7 @@
</button>
</div>
<div class="signal"></div>
<input class="total last" name="attr_fortitudetotal" maxlength="2" type="text" spellcheck="false" title="@{fortitudetotal}" value="@{metade_do_nivel} + @{condicaopericia} + @{fortitudeatributo2} + @{fortitudetreino} + @{fortitudeoutros} + @{periciatemp} + @{rolltemp}" disabled="true">
<input class="total last" name="attr_fortitudetotal" maxlength="2" type="text" spellcheck="false" title="@{fortitudetotal}" value="@{metade_do_nivel} + @{resistemp} + @{condicaopericia} + @{fortitudeatributo2} + @{fortitudetreino} + @{fortitudeoutros} + @{periciatemp} + @{rolltemp}" disabled="true">
<div class="signal">=</div>
<select name="attr_fortitudeatributo2">
<option value="@{for_mod} + @{condicaoperfisico} + @{condicaocego}" data-i18n="mod_forca">FOR</option>
@@ -1445,7 +1488,7 @@
</button>
</div>
<div class="signal"></div>
<input class="total last" name="attr_reflexostotal" maxlength="2" type="text" spellcheck="false" title="@{reflexostotal}" value="@{metade_do_nivel} + @{condicaoreflexo} + @{condicaopericia} + @{reflexosatributo2} + @{reflexostreino} + @{reflexosoutros} + @{periciatemp} + @{rolltemp}" disabled="true">
<input class="total last" name="attr_reflexostotal" maxlength="2" type="text" spellcheck="false" title="@{reflexostotal}" value="@{metade_do_nivel} + @{resistemp} + @{condicaoreflexo} + @{condicaopericia} + @{reflexosatributo2} + @{reflexostreino} + @{reflexosoutros} + @{periciatemp} + @{rolltemp}" disabled="true">
<div class="signal">=</div>
<select name="attr_reflexosatributo2">
<option value="@{for_mod} + @{condicaoperfisico} + @{condicaocego}" data-i18n="mod_forca">FOR</option>
@@ -1529,7 +1572,7 @@
</button>
</div>
<div class="signal"></div>
<input class="total last" name="attr_vontadetotal" maxlength="2" type="text" spellcheck="false" title="@{vontadetotal}" value="@{metade_do_nivel} + @{condicaopericia} + @{vontadeatributo2} + @{vontadetreino} + @{vontadeoutros} + @{periciatemp} + @{rolltemp}" disabled="true">
<input class="total last" name="attr_vontadetotal" maxlength="2" type="text" spellcheck="false" title="@{vontadetotal}" value="@{metade_do_nivel} + @{resistemp} + @{condicaopericia} + @{vontadeatributo2} + @{vontadetreino} + @{vontadeoutros} + @{periciatemp} + @{rolltemp}" disabled="true">
<div class="signal">=</div>
<select name="attr_vontadeatributo2">
<option value="@{for_mod} + @{condicaoperfisico} + @{condicaocego}" data-i18n="mod_forca">FOR</option>
@@ -1684,6 +1727,10 @@
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/numerology.png" class="sheet-roll-icon hiddenelement" title="Rolagem" data-i18n-title="spam-roll"/>
<span class="sheet-skills-span hiddenelement" name="attr_skillsicon" title="Perícias" data-i18n-title="spam-skills"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/skills.png" class="sheet-skills-icon hiddenelement" title="Perícias" data-i18n-title="spam-skills"/>
<span class="sheet-resist-span hiddenelement" name="attr_resistsicon" title="Resistências" data-i18n-title="resistance"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/resistence.png" class="sheet-resist-icon hiddenelement" title="Resistências" data-i18n-title="resistencias"/>
<span class="sheet-defense-span hiddenelement" name="attr_defenseicon" title="Defesa" data-i18n-title="spam-defense"></span>
<img src="https://raw.githubusercontent.com/RoenMidnight/roll20-character-sheets/t20-goty-menace-character-sheet/Tormenta20%20-%20Jogo%20do%20Ano/icons/antivirus.png" class="sheet-defense-icon hiddenelement" title="Defesa" data-i18n-title="spam-defense"/>
<span class="sheet-armor-span hiddenelement" name="attr_armoricon" title="Armadura" data-i18n-title="spam-armor"></span>
@@ -1743,7 +1790,7 @@
<div class="menace-attacks">
<span class="melee" data-i18n="melee">Corpo a Corpo </span>
<fieldset class="repeating_menacemelee sheet-melee">
<button type="roll" name="roll_attack" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}+@{rolltemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}">
<button type="roll" name="roll_attack" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}">
<span class="melee infos" name="attr_melee_list"></span>
</button>
<span name="attr_meleedescription" class="infos"></span>
@@ -1762,7 +1809,7 @@
</fieldset>
<span class="distance" data-i18n="distance">À Distância</span>
<fieldset class="repeating_menacedistance sheet-distance">
<button type="roll" name="roll_attack" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}+@{rolltemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}">
<button type="roll" name="roll_attack" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}+@{ataquetemp}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}+@{danotemp}+@{rolltemp}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}+@{dadoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}">
<span class="distance infos" name="attr_distance_list"></span>
</button>
<span name="attr_distancefdescription" class="infos"></span>
@@ -1905,8 +1952,10 @@
<div class="global-container">
<div class="sheet-left-global-container">
<div class="header-global">
<!--<h1 data-i18n="global_charactersheet" class="sheet-global-title">Modificadores Globais</h1>-->
<div class="sheet-right-icons">
<div class="sheet-header-position">
<h1 data-i18n="global_charactersheet" class="sheet-global-title">Modificadores Globais</h1>
</div>
<div class="sheet-right-icons sheet-header-button-position">
<button class="round sheet-global-color" data-i18n="player_eraseglobal" type="action" name="act_eraseglobal">Limpar Globais</button>
</div>
</div>
@@ -1920,12 +1969,14 @@
<div class="small-title" data-i18n="rolagem">Rolagens</div>
<div class="small-title" data-i18n="bonus_ataque">Ataque</div>
<div class="small-title" data-i18n="pericias">Perícias</div>
<div class="small-title" data-i18n="resistencias">Resistências</div>
<div class="small-title" data-i18n="dano">Dano</div>
</div>
<div class="attacksgrid">
<input name="attr_rolltemp" type="text" spellcheck="false" class="" value="0">
<input name="attr_ataquetemp" type="text" spellcheck="false" class="" value="0">
<input name="attr_periciatemp" type="text" spellcheck="false" class="" value="0">
<input name="attr_resistemp" type="text" spellcheck="false" class="" value="0">
<input name="attr_danotemp" type="text" spellcheck="false" class="" value="0">
</div>
@@ -2614,7 +2665,7 @@
<input type="hidden" name="attr_condicaomodataque" value="0" readonly="1">
<input type="hidden" name="attr_condicaoperfisico" value="0" readonly="1">
<input type="hidden" name="attr_condicaopermental" value="0" readonly="1">
<input type="hidden" name="attr_condicaopericia" value="0" readonly="1">
<input type="hidden" name="attr_condicaoresistencia" value="0" readonly="1">
<input type="hidden" name="attr_condicaopercepcao" value="0" readonly="1">
<input type="hidden" name="attr_condicaoiniciativa" value="0" readonly="1">
<input type="hidden" name="attr_condicaodefesa" value="0" readonly="1">
@@ -2888,12 +2939,12 @@
});
});
on(`sheet:opened change:rolltemp change:ataquetemp change:danotemp change:periciatemp change:defesafaketemp change:defesaarmaduratemp change:defesaescudotemp change:defesaoutrostemp change:fortemp change:destemp change:contemp change:inttemp change:sabtemp change:cartemp change:abalado change:agarrado change:alquebrado change:apavorado change:atordoado change:caido change:cego change:confuso change:debilitado change:desprevenido change:doente change:emchama change:enfeiticado change:enjoado change:enreado change:envenenado change:esmorecido change:exausto change:fascinado change:fatigado change:fraco change:frustrado change:imovel change:inconsciente change:indefeso change:lento change:ofuscado change:paralizado change:pasmo change:petrificacao change:sangrando change:surdo change:surpreendido change:vulneravel`, function(){
on(`sheet:opened change:rolltemp change:ataquetemp change:danotemp change:resistemp change:periciatemp change:defesafaketemp change:defesaarmaduratemp change:defesaescudotemp change:defesaoutrostemp change:fortemp change:destemp change:contemp change:inttemp change:sabtemp change:cartemp change:abalado change:agarrado change:alquebrado change:apavorado change:atordoado change:caido change:cego change:confuso change:debilitado change:desprevenido change:doente change:emchama change:enfeiticado change:enjoado change:enreado change:envenenado change:esmorecido change:exausto change:fascinado change:fatigado change:fraco change:frustrado change:imovel change:inconsciente change:indefeso change:lento change:ofuscado change:paralizado change:pasmo change:petrificacao change:sangrando change:surdo change:surpreendido change:vulneravel`, function(){
getAttrs([
"abalado","agarrado","alquebrado","apavorado","atordoado","caido","cego","confuso","debilitado","desprevenido","doente","emchama","enfeiticado","enjoado","enreado",
"envenenado","esmorecido","exausto","fascinado","fatigado","fraco","frustrado","imovel","inconsciente","indefeso","lento","ofuscado","paralizado","pasmo","petrificacao",
"sangrando","surdo","surpreendido","vulneravel", "desafesaoutrostemp",
"rolltemp", "ataquetemp", "periciatemp", "danotemp", "defesafaketemp", "defesaarmaduratemp", "defesaescudotemp", "defesaoutrostemp",
"rolltemp", "ataquetemp", "periciatemp", "danotemp", "resistemp", "defesafaketemp", "defesaarmaduratemp", "defesaescudotemp", "defesaoutrostemp",
"fortemp", "destemp", "contemp", "inttemp", "sabtemp", "cartemp"
], function(v){
@@ -2959,10 +3010,11 @@
[parseInt(v.danotemp), '.sheet-damage-span', '.sheet-damage-icon'],
[parseInt(v.defesafaketemp) + parseInt(v.defesaoutrostemp) + parseInt(defesa), '.sheet-defense-span', '.sheet-defense-icon'],
[v.defesaarmaduratemp, '.sheet-armor-span', '.sheet-armor-icon'],
[v.defesaescudotemp, '.sheet-shield-span', '.sheet-shield-icon']
[v.defesaescudotemp, '.sheet-shield-span', '.sheet-shield-icon'],
[parseInt(v.resistemp), '.sheet-resist-span', '.sheet-resist-icon']
];
for(i = 0; i <= 6; i++){
for(i = 0; i <= 7; i++){
if(parseInt(global_array[i][0]) != 0){
$20(global_array[i][1]).removeClass('sheet-hiddenelement');
$20(global_array[i][2]).removeClass('sheet-hiddenelement');
@@ -3010,6 +3062,7 @@
"defenseicon": global_array[4][0],
"armoricon": global_array[5][0],
"shieldicon": global_array[6][0],
"resisticon": global_array[7][0]
});
});
@@ -3251,21 +3304,21 @@
//Calculando Defesa Total:
on("sheet:opened change:condicaodefesa change:defesafaketemp change:defesaatributo change:armaduradefesa1 change:armaduradefesa2 change:defesaoutros change:for_mod change:des_mod change:con_mod change:int_mod change:sab_mod change:car_mod change:modatributodefesa change:caido", function(e){
getAttrs(["condicaodefesa", "defesafaketemp", "defesaatributo", "armaduradefesa1", "armaduradefesa2", "defesaoutros", "for_mod", "des_mod", "con_mod", "int_mod", "sab_mod", "car_mod", "modatributodefesa", "caido"], function(v){
on("sheet:opened change:condicaodefesa change:defesaoutrostemp change:defesaarmaduratemp change:defesaescudotemp change:defesafaketemp change:defesaatributo change:armaduradefesa1 change:armaduradefesa2 change:defesaoutros change:for_mod change:des_mod change:con_mod change:int_mod change:sab_mod change:car_mod change:modatributodefesa change:caido", function(e){
getAttrs(["condicaodefesa", "defesafaketemp", "defesaarmaduratemp", "defesaescudotemp", "defesaatributo", "armaduradefesa1", "armaduradefesa2", "defesaoutros", "for_mod", "des_mod", "con_mod", "int_mod", "sab_mod", "car_mod", "modatributodefesa", "caido"], function(v){
let total = 10;
//Armadura
if(!isNaN(v.armaduradefesa1)){
total = total + parseInt(v.armaduradefesa1);
total = total + parseInt(v.armaduradefesa1) + parseInt(v.defesaarmaduratemp);
}
//Escudo
if(!isNaN(v.armaduradefesa2)){
total = total + parseInt(v.armaduradefesa2);
total = total + parseInt(v.armaduradefesa2) + parseInt(v.defesaescudotemp);
}
//Outros
if(!isNaN(v.defesaoutros)){
total = total + parseInt(v.defesaoutros);
total = total + parseInt(v.defesaoutros) + parseInt(v.defesaoutrostemp);
}
//Mod de Atributo
let modAttributo = parseInt(v[`${v.modatributodefesa}`]);
@@ -3590,7 +3643,7 @@
newrowattrs[`${menace_attack}_${rowId}_${menace_description}`] = createAttack(ataque_fim, values[`repeating_attacks_${id}_bonusataque`],
values[`repeating_attacks_${id}_danoataque`], values[`repeating_attacks_${id}_dadoextraataque`],
parseInt(values[`repeating_attacks_${id}_danoextraataque`]) + parseInt(values.rolltemp) + parseInt(values.danotemp),
parseInt(values[`repeating_attacks_${id}_danoextraataque`]) + parseInt(values.danotemp),
values[`repeating_attacks_${id}_margemcriticoataque`], values[`repeating_attacks_${id}_multiplicadorcriticoataque`]);
+9 -1
View File
@@ -214,5 +214,13 @@
"tipo_critico": "Crítico",
"dilacerante": "Dilacerante",
"lancinante": "Lancinante",
"dado_extra": "Dados Extra"
"dado_extra": "Dados Extra",
"medio": "Médio",
"minusculo": "Minúsculo",
"pequeno": "Pequeno",
"grande": "Grande",
"enorme": "Enorme",
"colossal": "Colossal",
"tamanho": "Tamanho",
"resistencias": "Resistências"
}