Skip to content

Commit

Permalink
added massive damage threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
vince-roll20 committed Dec 1, 2024
1 parent ac15441 commit d4f01c0
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 13 deletions.
33 changes: 21 additions & 12 deletions d20 Modern/d20 Modern.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ div.sheet-core-content {
font-family: 'Proxima Nova';
font-weight:normal;
}

th .sheet-font {
line-height: 14px;
text-align: center;
}

.sheet-tableII th {
background: #000;
color: white;
Expand All @@ -177,7 +183,8 @@ div.sheet-core-content {
.sheet-tableII th.sheet-heading {
background: #000;
color: white;
font-size: 9px;
font-size: 10px;
font-weight: normal;
text-align: center;
}

Expand Down Expand Up @@ -320,9 +327,13 @@ input.sheet-title[type="text"]:focus {
border-bottom:1px solid #000;
width:100px;
}
input[type=number] {
-moz-appearance:textfield;

.ui-dialog .charsheet input[type=number] {
width: 3.25em;
margin-inline: 2px;
-moz-appearance: textfield;
}

input[type=number]:hover {
-moz-appearance:none;
}
Expand Down Expand Up @@ -736,23 +747,21 @@ input.sheet-bigcheck[type="Checkbox"]:checked + span::before

.charsheet .sheet-skillbtn button[type="roll"],
.charsheet .sheet-skillbtn {
display: block;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
background: black;
border: 1px solid #000;
border-radius: 5px;
box-shadow: none;
outline:0;

margin: 0;
background: black;
color: white;
display: block;
font-size:1em !important;
font-weight:bold;
font-variant:small-caps;
height:50px;
width: 90px;
margin: 0;
outline:0;
padding-left:20px;
color: white;
width: 90px;
}
.sheet-skillbtn button[type="roll"]:hover,
.sheet-skillbtn:hover {
Expand Down
18 changes: 17 additions & 1 deletion d20 Modern/d20 Modern.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
</tr>
<tr>
<th>Height</th>
<th>Alignment</th>
<th>Allegiances</th>
<th>Weight</th>
</tr>
</table>
Expand Down Expand Up @@ -1459,6 +1459,22 @@ <h4>Hit Points &amp; Defense</h4>
</tr>
</table>
<br>
<table class="sheet-tableII">
<tr>
<th></th>
<th class="sheet-heading">Total</th>
<th class="sheet-heading">Con</th>
<th class="sheet-heading">Misc</th>
</tr>
<tr>
<th><div class="sheet-font" style="width:8em;">Massive Damage Threshold</div></th>
<th><input type="number" class="sheet-ability" name="attr_massive_damage_threshold" title="@{massive_damage_threshold}" value="(@{massive_damage_threshold_con} + @{massive_damage_threshold_other})" disabled /></th>
<td><input type="number" class="sheet-number" name="attr_massive_damage_threshold_con" value="@{Constitution-mod}*@{Character_Level}" disabled ></td>
<td><input type="number" class="sheet-number" name="attr_massive_damage_threshold_other" title="@{massive_damage_threshold_other}" value="0"></td>
</tr>
<tr><th class="sheet-heading" colspan="4">&nbsp;</th></tr>
</table>
<br>
<h4>Armor/Protective Item</h4>
<table class="sheet-tableII">
<tr>
Expand Down

0 comments on commit d4f01c0

Please sign in to comment.