add brawling attacks

This commit is contained in:
CassieLevett
2024-01-27 16:23:32 +00:00
parent 1ebc1fd226
commit 6da2045afb
4 changed files with 29 additions and 16 deletions
+6 -2
View File
@@ -463,8 +463,12 @@ div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-table
div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-table div.sheet-header div.sheet-damage {
grid-column: 4/6; }
div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-brawling div.sheet-row {
grid-template-columns: 2fr 1fr 3em 5em 2.5em; }
div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-brawling {
background-color: #e5dbd4; }
div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-brawling div:nth-of-type(even) {
background-color: #baa595; }
div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-brawling div.sheet-row {
grid-template-columns: 2fr 1fr 3em 5em 2.5em; }
div.sheet-character div.sheet-characteristics div.sheet-attacks div.sheet-repeating-container div.sheet-row {
grid-template-columns: 2fr 1fr 3em 5em 2.5em; }
File diff suppressed because one or more lines are too long
@@ -35,6 +35,11 @@ div.sheet-characteristics {
}
div.sheet-brawling {
background-color: $even;
div:nth-of-type(even) {
background-color: $odd;
}
div.sheet-row {
grid-template-columns: $attack-row;
}
@@ -22,23 +22,27 @@
.grid.header
h3.small-caps.text-left(data-i18n='weapon')
each value in ['skill', 'value', 'damage']
.flex-center(class=value)
h3.small-caps(data-i18n=value)
.grid.brawling
if value === 'skill'
.row
h3.small-caps.text-left(data-i18n=value)
else
.flex-center(class=value)
h3.small-caps(data-i18n=value)
.grid.brawling.mb
.row.align-center
h3.text-left.ml.bottom-border(data-i18n='brawling')
span.capitalize.bottom-border(data-i18n='brawling')
span.bottom-border(name="attr_brawling")
span.display.bottom-border(name=`attr_brawling_damage`)
h3.text-left.ml(data-i18n='brawling')
span.capitalize(data-i18n='brawling')
span.text-center(name="attr_brawling")
span.display.text-center(name=`attr_brawling_damage`)
+brawlDamageRollButton('brawling damage', 'brawling')
.row.align-center
h3.text-left.ml.bottom-border(data-i18n='brawling (open hand)')
span.capitalize.bottom-border(data-i18n='brawling')
span.bottom-border(name="attr_brawling")
span.display.bottom-border(name=`attr_brawling_damage_open`)
h3.text-left.ml(data-i18n='brawling (open hand)')
span.capitalize(data-i18n='brawling')
span.text-center(name="attr_brawling")
span.display.text-center(name=`attr_brawling_damage_open`)
+brawlDamageRollButton('brawling damage open', 'brawling')
.row.subheader.mt.flex-center
+accentSubheader('other')
.repeating-container
fieldset(class='repeating_attacks')
.row.grid