mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 21:21:08 +01:00
[Feature] Encounter Battlepoints (#1346)
* Added BP calculation and tooltip breakdown of BP sources * Added Modifiers * Fixed automatic battleToggles * Corrected 'NoToughies' conditional * Fixed GM-only visibility * Fixed combatant isNPC
This commit is contained in:
parent
c3cb9121af
commit
451bef4c92
21 changed files with 712 additions and 141 deletions
42
styles/less/ux/tooltip/battlepoints.less
Normal file
42
styles/less/ux/tooltip/battlepoints.less
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
.daggerheart.dh-style.tooltip {
|
||||
.battlepoint-categories-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-bottom: 16px;
|
||||
|
||||
.battlepoint-grouping-container {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
||||
.unselected-grouping {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.battlepoint-toggles-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.battlepoint-toggle-container {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
||||
&.inactive {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.grouping-lock {
|
||||
font-size: 17.5px;
|
||||
margin: 0 5px;
|
||||
color: @golden;
|
||||
}
|
||||
|
||||
input {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue