mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Added power show buttons. Cleaned up show button names.
This commit is contained in:
@@ -21,7 +21,7 @@ button[type=roll] {
|
||||
box-shadow: none;
|
||||
|
||||
/* Set global border radius of 'Roll' buttons here. */
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
|
||||
/* Set global font weight and size here. */
|
||||
font-style: normal;
|
||||
@@ -105,7 +105,7 @@ textarea {
|
||||
input {
|
||||
font-size: 13px;
|
||||
border: hidden;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
padding: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -2219,7 +2219,7 @@ select:focus + .focus {
|
||||
.buttonRollAttack,
|
||||
.buttonRollActivate,
|
||||
.buttonRollNormalAttack,
|
||||
.buttonRollShow,
|
||||
.buttonShow,
|
||||
.buttonManeuverEND,
|
||||
.buttonRollPowerArmor {
|
||||
padding-left: 3px;
|
||||
@@ -2249,7 +2249,7 @@ select:focus + .focus {
|
||||
min-width: 48px;
|
||||
max-width: 50px;
|
||||
background-color: #90A8EE;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.button:hover,
|
||||
@@ -2259,7 +2259,7 @@ select:focus + .focus {
|
||||
.buttonRollAttack:hover,
|
||||
.buttonRollActivate:hover,
|
||||
.buttonRollNormalAttack:hover,
|
||||
.buttonRollShow:hover,
|
||||
.buttonShow:hover,
|
||||
.buttonRollPower:hover,
|
||||
.buttonRollPowerArmor:hover,
|
||||
.button-system-more:hover {
|
||||
@@ -2278,18 +2278,18 @@ select:focus + .focus {
|
||||
margin-right: 3px;
|
||||
margin-left: 3px;
|
||||
background-color: #E69F00;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.buttonRollAttack {
|
||||
background-color: #D55E00;
|
||||
border-radius: 2.5px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.item-talent-heading .buttonRollShow,
|
||||
.item-complication-heading .buttonRollShow,
|
||||
.item-talent-heading .buttonShow,
|
||||
.item-complication-heading .buttonShow,
|
||||
.item-flex-maneuver .buttonRollAttack,
|
||||
.item-flex-maneuver .buttonRollShow,
|
||||
.item-flex-maneuver .buttonShow,
|
||||
.item-flex-maneuver .buttonManeuverEND {
|
||||
margin-right: 3px;
|
||||
margin-left: 3px;
|
||||
@@ -2451,15 +2451,15 @@ select:focus + .focus {
|
||||
margin-right: 3px;
|
||||
margin-left: 3px;
|
||||
background-color: #0072B2;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.buttonRollNormalAttack,
|
||||
.buttonManeuverEND,
|
||||
.buttonRollShow {
|
||||
.buttonShow {
|
||||
margin-right: 3px;
|
||||
margin-left: 3px;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
min-width: 34px;
|
||||
max-width: 36px;
|
||||
}
|
||||
@@ -2469,8 +2469,7 @@ select:focus + .focus {
|
||||
background-color: #D55E00;
|
||||
}
|
||||
|
||||
.button-Power-END,
|
||||
.buttonManeuverEND {
|
||||
.button-Power-END {
|
||||
background-color: #8A8A8A;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -2481,13 +2480,13 @@ select:focus + .focus {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.buttonRollShow {
|
||||
.buttonShow,
|
||||
.buttonManeuverEND {
|
||||
background-color: #8A8A8A;
|
||||
}
|
||||
|
||||
.buttonRollShieldAttack {
|
||||
background-color: #4ba6ff;
|
||||
border-radius: 2.5px;
|
||||
.item-power-block-heading-container .buttonShow {
|
||||
background-color: #1e90ff;
|
||||
}
|
||||
|
||||
.buttonRollPower {
|
||||
@@ -2501,7 +2500,7 @@ select:focus + .focus {
|
||||
max-width: 68px;
|
||||
height: 18px;
|
||||
border: solid 1px #F0E442;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
padding: 0px;
|
||||
|
||||
&:hover {
|
||||
@@ -2538,7 +2537,7 @@ select:focus + .focus {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
background-color: #E69F00;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
border: solid 1px #b87f00;
|
||||
max-height: 19px;
|
||||
width: 45px;
|
||||
@@ -2928,7 +2927,7 @@ select:focus + .focus {
|
||||
width: 19px;
|
||||
background-color: #6787e7;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -2947,7 +2946,7 @@ select:focus + .focus {
|
||||
.container-speed-indicator input:checked ~ .checkmark12 {
|
||||
background-color: hotpink;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* Custom segment indicator checkbox 01. Active/checked. */
|
||||
@@ -4230,16 +4229,17 @@ select:focus + .focus {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 17%;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.item-power-block-heading-container:nth-child(1) {
|
||||
justify-content: flex-start;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.item-power-block-heading-container:nth-child(3) {
|
||||
justify-content: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 5px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
@@ -3676,7 +3676,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND01" title="%{buttonManeuverEND01}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack01" title="%{maneuverAttack01}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll01" title="%{showManeuverRoll01}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver01" title="%{showManeuver01}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3881,7 +3881,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND02" title="%{buttonManeuverEND02}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack02" title="%{maneuverAttack02}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll02" title="%{showManeuverRoll02}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver02" title="%{showManeuver02}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4086,7 +4086,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND03" title="%{buttonManeuverEND03}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack03" title="%{maneuverAttack03}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll03" title="%{showManeuverRoll03}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver03" title="%{showManeuver03}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4291,7 +4291,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND04" title="%{buttonManeuverEND04}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack04" title="%{maneuverAttack04}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll04" title="%{showManeuverRoll04}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver04" title="%{showManeuver04}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4496,7 +4496,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND05" title="%{buttonManeuverEND05}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack05" title="%{maneuverAttack05}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll05" title="%{showManeuverRoll05}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver05" title="%{showManeuver05}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4701,7 +4701,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND06" title="%{buttonManeuverEND06}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack06" title="%{maneuverAttack06}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll06" title="%{showManeuverRoll06}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver06" title="%{showManeuver06}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4906,7 +4906,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND07" title="%{buttonManeuverEND07}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack07" title="%{maneuverAttack07}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll07" title="%{showManeuverRoll07}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver07" title="%{showManeuver07}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5111,7 +5111,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND08" title="%{buttonManeuverEND08}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack08" title="%{maneuverAttack08}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll08" title="%{showManeuverRoll08}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver08" title="%{showManeuver08}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5316,7 +5316,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND09" title="%{buttonManeuverEND09}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack09" title="%{maneuverAttack09}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll09" title="%{showManeuverRoll09}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver09" title="%{showManeuver09}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5521,7 +5521,7 @@
|
||||
<div class ="item-martial-maneuver-button-line">
|
||||
<button type="action" class="button buttonManeuverEND" tabindex="-1" name="act_buttonManeuverEND10" title="%{buttonManeuverEND10}">END</button>
|
||||
<button type="action" class="button buttonManeuver" tabindex="-1" name="act_maneuverAttack10" title="%{maneuverAttack10}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showManeuverRoll10" title="%{showManeuverRoll10}" >Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showManeuver10" title="%{showManeuver10}" >Show</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -10368,6 +10368,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName01" title="@{powerName01}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower01" title="%{showPower01}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp01">
|
||||
@@ -10559,6 +10560,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName02" title="@{powerName02}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower02" title="%{showPower02}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp02">
|
||||
@@ -10750,6 +10752,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName03" title="@{powerName03}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower03" title="%{showPower03}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp03">
|
||||
@@ -10941,6 +10944,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName04" title="@{powerName04}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower04" title="%{showPower04}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp04">
|
||||
@@ -11132,6 +11136,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName05" title="@{powerName05}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower05" title="%{showPower05}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp05">
|
||||
@@ -11323,6 +11328,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName06" title="@{powerName06}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower06" title="%{showPower06}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp06">
|
||||
@@ -11514,6 +11520,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName07" title="@{powerName07}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower07" title="%{showPower07}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp07">
|
||||
@@ -11705,6 +11712,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName08" title="@{powerName08}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower08" title="%{showPower08}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp08">
|
||||
@@ -11896,6 +11904,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName09" title="@{powerName09}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower09" title="%{showPower09}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp09">
|
||||
@@ -12087,6 +12096,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName10" title="@{powerName10}" placeholder="Power" value="" maxlength="21" tabindex="450"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower10" title="%{showPower10}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp10">
|
||||
@@ -12438,6 +12448,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName11" title="@{powerName11}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower11" title="%{showPower11}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp11">
|
||||
@@ -12629,6 +12640,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName12" title="@{powerName12}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower12" title="%{showPower12}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp12">
|
||||
@@ -12820,6 +12832,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName13" title="@{powerName13}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower13" title="%{showPower13}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp13">
|
||||
@@ -13011,6 +13024,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName14" title="@{powerName14}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower14" title="%{showPower14}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp14">
|
||||
@@ -13202,6 +13216,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName15" title="@{powerName15}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower15" title="%{showPower15}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp15">
|
||||
@@ -13393,6 +13408,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName16" title="@{powerName16}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower16" title="%{showPower16}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp16">
|
||||
@@ -13584,6 +13600,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName17" title="@{powerName17}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower17" title="%{showPower17}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp17">
|
||||
@@ -13775,6 +13792,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName18" title="@{powerName18}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower18" title="%{showPower18}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp18">
|
||||
@@ -13966,6 +13984,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName19" title="@{powerName19}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower19" title="%{showPower19}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp19">
|
||||
@@ -14157,6 +14176,7 @@
|
||||
</div>
|
||||
<input type="text" name="attr_powerName20" title="@{powerName20}" placeholder="Power" value="" maxlength="21" tabindex="460"/>
|
||||
<div class="item-power-block-heading-container">
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showPower20" title="%{showPower20}">Show</button>
|
||||
<div class="power-mover-plus-minus-enclosure">
|
||||
<div class="power-mover-plus-minus-button">
|
||||
<button type="action" class="button buttonPlus" tabindex="-1" name="act_powerUp20">
|
||||
@@ -14462,7 +14482,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll01" title="@{talentRoll01}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll01" title="%{showTalentRoll01}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll01" title="%{showTalentRoll01}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14515,7 +14535,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll02" title="@{talentRoll02}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll02" title="%{showTalentRoll02}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll02" title="%{showTalentRoll02}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14568,7 +14588,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll03" title="@{talentRoll03}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll03" title="%{showTalentRoll03}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll03" title="%{showTalentRoll03}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14621,7 +14641,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll04" title="@{talentRoll04}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll04" title="%{showTalentRoll04}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll04" title="%{showTalentRoll04}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14674,7 +14694,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll05" title="@{talentRoll05}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll05" title="%{showTalentRoll05}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll05" title="%{showTalentRoll05}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14727,7 +14747,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll06" title="@{talentRoll06}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll06" title="%{showTalentRoll06}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll06" title="%{showTalentRoll06}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14780,7 +14800,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll07" title="@{talentRoll07}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll07" title="%{showTalentRoll07}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll07" title="%{showTalentRoll07}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14833,7 +14853,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll08" title="@{talentRoll08}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll08" title="%{showTalentRoll08}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll08" title="%{showTalentRoll08}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14886,7 +14906,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll09" title="@{talentRoll09}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll09" title="%{showTalentRoll09}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll09" title="%{showTalentRoll09}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14939,7 +14959,7 @@
|
||||
</div>
|
||||
<div class="item-talent-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_talentRoll10" title="@{talentRoll10}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showTalentRoll10" title="%{showTalentRoll10}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showTalentRoll10" title="%{showTalentRoll10}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15092,7 +15112,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll01" title="@{complicationRoll01}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll01" title="%{showcomplicationRoll01}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll01" title="%{showcomplicationRoll01}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15168,7 +15188,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll02" title="@{complicationRoll02}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll02" title="%{showcomplicationRoll02}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll02" title="%{showcomplicationRoll02}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15244,7 +15264,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll03" title="@{complicationRoll03}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll03" title="%{showcomplicationRoll03}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll03" title="%{showcomplicationRoll03}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15320,7 +15340,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll04" title="@{complicationRoll04}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll04" title="%{showcomplicationRoll04}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll04" title="%{showcomplicationRoll04}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15396,7 +15416,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll05" title="@{complicationRoll05}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll05" title="%{showcomplicationRoll05}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll05" title="%{showcomplicationRoll05}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15472,7 +15492,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll06" title="@{complicationRoll06}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll06" title="%{showcomplicationRoll06}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll06" title="%{showcomplicationRoll06}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15548,7 +15568,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll07" title="@{complicationRoll07}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll07" title="%{showcomplicationRoll07}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll07" title="%{showcomplicationRoll07}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15624,7 +15644,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll08" title="@{complicationRoll08}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll08" title="%{showcomplicationRoll08}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll08" title="%{showcomplicationRoll08}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15700,7 +15720,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll09" title="@{complicationRoll09}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll09" title="%{showcomplicationRoll09}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll09" title="%{showcomplicationRoll09}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15776,7 +15796,7 @@
|
||||
</div>
|
||||
<div class="item-complication-block-stats-row">
|
||||
<button type="action" class="button buttonRollPower" tabindex="-1" name="act_complicationRoll10" title="@{complicationRoll10}">Roll</button>
|
||||
<button type="action" class="button buttonRollShow" tabindex="-1" name="act_showcomplicationRoll10" title="%{showcomplicationRoll10}">Show</button>
|
||||
<button type="action" class="button buttonShow" tabindex="-1" name="act_showcomplicationRoll10" title="%{showcomplicationRoll10}">Show</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -19055,6 +19075,37 @@
|
||||
});
|
||||
|
||||
|
||||
/* Show Power XX */
|
||||
arrayOf(maxPowerNum).forEach(num => {
|
||||
var powerId = String(num).padStart(2,'0');
|
||||
on(`clicked:showPower${powerId}`, (info) => {
|
||||
getAttrs(["whisperToGM", "character_title", "powerName"+powerId, "powerDice"+powerId, "powerActivate"+powerId, "dingbat"], function(values) {
|
||||
var theRoll = values.whisperToGM||"";
|
||||
const dingbat = ((values.character_title).replace(/\s/g, '') != '') ? (" "+values.dingbat+" ") : "";
|
||||
const lesserDingbat = " ⬩ ";
|
||||
const hasName = (values["powerName"+powerId].trim() !== "") ? true : false;
|
||||
const hasDice = (values["powerDice"+powerId] !== "0") ? true : false;
|
||||
const hasActivationRoll = (values["powerActivate"+powerId] !== "on") ? false : true;
|
||||
|
||||
theRoll += "&{template:custom-show} {{title=@{character_name}" + dingbat + "@{character_title}}} ";
|
||||
theRoll += "{{subtitle= Power" + lesserDingbat + "@{powerName"+powerId+"}}} ";
|
||||
|
||||
if (hasName) {
|
||||
theRoll += "{{Effect=@{powerEffect"+powerId+"}}} ";
|
||||
theRoll += hasDice ? "{{Dice=@{powerDice"+powerId+"}}}" : "";
|
||||
theRoll += hasActivationRoll ? "{{Activation=@{powerSkillRoll"+powerId+"}}}" : "";
|
||||
theRoll += "{{DCV=@{powerDCV"+powerId+"}}} ";
|
||||
theRoll += "{{desc=@{powerText"+powerId+"}}}";
|
||||
}
|
||||
|
||||
startRoll(theRoll, (results) => {
|
||||
finishRoll(results.rollId, {});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/* Activate Power XX */
|
||||
arrayOf(maxPowerNum).forEach(num => {
|
||||
var powerId = String(num).padStart(2,'0');
|
||||
@@ -19302,8 +19353,6 @@
|
||||
|
||||
startRoll(theRoll, (results) => {
|
||||
// Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from endurance.
|
||||
//
|
||||
// let theResult = new Object();
|
||||
|
||||
// Subtract END cost if option checked.
|
||||
if (subtractEND) {
|
||||
@@ -21855,7 +21904,7 @@
|
||||
/* Show Maneuver XX */
|
||||
arrayOf(maxManeuverNum).forEach(num => {
|
||||
var maneuverId = String(num).padStart(2,'0');
|
||||
on(`clicked:showManeuverRoll${maneuverId}`, (info) => {
|
||||
on(`clicked:showManeuver${maneuverId}`, (info) => {
|
||||
getAttrs(["whisperToGM", "character_title", "martialManeuverNormal"+maneuverId, "martialManeuverStunMod"+maneuverId, "dingbat"], function(values) {
|
||||
var theRoll = values.whisperToGM||"";
|
||||
let isNormal = values["martialManeuverNormal"+maneuverId] != 0;
|
||||
|
||||
Reference in New Issue
Block a user