Added Diferent Attack Rolls
Added Failure Chance Added Double Roll and get Best Dice Added Double Roll and get Worst Dice
This commit is contained in:
parent
25424ccb27
commit
b314ad152c
@@ -328,7 +328,6 @@
|
||||
background-color: transparent;
|
||||
font-family: 'dicefontd20';
|
||||
color: #0e0e0e;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 20px;
|
||||
@@ -336,11 +335,15 @@
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.sheet-main .sheet-left-container .sheet-attacks-container .sheet-attacksgrid .sheet-buttonrollataque:hover {
|
||||
.sheet-buttonrollerro {
|
||||
font-family: 'dicefontd10' !important;
|
||||
}
|
||||
|
||||
.sheet-main .sheet-left-container .sheet-attacks-container .sheet-attacksgrid .sheet-buttonrollataque:hover, .sheet-buttonrollerro:hover {
|
||||
color: #242424
|
||||
}
|
||||
|
||||
.sheet-main .sheet-left-container .sheet-attacks-container .sheet-attacksgrid .sheet-buttonrollataque:active {
|
||||
.sheet-main .sheet-left-container .sheet-attacks-container .sheet-attacksgrid .sheet-buttonrollataque:active, .sheet-buttonrollerro:active {
|
||||
font-size: 18px
|
||||
}
|
||||
|
||||
@@ -1808,7 +1811,7 @@
|
||||
margin-right: 10px
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 {
|
||||
.sheet-rolltemplate-t20, .sheet-rolltemplate-t20-error-chance {
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
@@ -1817,14 +1820,16 @@
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid black
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container::before {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container::before,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container::before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
background-color: #d3e5f5;
|
||||
@@ -1841,7 +1846,8 @@
|
||||
transform: rotate(-90deg)
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container::after {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container::after,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-color: #d3e5f5;
|
||||
@@ -1858,7 +1864,8 @@
|
||||
transform: rotate(180deg)
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox {
|
||||
padding: 5px;
|
||||
font-family: 'PT Sans';
|
||||
position: relative;
|
||||
@@ -1870,7 +1877,8 @@
|
||||
row-gap: 5px
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox::before {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox::before,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox::before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
background-color: #d3e5f5;
|
||||
@@ -1886,7 +1894,8 @@
|
||||
left: -16px
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox::after {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox::after,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-color: #d3e5f5;
|
||||
@@ -1903,7 +1912,8 @@
|
||||
transform: rotate(90deg)
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-title {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-title,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox .sheet-roll-title {
|
||||
width: 100%;
|
||||
min-height: 16px;
|
||||
font-weight: bold;
|
||||
@@ -1914,7 +1924,8 @@
|
||||
text-transform: uppercase
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-result {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-result,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox .sheet-roll-result {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -1925,21 +1936,24 @@
|
||||
padding: 4px
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-result span {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-result span,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox .sheet-roll-result span {
|
||||
margin: 0 auto;
|
||||
padding: 8px;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 18px
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-name {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-name,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox .sheet-roll-name {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-name span {
|
||||
.sheet-rolltemplate-t20 .sheet-rollbox-container .sheet-rollbox .sheet-roll-name span,
|
||||
.sheet-rolltemplate-t20-error-chance .sheet-rollbox-container .sheet-rollbox .sheet-roll-name span {
|
||||
padding: 0;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
@@ -2585,4 +2599,11 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 20px;
|
||||
}
|
||||
|
||||
.sheet-dado{
|
||||
margin: auto !important;
|
||||
}
|
||||
.sheet-ataque_rolagens{
|
||||
justify-content: center;
|
||||
}
|
||||
@@ -178,7 +178,7 @@
|
||||
<!-- Ataques -->
|
||||
<fieldset class="repeating_attacks">
|
||||
<div class="attacksgrid">
|
||||
<button type="roll" name="roll_attack" class="buttonrollataque" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[1d20cs>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{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}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{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">
|
||||
@@ -231,6 +231,18 @@
|
||||
</select>
|
||||
<span class="title" data-i18n="atributo_no_dano">Atributo no Dano</span>
|
||||
</div>
|
||||
<div class="inputtextbellow ataque_rolagens">
|
||||
<button type="roll" name="roll_attack" class="buttonrollataque buttonrollerro dado" value="&{template:t20-error-chance}{{character=@{character_name}}}{{errorroll=[[1d100]]}}" style="margin: auto !important;">KK</button>
|
||||
<span class="title" data-i18n="chanceDeErro">Chance de Erro</span>
|
||||
</div>
|
||||
<div class="inputtextbellow ataque_rolagens">
|
||||
<button type="roll" name="roll_attack" class="buttonrollataque dado" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[2d20kh1>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}]]}}{{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">
|
||||
<button type="roll" name="roll_attack" class="buttonrollataque dado" value="&{template:t20-attack}{{character=@{character_name}}}{{attackname=@{nomeataque}}}{{attackroll=[[2d20kl1>@{margemcriticoataque}+[[@{ataquepericia}]]+@{bonusataque}]]}} {{damageroll=[[@{danoataque}+@{modatributodano}+@{danoextraataque}]]}} {{criticaldamageroll=[[@{danocriticoataque}+@{modatributodano}+@{danoextraataque}]]}}{{typeofdamage=@{ataquetipodedano}}}{{description=@{ataquedescricao}}}" style="margin: auto !important;">tt</button>
|
||||
<span class="title" data-i18n="piorDado">Pior Dado</span>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -1659,6 +1671,22 @@
|
||||
</div>
|
||||
</rolltemplate>
|
||||
|
||||
<rolltemplate class="sheet-rolltemplate-t20-error-chance">
|
||||
<div class="sheet-rollbox-container">
|
||||
<div class="rollbox">
|
||||
<div class="roll-title">
|
||||
{{character}}
|
||||
</div>
|
||||
<div class="roll-result">
|
||||
{{errorroll}}
|
||||
</div>
|
||||
<div class="roll-name">
|
||||
<span>Chance de Erro</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</rolltemplate>
|
||||
|
||||
<rolltemplate class="sheet-rolltemplate-t20-info">
|
||||
<div class="sheet-rollbox-container">
|
||||
<div class="rollbox">
|
||||
|
||||
@@ -112,5 +112,8 @@
|
||||
"climite": "E.Limite:",
|
||||
"cmaxima": "E.Máxima:",
|
||||
"extraslot": "E.Extra:",
|
||||
"divindade": "Divindade"
|
||||
"divindade": "Divindade",
|
||||
"melhorDado": "Melhor Dado",
|
||||
"piorDado": "Pior Dado",
|
||||
"chanceDeErro": "Chance de Erro"
|
||||
}
|
||||
Reference in New Issue
Block a user